stelle
by glebium5000
README.md
# Stelle
Local tools for working with data, APIs and PDFs, built to be driven by AI agents as well as by hand. Every action an agent takes is logged and waits for your approval before it changes anything.
Three tools share one core:
- **Data workbench**: query files and databases in SQL, profile data, keep work in notebooks.
- **API client**: send and test API requests, with collections stored as plain files.
- **PDF toolkit**: view, edit and sign PDFs, and check documents for signs of tampering.
Status: early development. The server, the `stelle` command and the MCP bridge work. The three tools don't exist yet.
MIT licence.
## Start
```sh
stelle init my-work
stelle serve --workspace my-work
```
`stelle serve` starts a local server on 127.0.0.1, port 7240 or the next free one, and opens Stelle in your browser. Stop it with Ctrl+C.
## Use with Claude Code
Register Stelle's MCP bridge for a workspace:
```sh
claude mcp add stelle -- stelle mcp --workspace /path/to/my-work
```
Use the full path to the workspace. If no server is running for it, the bridge starts one in the background. That server keeps running after Claude Code exits. Its process id is in `.stelle/server.json`. If you'd rather stop it with Ctrl+C, run `stelle serve` yourself before you start Claude Code.
Claude Code then has these tools:
| Tool | What it does | Approval |
| --- | --- | --- |
| `stelle_ping` | Returns the workspace name, Stelle's version and the server's uptime | None |
| `stelle_note` | Adds a line to `.stelle/notes.txt`. A demo of the approval flow | Needed |
| `approval_status` | Returns a waiting call's status and, once it has run, its result | None |
A call that needs approval doesn't run. Claude gets back `pending` and an approval id. Approve it in your own terminal:
```sh
stelle approvals list --workspace /path/to/my-work
stelle approvals approve ap_3f9c0a12be47 --workspace /path/to/my-work
```
`approve` shows what the call will do and asks you to confirm. It refuses when stdin isn't a terminal, so piping `y` into it doesn't work. Once it has run, `approval_status` gives Claude the result.
If the workspace keeps its secrets in an encrypted file, start `stelle serve` yourself so it can ask for the passphrase.
Approvals stop an agent that only has Stelle's tools. They don't stop one that can also run shell commands as you. See [docs/architecture/security.md](docs/architecture/security.md).
## Commands
```
stelle init [path]
stelle serve [--workspace path] [--port n] [--no-browser]
stelle mcp [--workspace path]
stelle approvals list|show <id>|approve <id>|reject <id>
stelle audit show [--since] [--until] [--tool] [--actor] [--limit]
stelle audit verify
stelle secrets set|list|delete <name>
```
`--workspace` defaults to the current folder, or `STELLE_WORKSPACE` if it's set. Commands that print data take `--json`. While a server runs for the workspace, `stelle approvals` goes through it. Otherwise it works on the files in `.stelle/approvals`.
`stelle secrets set` reads the value from a hidden prompt, or from stdin when it isn't a terminal. With the `file` secrets backend, the passphrase comes from `STELLE_SECRETS_PASSPHRASE` or a prompt.
## Development
You need [uv](https://docs.astral.sh/uv/), Node.js 22.12 or later and pnpm. pnpm switches itself to the version pinned in `ui/package.json`.
```sh
uv sync --all-extras
pnpm -C ui install
uv run stelle --version
```
Run every check before you push:
```sh
uv run poe check
```
This runs ruff, pyright, pytest, Biome, `tsc --noEmit`, Vitest and the licence check. CI runs the same command.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues