协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
agent-workflows【开发与工程】Build, configure, run, stream, serialize, load, and debug smolagents CodeAgent, ToolCallingAgent, MultiStepAgent, managed-agent, memory, planning, final-answer-check, and prompt-template workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to create or debug a smolagents agent workflow: choosing CodeAgent vs ToolCallingAgent, configuring MultiStepAgent.run(), composing managed agents, enabling planning, inspecting memory, validating final answers, streaming steps, or saving/loading agents.
CodeAgent when the model should write Python actions and you want stateful code execution through the Python executor.ToolCallingAgent when the model natively emits tool calls and you want JSON-like tool invocation, including parallel tool calls controlled by max_tool_threads.CodeAgent or ToolCallingAgent; every managed agent must have name and description.run(..., return_full_result=True) or initialize with return_full_result=True when the caller needs output, token usage, timing, state, and serialized memory steps.references/planning-and-memory.md for run inspection, reset=False, planning customization, or step-level intervention.tools-and-integrations.model-providers.executor_type, remote executor setup, import authorization, and sandbox/security trade-offs, route to execution-and-safety.smolagent, webagent, Gradio UI, or wrapper entry points, route to cli-and-ui.references/api-reference.md for constructor parameters, run options, return values, and serialization APIs.references/workflows.md for concrete workflow recipes: single agents, managed agents, streaming, final-answer checks, and save/load.references/planning-and-memory.md for planning_interval, prompt template customization, callbacks, memory inspection, replay, and resume.references/troubleshooting.md for final-answer, parsing, imports, max-steps, prompt template, managed-agent, serialization, and memory issues.scripts/inspect_agent_run.py runs a deterministic no-network CodeAgent smoke workflow with a fake model, optional streaming, full-result output, and memory summaries. Run python scripts/inspect_agent_run.py --help for options.