Run it¶
Everything here runs on a laptop. No cloud account, no API key, no Docker, unless a step says otherwise. On Windows, use WSL2.
What you need¶
| To do this | You need | Cost |
|---|---|---|
| Try any project in the terminal | Python 3.11+ and Git | $0 |
| Open the Aegis war-room screen | the above, plus Node.js 22+ | $0 |
| Run a full lab: a real Kubernetes cluster with a demo shop | Docker with about 8 GB of memory, kind, kubectl, Helm. The aegis-infra lab uses OpenTofu and Terragrunt instead of kind and Helm (below) | $0 |
| Use a real AI model | any one of: Ollama locally (free), a DeepSeek / OpenAI-compatible key, Claude, or Azure OpenAI / Bedrock / Vertex | see Cost |
Two minutes each: one project at a time¶
Each block is copied from that repository's README. Run it in a fresh folder.
git clone https://github.com/debanjan0212/themis-agent-sre.git && cd themis-agent-sre
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
themis demo # ten simulated agents; open the link it prints
themis demo --chaos # four faults injected, and what Themis did about each
git clone https://github.com/debanjan0212/aegis-war-room.git && cd aegis-war-room
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
aegis demo # a payment incident; it asks you: go or no-go
aegis drill # eight attacks on the defences; all eight must say HELD
# the screen and voice (needs Node.js 22+):
cd web && npm ci && cd .. && make serve # then open http://localhost:8000
git clone https://github.com/debanjan0212/argus-sre-agent.git && cd argus-sre-agent
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
make demo # one investigation, printed as a root-cause report
make eval # five recorded incidents, scored
make demo-pr # bad release -> root cause -> rollback commit in a throwaway Git repo
git clone https://github.com/debanjan0212/agent-harness-sdk.git && cd agent-harness-sdk
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[all,dev]"
agent-harness doctor
python examples/quickstart.py
cd examples && python -m incident_commander demo --scenario bad-deploy --approve ask
git clone https://github.com/debanjan0212/intentops.git && cd intentops
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
intentops plan examples/payments-api.yaml # replicas, error budget, alerts, canary, cost
intentops compare examples/payments-api.yaml # the same service priced on every cloud
intentops render examples/payments-api.yaml --cloud all --format all -o out
git clone https://github.com/debanjan0212/observability.git && cd observability
cp .env.example .env
docker compose up --build # needs Docker; then open http://localhost:8000
The whole system on one laptop¶
This joins five repositories the way the architecture page shows: agents report to Themis, and Themis opens incidents in Aegis. Use one terminal per step.
# Terminal 1: Themis, the control plane
cd themis-agent-sre && source .venv/bin/activate
export THEMIS_WEBHOOKS="http://localhost:8000/api/alerts" # where Themis sends incidents
export THEMIS_WEBHOOK_ALLOW_PRIVATE=1 # localhost is a private address
themis serve # http://localhost:8600
# Terminal 2: two keys, each printed once
cd themis-agent-sre && source .venv/bin/activate
themis key --scopes admin # paste into the Themis dashboard
themis key --scopes ingest # for your agents
# Terminal 3: Aegis War Room, which receives the incidents
cd aegis-war-room && source .venv/bin/activate
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:8600
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer%20<the ingest key>"
make serve # http://localhost:8000
# Terminal 4: any agent built on agent-harness-sdk now shows up in Themis
cd agent-harness-sdk && source .venv/bin/activate
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:8600
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer%20<the ingest key>"
cd examples && python -m incident_commander demo --scenario bad-deploy --approve ask
To prove every connection at once without doing this by hand, run Themis's own test of the ecosystem. It clones the other four repositories at pinned commits and tests each connection end to end:
cd themis-agent-sre && make ecosystem
The full labs: a real cluster on your laptop¶
What each lab needs is in the second column. The first run takes 5–10 minutes.
| Lab | Needs | Start | Break something | Clean up |
|---|---|---|---|---|
| Argus: Prometheus, Grafana, Loki, Tempo, a three-service shop and Argus | Docker (about 8 GB of memory), kind, kubectl, Helm | make up |
make break SCENARIO=bad-deploy (or oom-kill, saturation), then make reports |
make down |
| IntentOps: Argo Rollouts, Prometheus, External Secrets, Gateway API | Docker (about 8 GB of memory), kind, kubectl, Helm | make up |
make release-bad: the SLO check fails and Argo Rollouts rolls it back |
make down |
| aegis-infra: a kind cluster with Argo CD, the same steps as on AKS, GKE or EKS | Docker (about 4 GB of memory free), OpenTofu 1.13, Terragrunt 1.2, kubectl | export TF_VAR_state_passphrase=... then make apply |
With an Azure login, make plan TARGET=dev/azure shows what a cloud would get, without creating it |
make destroy |
| Aegis against the OpenTelemetry Demo | Docker (about 8 GB of memory) | clone opentelemetry-demo, make start, then AEGIS_SOURCE=otel-demo make serve |
set the paymentFailure flag to 50% at http://localhost:8080/feature |
make stop in the demo folder |
Add a real model¶
Every tool falls back to its offline rules if the model fails mid-incident, so this is always optional.
| Tool | Set |
|---|---|
| Aegis | pip install -e ".[cloud]", cp .env.example .env, fill in the Azure, AWS or Google block, then pick it in the Model menu |
| Argus | ARGUS_LLM=openai, ARGUS_LLM_BASE_URL, ARGUS_MODEL, ARGUS_LLM_API_KEY |
| IntentOps | INTENTOPS_LLM=openai, INTENTOPS_LLM_BASE_URL, INTENTOPS_MODEL, INTENTOPS_LLM_API_KEY |
| agent-harness-sdk | DEEPSEEK_API_KEY, or AGENT_MODEL_PROVIDER=anthropic (or openai-compatible) with AGENT_MODEL |
For a free model, run Ollama and use http://localhost:11434/v1 as the base URL with qwen2.5:7b (run
ollama pull qwen2.5:7b first) and an empty key.
Something not working?¶
| Symptom | Fix |
|---|---|
command not found for themis, aegis, argus, intentops or agent-harness |
Activate the virtualenv: source .venv/bin/activate |
No make |
Every make target is one line in that repository's Makefile; run the line |
| Themis does not open an Aegis incident | THEMIS_WEBHOOK_ALLOW_PRIVATE=1 is needed for localhost addresses |
| A kind lab is stuck on pods pending | Give Docker more memory (about 8 GB) |
| Anything else | Each repository's README has its own troubleshooting table |