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).
- Kubernetes instances from a workflow checkout: published, digest-pinned
platform images in production and local source builds for development.
Provider-neutral object storage supports
s3andgcs.
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
Start with your own configured workflow checkout, not a platform clone on the production server. The starter is a copy-and-fill template; configure model access, encrypted credentials and the environment key before running it.
cd /path/to/my-workflows
# Local: Rancher Desktop Kubernetes/Moby, kubectl, Helm, configured dev key.
uvx --from 'sage-run==1.0.3' sage-run up .
# Production: prepared k3s host and host-only production key.
uvx --from 'sage-run==1.0.3' sage-run deploy . \
--host my-agent --env prod --ref main
See Deployment and operations for first-time keys, server preparation, local platform development, updates and recovery. Production deploy targets single-node k3s over SSH. Version 1.0.2 adds UI Deploy now, deployment Jobs and 7-nightly/3-deployment backup rotation. See deployment Jobs for their scope and safety limits. In-place configuration reload and ordered database migrations remain unfinished. Legacy Compose tooling remains for unmigrated instances and is not the recommended new-instance path.
Documentation
| Doc | Covers |
|---|---|
| docs/architecture.md | Components and the request/task flow. |
| docs/configuration.md | Base/prod overlays, named connections, encrypted secrets, deployment settings and service 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 | First install, host prerequisites, local development, CLI/UI update limits, portability, backups and releases. |
| 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.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sage_run-1.0.3.tar.gz | 992.0 kB | With provenance | Details for sage_run-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sage_run-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for sage_run-1.0.3-py3-none-any.whl |
Total release size: 1.2 MB
Release files / sage_run-1.0.3.tar.gz
| Download URL | sage_run-1.0.3.tar.gz |
|---|---|
| Size | 992.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5faff85257bb701f6825b1f4f1b64b8ebb635ac48cd184e27fde40e606ebed1
|
|
BLAKE2b-256 checksum How to use checksums |
684ce6d2d36c0cadf5c5075d2d8aa1ef76240498aaa565cd984de9e8dfa01b9e
|
| 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 logRelease files / sage_run-1.0.3-py3-none-any.whl
| Download URL | sage_run-1.0.3-py3-none-any.whl |
|---|---|
| Size | 187.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd5511e8db9201b954ac2abb2c25dd3e0c5ff3c2f4951d9304e6ee2a578b7edf
|
|
BLAKE2b-256 checksum How to use checksums |
e1d204465d05195bcb8c199e25dea1e7d22e3a8d39fd8e0bcad1cf616910e138
|
| 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 logSecurity for sage-run 1.0.3
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.
Attestation for sage_run-1.0.3.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 logA 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.