本文介绍在不周山平台开发 Agent 的完整流程,包括 SDK 使用、MCP Server 集成和生产部署。
不周山平台提供了完整的 Agent 开发基础设施。
pip install buzhou-agent-sdk
from buzhou import Agent
agent = Agent(
name="my-agent",
model="gpt-4o",
tools=[search_tool, code_tool]
)
agent.run("帮我搜索 AI Agent 相关信息")
from buzhou.mcp import MCPServer
server = MCPServer()
server.register_tool("search", search_function)
agent.attach_mcp_server(server)
平台开发流程验证通过