feat: add GRR and IS work patterns with agent templates and sample apps#527
Open
SeasonPilot wants to merge 1 commit intoagentuniverse-ai:masterfrom
Open
feat: add GRR and IS work patterns with agent templates and sample apps#527SeasonPilot wants to merge 1 commit intoagentuniverse-ai:masterfrom
SeasonPilot wants to merge 1 commit intoagentuniverse-ai:masterfrom
Conversation
Implement two new multi-agent collaboration patterns: **GRR (Generate-Review-Rewrite) Pattern:** - Add GRRWorkPattern class with sync/async support - Implement 3 agent templates: Generating, Reviewing, Rewriting - Iterative content refinement with configurable quality thresholds - Complete sample app with Chinese documentation - Use cases: content creation, technical docs, creative writing **IS (Implementation-Supervision) Pattern:** - Add ISWorkPattern class with checkpoint mechanism - Implement 2 agent templates: Implementation, Supervision - Goal-aligned execution with continuous supervision and feedback - Complete sample app with Chinese documentation - Use cases: code development, document writing, data processing **Core Features:** - Work pattern base class integration - Configurable iteration/checkpoint parameters - Expert framework support - Memory management integration - Comprehensive test coverage **Files Added:** - Agent templates: 6 new template classes - Work patterns: 2 pattern implementations with YAML configs - Sample apps: 2 complete demo applications with configs - Documentation: README, CHANGELOG, usage examples - Tests: Unit tests for both patterns
Author
1 similar comment
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement two new multi-agent collaboration patterns:
GRR (Generate-Review-Rewrite) Pattern:
IS (Implementation-Supervision) Pattern:
Core Features:
Files Added:
Agent templates: 6 new template classes
Work patterns: 2 pattern implementations with YAML configs
Sample apps: 2 complete demo applications with configs
Documentation: README, CHANGELOG, usage examples
Tests: Unit tests for both patterns
When submitting a PR, please confirm the following points and put [x] in the boxes one by one. | 在提出pr时,请确认了以下几点,并逐一使用[x]符号确认勾选。
Checklist | 检查项
我已阅读并理解贡献者指南 。
我已检查没有与此请求重复的功能并与项目维护者进行了沟通。
我已经提交了测试文件并可提供测试结果截图(功能修改、BUG修复类PR必须提供,其他按需)
Please fill in the specific details of this PR: | 请详细填写本次PR的内容:
本PR新增两个多智能体协作模式:GRR(Generate-Review-Rewrite)和IS(Implementation-Supervision)
GRR模式核心功能:
IS模式核心功能:
技术实现:
新增文件:
Please provide the path of test files and submit screenshots or files of the test results(fill in as needed): |
请填写测试文件路径并提供测试结果截图或文件(按需填写):
examples/sample_apps/grr_agent_app/intelligence/test/test_grr_agent.py- GRR模式单元测试examples/sample_apps/is_agent_app/intelligence/test/test_is_agent.py- IS模式单元测试examples/sample_apps/grr_agent_app/simple_example.py- GRR快速开始示例examples/sample_apps/is_agent_app/simple_example.py- IS快速开始示例Please list the names of the docs that were added or modified in this PR (fill in as needed): | 请列出本次PR新增或修改的文档名称(按需填写):
examples/sample_apps/grr_agent_app/README.md- GRR模式完整文档(中文)examples/sample_apps/grr_agent_app/CHANGELOG.md- GRR应用变更日志examples/sample_apps/is_agent_app/README.md- IS模式完整文档(中文)examples/sample_apps/is_agent_app/CHANGELOG.md- IS应用变更日志