Coding & Developmentβ¨geminiπ€claudeπ¬gptπuniversal
Open Magi Agent
Open-source runtime for personal AI agents that can finish work reliably.
Quick Start
Install this Skill
npx skills add openmagi/magi-agent<div align="center">
# Open Magi Agent
**A programmable AI agent that does real work under rules you author.**
[Website](https://openmagi.ai) Β·
[CLI](docs/cli/magi.md) Β·
[What works today](docs/what-works-today.md) Β·
[Releases](https://github.com/openmagi/magi-agent/releases)




</div>
> **Early beta.** Under active development; expect rough edges.
Magi is a governed agent runtime built on ADK. The model proposes work; a
deterministic control plane you program decides which of those proposals become
state, evidence, side effects, or user-visible output. It runs locally, works
with any provider you bring, and is Apache-2.0.
## Install & quickstart
```bash
# 1. Install (Homebrew, prebuilt bottle)
brew install --force-bottle openmagi/tap/magi-agent
# 2. Set whichever provider key you have (auto-detected, one is enough)
export ANTHROPIC_API_KEY=... # or OPENAI_API_KEY / GEMINI_API_KEY (GOOGLE_API_KEY)
# / FIREWORKS_API_KEY / OPENROUTER_API_KEY
# 3. Run the CLI, or serve the local dashboard
magi -p "Inspect this repository and summarize the runnable surfaces"
magi-agent serve --port 8080 # then open http://localhost:8080/dashboard
```
One provider key builds a real model-backed runner; with none, the CLI falls
back to a model-free stub. Keys and the model can live in `~/.magi/config.toml`
instead of the environment. Local runs default to `bypassPermissions`; pass
`--permission-mode default` for per-tool approval prompts, or `--mode plan` for
read-only planning.
Two binaries: **`magi`** is the headless / TUI CLI, **`magi-agent`** runs the
server and local dashboard. The **Local web dashboard** runs at
http://localhost:8080/dashboard; run `magi-agent serve --help` for serve
options. If Homebrew tries to build from source instead of using the prebuilt
bottle, reinstall it: `brew reinstall openmagi/tap/magi-agent --force-bottle`.
Full setup, config resolution, flags, and runtime profiles:
[Getting started](docs/getting-started.md) Β· [CLI reference](docs/cli/magi.md).
## What you get today
With a provider key configured, a default local install runs, on by default:
- **Real model calls** across 5 providers (Anthropic, OpenAI, Gemini, Fireworks,
OpenRouter) via LiteLlm.
- **First-party tools**: file read/write/edit, patch apply, Bash, ripgrep, LSP
diagnostics, plus a stateful Python interpreter.
- **Subagents** (live child runner) and an in-turn **work queue**.
- **Memory** that captures, recalls, and rolls up across turns, and survives
restarts via a durable plan ledger + an **ambient goal loop** that keeps going
on multi-step work.
- **Sessions** with `--resume` / `--continue`, transcript logs, and an
interactive TUI with `/` slash commands.
- **Keyless `WebFetch`** (jina-reader + local fetch), a browser tool, and a
**local knowledge base** (`KnowledgeSearch` over your workspace).
- A **local dashboard** (Customize / Policies / Integrations / Credentials /
Knowledge / Work Queue / Audit) and an encrypted local credential vault.
- The **pre-final evidence gate**, which blocks a coding turn's output when
required evidence is missing.
The authoritative, source-cited map of what is on, default-off, or planned is
[What works today](docs/what-works-today.md).
## Why: programmable determinism
Prompt-only control is weak for real work: an agent can claim it read a document
it never opened, cite a source that does not support the claim, skip an approval,
or ship a plausible answer with no audit trail. Coding agents worked first
because tests, review, and git already governed the work for free. Most research,
finance, legal, and operations work has no such oracle, so the runtime has to
govern the work itself, and the rules have to become executable.
Magi makes the control *around* the model deterministic, not the model. A policy
you author decides what context the model sees, which tools are allowed or need
approval, which claims require source / file / test / delivery evidence, which
validators run before an answer or side effect, how failures are repaired, and
what lands in the audit ledger. The gate that decides is plain code reading an
append-only evidence record, with zero model calls. Policy is composed per task,
so the same engine becomes a strict coding agent or an audit-grade research agent
by changing the policy, not the core.
Stated honestly: in a domain with no free oracle, Magi does not guarantee the
answer is *correct* (no gate can, that is the model's job). It guarantees the
answer was produced *under your policy* and can prove it: only approved sources
used, every citation real, no prohibited action taken, a complete audit trail.
The full model, per-run
... (truncated)Repository
8stars
0forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
π€claudeπuniversal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
πuniversal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
β¨geminiπ€claudeπ¬gptπuniversal
524
34
View
misakanet-failure-memory
Coding & Developmentπ A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
π€claudeβ¨οΈcursorπuniversal
424
158
View