Skip to main content

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

PyPI License Python

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sagewai-0.1.1.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sagewai-0.1.1-py3-none-any.whl (729.8 kB view details)

Uploaded Python 3

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

Hashes for sagewai-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c4d31526e0a82e965d3ec66332330601c2f12c7402065a62c42c68c06c0a4b74
MD5 822dddad54f3323a5b3bae7355aefbca
BLAKE2b-256 6ec48fdabb91f5a9d0ef4e5003a24ad334286a628b112ab8ea8d3b8656378eb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for sagewai-0.1.1.tar.gz:

Publisher: release-sdk.yml on sagewai/platform

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for sagewai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72cd22dbf994e6145cf53763307a90526f934747d3dd257d58b845d953e29cd8
MD5 716ea330ecec831f2cbd6ca07e4d6840
BLAKE2b-256 67fcb58b0f2059980162fdc1ed102aff1d6404e46f84a30d63507118ff9ad24a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sagewai-0.1.1-py3-none-any.whl:

Publisher: release-sdk.yml on sagewai/platform

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page