
๐ A production-ready agent platform for task execution, automation, browser workflows, IM delivery, and enterprise deployment.
Visual Workbench |
Real-time Collaboration |
Multi-format Support |
๐ Detailed Documentation: https://wiki.sage.zavixai.com/
Prerequisites (web from source): Python 3.10+, Node.js 18+.
git clone https://github.com/ZHangZHengEric/Sage.git
cd Sage
export SAGE_DEFAULT_LLM_API_KEY="your-api-key"
export SAGE_DEFAULT_LLM_API_BASE_URL="https://api.deepseek.com/v1"
export SAGE_DEFAULT_LLM_MODEL_NAME="deepseek-chat"
./scripts/dev-up.sh
Open http://localhost:5173. The first run may ask for Minimal (SQLite) vs Full stacks โ Minimal is the quickest. Optional: PYTHON_BIN=... or USE_UV=1 ./scripts/dev-up.sh if you use a custom Python or uv.
Detailed documentation: Web Application โ manual backend + Vite, Docker Compose, and port notes.
Download the latest .dmg (macOS), .exe NSIS installer (Windows), or .deb (Linux) from GitHub Releases, then install as below.
macOS
.dmg for your CPU (Intel or Apple Silicon), drag Sage.app into Applications.Sage.app โ Open, then confirm Open in the dialog (this adds a one-time exception for Gatekeeper).xattr -dr com.apple.quarantine /Applications/Sage.app
Windows
.exe installer and complete the wizard.Linux (Debian / Ubuntu)
.deb for your architecture from Releases.sudo apt install ./Sage-<version>-<arch>.deb
You can also double-click the .deb in many desktop environments.
Detailed documentation: Desktop Application โ build from source, env, and platform notes.
pip install -e .
export SAGE_DEFAULT_LLM_API_KEY="your-api-key"
export SAGE_DEFAULT_LLM_API_BASE_URL="https://api.deepseek.com/v1"
export SAGE_DEFAULT_LLM_MODEL_NAME="deepseek-chat"
export SAGE_DB_TYPE="file"
sage doctor
sage run "Say hello briefly."
# or: sage chat
Detailed documentation: CLI Guide
After pip install -e . and the same SAGE_DEFAULT_* + SAGE_DB_TYPE=file as above, use sage-terminal (or run from app/terminal/ with cargo โ see the guide).
Detailed documentation: TUI Guide
Load the unpacked extension from app/chrome-extension/ in chrome://extensions/ (Developer mode). Point the extension at your local Sage backend if the port differs from defaults.
Detailed documentation: Chrome extension
graph TD
User[User] --> Desktop[๐ป Desktop App]
User --> Web[๐ Web App]
User --> CLI[โจ๏ธ CLI]
User --> Ext[๐งฉ Chrome Extension]
User --> IM[๐ฌ IM Channels]
Desktop --> AppLayer[๐งญ App Service Layer]
Web --> AppLayer
CLI --> AppLayer
Ext --> AppLayer
IM --> AppLayer
subgraph App[Product Layer]
AppLayer --> Chat[๐ฌ Chat & Sessions]
AppLayer --> AgentsUI[๐ค Agent Management]
AppLayer --> Tasks[โฐ Tasks & Automations]
AppLayer --> Browser[๐ Browser Bridge]
AppLayer --> Workbench[๐ ๏ธ Visual Workbench]
end
subgraph Core[SAgents Core]
AppLayer --> Runtime[๐ง Session Runtime]
Runtime --> Flow[๐ AgentFlow]
Flow --> Agents["๐ค Agents<br/>Plan / Simple / Fibre / Self-Check"]
Agents --> Memory[๐ง Memory Recall]
Agents --> Skills[๐งฉ Skills]
Agents --> ToolMgr[๐ ๏ธ Tool Manager]
end
subgraph Tools[Execution & Integration]
ToolMgr --> MCP[๐ MCP Servers]
ToolMgr --> BrowserTools[๐ Browser Automation]
ToolMgr --> Search[๐ Unified Search]
ToolMgr --> ImageGen[๐จ Image Generation]
ToolMgr --> Questionnaire[๐ Questionnaire]
ToolMgr --> IMTools[๐จ IM Delivery]
end
subgraph RuntimeEnv[Runtime & Infrastructure]
Agents --> Sandbox[๐ฆ Sandbox Runtime]
Sandbox --> Local[Local]
Sandbox --> Pass[Passthrough]
Sandbox --> Remote[Remote]
AppLayer <--> Common[๐งฑ Shared Common Services]
Common <--> DB[(SQL Database)]
Memory <--> ES[(Elasticsearch)]
Workbench <--> FS[(RustFS / Local Files)]
Runtime -.-> Obs["๐๏ธ Observability<br/>OpenTelemetry"]
end
PlanAgent, SelfCheckAgent, MemoryRecallAgent, and ToolSuggestionAgentcommon/ services, models, and schemas across desktop and serversagents/, common/, and app/ for the core runtime and product layersapp/desktop/Sage/
โโโ sagents/ # SAgents core runtime, flow, context, tools, sandbox
โโโ common/ # Shared models, schemas, services, core clients
โโโ app/
โ โโโ desktop/ # Desktop app (Python backend + Vue UI + Tauri shell)
โ โโโ server/ # Server app and web frontend
โ โโโ cli/ # Sage CLI entrypoint and services
โ โโโ chrome-extension/ # Browser extension and sidepanel
โโโ mcp_servers/ # IM, search, scheduler, image generation and more
โโโ docs/ # English and Chinese documentation
โโโ release_notes/ # Version release notes
We welcome contributions! Please see our GitHub Issues for tasks and discussions.