最新博客文章
17 / 200AI 开发实战教程,从零到一构建你的 AI 应用。
All200
Beginner32
Intermediate92
Advanced76
All
Prompt Engineering12
RAG Retrieval Augmented17
Agent Development34
Model Fine-tuning21
Deployment and Operations25
AI Application Development40
DeepSeek API16
Multimodal Development6
AI Safety6
Model Inference3
Retrieval Systems1
RAG Retrieval1
Model Architecture3
API Development1
Agent Development10
Model Deployment1
Multimodal1
Model Evaluation2
Tutorial
Date
Plugin Lifecycle & Hot Reload: Fiber State Machine, Nested Plugins, dispose
Agent Development
Advanced
How plugins load and unload: Fiber state machine transitions, nested plugin parent-child isolation, and how old instances settle during hot reload with dispose.
Design of Multi-Agent Communication Protocols
Agent Development
Advanced
When multiple AI agents need to collaborate, communication protocols are the key link connecting them. This article explores the design principles, message formats, routing strategies, and consistency guarantees of multi-agent communication protocols.
DeepSeek Harness Plugin DI, Effects & Service Model
Agent Development
Advanced
Inside the dsh plugin kernel: inject dependency timing, ctx.effect auto-tracking and reverse cleanup, and Service registration. Practical patterns for dependency cycles, optional deps, and service replacement.
Multi-Agent Collaboration Patterns in Practice: From Orchestration to Autonomy
Agent Development
Advanced
Single agents have limited capabilities; multi-agent collaboration is key to unlocking complex tasks. This article starts from practical experience, compares mainstream collaboration modes such as Supervisor, GroupChat, and Sequential, and provides runnable code implementations.
Define Tools in DeepSeek Harness: Schema, Approval & Pipeline
Agent Development
Advanced
Register a tool with ctx and make models call it reliably: parameter schema, approval hooks, return values, and the fixed dsh tool pipeline order.
Multi-Agent Collaboration: Building an AI Team
Agent Development
Advanced
A single Agent has limited capabilities; multi-Agent collaboration can solve more complex problems. This article explains the design patterns, communication mechanisms, and practical application cases of multi-Agent systems, teaching you to build AI teams that can work collaboratively.
Design of Agent Memory Systems
Agent Development
Advanced
Memory is the key to transforming agents from one-time tools to long-term intelligent companions. This article deeply analyzes the architecture design of agent memory systems, covering short-term/long-term memory, RAG-enhanced memory, and hybrid retrieval strategies.
Agent Protocols Explained: Where MCP, A2A, and AG-UI Each Belong
Agent Development
Advanced
Three agent protocols answer three different questions. MCP standardizes how tools and context are exposed, A2A covers discovery and delegation between agents, AG-UI streams a running agent to the frontend. It also shows a bridge in code — a remote A2A agent wrapped as an MCP tool — plus capability negotiation, version drift, mismatched error semantics, and cancellation.
Agent Memory System Design: Short-Term, Long-Term, and Tool Memory
Agent Development
Advanced
Memory is the foundation of Agent intelligence. This article models four layers: working, episodic, semantic, and tool memory, covering compression, retrieval, writing, and forgetting strategies. Implement a complete Agent memory subsystem with vector memory and reflection using DeepSeek API.
Capability Seams in DeepSeek Harness: Build Custom Agent Extensions
Agent Development
Advanced
Learn how Capability Seams extend dsh: definer, provider, and consumer roles, three-layer events in the Agent loop, and what to deliver when building a custom capability.
Multi-Agent Collaboration: Building an AI Team with Skill Chains
Agent Development
Advanced
A single AI has limited capabilities, but collaboration among multiple AI roles can solve complex problems. This article explains how to orchestrate multiple Agents with skill chains, building a collaborative team of planner → executor → reviewer.
Long-Running Agent Engineering: Task Graphs, Resumption, and Cost Control
Agent Development
Advanced
When an Agent works for hours, the bottleneck is not how long the model thinks but whether state survives a process restart. Task graph persistence, checkpoint granularity by side-effect density, idempotency with intent logs, lease-guarded resumption, precondition fingerprints for invalidation, context compaction, externalized memory, and cost gates with human checkpoints.
Agent Reliability Engineering: Timeouts, Retries, Idempotency, and Fault Isolation
Agent Development
Advanced
Treat an Agent as a distributed system that will fail. This guide covers inheriting a wall-clock budget as context rather than resetting it per layer, why retries require idempotency, binding idempotency keys to intent, compensating irreversible side effects with a Saga ledger, and proving these mechanisms with chaos tests.
Hands-on: Build Your First Agent Loop Application
Agent Development
Advanced
From theory to practice, this article teaches you step by step how to build a complete Agent Loop application using the DeepSeek API. It includes the complete process of requirements analysis, task planning, step-by-step execution, and result verification.
In-Depth Implementation of ReAct Agents
Agent Development
Advanced
ReAct (Reasoning + Acting) is one of the most classic paradigms in agent development. This article explains in depth how to build a production-grade ReAct agent, from principles to implementation, including prompt engineering, tool management, and error recovery.
Agent State Machine and Fault-Tolerant Orchestration: Building Reliable Agents
Agent Development
Advanced
In real business, agents fail: tool timeouts, context overflow, loop deadlocks. This article models the agent lifecycle with a finite state machine and explains the complete implementation of fault-tolerant orchestration, including timeout circuit breaking, retry compensation, and session recovery.
Scope Isolation & Event System in DeepSeek Harness Plugins
Agent Development
Advanced
Learn dsh scope semantics and the event bus: auto-isolated registrations, cross-plugin communication via services or events, naming and payload conventions, listener leak fixes.