> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.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](https://agno-v2.mintlify.site/agent-os/studio/registry.md) 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.

![Create an agent in AgentOS Studio](https://mintcdn.com/agno-v2/jmCgYq2TCEl7A3iQ/images/agent-os-studio-create-agent.png?fit=max\&auto=format\&n=jmCgYq2TCEl7A3iQ\&q=85\&s=6b8f88e66c77ea6f30294ff534b2cd5f)

> [!TIP]
>
> Switch to the advanced JSON config editor for fine-grained control over agent settings.

## 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](https://agno-v2.mintlify.site/reference/agents/agent.md)
* [Building agents](https://agno-v2.mintlify.site/agents/building-agents.md)
* [Studio Registry](https://agno-v2.mintlify.site/agent-os/studio/registry.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.