The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Sage
An extensible framework for custom, self-evolving AI agents, with configurable agent packages, tools, skills, and multi-round recursive self-improvement (RSI).
Install
git clone https://github.com/ZHangZHengEric/SageInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →🌟 Experience Sage's Power
🧠 Sage · Custom, Self-Evolving Agents
🎯 Define Your Agent. Evaluate. Evolve.
🌟 An open-source platform for building custom, self-evolving AI agents. Define an Agent package, evaluate it, and improve it through multiple RSI rounds — with version history and your choice of which version to adopt.
New to RSI? Inspect your first run: a scripted Python walkthrough with no model API key.
✨ Why Sage
- 📦 Custom Agent packages — Define your agent's instructions, Skills, tools, and runtime configuration in
sage.yaml; reuse packages in Desktop, Server, or your Python application. - 🧬 Self-evolution with RSI — Test and refine packages over configurable rounds using evaluation, tuning, and review agents in separate Sessions. Retain every iteration and choose which version to use.
- 🧩 Plugin-based architecture — Compose model, memory, storage, tool, and scheduling providers with explicit contracts and managed lifecycles.
- 🪟 Native streaming UI (Desktop 2.1) — Uses the official OpenUI parser with Sage’s Flutter Glass renderer. Assistant
openuiblocks render as output arrives, with light/dark themes and 31 native component types: charts, metrics, tabs, diagrams, rich inputs, and immediate local calculations. Local-only interfaces need no submit button or model round-trip; a submit button explicitly hands values back to the assistant. Users can ask naturally without mentioning OpenUI. Enable Prefer interactive UI in the composer plus menu, or set Settings → General → Interactive UI on by default for new chats; enabling it preloads the complete built-in Skill without a tool call. Presentations stream as native 16:9 slides and export editable PPTX from the same document. This is a supported component subset, not the upstream Web renderer; included in the 2.1.0 desktop packages. Integration details. - 🔄 Stateful, interactive execution — Durable Session history, streamed events, and pause/resume with human input and approvals.
- 🤝 Multi-agent orchestration — Coordinate Studio members through directed messages, or compose Agent Flows in the runtime.
- 🔌 An extensible tool ecosystem — Bring built-in tools, reusable Skills, and MCP services into the same agent workflow.
- 🏗️ One runtime, multiple hosts — Use SAgents v2 through Desktop and Server, or embed it in your own Python application.
🧬 RSI: From Custom Agents to Self-Evolution
Supply an Agent package, choose a goal, round count, and editable scope, and run an independent RSI (Recursive Self-Improvement) loop.
Similar plugs
Reverse engineer anything with agents, from app behavior down to native binaries.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io