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).
  • Kubernetes instances from a workflow checkout: published, digest-pinned platform images in production and local source builds for development. Provider-neutral object storage supports s3 and 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

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.4' sage-run up .
# Production: prepared k3s host and host-only production key.
uvx --from 'sage-run==1.0.4' 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. Released versions do not provide general in-place configuration reload; source-only selective reload and deployment optimizations are described under unreleased deployment changes. They have not changed production. Ordered database migrations remain unfinished. Serving is Kubernetes-only. Docker launch/memory helpers and the isolated Postgres fixture exist only under tests/ for runtime scenarios, not as an alternative serving stack.

The qualified local CLI path is Rancher Desktop Kubernetes/Moby with a working-tree hostPath and optional Docker source builds. The chart's standard Kubernetes resources do not establish end-to-end support for k3d, kind, GKE (including Sandbox/Autopilot), or OpenShift. Those targets need storage, UID/security policy, RuntimeClass and network adaptation plus actual task qualification; see the compatibility matrix.

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

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.6
File Size Uploaded Provenance Actions
sage_run-1.0.6.tar.gz 1.1 MB With provenance Details for sage_run-1.0.6.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / sage_run-1.0.6.tar.gz

Download URL sage_run-1.0.6.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
1d977396c44ca4f439355297ca3d0eb68155cb7410edf7155652b0a1d0c79d70
BLAKE2b-256 checksum
How to use checksums
4d950f5d3c9da9c62014015c7c25ca81abff8dec40a1aa66389e641a20b67d63
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 30, 2026.

Transparency log

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

Download URL sage_run-1.0.6-py3-none-any.whl
Size 206.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6d9d0b506f116f8e05b934fe186d88b22be3bce105762e0e95c82d5eaeb8638
BLAKE2b-256 checksum
How to use checksums
cc46d9e62b85620b58fd22ad1710c116f04b56225af4a6d7e525b90a077aef0e
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 30, 2026.

Transparency log

Security for sage-run 1.0.6

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.6.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 30, 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