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

# Create Your Own Agent

Athena enables you to develop personalized AI agents specifically designed to meet your unique requirements. These agents can be customized to manage various tasks, from addressing basic inquiries to providing technical support. This guide will guide you through the steps to create your own agent using Athena.

<video autoPlay muted loop playsInline className="w-full aspect-video" src="https://mintcdn.com/athenaintelligence-e46bc9d3/tccVZbz4-WY4xy6A/images/agent-video.mp4?fit=max&auto=format&n=tccVZbz4-WY4xy6A&q=85&s=b397117025a842888c573de38b048faa" data-path="images/agent-video.mp4" />

### Step-by-step Instructions

<Steps>
  <Step title="Configure your agent">
    In the **Chat** sidebar, locate and click on the settings icon on top-right corner. You can configure existing agents or create a new agent.

    <Frame>
      <img height="200" width="200" src="https://mintcdn.com/athenaintelligence-e46bc9d3/tccVZbz4-WY4xy6A/images/agent-step1.png?fit=max&auto=format&n=tccVZbz4-WY4xy6A&q=85&s=45bac39462fe9c6164b049642f5e7b4b" data-path="images/agent-step1.png" />
    </Frame>
  </Step>

  <Step title="Create a new agent">
    Click on **+ Add New Agent** and follow the steps below to configure the settings for your new agent.

    In this exercise, we will create an **Insights Agent**.

    <Frame>
      <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/tccVZbz4-WY4xy6A/images/agent-step2.png?fit=max&auto=format&n=tccVZbz4-WY4xy6A&q=85&s=df6b22e8e981ad9bec13dcd68caed13d" width="1332" height="572" data-path="images/agent-step2.png" />
    </Frame>
  </Step>

  <Step title="Edit Basic Info">
    This setting requires you to add a Name, Description and System Prompt for your agent.

    <Tabs>
      <Tab title="Name">
        **Name** is the identifier for your assistant. Enter the following in the **Name** field.

        <CodeBlock filename="Name">
          Insights Agent
        </CodeBlock>
      </Tab>

      <Tab title="Description">
        **Description** is a brief overview of the assistant’s purpose and capabilities. Enter the following in the **Description** field.

        <CodeBlock filename="Description">
          The Insights Agent efficiently scans documents, summarizes key information, and generates concise reports to streamline information management and decision-making.
        </CodeBlock>
      </Tab>

      <Tab title="System Prompt">
        **System Prompt** defines the agent's role and overall behavior. Enter the following in the **System Prompt** field.

        <Tip>
          The more precise your **System Prompt** is, the better the Agents’ performance will be to achieve the desired outcome.

          As a best practice, after drafting an initial system prompt, test your agent and reiterate the prompt to improve it's performance.
        </Tip>

        <CodeBlock filename="System Prompt">
          You are the Insights Agent, an advanced AI designed to efficiently scan and analyze documents.

          Your primary tasks include summarizing key information and generating concise reports to enhance information management and support effective decision-making.

          Provide clear, accurate, and insightful summaries tailored to the user's needs.
        </CodeBlock>
      </Tab>
    </Tabs>

    <Frame>
      <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/tccVZbz4-WY4xy6A/images/agent-step3.png?fit=max&auto=format&n=tccVZbz4-WY4xy6A&q=85&s=7c2ed4e9fb8105749118578569919f4d" width="1788" height="1686" data-path="images/agent-step3.png" />
    </Frame>
  </Step>

  <Step title="Configure Model Settings">
    **Model** is the LLM that will drive your agent. Choose your desired model from the dropdown.

    For this case, let's choose **GPT-4o**.

    <Frame>
      <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/tccVZbz4-WY4xy6A/images/agent-step4.png?fit=max&auto=format&n=tccVZbz4-WY4xy6A&q=85&s=5b9e7a55452ba95acd21755d73399cbf" width="1784" height="1564" data-path="images/agent-step4.png" />
    </Frame>
  </Step>

  <Step title="Add Tools">
    **Tools** are the skills with which you equip your Agents. You can add existing **Tools** within Athena to power your agent with specific skills that come with each tool.

    For this case, add the `Read Every Page` and `In-Depth Analysis` tools.
    <Tip>Learn more about what the **[Tools](https://resources.athenaintel.com/docs/pillars/applications/chat#versatile-tools-and-agents)** present in Athena do.</Tip>

    <Frame>
      <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/tccVZbz4-WY4xy6A/images/agent-step5.png?fit=max&auto=format&n=tccVZbz4-WY4xy6A&q=85&s=af948cceb7075475f056d0e149026431" width="1784" height="1564" data-path="images/agent-step5.png" />
    </Frame>
  </Step>

  <Step title="Update Knowledge Base">
    **Knowledge Base** is a repository of information that enables your agent to reference and retrieve data from Athena or from data sources outside Athena. Add assets from your workspace by mentioning them as follows: `@your-asset-name` or drag and drop files from your local System.

    For this case, you need not add any assets to the knowledge base, but for illustration this is how you can add assets from your workspace in your agent's knowledge base.
    <Tip>Incorporating a Knowledge Base helps an agent respond to queries using proprietary data, reference specific information, and execute tasks with current data from Athena.</Tip>
    <Info>We ensure that you only see and access the assets you have permission for in the knowledge base. If there's an asset you don't have access to, it will be removed from your view, even if it's listed in the agent's knowledge base.</Info>

    You can also reference assets in the Knowledge Base by **Tags**.

    <Accordion title="What are Tags?">
      Tags are keywords assigned to assets that help categorize and improve searchability within Athena.
      <Info>You can add tags to assets inside the Details pane of each asset.</Info>

      <Frame>
        <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/OBkMdG4Mol-ZSoKV/images/tags-1.png?fit=max&auto=format&n=OBkMdG4Mol-ZSoKV&q=85&s=e858c4f780ea0dcc57bfad477720aeb5" width="3420" height="1962" data-path="images/tags-1.png" />
      </Frame>

      <Frame>
        <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/OBkMdG4Mol-ZSoKV/images/tags-2.png?fit=max&auto=format&n=OBkMdG4Mol-ZSoKV&q=85&s=8ca24dc61fba3611c9e08143352f5a4b" width="3420" height="1962" data-path="images/tags-2.png" />
      </Frame>
    </Accordion>

    <Frame>
      <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/tccVZbz4-WY4xy6A/images/agent-step6.png?fit=max&auto=format&n=tccVZbz4-WY4xy6A&q=85&s=97416f373117b9baaa0cfb1a9795c899" width="1784" height="1564" data-path="images/agent-step6.png" />
    </Frame>
  </Step>

  <Step title="Configure Agent Collaboration">
    Agent collaboration enables agents to delegate tasks to specialized sub-agents, process and integrate responses from multiple agents, and coordinate complex workflows across teams. Additionally, agents are capable of sharing context, maintaining conversation history, and learning from interactions with other agents.

    You can also choose if your agent should be available as a sub-agent to other agents by toggling the **Available as Subagent** button.

    For this example, select the **Document Writer** as a sub-agent.

    <Frame>
      <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/tccVZbz4-WY4xy6A/images/agent-step7.png?fit=max&auto=format&n=tccVZbz4-WY4xy6A&q=85&s=d5cba173653c38d39f83c3928df59759" width="1920" height="1686" data-path="images/agent-step7.png" />
    </Frame>
  </Step>

  <Step title="Add Feedback (coming soon)">
    <Info>The feedback system will enable you to rate agent responses and interactions, provide detailed feedback for improvement, and track agent performance over time. It will also allow you to suggest improvements to agent behavior and review historical feedback and trends.</Info>

    <Frame>
      <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/tccVZbz4-WY4xy6A/images/agent-step8.png?fit=max&auto=format&n=tccVZbz4-WY4xy6A&q=85&s=983e4253cde6d4a79e3c49df1b5d70cf" width="1774" height="1558" data-path="images/agent-step8.png" />
    </Frame>
  </Step>

  <Step title="Save your agent">
    Click on **Save Changes**. Choose the agent you just created from the Agents dropdown on the top-left of the **Chat** sidebar. Enter the following prompt and press **Enter**.

    <CodeBlock filename="Prompt">
      Highlight 3 important points from @your-document-name.
    </CodeBlock>

    <Info>Replace `@your-document-name` by the name of the document you wish to summarize.</Info>

    <Frame>
      <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/tccVZbz4-WY4xy6A/images/agent-step9.png?fit=max&auto=format&n=tccVZbz4-WY4xy6A&q=85&s=15e27261783de8642fb6e9719c1c307e" width="2760" height="1898" data-path="images/agent-step9.png" />
    </Frame>
  </Step>
</Steps>
