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.3.0.tar.gz (217.4 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.3.0-py3-none-any.whl (133.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sovereign_agent-1.3.0.tar.gz
  • Upload date:
  • Size: 217.4 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.3.0.tar.gz
Algorithm Hash digest
SHA256 5ba472a452369ecfc12cccf9d5246f2899cff2b59c5f6162cef6f141efbd9379
MD5 22362172dfde1ae7e965f17ccd1e9a11
BLAKE2b-256 064d8a359219a6d08db3a2f4b2a816700c0da122d32149a85dac33f852c63d6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sovereign_agent-1.3.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: sovereign_agent-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 133.4 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9291d244d0005f00081c63acac116c361a4bb1eddc78d3bfbb207772ad5786aa
MD5 d2b97f5d316747edc086d6ae1f086fbf
BLAKE2b-256 b3cb0427db72b8e9c813592c74eb70d8bed33c429c2656df96078ced251ec078

See more details on using hashes here.

Provenance

The following attestation bundles were made for sovereign_agent-1.3.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

1.4.0

2 files

This release

1.3.0 This release

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