deepagents-in-action  by datawhalechina

AI Agents for production

Created 1 month ago
876 stars

Top 40.5% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This repository offers "Deep Agents in Action," a comprehensive guide to building production-grade AI Agents using LangChain and LangGraph. It targets engineers and AI enthusiasts, providing a complete curriculum from foundational concepts to advanced implementation for constructing sophisticated agents from scratch.

How It Works

The project utilizes the "Deep Agents" framework (v≥0.5) built on LangChain/LangGraph. It systematically details agent development, covering virtual file systems for context engineering, task planning, decomposition, and orchestration of sub-agents (including asynchronous execution), enabling robust and scalable AI agent creation.

Quick Start & Requirements

  • Installation: Clone repo, run npm install.
  • Prerequisites: Node.js ≥ 22.12.0.
  • Running: npm run dev (dev server), npm run build (prod).
  • AI Models: Defaults to SiliconFlow. Free models (Qwen/Qwen2.5-7B-Instruct) for simple tasks; SOTA models (nex-agi/Nex-N2-Pro, zai-org/GLM-5.1) recommended for complex scenarios.
  • Dev Tools: Install AI coding skills via npx skills add ob-labs/agentseek --skill langchain-dev-guide and npx skills add ob-labs/agentseek --skill langsmith-trace.
  • Docs: https://docs.langchain.com/oss/python/deepagents/overview.

Highlighted Details

  • Covers advanced agent features: virtual file systems, task planning, sub-agent orchestration, skills, and long-term memory.
  • Integrates AgentSeek for environment setup and specialized AI development skills.
  • SiliconFlow provides model compute support with user welfare programs (registration bonuses, quota subsidies).
  • Content structured into Preparation, Cognitive, Core, and Advanced learning phases.

Maintenance & Community

Actively maintained with contributions from webup, Spr1ng7, etc. SiliconFlow sponsors model compute. Community engagement via Bilibili and Xiaohongshu. Future content includes human-in-the-loop, sandboxing, and production deployment.

Licensing & Compatibility

Content licensed under CC BY-NC-SA 4.0 (non-commercial, share-alike). Website source code under MIT (permissive). Content use is restricted commercially; code is freely usable.

Limitations & Caveats

Requires "Deep Agents" framework v0.5+, with specific features needing newer versions (e.g., deepagents>=0.5.2, deepagents>=0.6.8). Complex agent tasks necessitate SOTA LLMs for reliable performance. The CC BY-NC-SA 4.0 license restricts commercial usage.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
28
Issues (30d)
4
Star History
780 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.