{"repo":"wulawulu/learn-claude-code-rs","free":true,"listed":false,"github":"https://github.com/wulawulu/learn-claude-code-rs","clone":"git clone https://github.com/wulawulu/learn-claude-code-rs.git","description":"Build an AI agent harness in Rust, from a minimal loop to tools, subagents, memory, teams, worktrees, MCP, and typed tool routing.","language":"Rust","stars":127,"topics":["agent-harness","agentic","ai-agent","claude-code","coding-agent","llm","mcp","multi-agent","rust","rust-lang"],"license":"MIT","category":"ai-agents","readme_excerpt":"learn-claude-code-rs English 中文 A progressive AI Agent Harness tutorial written in Rust. This repository is a Rust-oriented learning path for building an agent harness. It starts with the smallest agent loop and gradually adds tools, planning, subagents, skills, context compaction, permissions, hooks, memory, multi-agent collaboration, worktree isolation, MCP/plugins, and tool routing. This project was inspired by shareAI-lab/learn-claude-code. Its chapter design, content organization, and some code ideas reference that project to a certain extent, then reimplement and adapt them for the Rust ecosystem. It is not a line-by-line copy or a simple port; it reorganizes the agent harness topic itself into a runnable Rust tutorial. Each chapter is an independent runnable Rust crate. You can read them in order or jump directly into a topic to see how a harness capability is expressed through data structures, runtime loops, tool interfaces, and durable state. Why This Repo Most LLM examples stop at tool calling. This repo focuses on the runtime around the model: - tool dispatch - permissions - skills - memory - context compaction - subagents - background work - team protocols - worktree isolation - MCP plugins - typed tool routing Architecture Audience - People who want to understand the internals of coding agents instead of only using existing products. - People who want to write AI agents, CLI tools, or automation tools in Rust. - Readers who already know LLM APIs and want to learn","default_branch":null,"files":null,"tree":[],"storefront":"/r/wulawulu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wulawulu/learn-claude-code-rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}