Skip to content

Agent Instructions

Manage agent instructions, prompts, and defaults

Switch to Agent Instructions view using the Agent Instructions icon in the main menu.

The Agent Instructions view allows you to manage agent instructions, prompts, and defaults. This is useful for customizing the behavior of the AI Agent.

There’s two types of instructions you can manage - Saved Prompts and Base Knowledge.

Agent Instructions

Switch to Saved Prompts view using the Saved Prompts tab.

Saved Prompts are reusable prompts that you can use when sending a message to the agent. They can be used to set the context for the agent’s response or to provide additional instructions for the agent to follow.

Create a new prompt by clicking the New Prompt button.

InputDescription
NameThe name of the prompt.
PromptDescription of the prompt.

Fill in the details for the prompt and click the Save Prompt button.

Edit a saved prompt by clicking the Edit Prompt button.

InputDescription
NameThe name of the prompt.
PromptDescription of the prompt.

Fill in the details for the prompt and click the Update Prompt button.

Delete a saved prompt by clicking the Delete Prompt button.

You can use a saved prompt by clicking the Add Saved Prompt button in the AI Chat tab.

Switch to Base Knowledge view using the Base Knowledge tab.

Base knowledge provides the agents with a detailed overview, description, and/or instructions for your project. When you create a new thread with the agent, it will use this as base knowledge about your project.

Best practices

  • Focus on providing details the agents need to know about the tech stack, conventions, and key files of your project.
  • Set any conventions or rules you want the agents to follow, for example “always use the existing component library before creating new components”.
  • Don’t include future plans or ideas for the project. This is just base knowledge.
  • Provide only the critical details and aspects of your project. Adding too much information can overwhelm and slow down the agent’s performance, while also driving up cost of each request. Experiment to find the right balance.