Open-source AI agent platform for production workloads — full-stack, durable, safe, and model-agnostic.
Reason this release was yanked:
Pre-release testing in progress
Project description
Sagewai
Agent Infrastructure You Own
The open-source platform for AI agents that run, remember, and report. Build agents in Python. Operate them from a dashboard. Own everything.
The 5 Pillars
| Pillar | Description |
|---|---|
| SDK | Build agents with multi-model support, tools, memory, guardrails, and durable workflows |
| Registry | Store, version, discover, and govern AI agents across your organization |
| Harness | Proxy, route, and budget-control all LLM access (Claude Code, Cursor, Codex) |
| Observatory | Source of truth for all AI expenditure -- costs, tokens, audit trails, metrics |
| Training | Fine-tune domain LLMs with Unsloth, serve locally at $0/token |
Quick Start
pip install sagewai
import asyncio
from sagewai import UniversalAgent
agent = UniversalAgent(name="hello", model="gpt-4o-mini")
print(asyncio.run(agent.chat("What is Sagewai?")))
Three lines to create an agent. Works with GPT-4o, Claude, Gemini, Mistral, Ollama, and 100+ models via LiteLLM.
Install Extras
| Extra | What it adds |
|---|---|
sagewai[memory] |
Milvus, NebulaGraph, Docling, tiktoken |
sagewai[intelligence] |
Embeddings, entity extraction, language detection |
sagewai[postgres] |
asyncpg, SQLAlchemy async, Alembic |
sagewai[fastapi] |
FastAPI + SSE support |
sagewai[prometheus] |
Prometheus metrics exporter |
sagewai[storage] |
S3 (boto3) and GCS archival backends |
sagewai[all] |
Everything above |
Examples
21 progressive examples organized by pillar:
SDK (01-08): Hello agent, tools, multi-model, memory, workflows, guardrails, MCP, directives
Harness (09-13): Claude Code proxy, Cursor proxy, Codex proxy, budget enforcement, model routing
Registry (14-16): Register agents, discover agents, agent governance
Training (17-19): Unsloth fine-tune, local LLM routing, domain models
Enterprise (20-21): Fleet workers, full stack setup
See sagewai/examples/ for all examples.
CLI
sagewai init my-project # scaffold a new project
sagewai doctor # check environment health
sagewai agent run my_agent.yaml # run an agent from config
sagewai harness start # start the LLM proxy
Documentation
- docs.sagewai.ai -- full documentation
- Getting Started -- quickstart guide
- LLM Harness Guide -- govern AI coding tool costs
Contributing
See CONTRIBUTING.md for development setup, code style, and PR process.
License
AGPL-3.0 -- see LICENSE. Commercial licenses available for organizations that need an alternative to AGPL. See COMMERCIAL_LICENSE.md for details.
Built by Ali Arda Diri.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sagewai-0.1.1.tar.gz.
File metadata
- Download URL: sagewai-0.1.1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4d31526e0a82e965d3ec66332330601c2f12c7402065a62c42c68c06c0a4b74
|
|
| MD5 |
822dddad54f3323a5b3bae7355aefbca
|
|
| BLAKE2b-256 |
6ec48fdabb91f5a9d0ef4e5003a24ad334286a628b112ab8ea8d3b8656378eb2
|
Provenance
The following attestation bundles were made for sagewai-0.1.1.tar.gz:
Publisher:
release-sdk.yml on sagewai/platform
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sagewai-0.1.1.tar.gz -
Subject digest:
c4d31526e0a82e965d3ec66332330601c2f12c7402065a62c42c68c06c0a4b74 - Sigstore transparency entry: 1280349111
- Sigstore integration time:
-
Permalink:
sagewai/platform@b60f0005c95d21cd2cc63a2612c0b69308d629a8 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/sagewai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-sdk.yml@b60f0005c95d21cd2cc63a2612c0b69308d629a8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sagewai-0.1.1-py3-none-any.whl.
File metadata
- Download URL: sagewai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 729.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72cd22dbf994e6145cf53763307a90526f934747d3dd257d58b845d953e29cd8
|
|
| MD5 |
716ea330ecec831f2cbd6ca07e4d6840
|
|
| BLAKE2b-256 |
67fcb58b0f2059980162fdc1ed102aff1d6404e46f84a30d63507118ff9ad24a
|
Provenance
The following attestation bundles were made for sagewai-0.1.1-py3-none-any.whl:
Publisher:
release-sdk.yml on sagewai/platform
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sagewai-0.1.1-py3-none-any.whl -
Subject digest:
72cd22dbf994e6145cf53763307a90526f934747d3dd257d58b845d953e29cd8 - Sigstore transparency entry: 1280349148
- Sigstore integration time:
-
Permalink:
sagewai/platform@b60f0005c95d21cd2cc63a2612c0b69308d629a8 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/sagewai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-sdk.yml@b60f0005c95d21cd2cc63a2612c0b69308d629a8 -
Trigger Event:
push
-
Statement type: