spoon-agent-development
Build AI agents with SpoonReactMCP. Use when creating custom agents, configuring tool chains, designing system prompts, or implementing concurrent agent patterns.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-15
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- spoon-agent-development
- description
- Build AI agents with SpoonReactMCP. Use when creating custom agents, configuring tool chains, designing system prompts, or implementing concurrent agent patterns.
02 资源文件 7
- 参考文档references/mcp_config.md1.3 KB
- 参考文档references/prompts.md1.6 KB
- 脚本scripts/basic_agent.py1.8 KB
- 脚本scripts/concurrent_agents.py2.2 KB
- 脚本scripts/mcp_agent.py1.6 KB
- 参考文档SOURCE.md368 B
- 参考文档TRUST.auto.yaml2.1 KB
03 SKILL.md 正文
Agent Development
Build AI agents using the Spoon AI ReAct framework.
Agent Hierarchy
SpoonReactSkill → Skills + x402 Payments
↓
SpoonReactMCP → MCP Tool Integration
↓
SpoonReactAI → Base ReAct + Tool Calling
↓
ToolCallAgent → Tool Execution
↓
BaseAgent → Pydantic Foundation
Quick Start
from spoon_ai.agents import SpoonReactMCP
from spoon_ai.chat import ChatBot
from spoon_ai.tools import ToolManager
from spoon_ai.tools.mcp_tool import MCPTool
# Create agent with MCP tool
agent = SpoonReactMCP(
name="my_agent",
llm=ChatBot(model_name="gpt-4o"),
tools=ToolManager([MCPTool(...)]),
max_steps=15
)
await agent.initialize()
result = await agent.run("Your query here")
Scripts
| Script | Purpose |
|---|---|
| basic_agent.py | Simple SpoonReactAI agent |
| mcp_agent.py | MCP-enabled agent |
| custom_tool.py | Custom BaseTool implementation |
| concurrent_agents.py | Multi-agent parallel execution |
References
| Reference | Content |
|---|---|
| prompts.md | System prompt templates |
| mcp_config.md | MCP configuration options |
Configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
name |
str | "spoon_react" | Agent identifier |
max_steps |
int | 10 | Max ReAct iterations |
tool_choice |
str | "required" | "auto", "required", "none" |
system_prompt |
str | None | Custom system prompt |
Best Practices
- Pre-load MCP tool parameters before use
- Use concurrent execution for independent tools
- Implement retry with exponential backoff
- Keep system prompts focused and specific
- Never hardcode API keys
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.