Skip to main content
Glama
README.md
# Kepler

[![CI](https://github.com/trading-programmer/kepler/actions/workflows/ci.yml/badge.svg)](https://github.com/trading-programmer/kepler/actions/workflows/ci.yml)
[![License: Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
![Node.js 22+](https://img.shields.io/badge/node-22%2B-339933)

**A personal engineering aide that runs on your own machine.** Your Claude sessions orbit the Earth on one screen, a
knowledge net remembers what you and your code know, Keplers share what they learn in a swarm, and plugins connect the
tools you work with: Jira, GitHub, Jenkins, Microsoft Teams, your calendar, Spotify and more. You talk to it in VS
Code, in a browser, by voice, or from your phone.

> Status: **0.2 — early.** Kepler grew out of one developer's daily assistant and is now being opened up. Expect rough
> edges; Windows is the most tested platform. Contributions welcome.

https://github.com/user-attachments/assets/7eb6676d-4f5f-414a-94f9-914c6689d295

![The orbit: your Claude sessions around the live Earth; the one waiting for you is on top, its question answerable on the card](docs/screenshots/orbit.jpg)

## What it does

- **The orbit.** Every Claude session you run (hosted by Kepler, or open in other Claude clients) is a card around the
  Earth; the ones waiting for you come closest. Zoom into one and you have the full chat: tool calls, permissions,
  sub-agents, the diff of everything the last turn changed, bookmarks, fork and resume.
- **A knowledge net.** Facts from your conversations, your Claude sessions and your notes, with embeddings and entities.
  It deduplicates, merges rephrasings, retires what a newer fact supersedes and checks doubtful facts against their
  sources. Claude sessions query it through an MCP server (`kepler-knowledge`).
- **The swarm.** Keplers share what they learn. A fact from your net on a topic you release becomes a general lesson —
  rewritten by the model, filtered for names, hosts and secrets, signed — and travels over Nostr relays; other
  Keplers' lessons on the topics you follow come into your sessions' knowledge search, marked unverified. Nobody is
  asked anything live, and a team can keep a circle of its own on its own relay. A station to browse topics, set what
  goes out and judge what comes in.
- **The atlas.** A map of your code learned from git history and build files: units, what changes together, who changes
  what, which facts are about which code.
- **Research.** Ask a question; Kepler searches the knowledge net, the atlas, your repositories and your plugins'
  sources (Jira, Confluence, …) and writes an answer with references.
- **Voice.** Push-to-talk on the PC, spoken answers (OpenAI or ElevenLabs), dictation into any chat.
- **The Android app.** The same orbit on your phone or tablet, push-to-talk, notifications for what needs you.
- **Plugins.** Everything optional is a plugin you switch on: a morning newspaper about your work, a watchdog that
  learns what to watch from your tools, the Holodeck (3D holograms of systems), the live Earth, and the integrations
  below. Anyone can write one — see [docs/plugins.md](docs/plugins.md).

| | |
|---|---|
| ![The Marketplace](docs/screenshots/marketplace.jpg) | ![The morning edition](docs/screenshots/news.jpg) |
| **The Marketplace:** put your Kepler together; each plugin has a page with its setup as a checklist. | **The morning edition:** a newspaper about your work, every morning. |

<sub>The screenshots show made-up data.</sub>

## Quick start

You need **Node.js 22+**, **git**, and Claude (an **[Anthropic API key](https://console.anthropic.com/)**, or a cloud
provider) or **GitHub Copilot** (its CLI, signed in) — or both.

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

Your browser opens the setup wizard at `http://localhost:8081/setup`. It walks you through who you are, the models
(Claude or Copilot, for the chat and for the background work), memory, voice, your code, plugins, the phone and VS Code
— and says what each option costs. When it is done, the orbit is at `http://localhost:8081/orbit`.

![The setup wizard](docs/images/setup.png)

**VS Code:** install the extension from `vscode-extension/` (or the VSIX from a release) and open *Kepler: Orbit*.
**Phone:** build the app in [`mobile/android`](mobile/android/README.md) and scan the pairing QR code from Settings.
**As an app:** `Kepler.bat` (Windows) or `./kepler.sh` (macOS, Linux) opens Kepler in a window of its own — Chrome's
app mode, else Edge, Chromium or Brave, else your browser — and starts it first when it is not running.
**In the background (Windows):** the wizard's last step, or `npm run autostart`, installs a logon task: Kepler runs in
the tray, whose menu opens the orbit (so does a double-click), shows the live logs, restarts and quits it.

## What it costs

Kepler itself is free (Apache 2.0). You pay the providers you choose, with your own accounts:

| | | |
|---|---|---|
| **Claude** (required) | Anthropic API, pay per use | chat on `claude-sonnet-5-5` ($2 / $10 per million tokens in/out), background on `claude-haiku-5-5` ($0.10 / $0.50). Light use: a few dollars a month. A daily budget (default $3) caps background work. |
| Embeddings | Voyage, OpenAI, Ollama (local) or none | Voyage and OpenAI cost cents a month for a personal knowledge net |
| Voice | OpenAI or ElevenLabs, optional | OpenAI speech ~$15 per million characters; ElevenLabs plans from ~$5 / month |

Kepler uses the Claude Agent SDK with your API key. It does not use or offer a claude.ai subscription login.

## Built-in plugins

| Plugin | What | Needs |
|---|---|---|
| Jira & Confluence | your sprint, your teams' stories, research in Confluence | Jira Cloud or Server/Data Center, an API token |
| GitHub | red Actions runs with their cause, re-run offers | a token (github.com or Enterprise) |
| Jenkins | failed builds analysed | URL, user, API token |
| Microsoft Teams | your chats, drafts, optional auto-replies | an Entra ID app registration (no admin consent) |
| Mail & Calendar | meetings on the orbit's horizon, mail triage, reminders | Google account, or Microsoft via an ICS feed |
| Spotify | music and podcasts, the assistant's radio | a Spotify developer app; Premium for playback |
| Morning edition | a newspaper about your work every morning | — |
| Watchdog | learns what to watch from your tools, alerts when something is off | the tools you connect |
| Swarm | Keplers share what they learn over Nostr; a team circle on its own relay | — (a relay of your own: [setup](plugins/swarm/relay/README.md)) |
| Holodeck | 3D holograms of systems and things | — |
| Live Earth | the Earth as weather satellites see it right now | — |
| FortiClient VPN | logs the free FortiClient back in after its timeout | Windows |
| Screensaver, System monitor | a quiet screensaver; the PC's load | Windows |

## Privacy and security

Kepler listens on your machine only; other devices need a token you create. Secrets stay in `data/` and are never
returned by the API. Actions that reach outside Kepler are only available on your own channels. Text goes only to the
providers you configure. The Swarm plugin is off until you switch it on, and then publishes only lessons on topics you
release, after its filters. Details: [SECURITY.md](SECURITY.md).

## Documentation

- [Configuration](docs/configuration.md) — every setting, Bedrock/Vertex/Foundry, running it
- [Architecture](docs/architecture.md) — how the pieces fit together
- [Writing a plugin](docs/plugins.md) — the manifest, the context API, widgets and stations, the marketplace
- [Contributing](CONTRIBUTING.md)

## License

[Apache License 2.0](LICENSE). Third-party material is listed in [NOTICE](NOTICE).

Kepler is an independent project, not affiliated with or endorsed by Anthropic. "Claude" is a trademark of Anthropic, PBC.

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation4/5

Most tools occupy clearly separate niches: knowledge_* covers mined facts, atlas_* covers repo structure, holodeck_* controls the 3D station, and handoff_card is the only user-decision tool. The one soft boundary is between atlas_lookup and atlas_changes_with, since lookup's description already advertises 'what usually changes with them', which is exactly changes_with's dedicated purpose.

Naming Consistency4/5

Names follow a clean prefix_action snake_case scheme (knowledge_search, atlas_lookup, holodeck_build) with domain prefixes that group tools predictably. handoff_card is the lone noun_noun outlier without an action verb, a minor deviation.

Tool Count5/5

Eight tools is well-scoped for a knowledge-retrieval plus UI-bridge server, with each tool earning its place across three coherent clusters (knowledge net, atlas, holodeck) plus the handoff card. Nothing feels redundant or padding.

Completeness4/5

Read paths for the knowledge net and atlas are covered, and the holodeck has build/change/inspect (removal handled via holodeck_change). Minor gaps: no way to delete a hologram outright or enumerate prior handoff cards / retrieve their answers beyond the hook message, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues