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:

Supported providers

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

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

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

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