Skip to main content

Agents

LocalAI no longer has a separate agent platform. The agents, the agent jobs and the old chat page were replaced by the chats, which keep a conversation on the server and run it with the same loop for every purpose.

You used toNow
Create an agent on the Agents pageCreate a saved agent: instructions, a model, and exact lists of the MCP servers, add-ons, collections and skills it may use
Chat with an agentStart a chat with the agent from its row on the Agents page, or send it a message in Telegram through a connector
Give an agent to other peopleShare the saved agent: each person runs it as themselves
Run an agent by itself, or a cron taskMake a trigger: a schedule, or a file arriving in a folder
Call a task from a script, with parameters and a webhookThe agent tasks and jobs API: same paths and JSON as before; a job is a background chat
Read the output of a jobGET /api/agent/jobs/{id}, the chat the job or trigger made, or the inbox
Install skills from a hub or a git repositoryWrite skills as folders with a SKILL.md, personal or shared
Keep chat historyThe chats are kept on the server for every user

The collections (the knowledge base) stay. A saved agent lists the collections it may search.

What the server did with your old data at the first start, and what it could not carry over, is on Moving from the old chat and agents.