Skip to content

Agent Customization

Manage agent instructions, prompts, and defaults

Switch to Agent Customization view using the Agent Config icon in the main menu.

The Agent Customization view allows you to manage default agent and models, reusable prompts, and agent instructions. This is useful for customizing the behavior of the AI Agent.

Agent Instructions

If you have a preferred agent and model combination you like to work with, you can set it as the default here. This will be the agent and model that is automatically selected when starting a new chat thread. You can always change the agent and model when sending a new message in the AI Chat tab.

NameDescription
AgentThe agent that will be automatically selected for new chat threads.
Claude ModelThe Claude model automatically selected when using the Claude agent.
Codex ModelThe OpenAI Codex model automatically selected when using the Codex agent.

You can connect your own AI provider API keys and have agent runs route directly to that provider instead of through Draftbit credits. This is available on every plan, including Free.

ProviderWhere to create a key
OpenAIplatform.openai.com/api-keys
Anthropicconsole.anthropic.com/settings/keys
OpenRouteropenrouter.ai/settings/keys
  • Connect a key under Defaults → Provider Keys. Once connected, the corresponding models can be selected as your default or chosen ad‑hoc when sending a message.
  • Threads using your key route directly to the provider and bypass Draftbit credits entirely. You’ll see provider labels in chat and in your thread history so it’s always clear where a request is going.
  • You can still mix Draftbit‑credit threads and BYOK threads in the same project — the provider used is recorded per‑thread.
  • Rate limits and model availability are governed by your provider account, not Draftbit. If a request fails because of provider limits or expired keys, the error surfaces inline in the chat.

For more on how this affects billing, see Credits and Using Credits Efficiently.

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.

You can customize the system prompt that Draftbit attaches to each agent when it starts a new chat thread. This is useful for telling the agent about your project’s tech stack, conventions, and key files.

Each agent has its own dedicated instructions file:

AgentFileWhat it controls
ClaudeCLAUDE.mdSystem prompt added to every Claude Code agent thread.
CodexAGENTS.mdSystem prompt added to every OpenAI Codex agent thread.

Open the file for the agent you want to configure, edit it inline, and save. The instructions take effect on the next thread that agent starts. The Instructions Agent sidebar on this page can also help you draft and refine these files conversationally.

  • 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.