Skip to main content

Governed AI-development workspaces for Claude Code, Codex CLI, and future coding runtimes.

Project description

Sutra

Governed AI-development workspaces for Claude Code, Codex CLI, and future coding runtimes.

One .sutra/ source of truth. Many AI runtimes. Policy-driven autonomy. Evidence-backed delivery.

What is Sutra?

Sutra turns any repository into a governed AI-development workspace with:

  • Reusable agents — specialized AI roles (backend, frontend, security, QA)
  • Skills — composable methodology packs (TDD, code review, planning)
  • Commands — structured workflows (/implement, /review, /ship)
  • Guardrails — command deny lists, approval gates, path restrictions
  • Evidence — audit trails for every AI-assisted session

Installation

You can install Sutra CLI globally using pipx:

pipx install sutra-cli

Alternatively, you can run it on the fly without installing using uvx:

uvx --from sutra-cli sutra --help

For local development installation:

git clone https://github.com/aincloudtools/sutra.git
cd sutra
pip install -e .

Quick Start

# Initialize a workspace in your target repository
cd your-project
sutra init --profile fullstack --runtime claude

# Add Codex as a second runtime
sutra runtime add codex

# Detect your stack
sutra context refresh

# Validate setup
sutra policy validate
sutra doctor

# Sync changes to runtimes
sutra sync

Then open Claude Code and use:

/implement add login validation
/review
/ship

Commands

Command Description
sutra init Initialize a governed workspace
sutra sync Sync .sutra/ to configured runtimes
sutra doctor Validate workspace integrity
sutra context refresh Scan repo and update context
sutra context show Display current context
sutra context diff Show context changes
sutra policy validate Validate policy files
sutra guard enable Enable all guardrails
sutra guard disable Disable guardrails
sutra guard careful Enable destructive-command warnings
sutra guard freeze <path> Restrict edits to a path
sutra runtime add <runtime> Add a new runtime
sutra report Generate evidence report

Architecture

.sutra/              ← Source of truth (you own this)
├── sutra.yaml       ← Workspace config
├── project.yaml     ← Stack and validation
├── runtimes.yaml    ← Runtime settings
├── context/         ← AI project context
├── agents/          ← Agent role definitions
├── skills/          ← Composable skill packs
├── commands/        ← Slash command workflows
├── policies/        ← Guardrails and approval gates
└── evidence/        ← Audit trails

CLAUDE.md            ← Generated for Claude Code
.claude/             ← Generated for Claude Code
AGENTS.md            ← Generated for Codex CLI

Profiles

Profile Agents Best For
fullstack backend, frontend, security, QA Full-stack web apps
backend backend, security, QA API/service projects
frontend frontend, QA Frontend-only projects

Roadmap

See ROADMAP.md for the detailed vision, target architecture, and target build phases.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sutra_cli-0.3.9.tar.gz (234.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sutra_cli-0.3.9-py3-none-any.whl (212.7 kB view details)

Uploaded Python 3

File details

Details for the file sutra_cli-0.3.9.tar.gz.

File metadata

  • Download URL: sutra_cli-0.3.9.tar.gz
  • Upload date:
  • Size: 234.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sutra_cli-0.3.9.tar.gz
Algorithm Hash digest
SHA256 af903c71a805d248122f61bda6527130a75cd28fd61d1af5cbe56a92199dc65c
MD5 3b6bcf3a25b769d6d2782d7a83943a53
BLAKE2b-256 e3a26c8d586f2c83932a50164930207fb467311b0c81ccadc0e2c8d47af0ac07

See more details on using hashes here.

Provenance

The following attestation bundles were made for sutra_cli-0.3.9.tar.gz:

Publisher: release.yml on sairintechnologycom/sutra

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sutra_cli-0.3.9-py3-none-any.whl.

File metadata

  • Download URL: sutra_cli-0.3.9-py3-none-any.whl
  • Upload date:
  • Size: 212.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sutra_cli-0.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5827cb96f83d47c6d886c2dafb3f8921f931667e06008c8bb3e2df4da17e0a1b
MD5 be5a6577df9422cdabac6cce28364581
BLAKE2b-256 dc09969fd14ff1c1dbf10fbb073959bea756382350dacc597e6256dd28308878

See more details on using hashes here.

Provenance

The following attestation bundles were made for sutra_cli-0.3.9-py3-none-any.whl:

Publisher: release.yml on sairintechnologycom/sutra

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page