Sovereign by design.
Your agents. Your infrastructure. Your rules.
Soveraign is a sovereign, self-hosted, identity-first foundation for persistent digital colleagues. It provides a disciplined, portable, containerized Linux development environment in which existing and future AI coding agents operate autonomously inside explicit infrastructure boundaries under human operator sovereignty.
- Maximum autonomy. Absolute sovereignty. Constrain the environment, not the agent. Inside its container, an agent can perform ordinary engineering work, install software, modify its environment, and solve unforeseen problems without unnecessary interactive prompts. The operator retains authority over infrastructure, external resource grants, credentials, lifecycle controls, and emergency intervention.
- Persistent identity. Ephemeral execution. An agent is a persistent identity, not a continuously running AI process. Its identity, configuration, memory, credentials, workspaces, and task history survive container replacement while individual AI processes are invoked on demand with zero idle token consumption. An agent is never done. A task is done.
- File first. Infrastructure on merit. Default to ordinary files, directories, and persistent volumes. Introduce databases, message brokers, distributed caches, or object storage only when demonstrated requirements justify them. Optional remote backups never become operational dependencies.
- Deterministic where possible. Agentic where necessary. Prefer deterministic engineering — primarily PowerShell 7 and modern .NET/C# — for automation, provisioning, validation, and future orchestration. Invoke AI agents only when reasoning is genuinely required.
- Attribute the identity, not the intelligence. Distinguish independently identifiable contributors — humans and persistent digital colleagues (synths) — from the AI models, providers, tools, and execution harnesses they use. A synth retains its configured identity regardless of whether it works through Claude Code, Codex, Antigravity, OpenCode, Copilot CLI, Freebuff, or another runtime, suppressing automatic vendor trailers, promotional footers, and AI session URLs while preserving legitimate human/synth attribution and mandatory repository requirements.
Soveraign provides the operating environment for persistent digital colleagues:
- Infrastructure ownership: Self-hosted execution, declarative configuration, instance-scoped persistent volumes, and external host-controlled lifecycle controls.
- Independent operational identity: Agents operate with their own OS identity, Git identity, mailboxes, workspaces, and explicitly granted external resources — distinct from AI subscription ownership.
- Separated official runtime provisioning: One generic engineering image paired with explicit post-deployment installation of official, unmodified AI agent CLIs into persistent user-controlled directories.
- Engineering discipline: Native
linux/amd64andlinux/arm64execution on Ubuntu 26.04 LTS, standalone MinVer semantic versioning, build-once OCI promotion to Docker Hub with signed attestations, and reproducible verification.
Soveraign is not another AI coding agent, custom harness, inference gateway, authentication broker, IDE, identity provider, database-backed memory engine, web dashboard, scheduler, or distributed orchestration platform.
- Linux foundation: Single curated Ubuntu 26.04 LTS (
ubuntu:26.04) image supporting nativelinux/amd64andlinux/arm64, running as dedicated non-root useragent(1000:1000) with passwordless in-containersudo,privileged: false,tinisignal handling, anden_US.UTF-8locale. - Primary development stack: .NET 10 LTS SDK, .NET 11 STS SDK, and PowerShell 7.
- Complementary stacks: Node.js LTS & npm, Python 3,
uv, Go, and C/C++ build tooling (build-essential,cmake,ninja). - Developer & infrastructure CLI tooling:
git,gh,ssh,tmux,curl,wget,jq,yq,rg,fd,fzf,bat,eza,nvim,lazygit,btop,starship,dockerCLI +buildx+compose,kubectl, andhelm. - Official agent runtime provisioning (
soveraign-install-runtime): Explicit post-deployment installation, updates, and safe idempotent identity-first attribution configuration from official upstream channels into persistent/home/agentfor:codex(OpenAI Codex CLI)claude(Anthropic Claude Code)antigravity(Google Antigravity CLI,agy)opencode(OpenCode)copilot(GitHub Copilot CLI)freebuff(Freebuff)
- Instance-scoped persistence & simple remote operations: Independently scoped Compose project and volumes per instance, ordinary SSH to the execution host,
docker exec, persistenttmuxsessions, and host-controlled pause/stop/kill/backup workflows — with no publicly exposed container ports and no vendor downloads on container startup.
Released images are published on Docker Hub as a multi-architecture (linux/amd64, linux/arm64) image, with no GitHub account required:
docker pull codebeltnet/soveraign:0.1.0
gh attestation verify oci://docker.io/codebeltnet/soveraign:0.1.0 --repo codebeltnet/soveraign # optional provenance checkEvery stable release publishes MAJOR, MAJOR.MINOR, and MAJOR.MINOR.PATCH tags (for example 0, 0.1, 0.1.0). There is never a latest tag. Pin an exact version or digest, and upgrade deliberately (see docs/release.md).
Copy examples/agent.env.example to a private .env file on your host and set a unique lowercase SOVERAIGN_INSTANCE_NAME along with the agent's identity:
cp examples/agent.env.example .env
# Edit .env with a unique SOVERAIGN_INSTANCE_NAME, agent name, and Git identitySOVERAIGN_INSTANCE_NAME scopes the Compose project name, container name, hostname, and named volumes so independent instances never share writable state.
docker compose -f docker/compose.yaml --env-file .env up -ddocker exec -it <instance-name> bash
soveraign-install-runtime list
soveraign-install-runtime codex # or claude, antigravity, opencode, copilot, freebuff
tmux new-session -A -s workInside tmux, authenticate your chosen official runtime natively and start working. Detach with Ctrl+b d; work continues independently of your workstation while idle containers consume zero inference tokens.
# Calculate semantic version via standalone minver-cli
pwsh -NoProfile -File ./scripts/Get-SoveraignVersion.ps1
# Run unit and contract tests (enforces 100% release-tooling coverage)
pwsh -NoProfile -File ./tests/Invoke-UnitTests.ps1
# Build natively for the current host architecture and load into Docker
pwsh -NoProfile -File ./scripts/Build-SoveraignImage.ps1 -Load -PassThru
# Run native container smoke tests
pwsh -NoProfile -File ./scripts/Test-SoveraignContainer.ps1 -ImageTag docker.io/codebeltnet/soveraign:<version>| Document | Scope |
|---|---|
| Architecture & Principles | Governing principles, ubiquitous language, identity vs. subscription ownership, lifecycles, and ADRs |
| Public Compatibility Contract | SemVer compatibility surface, environment variables, instance-scoped layout, and upgrade policy |
| Release Engineering & Distribution | Docker Hub distribution, semantic version tags, build-once release lifecycle, attestations, and operator prerequisites |
| Agent Runtimes | Official post-deployment runtimes, provider terms & delegation analysis, authentication boundaries, and standards |
| Operations & Persistence | Lifecycles, instance isolation, external kill switch, SSH/tmux access, file-first backup/restore, and upgrades |
| Security Model | Administrative autonomy vs. host authority, container vs. VM isolation, Docker daemon boundaries, and residual risks |
| Manual Acceptance Tests | Interactive authentication, runtime provisioning, administrative autonomy, kill switch, and external Docker checks |
| Roadmap & Non-Goals | Staged evolution, native Windows VM strategy, future integrations, and explicit v0.1.0 non-goals |
| Security Policy | Vulnerability reporting and security boundaries |
| Changelog | Keep a Changelog release history |
MIT License — see LICENSE. Third-party software and post-deployment agent runtimes remain governed by their respective upstream licenses and provider terms; see docs/runtimes.md.