Autopilot-LND / Autopilot-for-LND
PublicAutopilot-for-LND – TypeScript toolkit for an AI‑assisted Lightning Node autopilot on lnd. Polls channel balance, peer health, and graph signals; scores actions with linear Q‑learning (tabular RL over handcrafted features); emits structured recommendations for channel open/close/fee adjustments. CLI with mock mode, backtesting, historical replay
Autopilot-for-LND is a decision-support toolkit for Lightning Network node operators. It analyzes your node's channels, peers, and network position, then uses a simple AI model to suggest whether you should open new channels, close existing ones, or adjust fee rates. The tool is designed with safety first: it defaults to sample data, only prints recommendations, and requires you to manually approve any changes. You can train the AI on a built-in simulator, test it against historical data, or connect it to your real node in read-only mode to get ongoing suggestions you can review before taking action.
How It Works
You've been running a Lightning node and want to make smarter decisions about which channels to open, close, or adjust fees on.
You download and set up the Autopilot tool on your computer so it can help analyze your Lightning node.
The tool comes with built-in sample data, so you can explore how it works without touching your real node at all.
You let the tool learn patterns on a simulated Lightning network, teaching it which channel decisions tend to work better.
The tool continuously monitors your node and streams suggestions as JSON, one per line
You replay historical snapshots from your node to test how the policy would have performed
You point the tool at your actual Lightning node using a read-only key, so it can only read data—not make changes.
The tool prints clear recommendations like 'suggest opening a channel to this peer' or 'consider closing this one'—you always stay in control.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.