Skip to main content

noeta

The Claude Code–compatible coding agent you can self-host on many workers.

Claude Code–compatible · one Postgres, any number of workers · any worker continues any task · waiting holds no process

PyPI Python CI License Docs

Docs · Quickstart · How it works · Benchmarks · 中文


noeta is a coding agent that looks like Claude Code to the model and runs like a server program for you. The model gets Claude Code's tools, prompt rules, reminders and request shape, so the habits models learned on Claude Code carry over, and your Claude Code settings, hooks, skills, agents, MCP servers and plugins work too. Underneath, every task is a log in a store: point any number of workers at one Postgres and any of them continues any task, while a task that waits for a person holds no process at all. It also runs on one laptop with SQLite, in your terminal or embedded in Python.

noeta's terminal UI fixing a failing test

Why noeta

  • 🌐 Self-host it on many workers. One Postgres store, any number of noeta worker processes, noeta serve in front. No worker owns a task: each step is claimed, run and appended to the task's log, so the next step can run anywhere. A deploy, a crash or a lost machine only moves the task to another worker; a tool call that was in flight is reported to the model as "outcome unknown", never silently run twice.
  • ⏸️ Waiting holds no process. An approval, a question for a person, a sub-agent or a timer parks the task: it is a row and a log in the store, with no process or worker behind it, until the answer arrives minutes or weeks later.
  • 🧠 Claude Code–compatible, and checked. Tool names and schemas, prompt rules, reminders and context compaction follow Claude Code. make parity replays recorded Claude Code sessions against noeta offline and compares every request it sends; each accepted difference is listed with its reason. Settings, hooks, skills, agents, MCP servers and plugin folders use Claude Code's formats.
  • 💻 Starts on a laptop. The same code runs on SQLite in one process: a terminal UI, noeta -p, or a library in your Python program.
  • 🔌 Every way in. A full-screen terminal UI, Claude Code's -p and stream-json protocol (point an Agent SDK at it), ACP for Zed and other editors, an HTTP / WebSocket API and a Python SDK; a web app and a desktop app, both experimental and built from source.
  • 🤖 Any model. Claude, DeepSeek, or anything behind an OpenAI-compatible or Responses endpoint, including your own vLLM or gateway.
  • 🧩 Everything is a plugin. Files, shell, permissions, hooks, skills, sub-agents, MCP, memory and compaction all sit behind one Extension interface. The built-ins load exactly like yours.
  • 🔒 Nothing phones home. No telemetry, no log upload, no update check. The only traffic is to the model provider you configure, plus the tools the model calls under your permission rules.

Benchmarks

Both agents driven by the same model, DeepSeek V4.1 Flash (effort high), not a Claude model; same tasks, same limits, same machine:

Benchmark noeta Claude Code Difference (standard error)
SWE-rebench 07-2026 (111 tasks, 2 runs pooled) 50.5 % 45.0 % +5.4 (3.6)
Cost per run of the 111 tasks $5.01–5.77 $5.70–6.25

On par or slightly ahead: the difference is about 1.5 standard errors, not significant, and a single run moves by about ±5 points. Every run, the retries and the tasks with leaked answers are in the full benchmark report.

Quickstart

You need Python 3.11+.

uv tool install 'noeta[tui]'          # or: pip install 'noeta[tui]'

export ANTHROPIC_API_KEY=sk-ant-...   # or see "Other models" below
export NOETA_MODEL=claude-sonnet-5-5

noeta                                 # full-screen terminal UI in this directory
noeta -p "what does this repository do?"   # one prompt, print the answer
Other models (DeepSeek, OpenAI-compatible, your own gateway)
export NOETA_PROVIDER=openai_compat NOETA_BASE_URL=https://api.deepseek.com/v1
export NOETA_MODEL=deepseek-flash NOETA_API_KEY=...

For openai_compat the base URL ends in /v1; for anthropic it is the host only; for openai_responses it is the whole …/v1/responses URL. The same settings are flags (--model, --provider, --base-url) or keys in ~/.noeta/config.toml. More in Models and providers.

Day-to-day
  • noeta -c continues the newest conversation in this directory; noeta -r lists them.
  • Project instructions come from NOETA.md, or AGENTS.md when there is none.
  • Skills load from .noeta/skills and .agents/skills, in the project and in your home.
  • A project's own .noeta/ settings, agents, skills and plugins load only after noeta trust.
  • noeta -p --output-format stream-json --input-format stream-json --verbose speaks Claude Code's SDK protocol, so a Claude Agent SDK can drive it.
Optional extras
Extra Adds
tui the terminal UI (noeta-tui, released with noeta at the same version)
acp noeta acp: an Agent Client Protocol agent for Zed and other editors
server noeta serve: the HTTP / WebSocket API
postgres a Postgres store, for many workers
keyring {keyring:service/user} secret references in plugin settings

Several at once: uv tool install 'noeta[tui,server,postgres]'.

Deploy on many machines

One Postgres store, any number of workers, an HTTP API in front:

export NOETA_STORE=postgres://noeta:...@db.internal/noeta
noeta worker --concurrency 16             # on every worker machine
noeta serve --no-worker --host 0.0.0.0    # the API (bearer token required)
noeta --server http://api.internal:8642   # the terminal UI against it

A worker that dies leaves nothing behind: another claims its tasks where their logs stop. See Run it as a server. To try it on one Docker host, deploy/ has a Dockerfile and a compose file with Postgres, noeta serve and three workers: Deploy with Docker.

Embed it in Python

import asyncio
import noeta
from noeta.core.events import ModelReplied

async def main() -> None:
    store = noeta.store("sqlite:///tasks.db")
    agents = {a.name: a for a in noeta.default_agents("claude-sonnet-5-5")}
    model = noeta.provider("anthropic", api_key="sk-ant-...")
    runtime = noeta.Runtime(store=store, agents=agents, provider_for=lambda _name: model)
    client = noeta.Client(store)
    task = await client.create("main", "What does this repository do?", config={"cwd": "."})
    await runtime.run_until_idle()
    replies = [r.event for r in await client.events(task) if isinstance(r.event, ModelReplied)]
    print(replies[-1].response.message.text)

asyncio.run(main())

noeta.LocalApp puts a store, a worker and a client in one process; noeta.connect(url) gives a client for a store URL or a noeta serve server. See Embedding.

Extend it

Write a plugin in Python and ship it as an entry point, or drop a single file into ~/.noeta/plugins/. Agents are markdown files in Claude Code's format, prompts have names you can override, and Claude Code plugin directories load as they are. Write a plugin · Compared with Claude Code, pi and DeepSeek Harness

How it works

 terminal UI · -p / stream-json · ACP · HTTP API · web · desktop · Python
                              │  one client API
                              ▼
                ┌─────────────────────────────┐
                │  store: one log per task     │   SQLite or Postgres
                └─────────────────────────────┘
                   ▲ claim · fold · step · append
        worker  worker  worker …   (plugins build what the model sees)

A worker claims a task, replays its log into state, makes one model call, runs the tools and appends what happened. Every write names the position it expects and the claim it holds, so a frozen worker that lost its claim can never write again. How it works explains every part and why.

Contributing

Issues and pull requests are welcome. Start with CONTRIBUTING.md; the vocabulary is in CONTEXT.md and the design decisions in docs/adr/. Security reports: SECURITY.md. Changes: CHANGELOG.md.

License

Apache-2.0

Metadata

Release files for noeta 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for noeta 1.1.3
File Size Uploaded Provenance Actions
noeta-1.1.3.tar.gz 5.3 MB Without provenance Details for noeta-1.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for noeta 1.1.3
File Interpreter ABI Platform Actions
noeta-1.1.3-py3-none-any.whl Python 3 none any Details for noeta-1.1.3-py3-none-any.whl

Total release size: 6.6 MB

Release files / noeta-1.1.3.tar.gz

Download URL noeta-1.1.3.tar.gz
Size 5.3 MB
Tags Source
SHA-256 checksum
How to use checksums
1da70a257b95742e812433ade77df361d33b47a15a656ddf8d8e9398e48e1ce1
BLAKE2b-256 checksum
How to use checksums
f9cc7ebca78736c2b7846459c68c78fd3211024a3563d28a5d86d9a011f7bbcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / noeta-1.1.3-py3-none-any.whl

Download URL noeta-1.1.3-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5a527c491079a23cc3a08571ecb3197a51bce352e7c7dc4c69f2183e05c649ab
BLAKE2b-256 checksum
How to use checksums
b4cf52415b7c86a151c4f2332ac7f52af40152550c1132f7c8ecfcf3963e545b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for noeta 1.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page