cd /news/ai-agents/i-built-a-cockpit-for-my-claude-code… · home › topics › ai-agents › article
[ARTICLE · art-178586] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

I built a cockpit for my Claude Code sessions — and a way for them to share what they learn

A developer has open-sourced Kepler, a personal engineering aide that runs locally and gives Claude Code sessions a visual "cockpit" where sessions waiting on user input surface to the front with their questions. Kepler also maintains a knowledge net of facts from conversations and notes, exposed to Claude sessions through an MCP server, and a new Swarm plugin lets separate installs share lessons over Nostr relays while treating incoming lessons as untrusted data rather than instructions.

key takeaway

Kepler routes Claude Code sessions that are waiting on a human to the front of its cockpit and shares cross-install lessons over Nostr as NIP-78 events, injecting them into knowledge search as unverified data rather than instructions.

by read4 min views4 publishedNov 30, 2026

usually have three to five Claude Code sessions running at once, each in a different repository. One refactors, one writes tests, one waits for me to decide something — and the one that needs me is always the one I'm not looking at. I'd come back to a terminal twenty minutes later to find a question sitting there.

So I started building myself a cockpit. It grew into Kepler: a personal engineering aide that runs on your own machine. It's open source now, and this is a tour of what it does and why some of it works the way it does.

Repo: https://github.com/trading-programmer/kepler (there's a 36-second demo video at the top of the README)

Every Claude session you run — the ones Kepler hosts, and the ones open in other Claude clients — is a card around the Earth. With the Live Earth plugin it's the real one: a picture from the weather satellites, less than an hour old.

The cards aren't decoration. A session that's working shows what it's doing; a session that's waiting for you moves in closest, with its question on the card. You can answer it right there — "show it greyed out" or "hide it" — without opening anything. Or you zoom into the full chat: tool calls, permission prompts, sub-agents with their progress, the diff of everything the last turn changed, bookmarks, fork and resume.

That one change — waiting sessions come to you instead of you hunting for them — was the reason I started, and it's still the part I use most.

The second thing I kept running into: every session starts from zero. Something one session figured out on Tuesday ("this API answers 502 at night, the retries cover it") is gone by Wednesday.

Kepler keeps a knowledge net: facts from your conversations, your Claude sessions and your notes, with embeddings and entities (the services, tools and repositories they're about). It isn't an append-only log:

Your Claude sessions query it through an MCP server (kepler-knowledge) — so a new session can ask "what do we know about the payment gateway?" before it starts guessing. Next to it sits an atlas of your code, learned from git history and build files: what changes together, who changes what, which facts are about which code.

This is the part I'm most curious about feedback on.

If one Kepler learns that "on Azure Functions Flex Consumption, the storage connection must be identity-based — a connection string is silently ignored", that's useful to every other developer who hits the same wall. So Kepler 0.2 adds a Swarm plugin: installs share lessons with each other.

How it works:

Why Nostr? Because I didn't want a central server, and I didn't want anyone to be asked anything live. Each install subscribes to the topics it follows, keeps what comes in, and searches it locally — your questions never leave your machine, and a thousand Keplers cost nobody a thing. The protocol pieces are boring in a good way: lessons are NIP-78 app-data events (kind 30078) with a NIP-32 label, votes are NIP-25 reactions ("worked for me" / "wrong"), revocations are NIP-09 deletions.

What comes in is treated as untrusted: other installs' lessons appear in your sessions' knowledge search in a section of their own, marked unverified and wrapped as data, never as instructions. You can mute an author, vote on a lesson, or take one into your own net once it worked for you.

And because "public for good" isn't always what you want, a team can run its own circle on its own relay behind a token. The repo includes a ready docker-compose setup (strfry with a write policy that keeps only Kepler's events, Caddy in front).

The honest part: the swarm is empty until people join it. That's the bet.

Kepler's core is the orbit, the knowledge net and the chat. Everything optional is a plugin you switch on in a little Marketplace: Jira & Confluence, GitHub Actions, Jenkins, Microsoft Teams, mail and calendar, Spotify, a morning newspaper about your work, a watchdog that learns what to watch from your tools, and a 3D "holodeck" for sketching systems. Writing your own is a plugin.json and a server.js.

npm install, npm start, and a setup wizard walks you through the rest. It's early — 0.2 — and Windows is the most tested platform. Expect rough edges.

git clone https://github.com/trading-programmer/kepler
cd kepler
npm install
npm start

Repo, demo video and docs: https://github.com/trading-programmer/kepler

── more in #ai-agents 4 stories · sorted by recency
── more on @kepler 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-built-a-cockpit-fo…] indexed:0 read:4min 2026-11-30 · —