Claude Quickstarts(anthropics/claude-quickstarts)
这是 Anthropic 官方维护的 Python 示例合集,演示怎么把 Claude API 接入带外部知识的实际业务场景。
20.6k · Python
仓库里封装了开箱即用的落地样板,比如 customer-support-agent 演示了如何把 Claude 接入知识库实现 ai-assisted 客服链路。运行前唯一的硬性依赖是先在 console.anthropic.com 签发 API 密钥。如果你正背着工单问答业务指标,需要快速用 Python 搭出一套带上下文检索的客服管道,顺着这里的模式改就能避开从零写检索胶水代码的弯路。
README 摘录
# Claude Quickstarts Claude Quickstarts is a collection of projects designed to help developers quickly get started with building applications using the Claude API. Each quickstart provides a foundation that you can easily build upon and customize for your specific needs. ## Getting Started To use these quickstarts, you'll need an Claude API key. If you don't have one yet, you can sign up for free at [console.anthropic.com](https://console.anthropic.com). ## Available Quickstarts ### Customer Support Agent A customer support agent powered by Claude. This project demonstrates how to leverage Claude's natural language understanding and generation capabilities to create an AI-assisted customer support system with access to a knowledge base. [Go to Customer Support Agent Quickstart](./customer-support-agent) ### Financial Data Analyst A financial data analyst powered by Claude. This project demonstrates how to leverage Claude's capabilities with interactive data visualization to analyze financial data via chat. [Go to Financial Data Analyst Quickstart](./financial-data-analyst) ### Computer Use Demo An environment and tools that Claude can use to control a desktop computer. This project demonstrates how to leverage the computer use capabilities of Claude, including support for the latest `computer_toolset_20260801` toolset shape, where each computer action is a member tool the model calls by name. [Go to Computer Use Demo Quickstart](./computer-use-demo) ### Computer Use Best Pra