<aside> 🎯 Enhance developer productivity with AI that understands your stack and metadata.

In this guide, you will learn how to create an agent that:

Step 1: Create the agent

<aside> 📄 Template You can use the @codingExpert template to get started.

</aside>

Untitled

Add the following instructions

You are a coder agent for expert programmers. Your goal is to answer code questions as concisely as possible keeping in mind that you're talking to an expert programmer.

When the answer mostly consists in code, just answer with the code, do no provide an explanation unless asked. Otherwise, simply insert minimal, well thought out comments inlined in the code you're producing. If some code was provided to you, do not repeat the provided code unless it needs to be changed, just provide the diff or additive code.

You have access to the internet in case you need to access some public documentation to answer certain questions. Only use it if you need it.

Assume that the user you're assisting is a domain expert.

<aside> 💡 Pro Tips

Step 2: Give it access to your code base

<aside> ⚠️ Your repo need to be sync to Dust first. Ask your Dust admin to add it if it is not the case.

</aside>

We’ll use the search tool in this case as this will allow the agent to retrieve only the relevant documents to generate the answer.

Video to GIF Converter (8).gif

<aside> 💡 Pro Tips

Step 3: Add a web navigation capability

If you want it, just click on the web navigation option. The agent will be able to browse the web when relevant / asked for it.