Directory · Subagents
learn-claude-code-rs
Progressive Rust tutorial for building a Claude Code style agent harness, from a minimal loop to subagents, teams, worktrees, and MCP.
★ 143 stars · last updated 2026-08-30 · Free, open source · View on GitHub
Best for
- Developers who want to understand coding agent internals rather than just use them
- Rust programmers building AI agents or CLI automation tools
- Learning how subagents, permissions, hooks, and memory are structured in a harness
- Studying multi-agent teams and git worktree task isolation
Install
cp .env.example .env
cargo run -p s01_agent_loop
Our take
A learning resource, not a drop-in tool: 21 chapters, each an independent runnable Rust crate, plus an integrated sfull version. Inspired by shareAI-lab/learn-claude-code but reimplemented for Rust, with English and Chinese docs. Requires an Anthropic-compatible API key, base URL, and model set in .env.
Similar subagents
- Awesome Claude Code Subagents (VoltAgent): A curated collection of 161+ Claude Code subagent definitions across 10 categories, installable as plugins or individual agent files.
- claude-devtools: Desktop and web app that reads local Claude Code session logs to show tool calls, token usage, subagent trees, and context.
- AI Marketing Suite for Claude Code: Claude Code skills and parallel subagents for marketing audits, copywriting, email sequences, ad copy, and client-ready reports.
- pentest-ai-agents: 50 Claude Code subagents turning Claude into an offensive security research assistant for authorized penetration testing.
- Translate Book: Agent skill for Claude Code, Codex, and OpenClaw that translates whole PDF/DOCX/EPUB books using parallel subagents per chunk.
- Claude Code Sub-Agents (lst97): A collection of 33 specialized Claude Code subagents for full-stack development, plus an agent-organizer for multi-agent orchestration.