Saci has three parts: the saci command line, the backend, and one
isolated worker per run. The backend stores every run and starts its
worker. The worker’s agent carries out the test plan with an LLM and
bounded tools, and reports back to the backend.
flowchart LR
cli["saci CLI<br/>run, follow, report, actions"]
subgraph backend["saci-backend"]
api["REST API<br/>client and worker routes"]
store[("SQLite store<br/>runs, events, evidence, actions")]
supervisor["Supervisor and launcher<br/>Podman, Docker, Kubernetes Job"]
dispatcher["Action dispatcher<br/>approvals, safe replay"]
end
subgraph worker["saci-worker: one isolated container per run"]
agent["Agent (Rig)<br/>plan steps, assessment"]
tools["Tools<br/>shell, HTTP, MCP"]
end
llm["LLM<br/>OpenAI-compatible API"]
target["System under test"]
actions["Action MCP servers<br/>tickets, chat, ..."]
cli -- "plan, follow, report" --> api
api --> store
supervisor -- launch --> worker
agent --> llm
agent --> tools
tools --> target
worker -- "events and evidence<br/>(run-scoped token)" --> api
store --> dispatcher
dispatcher --> actions
saci run sends the Markdown plan to the backend’s
REST API, which stores the run in SQLite
(operations).saci follow and saci report read progress and results back through the
API (CLI). Runs survive a backend restart
(supervision).
Saci is a Rust workspace. Development
lists each crate and what it owns. The saci-script-runner and
saci-julia services are optional: Saci runs without them.