# AI settings: models, providers and routing

Turn the workspace's AI models on, connect providers or use managed Truetask AI, route each job to a model, pick the AI features, and cap what agents create.

URL: https://docs.truetask.io/admin/ai

AI settings in Truetask decide whether the workspace's own AI models answer at all, which models from which providers it may use, which model serves which job, and which AI features people see on a task.
Workspace owners and admins open them under **Settings > Integrations > AI**, in the pane titled **Providers & Models**.

![Truetask Providers & Models settings pane with the Workspace AI models switch, routing, features and models](https://docs.truetask.io/screenshots/settings-ai.webp)

An agent someone runs on their own computer, or a tool connected over MCP, brings its own model and does not depend on this pane; see [Models and providers](https://docs.truetask.io/agents/models).

## Workspace AI models

The pane opens with one switch, **Workspace AI models**: "Lets the models below answer for everyone here, and spend what they cost. An agent someone brings themselves keeps working."

Turn it off and the rest of the pane collapses, with a notice saying what that means.
Nothing spends the workspace's AI credit, and the assistant, task suggestions, breakdowns and AI automation nodes refuse until the switch is back on.
A chat with an agent someone brings themselves still opens and works, under that person's own permissions.

Individual people can hide AI from their own view without touching it: see [Per-user AI features](https://docs.truetask.io/admin/ai#per-user-ai-features) below.

## Route each job to a model

**Routing** decides which model serves each job: "Pick which model serves each AI capability."
Each row carries a plain description of the job and an info icon with a **Recommended:** line.

| Capability | What it serves |
| --- | --- |
| **Generate** | Long-form output: task descriptions, comment drafts, agent-loop output. |
| **Suggest** | Real-time inline suggestions while you type, such as task titles and tag autocomplete. Latency matters more than quality. |
| **Summarize** | Condensing long content: comment threads, activity feeds. [Agent memory](https://docs.truetask.io/agents/memory) learns on this route too. |
| **Tool use (agent)** | Function calling for Truetask AI, agents answering inside Truetask and the agent loop. Needs precise structured output and strong tool calling. |

Any enabled model can serve any job, and routing is the one place that says which does what.
A job left on **None** is effectively off.
With no enabled model yet, each row says "No enabled models yet. Add one below."

> **Truetask Cloud only**
>
> On a workspace using managed Truetask AI only, routing is fixed to that model and the rows are read-only.
> A plan with no managed AI credit at all locks **Tool use (agent)**, and the row says "AI agents aren't included on this plan."

## Choose which AI features are on

**Features** is the policy list: "What AI is allowed to do in this workspace."
Each switch turns one assist on or off for everyone.

| Setting | What it turns on |
| --- | --- |
| **Suggest task titles inline** | Suggestions as you type a task title, and the sparkle that rewrites a title. |
| **Suggest checklist items** | The sparkle button on a task's checklists. |
| **Summarize long comment threads** | The Summarize action on a task's comments. |

All three are on by default.
Turning one off removes the affordance everywhere rather than leaving a button that fails.
See [AI assists on tasks](https://docs.truetask.io/agents/assists) for the assists that have no switch of their own.

## Add AI models and providers

**Models** is the list of models the workspace can use: "Connect provider models you want to use."

### Truetask AI (Cloud)

A Cloud workspace already has a managed model called Truetask AI: "Included with your plan. No API key or setup needed."
The only control on its card is on or off, and **AI usage this month** shows how much of this month's allowance is used.

> **Truetask Cloud only**
>
> Running out of the monthly allowance stops managed AI calls until the month turns over.
> A top-up or a plan change is the fix.
> See [Plans and billing](https://docs.truetask.io/cloud/plans).

### Bring your own model

**Add model** connects a provider of your own.

| Field | Notes |
| --- | --- |
| **Provider** | OpenAI, Anthropic, Gemini, OpenRouter, Ollama, LM Studio, oMLX, vMLX or Custom. |
| **Model ID** | The provider's identifier, for example `gpt-4o`. |
| **Name** | What the model is called in routing and in the chat's model menu. |
| **API URL** | Prefilled with the provider's default, and shown for local and custom providers. |
| **API Key** | Stored with the model in the workspace's database, and shown masked in this pane. Not needed for the local runtimes. |
| **Enabled** | Whether routing may use it at all. |

Two helpers sit in the dialog.
**Fetch available models** pulls the provider's catalog so you can pick the model ID rather than typing it, and **Test** checks the connection: it says whether the endpoint was unreachable, reachable but the key was refused, or working.

Ollama, LM Studio, oMLX and vMLX prefill a localhost address; set **API URL** to an address the Truetask server can reach, and a self-hosted instance runs its AI with nothing leaving your network.
See [Models and providers](https://docs.truetask.io/agents/models) for the provider table and OpenRouter's options, and [Run AI on local models only](https://docs.truetask.io/self-hosted/outbound-data#run-ai-on-local-models-only) for the steps.

> **Truetask Cloud only**
>
> Connecting your own provider works on every plan, Free included, beside Truetask AI.
> See [Plans and billing](https://docs.truetask.io/cloud/plans).

## Agent limits

How many boards one agent may create is set beside the agent roster, in **Settings > Members & Teams > Agents**, under **Limits**.

**Boards an agent may create** is how many boards one agent may create or clone in 10 minutes.
Every agent has its own allowance, counted against the agent and never against its owner, and a person creating a board by hand is never counted.
The default is 20, and a bundle template counts every board it makes, so one bundle of four boards leaves sixteen.

The limit stops a loop or one bad prompt from leaving hundreds of boards in someone's sidebar.
Past it, the agent is told the limit and when it lifts, so it stops instead of retrying.
Raise it if your team runs many agents that build boards.

The same pane lists every agent in the workspace with its owner, token count, last use and state, and bulk **Enable**, **Disable** and **Delete** actions.
See [AI agents as first-class teammates](https://docs.truetask.io/agents/).

## Agent memory

Boards learn from their agents' work by themselves, and the switch that turns that off for the whole workspace is on the **Truetask memory** card in **Integrations**, not in this pane.
That is also where you connect Hindsight or another memory server.
See [Agent memory](https://docs.truetask.io/agents/memory).

## Per-user AI features

Each person can hide AI from their own view without changing anything for anyone else.
Open the **App menu > Features** and turn off **AI features**: "Card AI actions, agent tabs, and every other AI surface - hidden just for you."
**Help when you are stuck** in the same dialog stops Truetask AI from offering walkthroughs on its own.

See [Customize](https://docs.truetask.io/personalization/customize).

## Frequently asked questions

### Which AI models does Truetask support?

Truetask works with models from OpenAI, Anthropic, Gemini and OpenRouter, with the local runtimes Ollama, LM Studio, oMLX and vMLX, and with any OpenAI-compatible endpoint added as **Custom**.
Truetask Cloud adds a managed model, Truetask AI, that needs no API key.
An AI agent that runs on your own computer brings its own model and does not use this list; see [Models and providers](https://docs.truetask.io/agents/models).

### Can Truetask run on local models only?

Yes, a self-hosted Truetask instance can run all of its AI on local models: add them from Ollama, LM Studio, oMLX or vMLX at an address the server can reach, and route every job to them, so no prompt leaves your network.
The agent jobs need a model with real function calling, so route **Tool use (agent)** to a local model that handles tools well.
See [Run AI on local models only](https://docs.truetask.io/self-hosted/outbound-data#run-ai-on-local-models-only).

### Where is my AI key stored?

Truetask stores the API key you enter for a provider model with that model in the workspace's own database, on Truetask Cloud or on your own server, and the AI pane shows it masked.
Only workspace owners and admins open that pane, and the local runtimes and managed Truetask AI need no key at all.

### Can I turn AI off in Truetask?

Yes, switching off **Workspace AI models** stops the workspace's models answering for everyone, and nothing spends the workspace's AI credit while it is off.
Each person can also hide AI from their own view under **Features**, and an agent someone brings themselves keeps working either way.

## Related

- [Models and providers](https://docs.truetask.io/agents/models)
- [Truetask AI](https://docs.truetask.io/agents/truetask-ai)
- [Agent memory](https://docs.truetask.io/agents/memory)
- [Settings overview](https://docs.truetask.io/admin/)
