<aside> 🎯 Enhance developer productivity with AI that understands your stack and metadata.
In this guide, you will learn how to create an agent that:
<aside>
📄 Template
You can use the @codingExpert
template to get started.
</aside>
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
<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.
<aside> 💡 Pro Tips
search
tool to add access to the technical documentation (Notion, Confluence, etc), or other specific channels which can help you parse context beyond the code.
</aside>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.