Skip to main content

Foundry — Models & Chat Modes

The Foundry is your control center for managing AI providers and creating reusable chat mode presets. It provides two tabs: Models and Chat Modes.

Models tab

The Models tab displays all configured AI providers as cards, giving you a quick overview of your setup.

Provider cards

Each provider card shows:
FieldDescription
KindProvider type (e.g. anthropic, openai, ollama, google)
EndpointBase URL for the provider API
ModelCurrently selected model
Key statusWhether an API key is configured (shown as a badge)
Default badgeIndicates if this is your default provider

Supported providers

ProviderKindDefault Endpoint
Ollamaollamahttp://localhost:11434
OpenAIopenaihttps://api.openai.com/v1
Anthropicanthropichttps://api.anthropic.com
Googlegooglehttps://generativelanguage.googleapis.com/v1beta
DeepSeekdeepseekhttps://api.deepseek.com/v1
xAI (Grok)grokhttps://api.x.ai/v1
Mistralmistralhttps://api.mistral.ai/v1
Moonshot/Kimimoonshothttps://api.moonshot.cn/v1
OpenRouteropenrouterhttps://openrouter.ai/api/v1
CustomcustomUser-defined

Setting a default provider

To set a provider as default, go to Settings → Advanced, find the provider card, and click Make Default. The default provider is used for all conversations unless overridden by an agent or chat mode.

Chat Modes tab

Chat Modes are named presets that let you instantly switch between different conversation configurations. Think of them as “profiles” for how the AI behaves.

Mode properties

PropertyDescription
NameDisplay name for the mode
ModelAI model to use when this mode is active
System promptCustom system prompt injected for this mode
Thinking levelAI reasoning depth: none, low, medium, high
TemperatureRandomness control (0.0–2.0)
IconEmoji or symbol for quick identification
ColorVisual accent color for the mode

Creating a chat mode

  1. Open the Foundry view
  2. Switch to the Chat Modes tab
  3. Click New Mode
  4. Fill in the mode properties in the form modal
  5. Save

Example modes

ModeModelTemperatureThinkingUse case
Quick Chatclaude-3-haiku0.7noneFast, lightweight responses
Deep Analysisclaude-opus-4-60.3highComplex reasoning tasks
Creative Writingclaude-sonnet-4-61.0mediumStories, brainstorming
Code Reviewgpt-4o0.2lowPrecise, technical feedback

Managing modes

  • Edit: Click a mode card to open the edit form
  • Delete: Remove a mode you no longer need
  • Switch: Use the /mode <name> slash command to activate a mode during conversation
/mode Deep Analysis

Storage

Chat modes are stored in the frontend SQLite database in the agent_modes table. This means they persist across sessions and are available immediately on app restart. :::tip Create a “Cost Saver” mode with a cheap model like claude-3-haiku or gpt-4o-mini for simple tasks, and a “Heavy Lifting” mode with a powerful model for complex work. Switch between them with /mode to manage costs. ::: :::info Chat modes override the default provider/model for the duration of the conversation. Agent-specific model overrides take highest priority over chat modes. :::