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.0

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.0
File Size Uploaded Provenance Actions
sage_run-1.0.0.tar.gz 966.7 kB With provenance Details for sage_run-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / sage_run-1.0.0.tar.gz

Download URL sage_run-1.0.0.tar.gz
Size 966.7 kB
Tags Source
SHA-256 checksum
How to use checksums
76a9c16550056d28504b70926c89202ac0b76e7403741b0a5cbd20c40e26fafa
BLAKE2b-256 checksum
How to use checksums
e635a671de6464fa7e3bc8b18033fc4aca50f455882fd2b7a1240337465f57d8
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 25, 2026.

Transparency log

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

Download URL sage_run-1.0.0-py3-none-any.whl
Size 172.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69e17148cee42a0a341f0b1a1391f274b714a9e5dc5ed7e1bfc158e649effb60
BLAKE2b-256 checksum
How to use checksums
f6e61195a9a9a0d3c9786f71acba38b909f02d68684368d74032ab81fc6ea5cc
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 25, 2026.

Transparency log

Security for sage-run 1.0.0

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.0.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 25, 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