> ## 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 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 "configure icon" to change 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 agent instructions to guide its behavior (e.g., Instructions: "Craft professional, personalized emails based on user input."). Use the Improve button to enhance the agent’s role and instructions, ensuring optimal performance with LLMs (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 are functions that extend the agent’s capabilities by allowing it to perform specific actions, like sending an email. Adding tools to your agent makes it 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://mintlify.s3.us-west-1.amazonaws.com/lyzrinc/agent-studio/assets/images/lyzr-studio/Examples.png" alt="" />

**Step 7:** **Add Knowledge base to your agent if required (Optional) -** Knowledge bases are a comprehensive repository of information made up of several different kinds of content. All of this information allows agents to 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) -** There are plenty of features that are available on Agent Studio, and choosing the right features for your agent leads to better 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 you have all everything ready, you can click on Create Agent, which saves your agent & allows you to start testing your agent.&#x20;

<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 -** You can ask question to your agent, and play around with it. If you want to fine-tune the responses, feel free to change & configure the agent that has been set in the previous steps.

<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)-** Once your testing is complete, you can deploy it in 2 ways. Either publish your agent as part of Agent Marketplace, or copy the JSON & API key and use it as part of 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" />
