How brokenuper/agent-dev works
This repository is a Chinese-language companion to a book on LLM agents, not one integrated application. Its user journey is chapter-based: readers study concepts, then explore standalone examples for agent applications, model serving and tuning, orchestration, retrieval, and multimodal tasks. The sampled LangChain example connects a chat UI to a plan-and-execute agent and search/calculator tools; other examples are independently implemented. The graph preserves major README topics, but does not imply a shared runtime. Some chapter capabilities are represented by their exact enclosing directories because their implementation was not sampled.
Main entry points: langchain-plan-execute.py Plan-execute chat · cogvlm2_chat.py CogVLM2 vision · image_search.py Image search · chapter01 Agent foundations
Components 31
Foundations
- Agent foundations
chapter01 - Environment setup
chapter02
Agent applications
- General agents
chapter03 - AutoGPT
chapter03/AutoGPT/README.md - MemGPT
chapter03/MemGPT/README.md - Task agents
chapter04 - BabyAGI API server
chapter04/BabyAGI/vllm_api_server.py - Coding assistants
chapter05 - Devika
chapter05/Devika - Retrieval applications
chapter06 - DB-GPT
chapter06/DB-GPT/README.md - QAnything
chapter06/QAnything/README.md
Agent development
- GLM function calling
chapter08/glm4-functioncalling.py - Agentscope ReAct
chapter09/agentscope-sample.py - Plan-execute chat
chapter10/langchain-plan-execute.py - Bing search tool
chapter10/langchain-plan-execute.py - Math tool
chapter10/langchain-plan-execute.py - LangGraph workflow
chapter11/langgraph-sample.py - Autogen coding agent
chapter12/autogen-sample.py - LlamaIndex retrieval
chapter13/llamaindex-sample.py - CrewAI chat
chapter14/crewai-sample.py - Qwen-Agent vision
chapter15/qwen-agent-sample.py
Model and multimodal
- Model serving
chapter07 - GLM-4 API
chapter07/glm-4/openai_api_server.py - Llama 3 API
chapter07/llama3/llama3-api.py - Llama 3 tuning
chapter07/llama3/llama3-train.py - Qwen-VL API
chapter15/qwenvl-openai-api.py - CogVLM2 vision
chapter16/cogvlm2_chat.py - Image search
chapter16/image_search.py
Other components
- Book reader
- Bing search
Connections 21
- Book reader → Agent foundations: studies
README.md - Book reader → Environment setup: studies
README.md - Book reader → General agents: explores
README.md - Book reader → Task agents: explores
README.md - Book reader → Coding assistants: explores
README.md - Book reader → Retrieval applications: explores
README.md - Book reader → Model serving: studies
README.md - Book reader → GLM function calling: explores
README.md - Book reader → Agentscope ReAct: explores
README.md - Book reader → Plan-execute chat: explores
README.md - Book reader → LangGraph workflow: explores
README.md - Book reader → Autogen coding agent: explores
README.md - Book reader → LlamaIndex retrieval: explores
README.md - Book reader → CrewAI chat: explores
README.md - Book reader → Qwen-Agent vision: explores
README.md - Book reader → Qwen-VL API: explores
README.md - Book reader → CogVLM2 vision: explores
README.md - Plan-execute chat → Bing search tool: invokes
chapter10/langchain-plan-execute.py - Plan-execute chat → Math tool: configures
chapter10/langchain-plan-execute.py - Bing search tool → Bing search: searches
chapter10/langchain-plan-execute.py - Image search → CogVLM2 vision: calls
chapter16/image_search.py