Skills MCP Model 博客 提交 Skills

AI 开发 教程

系统化的 AI 开发学习路径。从提示词工程到模型微调,从 RAG 到 Agent 开发,覆盖 AI 应用开发全栈知识。共 142 篇教程,18 个分类,入门到高级全覆盖。

找到 46 篇教程

Deployment and Operations Advanced

DeepSeek Inference Acceleration In-Depth Tutorial

Comprehensively master DeepSeek model inference acceleration techniques. In-depth comparison of four major engines: vLLM, SGLang, TensorRT-LLM, and llama.cpp, from deployment to tuning, from single GPU to distributed, providing a complete inference acceleration solution.

推理加速 vLLM TensorRT 性能优化
2025-06 25 分钟阅读
阅读教程 →
Model Fine-tuning Advanced

DeepSeek Data Engineering Tutorial

From data collection to quality evaluation, fully master the large model data engineering pipeline. Covers core aspects such as SFT dataset construction, RLHF preference data preparation, data cleaning and deduplication, data augmentation, and large-scale data processing.

数据工程 SFT RLHF 数据清洗
2025-06 23 分钟阅读
阅读教程 →
AI Application Development Advanced

DeepSeek Safety and Content Moderation

Production environment security protection guide: from prompt injection defense to content moderation systems, from jailbreak detection to red team testing. Complete security architecture design and Python implementation code to ensure AI applications are safe and reliable.

AI安全 内容审核 红队测试 安全架构
2025-06 23 分钟阅读
阅读教程 →
Model Fine-tuning Advanced

DeepSeek Model Architecture Deep Dive

In-depth analysis of DeepSeek-V3's core technologies such as MoE architecture, MLA attention mechanism, and Multi-Token Prediction. Understand how DeepSeek achieves GPT-4o-level performance at extremely low cost, including architecture diagrams and source code analysis.

架构解析 MoE MLA 注意力机制
2025-06 28 分钟阅读
阅读教程 →
Model Fine-tuning Advanced

DeepSeek Fine-tuning Hands-on Tutorial

Full practical guide to fine-tuning DeepSeek models: LoRA/QLoRA efficient fine-tuning, full-parameter fine-tuning, data preparation, training configuration, and evaluation validation. Covers fine-tuning solutions for DeepSeek-V3 and DeepSeek-R1, including complete code and best practices.

模型微调 LoRA QLoRA SFT
2025-06 26 分钟阅读
阅读教程 →
AI Application Development Advanced

DeepSeek Enterprise Application Tutorial

DeepSeek enterprise-level application architecture design: multi-tenant isolation, permission management, audit logs, API gateway, and cost control. Includes practical solutions for enterprise RAG systems, intelligent customer service, and knowledge base management, providing an AI implementation guide for large organizations.

企业应用 多租户 架构设计 落地实践
2025-06 26 分钟阅读
阅读教程 →
Deployment and Operations Advanced

DeepSeek Performance Tuning Tutorial

Complete DeepSeek performance tuning guide: GPU memory optimization, batching strategies, quantization techniques, concurrency control, and latency optimization. Includes profiling tool usage, performance benchmarking, and best practices to achieve an optimal balance between throughput and latency.

性能调优 GPU优化 量化 Profiling
2025-06 25 分钟阅读
阅读教程 →
模型架构 Advanced

DeepSeek-V4.1-Flash: CED Asymmetric Architecture & KV Cache Compression

DeepSeek-V4.1-Flash redefines Agent-era inference with a 552B MoE and CED asymmetric architecture. We break down KV Cache compression and its cost model.

DeepSeek-V4.1-Flash CED 非对称架构 MoE KV Cache 压缩稀疏注意力 推理效率 模型架构
2026-09 38 分钟阅读
阅读教程 →
Agent 开发 Advanced

Build Long-Context Multimodal Agents with DeepSeek-V4.1-Flash

Use DeepSeek-V4.1-Flash's 1M context and 384K output to build a multimodal Agent with vision, tool calls, and long-context memory, plus cost and pitfalls.

DeepSeek-V4.1-Flash 长上下文 多模态 Agent 视觉理解 Tool Calls 1M Context Agent 工程化 KV Cache
2026-09 40 分钟阅读
阅读教程 →
模型部署 Advanced

DeepSeek-V4.1-Flash Local Deployment & Inference Optimization

Deploy DeepSeek-V4.1-Flash locally: CED architecture, KV Cache 4x compression, quantization, batching, and high-concurrency serving for max throughput.

DeepSeek-V4.1-Flash 本地部署 vLLM SGLang 推理优化 KV Cache 显存优化 开源模型
2026-09 38 分钟阅读
阅读教程 →
DeepSeek API Advanced

Dialogue Prefix Continuation: Let AI Perfectly Complete Your Half-Sentence

DeepSeek V4's Chat Prefix Completion (Beta) feature allows the model to continue generating from a specified prefix. This article details use cases, API calls, comparison with FIM, and practical application examples.

前缀续写 Chat Prefix Beta功能 内容控制 对话增强
2026-08 12 分钟阅读
阅读教程 →
Agent Development Advanced

Multi-Agent Collaboration Patterns in Practice: From Orchestration to Autonomy

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.

多Agent 协作模式 编排 Supervisor
2026-08 25 分钟阅读
阅读教程 →
Model Fine-tuning Advanced

Model Distillation in Practice: Training Small Models with Large Models

Knowledge distillation allows small models to approach large model capabilities while significantly reducing inference costs. This article provides an in-depth explanation of distillation principles, data generation strategies, training techniques, and effect evaluation, teaching you to distill cost-effective small models with DeepSeek.

知识蒸馏 模型训练 数据生成 成本优化
2026-08 24 分钟阅读
阅读教程 →
Deployment and Operations Advanced

LLM Inference Performance Optimization: vLLM and Continuous Batching

After model deployment, throughput and latency are core metrics. This article provides an in-depth analysis of vLLM's PagedAttention and Continuous Batching principles, and gives a complete optimization roadmap from benchmark testing, parameter tuning to production deployment.

vLLM 推理优化 吞吐量 部署
2026-08 23 分钟阅读
阅读教程 →
AI Safety Advanced

AI Agent Red Teaming and Security Assessment Framework

Agents that can call tools are at risk of being exploited. This article systematically explains Agent red team testing methodologies, covering attack surfaces such as prompt injection, unauthorized tool calls, supply chain pollution, as well as supporting automated evaluation and defense systems.

红队测试 AI安全 提示注入 安全评估
2026-08 26 分钟阅读
阅读教程 →
Multimodal Development Advanced

Multimodal Agent in Practice: Vision-Driven Automated Operations

When agents can 'see' screens and images, the boundaries of automation are greatly expanded. This article explains the architecture design of multimodal agents, screenshot understanding, UI element positioning, and complete implementation of action execution, with runnable code.

多模态 视觉Agent UI自动化 截图理解
2026-08 24 分钟阅读
阅读教程 →
Model Fine-tuning Advanced

RLHF Reinforcement Fine-Tuning in Practice: From Preference Data to Reward Model

RLHF aligns model outputs with human preferences. This article walks through the complete RLHF pipeline, from preference data collection and reward model training to PPO reinforcement fine-tuning, and provides engineering insights on data quality and effect evaluation.

RLHF 奖励模型 PPO 偏好对齐
2026-08 26 分钟阅读
阅读教程 →
Agent Development Advanced

Agent State Machine and Fault-Tolerant Orchestration: Building Reliable Agents

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.

状态机 容错 编排 可靠性
2026-08 25 分钟阅读
阅读教程 →
模型推理 Advanced

DeepSeek-R1 Reasoning Model: Principles & CoT Engineering

Explore DeepSeek-R1's RL-based training for long chain-of-thought reasoning. Learn CoT prompting, output constraints, temperature tuning, cost control, and evaluation for production.

DeepSeek-R1 思维链 CoT 推理模型 强化学习 RLHF 提示工程 模型评测
2026-08 38 分钟阅读
阅读教程 →
检索系统 Advanced

Designing Large-Scale Vector Search: From HNSW to Distributed Indexing

Learn to build a scalable vector search foundation for tens of millions of vectors with millisecond recall. Covers HNSW graph indexing, IVF-PQ quantization, memory/SSD tiering, sharding, replication, cascaded retrieval, caching, architecture comparisons, and load testing.

向量检索 HNSW ANN PQ量化 分布式索引 Milvus 召回率 性能压测
2026-08 40 分钟阅读
阅读教程 →
Agent Development Advanced

Agent Memory System Design: Short-Term, Long-Term, and Tool Memory

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.

Agent 记忆系统 向量记忆 会话记忆 反思机制 长期规划 记忆压缩 LangChain
2026-08 36 分钟阅读
阅读教程 →
Agent Development Advanced

Multi-Agent Collaboration: Building an AI Team with Skill Chains

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.

Agent Loop 多Agent 协作 技能链
2026-07 20 分钟阅读
阅读教程 →
Agent Development Advanced

Hands-on: Build Your First Agent Loop Application

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.

Agent Loop 实战 DeepSeek 项目实战
2026-07 22 分钟阅读
阅读教程 →
Prompt Engineering Advanced

Chain-of-Thought Deep Dive

Chain-of-Thought (CoT) is not just about adding 'Let's think step by step'. This article deeply analyzes the working mechanism, variant strategies, and cutting-edge progress of CoT from three dimensions: cognitive science, information theory, and engineering practice, helping you truly understand the essence of AI reasoning.

Chain-of-Thought CoT 推理 高级技巧
2026-07 20 分钟阅读
阅读教程 →
Prompt Engineering Advanced

Prompt Security and Injection Defense

Prompt injection is the primary security threat to AI applications. Attackers can bypass system instructions, steal sensitive information, and induce malicious behavior through carefully crafted inputs. This article explains in depth the attack vectors, detection methods, and defense strategies of prompt injection to help you build secure AI applications.

提示词安全 注入防护 AI安全 防御策略
2026-07 17 分钟阅读
阅读教程 →
RAG Retrieval Augmented Advanced

RAG Evaluation and Quality Metrics System

Without measurement, there is no improvement. Quality evaluation of RAG systems involves three levels: retrieval quality, generation quality, and end-to-end quality. This article systematically explains core evaluation metrics and frameworks such as Recall@k, MRR, Faithfulness, and RAGAS to help you establish a scientific RAG quality measurement system.

RAG 评估 质量度量 RAGAS
2026-07 22 分钟阅读
阅读教程 →
RAG Retrieval Augmented Advanced

Agentic RAG: Let AI Retrieve Autonomously

Traditional RAG is passive—the system retrieves what the user asks. Agentic RAG gives AI autonomous decision-making ability, enabling it to proactively determine whether retrieval is needed, what to retrieve, and how to integrate multiple retrieval results. This article deeply analyzes the architecture design and implementation path of Agentic RAG.

RAG Agent 自主检索 高级架构
2026-07 25 分钟阅读
阅读教程 →
AI Application Development Advanced

AI-Driven Data Analysis Pipeline

Traditional data analysis relies on extensive manual coding, while AI-driven data analysis pipelines make natural language the interface for data queries. This article builds a complete data analysis pipeline with NL2SQL + automatic visualization + insight generation, allowing anyone to explore data using natural language.

数据分析 NL2SQL 可视化 自动化
2026-07 25 分钟阅读
阅读教程 →
Deployment and Operations Advanced

Monitoring and Observability for AI Applications

Observability for AI applications is far more complex than for traditional applications—it requires monitoring multiple dimensions such as LLM call latency, token consumption, hallucination rate, and user satisfaction. This article builds a complete AI application monitoring system, covering metric collection, alert configuration, cost tracking, and quality monitoring.

AI运维 监控 可观测性 成本管理
2026-07 20 分钟阅读
阅读教程 →
Model Fine-tuning Advanced

Model Evaluation and A/B Testing

After fine-tuning, how can you objectively evaluate model performance? How should A/B tests be designed to obtain statistically significant conclusions? This article establishes a scientific model evaluation system from three dimensions: offline evaluation, online A/B testing, and statistical significance.

模型评估 A/B测试 统计显著性 实验设计
2026-07 20 分钟阅读
阅读教程 →
Agent Development Advanced

Design of Agent Memory Systems

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 记忆系统 RAG 长短期记忆
2026-07 22 分钟阅读
阅读教程 →
Agent Development Advanced

In-Depth Implementation of ReAct Agents

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 ReAct 推理 工具调用
2026-07 25 分钟阅读
阅读教程 →
Agent Development Advanced

Design of Multi-Agent Communication Protocols

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.

多Agent 通信协议 协作 消息队列
2026-07 23 分钟阅读
阅读教程 →
Model Fine-tuning Advanced

Detailed Explanation of DPO Preference Alignment Training

DPO (Direct Preference Optimization) is a simplified alternative to RLHF that does not require training a reward model. This article explains the principles, implementation details, and training techniques of DPO in depth.

DPO RLHF 偏好对齐 对齐训练
2026-07 25 分钟阅读
阅读教程 →
RAG Retrieval Augmented Advanced

Graph-Enhanced RAG (GraphRAG) in Practice

Traditional RAG only retrieves text fragments; GraphRAG introduces knowledge graphs on this basis, enabling multi-hop reasoning and relation-aware retrieval. This article explains the construction and practical application of GraphRAG from scratch.

GraphRAG 知识图谱 RAG Neo4j
2026-07 25 分钟阅读
阅读教程 →
Deployment and Operations Advanced

GPU Cluster Management and Scheduling

Managing a cluster of dozens of GPUs requires professional scheduling strategies. This article explains practical experience in GPU resource management, task priority scheduling, memory fragmentation cleanup, and multi-tenant isolation.

GPU 集群管理 资源调度 NVIDIA
2026-07 23 分钟阅读
阅读教程 →
AI Application Development Advanced

Enterprise AI Middleware Architecture Design

When an enterprise needs to manage dozens of AI services in a unified manner, the middleware layer is crucial. This article explains the complete architecture design of AI gateways, rate limiting, load balancing, model routing, and monitoring.

中间件 企业架构 AI网关 限流
2026-07 25 分钟阅读
阅读教程 →
AI Application Development Advanced

Large Model Safety and Alignment Techniques

AI safety is the baseline requirement for production deployment. This article provides an in-depth explanation of alignment techniques such as RLHF, DPO, and Constitutional AI, as well as security practices like content moderation and prompt injection defense, to help you build safe and reliable AI applications.

AI安全 对齐技术 RLHF 内容审核
2025-07 18 分钟阅读
阅读教程 →
Deployment and Operations Advanced

In-Depth Guide to GPU-Accelerated Inference Optimization

GPU inference optimization is key to reducing the cost of large model deployment. This article provides an in-depth explanation of core technologies such as FlashAttention, quantized inference, TensorRT acceleration, and continuous batching to help you maximize GPU utilization.

GPU优化 FlashAttention TensorRT 量化推理
2025-07 19 分钟阅读
阅读教程 →
Prompt Engineering Advanced

Prompt Injection Defense and Security Hardening

Prompt injection is the number one security threat facing large model applications. This article provides an in-depth analysis of various injection attack principles and offers systematic defense strategies, including input filtering, output validation, sandbox isolation, and permission control.

Prompt注入 安全防御 攻击防护 安全加固
2025-07 17 分钟阅读
阅读教程 →
RAG Retrieval Augmented Advanced

Advanced RAG: Multi-hop Retrieval and Self-Query

Basic RAG cannot handle complex problems that require cross-document reasoning. This article provides an in-depth explanation of advanced RAG techniques such as multi-hop retrieval, self-query retrieval, and context compression, helping you elevate your RAG system to production-grade level.

高级RAG 多跳检索 自查询
2025-06 20 分钟阅读
阅读教程 →
Agent Development Advanced

Multi-Agent Collaboration: Building an AI Team

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.

多Agent 协作 AutoGen CrewAI
2025-06 20 分钟阅读
阅读教程 →
Model Fine-tuning Advanced

Dataset Construction and Quality Evaluation

Data quality determines the upper limit of fine-tuning effectiveness. This article systematically explains the construction methods of fine-tuning datasets, data cleaning strategies, quality evaluation metrics, and data augmentation techniques, helping you build high-quality fine-tuning datasets.

数据集 数据清洗 质量评估
2025-06 17 分钟阅读
阅读教程 →
Deployment and Operations Advanced

Best Practices for Large Model API Service

API-fying LLM capabilities is a key step for enterprise-level applications. This article systematically explains best practices for LLM API services from dimensions such as architecture design, rate limiting strategies, cache optimization, and security protection.

API服务化 架构设计 限流 安全
2025-06 20 分钟阅读
阅读教程 →
AI Application Development Advanced

AI Application Performance Optimization and Cost Control

The performance and cost of AI applications directly impact product experience and commercial viability. This article systematically explains methods for AI application performance optimization and cost control from dimensions such as prompt optimization, caching strategies, model selection, and architecture design.

性能优化 成本控制 生产实践
2025-06 16 分钟阅读
阅读教程 →
Prompt Engineering Advanced

Structured Output and JSON Mode in Practice

In production environments, unstructured output from AI is difficult to use directly. This article provides an in-depth explanation of how to make large models output structured data, including JSON Schema constraints, Pydantic integration, and best practices for structured output.

结构化输出 JSON模式 生产实践
2025-05 14 分钟阅读
阅读教程 →

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

完全免费,取消任意时间。我们不会发送垃圾邮件。