协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
mcp-and-integrations【开发与工程】Guides agents that connect Pydantic AI agents to MCP, FastMCP, A2A, durable execution, capabilities, hooks, Logfire, AG-UI, Vercel AI, and web integration surfaces.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task connects Pydantic AI agents to external protocols, application runtimes, observability, durable workflow engines, UI adapters, or capability-driven integration bundles rather than defining ordinary Python function tools.
MCPToolset, legacy MCPServer*, MCP capability native/local selection, FastMCP inputs, agent-inside-MCP-server recipes, resource/prompt access, sampling, and MCP lifecycle management.Capability, Hooks, NativeOrLocalTool, WebSearch, WebFetch, Instrumentation, or deferred/on-demand workflows with stable capability IDs.AGUIAdapter, VercelAIAdapter, to_web(), or web UI embedding.../agent-core/SKILL.md for basic Agent construction, run methods, AgentSpec, dependencies, streaming, testing, and message-history continuation.../tools-and-toolsets/SKILL.md for individual Python function tools, FunctionToolset, generic wrapper toolsets, approvals, deferred tool mechanics, and tool schema debugging.../models-and-providers/SKILL.md for provider-specific model strings, provider SDK installation, native provider tools that are not MCP-specific, embeddings, fallback models, and provider credentials.../outputs-and-messages/SKILL.md for structured output design, message serialization, multimodal content model details, and UI message persistence that is not adapter-specific.../cli-and-apps/SKILL.md for pai, clai, clai web, command-line flags, and app-launch instructions.pydantic_ai.mcp.MCPToolset for MCP clients; it is the current full-protocol path built on FastMCP Client and accepts URLs, script paths, transports, in-process FastMCP servers, pre-built clients, and multi-server config via load_mcp_toolsets().pydantic_ai.capabilities.MCP when a remote MCP server may be provider-native on models that support native MCP, with a local MCPToolset fallback where the mcp extra is installed.MCPServerStdio, MCPServerSSE, MCPServerHTTP, MCPServerStreamableHTTP, load_mcp_servers(), and FastMCPToolset as compatibility/deprecation surfaces; document migration toward MCPToolset in new guidance.Capability or a custom AbstractCapability when an integration owns instructions, tools/toolsets, native tools, settings, lifecycle hooks, event/history processing, or deferred loading as one unit.env= values and a deliberate cwd= rather than inheriting the whole process environment by default.id values before persisting or replaying message history.manage_system_prompt='server', HTTP(S)-only file URLs, and preserve_file_data=False unless the frontend is trusted and audited.