update incorrect info on AGENTS.md

Nicolas Leão committed Mar 25, 2026 at 13:51 UTC ccf7c7d971f042351c3736fe026825ac7f6b10c9
1 file changed +7 -7
AGENTS.md
+7 -7
@@ -100,9 +100,9 @@ When running in Docker, Agent Zero uses two distinct Python runtimes to isolate
100
101 Key Files:
102 - agent.py: Defines AgentContext and the main Agent class.
103 -- python/helpers/plugins.py: Plugin discovery and configuration logic.
103 +- helpers/plugins.py: Plugin discovery and configuration logic.
104 - webui/js/AlpineStore.js: Store factory for reactive frontend state.
105 -- python/helpers/api.py: Base class for all API endpoints.
105 +- helpers/api.py: Base class for all API endpoints.
106 - docs/release_notes/: Markdown files used by the release workflow to populate GitHub releases for the latest `main` tag.
107 - knowledge/main/about/: Agent self-knowledge files, indexed into the vector DB for runtime recall. Not user-facing docs - written for the agent's internal reference.
108 - docs/agents/AGENTS.components.md: Deep dive into the frontend component architecture.
@@ -117,8 +117,8 @@ Key Files:
117 - Context Access: Use from agent import AgentContext, AgentContextType (not helpers.context).
118 - Communication: Use mq from helpers.messages to log proactive UI messages:
119 mq.log_user_message(context.id, "Message", source="Plugin")
120 -- API Handlers: Derive from ApiHandler in python/helpers/api.py.
121 -- Extensions: Use the extension framework in python/helpers/extension.py for lifecycle hooks.
120 +- API Handlers: Derive from ApiHandler in helpers/api.py.
121 +- Extensions: Use the extension framework in helpers/extension.py for lifecycle hooks.
122 - Error Handling: Use RepairableException for errors the LLM might be able to fix.
123
124 ### Frontend (Alpine.js)
@@ -209,12 +209,12 @@ export const store = createStore("myStore", {
209
210 ### Tool Definition (Good)
211 ```python
212 -from helpers.tool import Tool, ToolResult
212 +from helpers.tool import Tool, Response
213
214 class MyTool(Tool):
215 - async def execute(self, arg1: str):
215 + async def execute(self, **kwargs):
216 # Tool logic
217 - return ToolResult("Success")
217 + return Response(message="Success", break_loop=False)
218 ```
219
220 ---