# Sage

> Sage is an open-source agent framework for workflow automation. Open-source harness for running and self-improving AI agents on desktop or server. It is available on macOS, Windows, Linux, Web, API and Self-hosted.

- **Kind:** Agent
- **Pricing:** Open source
- **Platforms:** macOS, Windows, Linux, Web, API, Self-hosted
- **Website:** https://zhangzhengeric.github.io/Sage/
- **Repository:** https://github.com/zhangzhengeric/sage
- **GitHub stars:** 1,228
- **License:** MIT
- **Categories:** [workflow automation](https://ai-powered.com/categories/workflow-automation), [multi-agent frameworks](https://ai-powered.com/categories/multi-agent-frameworks), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Sage is built around a recursive self-improvement loop: it takes a goal or a curated set of past usage, produces candidate versions of an agent, and keeps each version together with its evaluation evidence. Nothing is activated automatically, so you decide which candidate to adopt.

Agents are defined as packages with instructions, Skills, tools and resources in a sage.yaml file. Sessions persist conversation history, runs stream output, and execution can pause for human input or approval. Tools and MCP services are composed under host-managed authorization, and models, memory and storage providers can be swapped out.

There are three ways in: a Flutter desktop app with a bundled Python backend, a multi-user web server with an Agent Studio for managing packages, and a Python SDK for embedding the runtime in your own application. It suits developers and teams who want to iterate on agent behaviour with recorded evidence rather than by guesswork.

## Features

- **Recursive self-improvement loop:** Generates candidate agent versions from goals or usage history and records each version with its evaluation evidence.
- **Versioned agent packages:** Defines instructions, Skills, tools and resources in sage.yaml and keeps diffs and evaluation records per version.
- **Stateful sessions and runs:** Persists conversation history across runs and supports pausing for human input or approvals.
- **Tools, Skills and MCP:** Combines native tools, reusable Skills and MCP services under host-controlled authorization.
- **Desktop and web hosts:** Runs as a desktop app with a local backend or as a multi-user web server with Agent Studio.
- **Python SDK:** Lets developers build and run agents from a Python application with pluggable model and storage providers.

## Good for

- Iterating on an agent's behaviour using recorded evaluation results
- Running a local desktop assistant backed by your own model provider
- Hosting a multi-user web platform for managing agent packages
- Embedding an agent runtime in an existing Python application
- Connecting agents to MCP services with controlled permissions

## FAQ

### Is Sage free to use?

Sage is released under the MIT License. Your model service may charge usage fees separately.

### Which platforms does the desktop app support?

Desktop installers are offered for macOS (arm64 and x86_64), Windows (x86_64) and Linux (arm64 and x86_64).

### What does the server require?

Python 3.12 or later, Node.js 22.12 or later, and either MySQL or PostgreSQL. The server currently supports one worker.

### Does Sage apply changes to my agent automatically?

No. RSI produces candidates without activating them, and adoption is left to the user.

### What are the best alternatives to Sage?

The closest alternatives to Sage are OpenProgram, pydantic-deepagents, Agentlas-OS, agentfield and markus.

## Where this comes from

- Description: written from the project's README and the project's website.

## Alternatives

- [OpenProgram](https://ai-powered.com/agents/openprogram): OpenProgram is an open-source agent framework for ai models and llm tooling.
- [pydantic-deepagents](https://ai-powered.com/agents/pydantic-deepagents): pydantic-deepagents is an open-source agent framework for ai models and llm tooling.
- [Agentlas-OS](https://ai-powered.com/agents/agentlas-os): Agentlas-OS is an open-source agent for ai models and llm tooling.
- [agentfield](https://ai-powered.com/agents/agentfield): agentfield is an open-source agent framework for multi-agent frameworks.
- [markus](https://ai-powered.com/agents/markus): markus is an open-source agent for multi-agent frameworks.
- [giselle](https://ai-powered.com/agents/giselle): giselle is an open-source agent for developer tools.
- [AgentPilot](https://ai-powered.com/agents/agentpilot): AgentPilot is a freemium open-source agent for ai models and llm tooling.
- [5dive](https://ai-powered.com/agents/5dive): 5dive is an open-source agent for multi-agent frameworks.

---
Source: https://ai-powered.com/agents/sage-2
