From 9e04930ab2f207d48c1f27299593d9de7e00af17 Mon Sep 17 00:00:00 2001 From: Ashpreet Date: Thu, 7 May 2026 07:18:22 -0700 Subject: [PATCH] docs: align workbench example with README and fix Workspace tool references - Drop `move` from first-agent.mdx prose so it matches the code example (and the README's confirm list). - Replace stale `write_file` reference with the alias-based phrasing used elsewhere in the docs. - Rename `Agno Agent` to `Workbench` in the index.mdx Agno SDK tab and add the same memory/history options shown in the README/first-agent, so the headline example reads identically across surfaces. Co-Authored-By: Claude Opus 4.7 (1M context) --- first-agent.mdx | 4 ++-- index.mdx | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/first-agent.mdx b/first-agent.mdx index 0e5e8fc37..7272cbb6c 100644 --- a/first-agent.mdx +++ b/first-agent.mdx @@ -33,7 +33,7 @@ agent_os = AgentOS(agents=[workbench], tracing=True, db=SqliteDb(db_file="agno.d app = agent_os.get_app() ``` -`Workspace(".")` scopes the agent to the current directory. `read`, `list`, and `search` run freely; `write`, `edit`, `move`, `delete`, and `shell` require human approval. +`Workspace(".")` scopes the agent to the current directory. `read`, `list`, and `search` run freely; `write`, `edit`, `delete`, and `shell` require human approval. ## 2. Run Your AgentOS @@ -122,7 +122,7 @@ Use it to test, monitor, and manage your agents in real time. The agent reads your workspace and answers grounded in what it actually finds. -Try a follow-up like "summarize the README" or "create a NOTES.md with three bullet takeaways". The second one will pause for your approval before the file is written, since `write_file` is a confirm-required tool by default. +Try a follow-up like "summarize the README" or "create a NOTES.md with three bullet takeaways". The second one will pause for your approval before the file is written, since `write` is in the confirm list. Click Sessions or Traces in the sidebar to inspect stored conversations. diff --git a/index.mdx b/index.mdx index ccbb9fe08..e050d74e0 100644 --- a/index.mdx +++ b/index.mdx @@ -21,24 +21,27 @@ Agno has a 3-layer architecture. Everything except the control plane is free and ```python Agno SDK -from agno.os import AgentOS from agno.agent import Agent from agno.db.sqlite import SqliteDb +from agno.os import AgentOS from agno.tools.workspace import Workspace -agent = Agent( - name="Agno Agent", +workbench = Agent( + name="Workbench", model="openai:gpt-5.4", tools=[Workspace(".", allowed=["read", "list", "search"], confirm=["write", "edit", "delete", "shell"], )], + enable_agentic_memory=True, + add_history_to_context=True, + num_history_runs=3, ) agent_os = AgentOS( - agents=[agent], + agents=[workbench], tracing=True, - db=SqliteDb(db_file="tmp/agentos.db"), + db=SqliteDb(db_file="agno.db"), ) app = agent_os.get_app() ```