将 OpenAI Agents SDK 应用移植到 Claude Agent SDK,通过单个费用审批代理示例映射每个原语(工具、保护措施、会话、交接)。
构建一个使用读写 MCP 工具的事故响应代理,实现自主诊断、修复和事后文档记录。
通过后台线程和提示缓存,实现即时会话记忆压缩,管理长期运行的 Claude 对话。
通过让 Claude 编写代码在代码执行环境中以编程方式调用工具,降低延迟和 token 消耗。
使用语义嵌入实现动态工具发现,将 Claude 应用扩展到成千上万的工具。
在长期运行的代理工作流中,通过自动压缩对话历史管理上下文限制。
结合 ElevenLabs 的语音转文本和文本转语音功能,以及 Claude,构建低延迟语音助手。
为Claude提供裁剪工具,以便放大图像区域,详细分析图表、文档和图示。
引导提示Claude生成独特、精致的前端设计,避免通用美学。
使用Claude的Excel、PowerPoint和PDF技能构建财务仪表盘和投资组合分析。
创建、部署并管理自定义技能,通过专业的组织工作流程扩展Claude功能。
使用Claude的Excel、PowerPoint和PDF技能创建文档、分析数据、自动化工作流程。
使用Claude Code SDK和WebSearch构建研究代理,实现自主研究。
构建多代理系统,包含子代理、钩子、输出风格和计划模式功能。
通过MCP服务器将代理连接到外部系统,用于GitHub监控和CI工作流程。
独立于评估任务文件对工具进行并行代理评估。
通过Admin API以编程方式访问和分析Claude API使用情况及费用数据。
使用Claude的记忆工具和上下文编辑功能构建具有持久记忆的AI代理。
在用户制定查询时,通过投机性预热缓存以减少首次标记的时间。
使用批量工具元模式变通方法,在Claude 3.7 Sonnet上启用并行工具调用。
使用Claude的扩展思维进行透明的逐步推理,并进行预算管理。
在多步工作流程中,将扩展思维与工具结合以实现透明推理。
三种简单的多LLM工作流程模式,以成本或延迟换取性能提升。
工作流程模式:使用一个LLM生成内容,另一个LLM提供评估反馈循环。
中央LLM动态分配任务给工作LLM,并综合它们的结果。
使用批处理异步处理大量Claude请求,成本降低50%。
使用RAG、链式思维和自我改进技术,将自然语言查询转换为SQL。
通过在嵌入前向块添加上下文并使用提示缓存,提高RAG准确性。
逐步指南:在Amazon Bedrock上微调Claude 3 Haiku以完成自定义任务。
生成合成测试案例,以有效评估和改进您的Claude提示模板。
缓存并重用提示上下文,通过详细说明节省成本并加快响应速度。
全面指南,概述法律文件的总结方法,包括评估和高级技术。
使用Claude构建和优化RAG系统,通过摘要索引和重新排序技术提高性能。
使用RAG和思维链在Claude中构建保险票据分类系统。
使用tool_choice参数控制Claude选择工具的方式,可实现强制或自动选择。
结合Claude的视觉功能和工具,从图像中提取结构化数据,如营养标签。
使用预填充技术和消息续传生成超出max_tokens限制的更长响应。
关于使用Claude视觉功能实现最佳图像处理性能的技巧和方法。
使用Pydantic模型创建经过验证的工具,实现类型安全的Claude工具使用交互。
使用Deepgram转录音频,并使用Claude生成面试问题作为准备。
将Wolfram Alpha LLM API集成为Claude工具,用于计算查询和答案。
为Claude提供计算器工具,用于算术运算和数学问题解决。
Build a Messages API harness that reproduces published DeepSearchQA and BrowseComp scores, using programmatic tool calling, server-side compaction, and task budgets.
Detect safety classifier blocks on Fable 5 and fall back to Opus 4.8 with server-side or SDK-based client-side fallback, including streaming behavior and the new billing changes.
Two async multi-agent patterns — a fixed N-agent team with peer messaging through a shared hub, and dynamically spawned async subagents — reduced to their bare messaging and lifecycle mechanics.
Deploy the research agent from notebook 00 through three tiers of operational maturity (Docker, Modal, Kubernetes) with the same container image and HTTP interface at every tier.
Heterogeneous team via the multiagent coordinator config — a coordinator runs three specialists (web-search researcher, file-reading librarian, rules-based pricer) with scoped toolsets to assemble a sales proposal. Covers the multiagent field, the thread_created / thread_message_received event types, and per-role tool scoping.
Build a grade-and-revise loop with Outcomes: a writer drafts a cited research brief, a stateless grader fetches every URL and checks every quote against a rubric, and feedback drives revisions until the brief passes. Covers user.define_outcome, the span.outcome_evaluation_* events, and how to write a rubric the grader can act on.
Give your Claude Managed Agents a Memory store so they learn and remember your users' preferences across multiple interactions.
Build a vulnerability-discovery agent with the Claude Agent SDK that threat-models a C target, hunts memory-safety bugs with built-in file tools, and triages findings into a structured report.
Wire Claude into your on-call flow: when an alert fires, the agent reads logs and runbooks, pinpoints the root cause, opens a fix PR, and waits for your approval before merging.
Build an analyst that turns a CSV into a narrative HTML report with interactive charts, using a sandboxed environment and file mounting.
Mention the bot with a CSV to get an analysis report in-thread, with multi-turn follow-ups on the same session.
Entry-point tutorial for the Claude Managed Agents API. Walks through agent / environment / session creation, file mounts, and the streaming event loop by getting an agent to fix three planted bugs in a calc.py package.
End-to-end production story for Managed Agents — vault-backed MCP credentials, the session.status_idled webhook pattern for human-in-the-loop without long-lived connections, and the resource lifecycle CRUD verbs.
Server-side prompt versioning — create v1, evaluate against a labelled test set, ship v2, detect a regression, roll back by pinning sessions to version 1. Covers agents.update, version pinning on sessions.create, and where the review gate moves when prompts are not code.
Build an agent that autonomously investigates IOCs by querying multiple threat intel sources, cross-referencing findings, mapping to MITRE ATT&CK, and producing structured reports for SIEM and SOAR integration.
List, read, rename, tag, and fork Agent SDK sessions on disk to build a conversation history sidebar without writing a transcript parser.
Build knowledge graphs from unstructured text using Claude for entity extraction, relation mining, deduplication, and multi-hop graph querying.
Compare context engineering strategies for long-running agents and learn when each applies, what it costs, and how they compose.
Port an OpenAI Agents SDK app to the Claude Agent SDK, mapping each primitive (tools, guardrails, sessions, handoffs) through a single expense-approval agent example.
Build an incident response agent with read-write MCP tools for autonomous diagnosis, remediation, and post-mortem documentation.
Manage long-running Claude conversations with instant session memory compaction using background threading and prompt caching.
Reduce latency and token consumption by letting Claude write code that calls tools programmatically in the code execution environment.
Scale Claude applications to thousands of tools using semantic embeddings for dynamic tool discovery.
Manage context limits in long-running agentic workflows by automatically compressing conversation history.
Build a low-latency voice assistant using ElevenLabs for speech-to-text and text-to-speech combined with Claude.
Give Claude a crop tool to zoom into image regions for detailed analysis of charts, documents, and diagrams.
Guide to prompting Claude for distinctive, polished frontend designs avoiding generic aesthetics.
Build financial dashboards and portfolio analytics using Claude's Excel, PowerPoint, PDF skills.
Create, deploy, and manage custom skills extending Claude with specialized organizational workflows.
Create documents, analyze data, automate workflows with Claude's Excel, PowerPoint, PDF skills.
Build a research agent using Claude Code SDK with WebSearch for autonomous research.
Build multi-agent systems with subagents, hooks, output styles, and plan mode features.
Connect agents to external systems via MCP servers for GitHub monitoring and CI workflows.
Run parallel agent evaluations on tools independently from evaluation task files.
Programmatically access and analyze your Claude API usage and cost data via Admin API.
Build AI agents with persistent memory using Claude's memory tool and context editing.
Reduce time-to-first-token by warming cache speculatively while users formulate their queries.
Enable parallel tool calls on Claude 3.7 Sonnet using batch tool meta-pattern workaround.
Use Claude's extended thinking for transparent step-by-step reasoning with budget management.
Combine extended thinking with tools for transparent reasoning during multi-step workflows.
Three simple multi-LLM workflow patterns trading cost or latency for improved performance.
Workflow pattern using one LLM for generation and another for evaluation feedback loop.
Central LLM dynamically delegates tasks to worker LLMs and synthesizes their combined results.
Process large volumes of Claude requests asynchronously with 50% cost reduction using batches.
Convert natural language queries to SQL using RAG, chain-of-thought, and self-improvement techniques.
Improve RAG accuracy by adding context to chunks before embedding with prompt caching.
Step-by-step guide to finetuning Claude 3 Haiku on Amazon Bedrock for custom tasks.
Generate synthetic test cases to evaluate and improve your Claude prompt templates effectively.
Cache and reuse prompt context for cost savings and faster responses with detailed instructions.
Comprehensive guide to summarizing legal documents with evaluation and advanced techniques.
Build and optimize RAG systems with Claude using summary indexing and reranking techniques.
Build classification systems with Claude using RAG and chain-of-thought for insurance tickets.
Control how Claude selects tools using tool_choice parameter for forced or auto selection.
Combine Claude's vision with tools to extract structured data from images like nutrition labels.
Generate longer responses beyond max_tokens limit using prefill technique with message continuation.
Tips and techniques for optimal image processing performance with Claude's vision capabilities.
Create validated tools using Pydantic models for type-safe Claude tool use interactions.
Transcribe audio with Deepgram and generate interview questions using Claude for preparation.
Integrate Wolfram Alpha LLM API as Claude tool for computational queries and answers.
Provide Claude with calculator tool for arithmetic operations and mathematical problem solving.
情报判断
Aioga 编辑摘要
Aioga 编辑摘要:Anthropic 发布"Claude 食谱"合集,包含多个教程,覆盖从复现 Claude 智能体搜索基准分数到构建异步多智能体团队、部署生产级智能体等场景。 Aioga 将其归入「技巧观点」方向,重点关注它对真实使用和行业竞争的影响。