> ## Documentation Index
> Fetch the complete documentation index at: https://phidatainc-studio-tools-doc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Agents

> Build and configure agents visually in AgentOS Studio.

Build agents in AgentOS Studio by wiring up models, tools, instructions, knowledge, and memory. No code required.

## Creating Agents

Create a new agent by selecting components from your [Registry](/agent-os/studio/registry) and configuring them in the properties panel:

* **Model**: select from registered models.
* **Tools**: attach registered tools and toolkits.
* **Instructions**: system-level instructions for the agent.
* **Input/Output Schema**: structured I/O using registered Pydantic schemas.
* **Database**: attach a database for the agent to use.
* **Context Management**: configure session summary manager, enable session summaries, number of history runs, add history to context, and add session summary to context.
* **Memory**: configure memory manager, enable agentic memory, update memory on run, and add memories to context.
* **Knowledge**: configure knowledge, search knowledge, and add knowledge to context.
* **Session State**: configure session state, add session state to context, and enable agentic state.

<img src="https://mintcdn.com/phidatainc-studio-tools-doc/YKjk4lDceLWnD8SR/images/agent-os-studio-create-agent.png?fit=max&auto=format&n=YKjk4lDceLWnD8SR&q=85&s=686b1738ba0abaaf829acd65aea4d4cc" alt="Create an agent in AgentOS Studio" style={{ borderRadius: "8px" }} width="2772" height="1766" data-path="images/agent-os-studio-create-agent.png" />

<Tip>
  Switch to the advanced JSON config editor for fine-grained control over agent settings.
</Tip>

## Using Agents

Use Studio-built Agents in multiple ways:

* **Chat directly** with the agent via the Chat page
* **Add to Teams** for multi-agent collaboration
* **Use in Workflows** as step executors for automation pipelines

## Code Equivalent

Agents built in Studio are native instances of the 'Agent' class in the SDK.

```python theme={null}
from agno.agent import Agent
from agno.models.openai import OpenAIChat
from agno.tools.websearch import WebSearchTools

agent = Agent(
    name="Research Agent",
    model=OpenAIChat(id="gpt-5-mini"),
    tools=[WebSearchTools()],
    instructions="Research topics thoroughly using web search.",
    markdown=True,
)
```

## Developer Resources

* [Agent reference](/reference/agents/agent)
* [Building agents](/agents/building-agents)
* [Studio Registry](/agent-os/studio/registry)
