Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions examples/llmagent_with_streaming_tool_complex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,13 @@ Comprehensive Streaming Tool Test Suite
✅ [Tool Complete] write_file
📊 [Result] tool_type=sync_function
...
[END] llmagent_with_streaming_tool_complex (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 日志展示多组流式工具测试与 `[Streaming]` 分片输出
- 收尾为 `exit_code=0`,与本批 `error.txt` 为空一致

## 适用场景建议

Expand Down
2 changes: 0 additions & 2 deletions examples/llmagent_with_streaming_tool_simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,13 @@ Streaming Tool Call Arguments Demo
...
✅ [Tool Call Complete] write_file
📊 [Tool Result] {'success': True, 'path': 'index.html', 'bytes_written': 360, ...}
[END] llmagent_with_streaming_tool_simple (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 出现流式参数片段、`Tool Call Complete` 与 `Tool Result` 成功字段
- `exit_code=0`,`error.txt` 为空

## 适用场景建议

Expand Down
2 changes: 0 additions & 2 deletions examples/llmagent_with_thinking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,13 @@ python3 run_agent.py
📝 User: What will the weather be like in Shanghai for the next three days?
🔧 [Invoke Tool:: get_weather_forecast({'city': 'Shanghai', 'days': 3})]
...
[END] llmagent_with_thinking (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 三轮问答均完成工具调用并得到结构化结果与总结回复
- 进程以 `exit_code=0` 结束,`error.txt` 为空

## 适用场景建议

Expand Down
2 changes: 0 additions & 2 deletions examples/llmagent_with_timeline_filtering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,13 @@ Scenario 2: TimelineFilterMode.INVOCATION
Key Takeaways:
- TimelineFilterMode.ALL: Full conversation history
- TimelineFilterMode.INVOCATION: Invocation-scoped history (per runner.run_async() call)
[END] llmagent_with_timeline_filtering (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- `ALL` 下第三轮能综合前两轮信息;`INVOCATION` 下第三轮明确表示无此前信息,与模式语义一致
- `exit_code=0`,`error.txt` 为空

## 适用场景建议

Expand Down
2 changes: 0 additions & 2 deletions examples/llmagent_with_tool_prompt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,13 @@ python3 run_agent.py
🔧 [Invoke Tool:: get_weather_report({'city': 'Guangzhou'})]
📊 [Tool Result: {'temperature': '32°C', 'condition': 'Thunderstorm', ...}]
...
[END] llmagent_with_tool_prompt (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 首轮澄清城市;后续轮次出现 XML 风格工具块并成功执行工具
- `exit_code=0`,`error.txt` 为空

## 适用场景建议

Expand Down
2 changes: 0 additions & 2 deletions examples/llmagent_with_user_history/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,13 @@ python3 run_agent.py
🤖 Assistant: From our previous conversation, I mentioned that the weather in Paris is sunny ...
📝 User: Do you remember my name?
🤖 Assistant: I don't believe you've shared your name with me yet! ...
[END] llmagent_with_user_history (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 注入历史支撑了第二轮“巴黎天气”的续写式回答;第三轮体现会话消息与注入块差异
- `exit_code=0`,`error.txt` 为空

## 适用场景建议

Expand Down
4 changes: 1 addition & 3 deletions examples/memory_service_with_in_memory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,13 @@ First run
📊 [Tool Result: {'result': '{"memories": [{"content": ...
Yes, your name is Alice! ...
...
[END] memory_service_with_in_memory (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 首轮空记忆、后续命中记忆并与自然语言回答一致;正常结束 `exit_code=0`
- `error.txt` 为空
- 首轮空记忆、后续命中记忆并与自然语言回答一致,正常结束

## 适用场景建议

Expand Down
4 changes: 1 addition & 3 deletions examples/memory_service_with_sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,13 @@ First run
📊 [Tool Result: {'status': 'success', 'report': 'The weather in Paris is sunny...'}]
...
[2026-04-01 ...][INFO]... Memory cleanup completed: deleted ...
[END] memory_service_with_sql (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 记忆查询、天气工具与清理日志均出现,并以 `exit_code=0` 结束
- `error.txt` 为空
- 记忆查询、天气工具与清理日志均出现

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/multi_agent_chain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,13 @@ Chain Agent Demo - Information Passing via output_key
Processing Flow: Extraction → Translation
[content_extractor] Output:(Markdown,含 # Smart Home Control System 等章节)
[translator] Output:(英文化 Markdown,结构与上游对应)
[END] multi_agent_chain (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 两段 Markdown 输出先后打印,链路闭合;`exit_code=0`,`error.txt` 为空
- 两段 Markdown 输出先后打印,链路闭合

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/multi_agent_compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,13 @@ Run Process:
...
[security_analyst] ### **Security Analysis: Smart Home Security System**
...
[END] multi_agent_compose (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 质量与安全分析报告均落地,并以 `exit_code=0` 结束;`error.txt` 为空
- 质量与安全分析报告均落地

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/multi_agent_cycle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,13 @@ Clarity: 10/10
🔧 Invoke Tool:exit_refinement_loop
📋 Tool Result:{'status': 'content_approved', ...}
🎉 Content Improvement Completed!
[END] multi_agent_cycle (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 单轮即达标并调用退出工具,流程结束语与 `exit_code=0` 一致;`error.txt` 为空
- 单轮即达标并调用退出工具

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/multi_agent_parallel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,13 @@ Parallel Reviewing:
[security_reviewer] Finished
[Quality Review] # Quality Review / Score: 6/10 / Feedback: ...
[Security Review] # Security Review: AI Smart Home System / Security Score: 5/10 ...
[END] multi_agent_parallel (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 双评审均完成并输出结构化 Markdown;`exit_code=0`,`error.txt` 为空
- 双评审均完成并输出结构化 Markdown;

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/multi_agent_start_from_last/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,13 @@ Multi-Agent Demo: start_from_last_agent=True
[sales_consultant] Tool: get_product_info({'product_type': 'displays'})
...
Demo completed!
[END] multi_agent_start_from_last (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- Turn 2/3 仍由 `sales_consultant` 处理,体现“留在上一子 Agent”;`exit_code=0`,`error.txt` 为空
- Turn 2/3 仍由 `sales_consultant` 处理,体现“留在上一子 Agent”;

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/multi_agent_subagent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,13 @@ Scenario 1: Technical Support
Scenario 2: Sales Inquiry
🔧 [customer_service_coordinator] Invoke Tool: transfer_to_agent ... 'sales_consultant'
🔧 [sales_consultant] Invoke Tool: get_product_info ... 'security'
[END] multi_agent_subagent (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 两场景均完成转交、工具调用与回复;`exit_code=0`,`error.txt` 为空
- 两场景均完成转交、工具调用与回复;

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,13 @@ python3 run_agent.py
🔧 [Invoke Tool: get_weather_report({'city': 'Beijing'})]
📊 [Tool Result: {'temperature': '25°C', 'condition': 'Sunny', 'humidity': '60%'}]
The current weather in Beijing is sunny ...
[END] quickstart (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 澄清与工具调用路径均出现;`exit_code=0`,`error.txt` 为空
- 澄清与工具调用路径均出现;

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/session_service_with_in_memory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,13 @@ Second run
🤖 Assistant: Yes, Alice! I remember your name from earlier in this conversation...
...
[2026-04-01 ...] Cleanup completed: deleted 3 items ...
[END] session_service_with_in_memory (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 多段运行与会话内/跨段语义在日志中可区分;正常以 `exit_code=0` 结束;`error.txt` 为空
- 多段运行与会话内/跨段语义在日志中可区分;

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/session_service_with_sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,13 @@ Second run
[2026-04-01 ...] Cleanup completed: deleted 3 items ...
Third run
🤖 Assistant: No, I don't have the ability to remember ... between conversations...
[END] session_service_with_sql (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 第二轮体现跨轮持久记忆,第三轮回到无跨会话记忆说明;`exit_code=0`,`error.txt` 为空
- 第二轮体现跨轮持久记忆,第三轮回到无跨会话记忆说明;

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/session_state/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,13 @@ Example 2: Modifying State in tools
Example 4: State scope demonstration
📊 user1 session2 state ... 💬 会话级状态: {}
📊 user2 session3 state ... 👤 用户级状态: {}
[END] session_state (exit_code=0)
```

## 结果分析(是否符合要求)

结论:**符合本示例测试要求**。

- 四个示例均打印预期阶段标题、工具结果或 state 快照;`exit_code=0`,`error.txt` 为空
- 四个示例均打印预期阶段标题、工具结果或 state 快照;

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/skills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ python3 run_agent.py
🔧 [Invoke Tool:: skill_run({'skill': 'python-math', 'command': 'python3 scripts/fib.py 10 > out/fib.txt', ...
📊 [Tool Result: {... 'content': '0\n1\n1\n2\n3\n5\n8\n13\n21\n34\n', ...}]
...
[END] skills (exit_code=0)
```

## 结果分析(是否符合要求)

符合本示例测试要求:进程以 `exit_code=0` 结束;多会话下 `skill_load` / `skill_run` 均返回成功,Fibonacci 与摘要等输出与工具结果一致,说明技能链路与本地工作区执行正常。
符合本示例测试要求:多会话下 `skill_load` / `skill_run` 均返回成功,Fibonacci 与摘要等输出与工具结果一致,说明技能链路与本地工作区执行正常。

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/skills_with_container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ Container bind mounts enabled: [... 'skills:...:ro', '/tmp/skillrun-inputs:/opt/
🔧 [Invoke Tool:: skill_run({... 'inputs': [..., 'workspace://skills/python_math/SKILL.md', ...], ...})
📊 [Tool Result: {'error': 'tool_execution_error', ... "Failed to stage input: ... SKILL.md': No such file or directory" ...}]
...
[END] skills_with_container (exit_code=0)
```

## 结果分析(是否符合要求)

符合本示例测试要求:容器成功启动并完成一次 `skill_run` 调用链;日志清晰展示 `host://` 与 `skill://` 等路径处理及 `workspace://` 在当期 workspace 中缺失时的失败信息,进程仍以 `exit_code=0` 结束,达到演示 stage_inputs 行为的目的。
符合本示例测试要求:容器成功启动并完成一次 `skill_run` 调用链;日志清晰展示 `host://` 与 `skill://` 等路径处理及 `workspace://` 在当期 workspace 中缺失时的失败信息,达到演示 stage_inputs 行为的目的。

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/skills_with_dynamic_tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ DynamicSkillToolSet initialized: 3 tools, 0 toolsets, only_active_skills=True
...
📊 [Tool Result: {'city': 'Beijing', 'temperature': 22, ...}]
...
[END] skills_with_dynamic_tools (exit_code=0)
```

## 结果分析(是否符合要求)

符合本示例测试要求:`exit_code=0`;动态工具集初始化与 `weather-tools` 加载、多工具调用及最终回答均与日志一致,超出技能能力的问题(如人物信息)被合理拒答或说明。
符合本示例测试要求:动态工具集初始化与 `weather-tools` 加载、多工具调用及最终回答均与日志一致,超出技能能力的问题(如人物信息)被合理拒答或说明。

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/streaming_tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@ python3 run_agent.py
✅ Code generation complete!
📊 [Tool Result: {'success': True, 'path': 'hello.py', 'size': 837}]
...
[END] streaming_tools (exit_code=0)
```

## 结果分析(是否符合要求)

符合本示例测试要求:`exit_code=0`;流式阶段有连续进度输出,最终 `write_file` 返回成功且路径与大小与日志一致,说明流式工具管线工作正常。
符合本示例测试要求:流式阶段有连续进度输出,最终 `write_file` 返回成功且路径与大小与日志一致,说明流式工具管线工作正常。

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/team/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ Content Team Demo - Coordinate Mode
[content_team] Tool: delegate_to_member, Args: {'member_name': 'writer', ...
...
Demo completed!
[END] team (exit_code=0)
```

## 结果分析(是否符合要求)

符合本示例测试要求:`exit_code=0`;两轮对话均出现 Leader 委派、成员工具调用与最终成文输出,流程与 Coordinate 模式设计一致。
符合本示例测试要求:两轮对话均出现 Leader 委派、成员工具调用与最终成文输出,流程与 Coordinate 模式设计一致。

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/team_as_sub_agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,11 @@ python3 run_agent.py
Args: {'agent_name': 'coordinator'}
...
Demo completed!
[END] team_as_sub_agent (exit_code=0)
```

## 结果分析(是否符合要求)

符合本示例测试要求:`exit_code=0`;日志中出现 coordinator ↔ finance_team 的 transfer、成员分析与 report 流程,与子 Agent + 转账机制说明一致。
符合本示例测试要求:日志中出现 coordinator ↔ finance_team 的 transfer、成员分析与 report 流程,与子 Agent + 转账机制说明一致。

## 适用场景建议

Expand Down
3 changes: 1 addition & 2 deletions examples/team_human_in_the_loop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,11 @@ Human provides approval: {'status': 'approved', ...
Resuming team execution...
...
HITL Flow Completed!
[END] team_human_in_the_loop (exit_code=0)
```

## 结果分析(是否符合要求)

符合本示例测试要求:`exit_code=0`;审批从 pending 到 approved、恢复执行与最终「发布」说明完整,与 HITL 设计一致。
符合本示例测试要求:审批从 pending 到 approved、恢复执行与最终「发布」说明完整,与 HITL 设计一致。

## 适用场景建议

Expand Down
Loading
Loading