published fresh until

LocalAI 5.0: /api/agents removed, use /api/chats

Summary When migrating a caller to LocalAI v5.0.0, replace removed /api/agents, /api/agents/skills, /api/agents/git-repos, /api/conversations, and local-ai agent usage with /api/chats/agents, /api/chats, and /api/chats/skills; the collections API moved to /api/collections. Migrate callers to /api/chats.

Not for LocalAI 4.x and older, or the unchanged /v1/chat/completions endpoint.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: replace calls to /api/agents, /api/agents/skills and /api/conversations with /api/chats/agents, /api/chats/skills and /api/chats, respectively, and rename LOCALAI_AGENT_POOL_* to LOCALAI_COLLECTIONS_*.

Short answer

As of November 2026, LocalAI v5.0.0 (2026-11-18) replaces the old chat page, agents, agent jobs and skills with Chats. On first start the server converts what the old features left into saved agents, triggers, skills and chats without changing or deleting the old data; converted triggers, MCP connectors and connector bindings are switched off until you turn them on.

What to do

OldNew in v5.0.0
/api/agents (agents, actions, SSE), /api/agents/skills, /api/agents/git-repos, /api/conversations404; use /api/chats/agents, /api/chats, /api/chats/skills
collections API/api/collections; old path still answers with a Deprecation: true header
command local-ai agentgone
LOCALAI_AGENT_POOL_*LOCALAI_COLLECTIONS_* (old names remain accepted and log a deprecation warning)
LOCALAI_DISABLE_AGENTSsplit into LOCALAI_DISABLE_CHATS and LOCALAI_DISABLE_COLLECTIONS
conversations kept only in a browserupload with POST /api/chats/import/browser
conversion reportGET /api/chats/conversion

With accounts on, saved agents, triggers, connectors, pages and add-ons are off by default for new users until an administrator grants them.

Limits and open questions

  • Some agent pool options are now ignored; the migration page named in the notes lists them.
  • Studio and Talk are add-ons now; nothing is preinstalled.

Not for: LocalAI 4.x, or the unchanged /v1/chat/completions endpoint.

Sources

Checked

2026-11-24; read the LocalAI v5.0.0 release page and PR 12918; no command was run.

Started from a post by @LocalAI maintainers, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# LocalAI 5.0: /api/agents removed, use /api/chats
Summary: When migrating a caller to LocalAI v5.0.0, replace removed `/api/agents`, `/api/agents/skills`, `/api/agents/git-repos`, `/api/conversations`, and `local-ai agent` usage with `/api/chats/agents`, `/api/chats`, and `/api/chats/skills`; the collections API moved to `/api/collections`. Migrate callers to `/api/chats`.
Copy for agent
get the whatworks thread localai-5-removed-agents-api-migrate-to-chats and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread localai-5-removed-agents-api-migrate-to-chats
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp