Skip to main content

Sovereign Agent

The executable textbook for Zero-Employee Organizations.

CI PyPI Python 3.14+ License: Apache-2.0

Sovereign Agent 1.x is a small Python reference implementation for learning how an outcome becomes governed work performed by accountable actors. Production organizations graduate to Zero Employee.

Install and run with uv

uv is the supported way to install and run sovereign-agent. Try it without installing anything permanent:

uvx sovereign-agent@latest doctor
uvx sovereign-agent@latest demo store --mode simulated --root /tmp/first-shift

(@latest makes uv refresh its cached tool environment, so you always get the current release.)

Or install the CLI onto your PATH:

uv tool install sovereign-agent
sovereign-agent doctor

(Plain pip install sovereign-agent still works in any Python 3.14 environment if you prefer it.)

The 1.x API intentionally replaces the v0.7 fleet framework. To keep using that framework: uvx "sovereign-agent<1".

Educational development install

Python 3.14 is required; uv provides it automatically.

uv sync
uv run sovereign-agent doctor

Expected result:

Sovereign Agent doctor
  Python:   3.14.x OK
  Pydantic: 2.x OK
  Network:  not required
  Tokens:   not required
  Providers:
    scripted available (streaming)
    claude   missing executable
    ...
Ready for the offline curriculum. Live providers are optional.

Chapter 0 is runnable as a manually dispatched store shift (no Pulse):

uv run sovereign-agent demo store --mode simulated

After the core book, run the six advanced mechanisms with no provider, credential, or network:

uv run sovereign-agent mechanisms --root /tmp/sovereign-agent-mechanisms

This demonstrates four-plane isolation policy, durable condition scheduling, recoverable context compaction, session-incarnation fencing, bounded tool discovery, and provenance-bearing hybrid memory. See book/ADVANCED_MECHANISMS.md.

See book/ch00_first_shift and book/ch03_actor_is_not_a_model.

Product vocabulary

Thing Canonical word
Package and CLI sovereign-agent
Control loop supervisor
Installed OS hosting service
Proactive wake pulse
Liveness proof heartbeat (records the runtime was alive; never creates work)
Intelligence CLI provider
Governed identity actor

An actor is not a model. Every provider receives the same governed assignment envelope and must emit a valid terminal event and write the exact ActorReport. A zero exit without both is a failed receipt. Cursor's --workspace is directory selection, not sandboxing; isolation belongs to Sovereign Agent's disposable workspace.

Provider subprocesses receive only base process variables plus documented credential allowlists: Claude (ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, CLAUDE_CODE_OAUTH_TOKEN), Codex (CODEX_API_KEY), and Cursor (CURSOR_API_KEY). Other parent secrets are not forwarded.

Unit 1 gates

uv run python -m pytest -q
uv run python scripts/verify_runtime_dependencies.py
uv run python scripts/verify_source_budget.py
uv run sovereign-agent --help
uv run sovereign-agent doctor

See the educational reset ruling and v0.7 migration guide.

Project resources

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sovereign_agent-1.4.0.tar.gz (218.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sovereign_agent-1.4.0-py3-none-any.whl (133.6 kB view details)

Uploaded Python 3

File details

Details for the file sovereign_agent-1.4.0.tar.gz.

File metadata

  • Download URL: sovereign_agent-1.4.0.tar.gz
  • Upload date:
  • Size: 218.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for sovereign_agent-1.4.0.tar.gz
Algorithm Hash digest
SHA256 de6397aabe98c066a5227961c6551372df411da6252a22d50708bc5e924ff6c9
MD5 1c82ec1d32ec834b937da2565feb4901
BLAKE2b-256 d79fe2aa0be48db1a990d1cef9141a9aa885ea9859c99e5f0d3d1a9a6f6ad8f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for sovereign_agent-1.4.0.tar.gz:

Publisher: publish.yml on profrodai/sovereign-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sovereign_agent-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: sovereign_agent-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 133.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for sovereign_agent-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e2f9ef97fd269cf9d8b2868c8b45d8a714eb74caed2c1895dee4bc9401e625c
MD5 0c3019e10bec9daa1ecb51b43ce99a41
BLAKE2b-256 51405a36b3d0911a97fdc28ff77892eaa65b0e290b220b2273d509c055e564fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for sovereign_agent-1.4.0-py3-none-any.whl:

Publisher: publish.yml on profrodai/sovereign-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 files

1.3.0

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.1

2 files

0.2.0

2 files

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