Skip to main content
In this tutorial, you’ll learn how to configure a custom agent in Potpie that runs against your codebase’s knowledge graph with access to the same tool library as the built-in agents. To understand how custom agents work, see the Custom Agents page.

Creating an Agent

1

Create the agent

Review the configuration and create the agent. The agent is ready for immediate use in conversations.Agent Creation
2

Define agent attributes

Specify the agent’s role, goal, backstory, and system prompt. These four attributes establish the agent’s identity and govern how it approaches every task.Agent Identity Configuration
3

Add tasks and assign tools

Define between one and five tasks. For each task, provide a description, select the tools the agent may use, and specify the expected output format.Task and Tool Configuration