Skip to main content

SAGE Run

The governed agent platform for enterprise IT operations.

SAGE Run (Secure Agent Governance & Execution) is a workflow runtime and control plane for AI agents that perform asynchronous IT operations work: it queues incoming work, launches an isolated Claude Code agent per task with the tools and memory that workflow needs, brokers human approvals/clarifications, and gives you a web UI over all of it. Workflow implementations (prompts, skills, connector instances, integration policy) live in your own workflow repository; this repo is the platform they run on.

Capabilities

  • Workflow packages and bundle assembly — a workflow is agent.yaml + settings.json + .mcp.json + skills/hooks/agents, merged with shared platform/team assets into a versioned, checksummed bundle.
  • Claude Code runtime harness — ephemeral per-task containers with subagents, human-in-the-loop approvals, a built-in clarification (AskUserQuestion) flow, and a sandboxed-credential deny-list so secrets never reach the model's shell.
  • MCP server framework — a public catalog of core (message, memory, platform self-service) and integration (Salesforce, Jira, Splunk, CloudWatch) servers, plus a pattern for adding your own.
  • Source connectors and task queue — pluggable ingestion adapters (Pub/Sub, ServiceNow polling, ...) that turn external events into queued tasks, with alert coalescing.
  • Two-way messaging and human oversight — agents and operators can exchange threaded messages, start work from configured keywords, request clarifications, and approve or reject sensitive actions. Mattermost and Slack are supported through real-time provider integrations and a pluggable messaging interface.
  • Hindsight memory integration — long-term recall and pattern reflection across past incidents, plus per-agent memory volumes backed up to object storage.
  • Knowledge Sources — workflow-scoped access to immutable, commit-pinned source repositories, indexed into searchable code and symbol graphs.
  • Web control plane — tasks, session replay, schedules, approvals, analytics, and platform catalogs (MCPs, connectors, memory, workflow-repo sync/versioning).
  • Docker Compose and Helm deployment packages, with a provider-neutral object-storage layer (s3 or gcs).

Architecture

See docs/architecture.md for the full component breakdown and a diagram of the request/task flow (connector or webhook → task queue → session-manager → runtime container → MCP servers/message bus/approvals → completion → memory sync → control-plane UI).

Quick start

docker compose -f deploy/docker-compose.yml up --build

This runs the base stack against examples/workflow-repo as a starter workflow repo. To point at your own workflow repo instead:

HOST_WORKFLOW_REPO_PATH=/path/to/workflow-repo \
docker compose -f deploy/docker-compose.yml up --build

For a guided setup that also handles secrets, remote workflow repos, and Kubernetes targets, use make bootstrap (it writes private state outside Git) — see docs/deployment.md.

Documentation

Doc Covers
docs/architecture.md Components and the request/task flow.
docs/configuration.md The three config layers, full platform-config.yaml reference, bootstrap env reference.
docs/connectors.md Connector model, available connectors, and how to add one.
docs/mcps.md Core vs. integration MCP servers and their config.
docs/memory.md Long-term memory (Hindsight), per-agent project memory, hooks, and weekly reflection.
docs/deployment.md make bootstrap, Compose/Helm, bundle sync and versioning.
docs/security.md Permissions, sandbox/credential controls, bundle integrity, approvals, encrypted secrets.
docs/workflow-authoring.md How to build a workflow package (agent.yaml, skills, hooks) and its bundle.

Public and private boundary

This repository intentionally ships no company-specific workflows, Salesforce policies, private connectors, customer memory-bank maps, or private deployment overrides — those belong in a workflow repository. See CONTRIBUTING.md.

Development

python -m pytest -q tests/unit          # unit suite, no infra required
python -m ruff check .                  # lint
python -m ruff format --check .         # format check
cd control-plane-ui && npm ci && npm run build   # control-plane UI

make tests runs the full unit + service (real Postgres) + runtime (real Docker) suite; see the Makefile (make help) for every target.

Roadmap and contributing

See CONTRIBUTING.md for how to contribute.

License

Copyright 2026 Vishal Goel and SAGE Run contributors. SAGE Run's original code and documentation are licensed under Apache License 2.0, unless otherwise indicated. See LICENSE for the complete terms.

Third-party dependencies, bundled software, container base images, and service images retain their own licenses and applicable terms. This includes the Claude Agent SDK and Claude Code CLI; SAGE Run's Apache-2.0 license does not relicense these components or waive their requirements.

Metadata

Release files for sage-run 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sage-run 1.0.1
File Size Uploaded Provenance Actions
sage_run-1.0.1.tar.gz 968.1 kB With provenance Details for sage_run-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sage-run 1.0.1
File Interpreter ABI Platform Actions
sage_run-1.0.1-py3-none-any.whl Python 3 none any Details for sage_run-1.0.1-py3-none-any.whl

Total release size: 1.1 MB

Release files / sage_run-1.0.1.tar.gz

Download URL sage_run-1.0.1.tar.gz
Size 968.1 kB
Tags Source
SHA-256 checksum
How to use checksums
27eb7cb1ca81c298948ef38e6c7cffe45c292f573dea447959dad02f2b3ca969
BLAKE2b-256 checksum
How to use checksums
44d286b7a22a4751fb628b075af25d6c1c40e1586043fba172201266aea71d93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / sage_run-1.0.1-py3-none-any.whl

Download URL sage_run-1.0.1-py3-none-any.whl
Size 172.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c75901f2547bcc52c6bdc005523402e8be1261ff366ac7b5a75183983c13bb3
BLAKE2b-256 checksum
How to use checksums
c0237defe417bdee848b8745dd74db2786765d1d06966188f67b2a7c18ec6276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for sage-run 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sage_run-1.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page