Add multiple new modules and tools to enhance the functionality and extensibility of the Maestro project (#333)

* Added a **pyproject.toml** file to define project metadata and dependencies.
* Added **run\_maestro.py** and **osworld\_run\_maestro.py** to provide the main execution logic.
* Introduced multiple new modules, including **Evaluator**, **Controller**, **Manager**, and **Sub-Worker**, supporting task planning, state management, and data analysis.
* Added a **tools module** containing utility functions and tool configurations to improve code reusability.
* Updated the **README** and documentation with usage examples and module descriptions.

These changes lay the foundation for expanding the Maestro project’s functionality and improving the user experience.

Co-authored-by: Hiroid <guoliangxuan@deepmatrix.com>
This commit is contained in:
Hiroid
2025-09-08 15:07:21 +08:00
committed by GitHub
parent 029885e78c
commit 3a4b67304f
96 changed files with 31982 additions and 2 deletions

View File

@@ -0,0 +1,34 @@
from .registry import (
prompt_registry,
get_prompt,
register_prompt,
list_prompts,
list_prompts_by_prefix,
refresh_prompts,
module,
)
__all__ = [
"prompt_registry",
"get_prompt",
"register_prompt",
"list_prompts",
"list_prompts_by_prefix",
"refresh_prompts",
"module",
]
"""
from gui_agents.prompts import module
text = module.evaluator.final_check_role
text2 = module.manager.planner_role
text3 = module.system_architecture
from gui_agents.prompts import module, refresh_prompts
print(len(module.evaluator.final_check_role)) # 0 now
# After you fill prompts/module/evaluator/final_check_role.txt ...
refresh_prompts()
print(len(module.evaluator.final_check_role)) # now > 0
"""