Sovereign Autonomous OS-Level Execution Agent
Trishula-Arenas is a doctrine-gated autonomous OS agent built on Agent Zero. It executes bash commands, spawns subordinate subagents, and performs workspace rollbacks — all inside Docker sandboxes with hard scope fencing and kinetic action gates.
- 🖥️ Docker-only execution — all bash runs inside isolated containers, never on host
- 🏰 Iron Fence scope lock — filesystem access hard-limited to designated infrastructure root
- 🔐 Destructive command gate — rm/del/drop/wipe/format trigger preview before execution
- 🤖 Subagent spawning — spawn subordinate agents with
MAX_SUBAGENT_DEPTH=3hard cap - 🕒 Time Travel — automatic workspace snapshot before every run, restorable by op_id
- 📡 Network control — external requests routed through SOCKS5 proxy or blocked entirely
pip install trishula-arenasfrom trishula_arenas import TrishulaArenas
zero = TrishulaArenas(dry_run=True, model="llama3.2:3b")
# Execute an autonomous task
result = zero.run("Check disk usage and report free space on all drives")
# Spawn a subordinate agent for a subtask
sub = zero.spawn_subagent("Analyze log files for errors in the last 24 hours")
# Inspect swarm infrastructure health
health = zero.inspect_swarm()
# Roll back to a previous workspace state
zero.time_travel(op_id="abc12345")| Control | Default | Description |
|---|---|---|
| Docker-Only | Always | No host shell access under any circumstances |
| Iron Fence | Active | Scope locked to infrastructure root directory |
| Destructive Gate | Enforced | rm/del/wipe commands require explicit preview |
| Max Depth | 3 | Subagent spawn depth capped — prevents infinite loops |
| Time Travel | Auto | Workspace snapshot before every run |
| Dry-Run | True |
All tasks preview before execution by default |
- Python 3.10+
- Docker Desktop
- Ollama running locally
MIT — see LICENSE