Skip to main content

Amoeba: a tool that answers a paused run's first-level questions and keeps the record

Amoeba is a tool that agents and pipelines call. When a Squadron run pauses on a question, Amoeba answers it from the project's own rules, plan and the PM's earlier answers when those settle it, and records every answer and every decline, across a program of repos (a group of related repos). Questions those sources do not settle wait for the PM. It has no process of its own, and Squadron never needs it.

For agents

If you are an agent session, use the amoeba-mcp server (docs/mcp-server.md) or the amoeba command with -j. You want it when the PM asks what is waiting, wants to answer a waiting question, wants to know what was decided while away, or wants a repo registered. Start with list (what needs the PM), then answer with a decision the PM actually gave, never one you composed. The server's own instructions carry the same map of tools.

What exists now

The amoeba command, backed by one SQLite store. Its commands (docs/cli-contract.md) are add, rm, list, handle-pause, answer, dismiss, retract, status, decisions, mark-read, report-release and changes. Each prints text for a person and, with -j, the JSON result an agent reads. amoeba add registers a repo with no other flag; amoeba list shows what needs you and what is registered. A member reads rules files with no setup (docs/rules.md). There is no resident process: each command is a short run, and Squadron never needs Amoeba.

  • amoeba.answering: the answering pipeline (answering.yaml), the passage cutting and citation check, the six-check decision on whether an answer stands, and the answer screen.
  • amoeba.upstream: bounded readers of what other tools say (cf, git, sq), and the argv for starting and resuming an sq run.
  • amoeba.store, amoeba.operations, amoeba.cli: the store and its migrations, the operations, and the command line.
  • amoeba.mcp: amoeba-mcp, the same operations as MCP tools for an agent session (docs/mcp-server.md: install, register, timeouts).

Where things live

  • Config home, ~/.config/amoeba/: config.yaml, the one file you edit (docs/config-contract.md).
  • State home, ~/.local/state/amoeba/: everything Amoeba writes. The store amoeba.sqlite3, answering/ scratch, and logs/ (answering, resume, calls/<date>.jsonl). Old scratch and logs are pruned after prune_after_days; the store's rows are kept.
  • $AMOEBA_HOME, when set, is both homes. XDG_CONFIG_HOME and XDG_STATE_HOME are ignored.
  • An install from before slice 228 kept its state in the config home. The first command moves it, once (docs/store-contract.md, "Moving a pre-228 install").

Installing

uv tool install amoeba-ai

The package is amoeba-ai on PyPI; it installs the amoeba and amoeba-mcp commands. Amoeba calls sq (Squadron) and cf (Context Forge), which are installed separately.

Updating the installed amoeba

The release skill runs this as its last step. To run it by hand, from the main checkout:

uv run python scripts/update_live.py update

It backs up the store and config, appends any config key the new code needs (from the config contract's example), reinstalls amoeba, migrates the store, then checks the schema version, integrity, foreign keys, member count and the amoeba-mcp tool list. If any check fails it restores the backup and the previous install itself, and exits 1. It lists the running amoeba-mcp servers at the end: they run the old code until their client sessions restart.

uv run python scripts/update_live.py restore

puts the newest backup back later. Only the latest backup set is kept, in ~/.local/state/amoeba/backups/.

The first run needs --previous <commit>, because nothing has recorded which commit the installed amoeba was built from. Every later run reads it from its own record.

Where the design lives

  • Concept: project-documents/user/project-guides/000-concept.amoeba.md
  • Architecture: project-documents/user/architecture/220-arch.program-tool.md
  • Slice plan: project-documents/user/architecture/220-slices.program-tool.md
  • The code audit that decided what stayed: project-documents/user/analysis/220-analysis.code-audit.md

Checks

uv run ruff format --check .
uv run ruff check .
uv run pyright
uv run pytest

The live tier runs the real shipped pipeline through sq with real models, so it spends money and is never part of a bare uv run pytest. It needs sq and cf on PATH, a provider key in the shell, and these variables, which have no defaults:

  • AMOEBA_LIVE_ANSWER_MODEL: the Squadron model alias for the answer step
  • AMOEBA_LIVE_CHECK_MODEL: the alias for the check step
  • AMOEBA_LIVE_MAX_COST_USD: the cost cap of one run, above zero
uv run pytest tests/live/answering

Metadata

Release files for amoeba-ai 0.2.0

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

Source distribution (sdist)

Source distribution for amoeba-ai 0.2.0
File Size Uploaded Provenance Actions
amoeba_ai-0.2.0.tar.gz 4.0 MB With provenance Details for amoeba_ai-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amoeba-ai 0.2.0
File Interpreter ABI Platform Actions
amoeba_ai-0.2.0-py3-none-any.whl Python 3 none any Details for amoeba_ai-0.2.0-py3-none-any.whl

Total release size: 4.4 MB

Release files / amoeba_ai-0.2.0.tar.gz

Download URL amoeba_ai-0.2.0.tar.gz
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
86e62223daf0f0995eb9f19c813e95995e715df984948ee6572f5d938ead5694
BLAKE2b-256 checksum
How to use checksums
5ba5b502b9c6c0d8af7d3385e0f3c0da7f93ae71f2cb85b6124d7cf4e247dbcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / amoeba_ai-0.2.0-py3-none-any.whl

Download URL amoeba_ai-0.2.0-py3-none-any.whl
Size 370.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ab0f875eea63738614cc5fe6b7e546dba1ec503e7fb9a908bcbc964a485ba5d
BLAKE2b-256 checksum
How to use checksums
fb0a4ff88fce946369185752448f3756362f335b2cccdf799a1d8fb076fbe683
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for amoeba-ai 0.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for amoeba_ai-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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