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() ```