> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lyzr.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Building

> How to build an agent on Lyzr Studio?

## Step-by-Step Guide to Building an Agent on Lyzr Studio

**Step 1: Create a new agent**\
Navigate to **Agent Builder** from the sidebar menu and select **Create New Agent**.\\

<img src="https://mintcdn.com/lyzrinc/cCc4MJwk0sDOW3jN/assets/images/lyzr-studio/Createnewagent.png?fit=max&auto=format&n=cCc4MJwk0sDOW3jN&q=85&s=982fffb59dcdc71119262d7fce6a44ec" alt="" width="1918" height="517" data-path="assets/images/lyzr-studio/Createnewagent.png" />

**Step 2: Provide Name & Description**\
Enter a unique name and provide a detailed description of the agent’s purpose.\\

<img src="https://mintcdn.com/lyzrinc/cCc4MJwk0sDOW3jN/assets/images/lyzr-studio/NameDescription.png?fit=max&auto=format&n=cCc4MJwk0sDOW3jN&q=85&s=203618078d87b5414935b690433ca310" alt="" width="873" height="238" data-path="assets/images/lyzr-studio/NameDescription.png" />

**Step 3: Choose the right LLM model**\
Choose an LLM provider from the list and select a suitable model. You can click on the "configure icon" to adjust parameters like temperature and Top P.\\

<img src="https://mintcdn.com/lyzrinc/cCc4MJwk0sDOW3jN/assets/images/lyzr-studio/Provider_model.png?fit=max&auto=format&n=cCc4MJwk0sDOW3jN&q=85&s=6b95eabeb9cff497d36ad0a95a5e635e" alt="" width="815" height="87" data-path="assets/images/lyzr-studio/Provider_model.png" />

**Step 4: Provide Agent role and instructions**\
Define the Agent Role (e.g., Customer Support, Data Fetcher) and provide instructions to guide its behavior (e.g., "Craft professional, personalized emails based on user input"). Use the **Improve** button to enhance the role and instructions for optimal LLM performance (optional but recommended).\\

<img src="https://mintcdn.com/lyzrinc/cCc4MJwk0sDOW3jN/assets/images/lyzr-studio/Improve.png?fit=max&auto=format&n=cCc4MJwk0sDOW3jN&q=85&s=ed8e397518b62094c1644a87b5b7da2f" alt="" width="787" height="287" data-path="assets/images/lyzr-studio/Improve.png" />

**Step 5: Add Tools (Optional)**\
Tools extend the agent’s capabilities by allowing specific actions (e.g., sending emails). Adding tools makes your agent more actionable and useful.\
[*Quick guide to add Tools*](https://docs.lyzr.ai/agent-studio/tools)\\

<img src="https://mintcdn.com/lyzrinc/cCc4MJwk0sDOW3jN/assets/images/lyzr-studio/Tools.png?fit=max&auto=format&n=cCc4MJwk0sDOW3jN&q=85&s=932ac987877cda081eebfcba6af3bf3a" alt="" width="813" height="119" data-path="assets/images/lyzr-studio/Tools.png" />

**Step 6: Provide Examples to guide your agent through a template (Optional)**\\

<img src="https://mintcdn.com/lyzrinc/cCc4MJwk0sDOW3jN/assets/images/lyzr-studio/Examples.png?fit=max&auto=format&n=cCc4MJwk0sDOW3jN&q=85&s=6b0d5d94988efb6fc6debbe2db9176cf" alt="" width="811" height="415" data-path="assets/images/lyzr-studio/Examples.png" />

**Step 7: Add Knowledge base to your agent if required (Optional)**\
Knowledge bases store relevant content that helps agents answer better.\
[*Quick guide to add Knowledge base*](https://docs.lyzr.ai/agent-studio/knowledge-base)

**Step 8: Select the right features for your agent (Optional)**\
Choosing appropriate features leads to better agent output.\
[*Quick guide to choose the right features*](https://docs.lyzr.ai/agent-studio/features)\\

<img src="https://mintcdn.com/lyzrinc/cCc4MJwk0sDOW3jN/assets/images/lyzr-studio/Features.png?fit=max&auto=format&n=cCc4MJwk0sDOW3jN&q=85&s=1861e110d8d997888b7fe20b2596f48c" alt="" width="1299" height="911" data-path="assets/images/lyzr-studio/Features.png" />

**Step 9: Create an agent**\
Once ready, click **Create Agent** to save your agent and start testing it.\\

<img src="https://mintcdn.com/lyzrinc/cCc4MJwk0sDOW3jN/assets/images/lyzr-studio/Inference_create.png?fit=max&auto=format&n=cCc4MJwk0sDOW3jN&q=85&s=da9d1c6c3208f584251aee39f445064d" alt="" width="1918" height="909" data-path="assets/images/lyzr-studio/Inference_create.png" />

**Step 10: Test your agent**\
Interact with your agent by asking questions and fine-tune responses by updating the configuration as needed.\\

<img src="https://mintcdn.com/lyzrinc/cCc4MJwk0sDOW3jN/assets/images/lyzr-studio/Testing.png?fit=max&auto=format&n=cCc4MJwk0sDOW3jN&q=85&s=9b8ee7416474de5419afed73c6da9770" alt="" width="1914" height="917" data-path="assets/images/lyzr-studio/Testing.png" />

**Step 11: Deploy agent (Optional)**\
After testing, deploy your agent either by publishing it in the Agent Marketplace or using the JSON & API key in your product.\
[*Quick guide to publishing agent*](https://docs.lyzr.ai/agent-studio/publishing_deployment)\\

<img src="https://mintcdn.com/lyzrinc/cCc4MJwk0sDOW3jN/assets/images/lyzr-studio/Launchagent.png?fit=max&auto=format&n=cCc4MJwk0sDOW3jN&q=85&s=3089e817f157db5c951a1cea87964514" alt="" width="1861" height="907" data-path="assets/images/lyzr-studio/Launchagent.png" />
