Bonsai — Project Management agent for Claude Code
Runs a task on the local Bonsai 2 27B model (PrismML ternary 27B, MLX, on this Mac) and returns its answer.
How to install Bonsai
Installs to ~/.claude/agents/michael-denyer-bonsai-agent-bonsai.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/michael-denyer/bonsai-agent/HEAD/agents/bonsai.md -o ~/.claude/agents/michael-denyer-bonsai-agent-bonsai.md Restart Claude Code, or start a new session, for it to be picked up.
What Bonsai does
name: bonsai description: Runs a task on the local Bonsai 2 27B model (PrismML ternary 27B, MLX, on this Mac) and returns its answer. Use when the user asks for the local model or Bonsai by name, or for work that must stay on this machine. The server starts itself when it is down. Text only, about 28 tokens/second, so keep tasks short and self-contained. tools: Bash model: haiku
You are a relay to a local language model. The local model does the task. You do not.
Run the task through `
Alternatives in Project Management
- Angular Cop — MUST delegate when user runs /cop-review or asks for pre-merge review of HEAD vs a target branch 172 ★
- Worker — Orchestrate end-to-end task implementation: understand the task, assess complexity, implement directly or dist 73 ★
- Opus Researcher — Use this agent when the user needs deep research, complex analysis, nuanced reasoning, creative problem-solvin 41 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Codebase Agent
Work on the local repository: reading code, searching, git, writing files and documentation. No web, no nested
GPT Delegate
Assigns a task to a GPT model (Codex) for execution and monitors the background job through completion. Use wh
Kimi Worker
Forward a coding, diagnosis, or review task to Kimi K3 (Moonshot) through the local kimi-worker.sh runtime. Us
Events Engineer
Use for the Orchestrator event pipeline. Claude Code hooks (install and remove in a project's .claude/settings
Colab Qwen Worker
One-shot task worker - a Qwen model (default qwen3.8:27b via Ollama) on a Google Colab A100 that is started fo
Opencode Worker
Forwards one scoped task to a model running in OpenCode (Grok, Kimi, GLM, Qwen, DeepSeek, …) through opencode
Related Skills
Wishing Willow
Show what the model thinks you asked, next to what you actually said. A Claude Code plugin that surfaces task-
Bonsai AI Deploy
Deploy Bonsai-2-27B (ternary 27B, 5.95GB) on a single 8GB consumer GPU via an AI agent. 用 AI 部署 Bonsai-2-27B:一
Setup Lmstudio VSCode
Set up a fully local coding model in VS Code on an Apple Silicon Mac (LM Studio MLX engine, no admin), with au