Skip to main content
Glama

Why runeward

Letting an AI agent run shell commands, edit files, and hit the network is useful right up until it rm -rfs the wrong directory, exfiltrates a secret, or burns your budget in a retry loop. Isolation alone is table stakes; runeward adds the governance layer around the box — a deny-by-default contract the agent can't talk its way past, enforced outside the model. See Why governance, not training.

  • Charters are a security contract. [host], [network], [[env]], [[policy]], [rationing] declare exactly the access a task needs; everything else is denied by default.

  • Governed, not just isolated. Every action flows through one path — policy → Conclave gate → Rationing → backend exec → Chronicle — whether it arrives via REST, the dashboard, or MCP.

  • Tamper-evident. An append-only, hash-chained, ed25519-signed Chronicle records every call and verdict and exports as an independently verifiable transcript.

  • Human-in-the-loop. Per-action allow / deny / require-approval verdicts pause risky work.

  • Cost & loop Rationing. Hard caps on wall-clock, exec count, egress, and token/spend budgets.

  • Authenticated & multi-user. Loopback by default; bearer token + optional per-principal RBAC.

  • Pluggable backends. Docker/Podman for laptops, Kubernetes (strict L3 egress, CRDs, admission webhook, PSA + NetworkPolicy) for production and Cohorts. Everything above the backend is identical.

typical agent sandbox

runeward

Isolation (container/VM)

yes

yes (Docker or Kubernetes)

Deny-by-default network egress

sometimes

yes; SNI allowlist, strict L3 on k8s

Per-action policy + approvals

rare

yes; builtin / CEL / OPA-Rego + HITL gates

Tamper-evident, signed audit trail

rare

yes; hash-chained + ed25519, verifiable

Cost / loop guardrails

rare

yes; wall-clock, exec, egress, token/spend

Multi-agent Cohorts

rare

yes; N cells + atomic Command Board

Control-plane auth + multi-user

rare

yes; bearer token + RBAC + per-user views

Agent-native surface

partial

REST + MCP + CLI + dashboard + SKILL/adapters

Related MCP server: NORNR MCP Control

Vocabulary

runeward uses a desert-governance vocabulary consistently across the CLI, REST, MCP, CRDs, and Charter files: a Citadel (sandbox), a Cohort (fleet), a Charter (profile), the Conclave (approvals), the Chronicle (audit ledger), the Perimeter (egress), and Rationing (guardrails). The runeward binary name, SDK method names, and JSON body fields (e.g. profile) keep their original spellings. Full glossary: Concepts.

Quick start

# Install (macOS/Linux/Windows CLI, amd64/arm64)
curl -fsSL https://raw.githubusercontent.com/Runewardd/runeward/main/install.sh | sh
# or: brew install Runewardd/tap/runeward   # once the tap is published
# or build from source: go build -o bin/runeward ./cmd/runeward
runeward --config-dir examples list                 # list reachable Charters
runeward --config-dir examples print ns-auto        # inspect a resolved, secret-redacted Charter
runeward --config-dir examples dev -- uname -a       # run one command in a fresh Citadel (needs Docker)
runeward --config-dir examples serve                # governed REST API + dashboard on :8080

Open localhost:8080: pick a Charter, click New, and drive the Citadel's terminal, files, Chronicle timeline, and Conclave inbox. Full walkthrough: Quickstart.

Integrating an agent

Two ways to put an agent behind runeward:

  • As an MCP server for your IDE (Cursor, Claude Desktop, VS Code) — point the tool at runeward mcp; its agent runs shell/code/file/browser tools inside a governed Citadel:

    { "mcpServers": { "runeward": { "command": "runeward", "args": ["mcp", "--config-dir", "examples"] } } }
  • By running an agent CLI inside a Citadel (Codex, Cursor CLI, Claude Code) — a Charter ships the agent binary and injects its key; launch one with a governed exec call, or a whole Cohort:

    runeward cohort --agent claude --model sonnet build "Build a FastAPI todo API with tests"

A Cohort is N identical governed cells sharing an atomic Command Board ([cohort] replicas = N). Use exec to iterate on one workspace, or add + run to fan independent tasks out in parallel. runeward governs whatever command you exec, so cloud CLIs and local LLMs both work. Details: Cohorts & agents.

Working against your own code

runeward never mounts your host folder — it takes a one-time copy at create, so the agent works on an isolated /workspace and your real files are untouched. Seed it via host.copy_from in a Charter, copy_from per-create over REST/dashboard, or snapshots; pull results back with runeward export <citadel-id> ./out.

CLI

runeward <charter> [-- cmd...]       Provision a Citadel for a Charter and enter it (alias for enter)
runeward enter <charter>             Same, explicit; --keep leaves the Citadel running
runeward cohort <up|add|run|build|exec|status|export|down>   Drive a prompt-driven Cohort (--agent/--model)
runeward export <id> <dir>           Copy a Citadel's /workspace back out to a host directory
runeward print <charter>             Show the resolved, secret-redacted Charter + policy
runeward list                        List reachable Charters
runeward validate <charter>          Statically lint a Charter (missing images, unresolved secrets, dead rules)
runeward policy {test,scaffold}      Simulate a Charter's policy, or print a ready-made policy template
runeward charter {sign,verify}       Produce/verify a detached ed25519 signature over a Charter
runeward runtime {check,guide,install}  Inspect, explain, or install hardened runtimes (gVisor/Kata)
runeward replay <cast>               Replay a recorded terminal session (asciinema v2)
runeward serve [--token ...]         Governed control plane: REST API + web dashboard (127.0.0.1:8080)
runeward mcp [--http]                Model Context Protocol server (stdio, or streamable HTTP)
runeward up [--crds-only]            Install CRDs + namespace + RBAC + controller into k8s
runeward controller                  Reconcile Citadel/Cohort CRDs onto the k8s backend
runeward webhook                     Self-registering admission webhook for ClusterPolicy
runeward chronicle verify            Verify the hash chain + signatures of the Chronicle
runeward archive {keygen,push,pull}  Build/publish/verify signed OCI policy Archives

Interfaces

  • RESTruneward serve routes every call through the governed path over /v1/citadels, /v1/cohorts, /v1/conclave, /v1/chronicle, and more. Loopback by default; set --token / $RUNEWARD_API_TOKEN (or RBAC via $RUNEWARD_AUTHZ_FILE) before exposing it. A deny returns 403; require-approval blocks until resolved. Reference: REST API.

  • MCP — the same tools over the Model Context Protocol (runeward_create_citadel, runeward_shell, runeward_create_cohort, …), stdio or streamable HTTP.

  • Adapters — first-class tools for LangChain, CrewAI, LlamaIndex, OpenAI Agents, Strands, and the Vercel AI SDK via pip install runeward / npm install @runeward/sdk. See Adapters and adapters/.

  • Observability — Prometheus metrics at /metrics, structured log/slog logs, opt-in telemetry. See Observability.

Kubernetes

./bin/runeward up                                        # CRDs + namespace + RBAC + controller
kubectl -n runeward create configmap runeward-profiles --from-file=examples/
# or: helm install runeward deploy/helm/runeward -n runeward --create-namespace --set server.enabled=true

Then drive it declaratively with Citadel / Cohort (or cluster-scoped ClusterCitadel / ClusterCohort) resources; the controller provisions Pods/PVCs and tears them down via finalizers. Org-wide guardrails come from a ClusterPolicy enforced by runeward webhook, and strict L3 egress, PSA, NetworkPolicy, and hardened runtimes (gVisor/Kata) harden multi-tenant clusters. Details: Security model.

Policy engines

Authority is allow / deny / require-approval per action, chosen with policy_engine: builtin (glob rules), cel (CEL over {tool, arg}), or rego (OPA/Rego). A Charter can also pull a signed, versioned OCI policy Archive so a security team ships one artifact many Charters consume:

runeward archive push oci://ghcr.io/acme/runeward-policies:v3 --policy prod.rego --engine rego --key ./keys/bundle.key

See Charters & policy and examples/.

Docs & testing

Full documentation: runewardd.github.io/runeward. For an end-to-end local walkthrough (both backends, strict egress, snapshots, Cohorts, MCP wiring), see docs/E2E-TESTING.md.

Contributing & license

Contributions welcome — see CONTRIBUTING.md and CODE_OF_CONDUCT.md. Found a security issue? Follow SECURITY.md and report it privately. Licensed under Apache 2.0; see NOTICE for attribution.

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
1dRelease cycle
5Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    -
    maintenance
    A transparent proxy and execution firewall that intercepts and audits AI agent tool calls against configurable security policies before forwarding them to downstream MCP servers. It provides safe execution environments with features like data redaction, anti-loop protection, and unified alert dispatching.
    Last updated
  • A
    license
    -
    quality
    D
    maintenance
    A governance and control layer for MCP tools that manages tool requests as intents through policy-based approval, queuing, or blocking. It enables secure human oversight and audit trails for consequential agent actions across platforms like Claude Desktop and Cursor.
    Last updated
    1
    MIT No Attribution
  • A
    license
    -
    quality
    B
    maintenance
    Runs AI-generated code in secure Firecracker microVMs with opt-in network policy enforcement, PII scanning, prompt injection defense, and audit logging. Exposes MCP tools for running commands, managing files, and the full sandbox lifecycle.
    Last updated
    71
    1
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Runtime permission, approval, and audit layer for AI agent tool execution.

  • Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.

  • Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Runewardd/runeward'

If you have feedback or need assistance with the MCP directory API, please join our Discord server