You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Desktop: an agent chat runs as its Markdown agent through the CLI #1115
In the desktop app, a chat with one of your own agents now runs as that Markdown agent through the CLI (inference-gateway/desktop#448, resolving inference-gateway/desktop#447, on top of inference-gateway/cli#1751). The desktop opens the daemon thread with agent: <name> and the CLI reads the agent file. The body becomes the system prompt, the front-matter model is the chat's model, and tools / disallowedTools restrict what the agent can use. The app now reads agents from the same four directories as the CLI, and the Settings "Agents directory" field is gone. desktop.md has no section on your own agents yet beyond "Agent computers", so this needs one.
Acceptance Criteria
desktop.md gets a section on your own (Markdown) agents. An agent chat runs on the agent's front-matter model. In an agent chat the top-bar model picker shows that model read-only, and you change it in Edit agent > Model, which writes the front matter. An agent without a model (empty or inherit) follows the model selected in the top bar.
The same section says the agent's body is the chat's system prompt, and that tools / disallowedTools restrict the tools the agent can use in that chat.
Document where agents are read from, first match winning on a name: .infer/agents and .agents/agents of the directory the chat runs in, then ~/.infer/agents and ~/.agents/agents. A new agent is saved to ~/.infer/agents, and edits, renames and deletes act in the directory the agent was found in. Settings no longer has an "Agents directory" field.
Under "Agent computers": an agent whose own model the target workspace cannot serve fails with a message naming the provider key to add, instead of silently switching to the workspace's model.
Note that agent chats need infer v0.247.0 or newer.
Read desktop.md and the desktop sources for the real UI labels (AgentEditor, ModelSelect, SettingsView, markdown_agents.rs, workspace-model.ts)
Added a ## Your own agents section, right before Agent computers
Pointed the Settings Agents tab at it, and updated the "chat keeps its model" limit under Moving a chat
bun run format, lint:md, format:check, build - all pass
Committed and opened the PR
What the new section says
An agent chat runs as its Markdown agent through the CLI, with a table mapping the file to the chat: body -> system prompt, model -> the chat's model, tools / disallowedTools -> the tools it may use, workspace -> its computer.
The top-bar model picker is read-only in an agent chat and changed in Edit agent > Model, which writes the front matter. An empty or inherit model follows the top-bar model. tools / disallowedTools have no editor field, so they are edited in the file.
The four directories agents are read from, first match winning on a name, with new agents saved to ~/.infer/agents and edits, renames and deletes acting where the agent was found. Settings no longer has an Agents directory field.
Agent chats need inferv0.247.0 or newer.
Under Moving a chat: an agent whose front matter fixes its model is not quietly switched to the workspace's model - the chat fails with the provider key to add.
Not done / risks: I did not touch cli.md, whose "Markdown subagent presets" still lists only two agent directories (.infer/agents, ~/.infer/agents) - that is the separate CLI ticket. I did not run the app, so the labels come from reading the desktop sources rather than seeing the UI, and the Agent-computers key message is quoted from workspace-model.ts rather than from a live run.
| Branch
Activity
edenreich commentedon Nov 7, 2026
@claude can you document this? use /ponytail:ponytail check first if it's still relevant.
inference-gateway-maintainer commentedon Nov 7, 2026
Claude finished @edenreich's task in 3m 15s —— View job •
docs/issue-1115-20261107-1720• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1115-20261107-1720?quick_pull=1&title=Issue%20%231115%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231115%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done
desktop.mdand the desktop sources for the real UI labels (AgentEditor,ModelSelect,SettingsView,markdown_agents.rs,workspace-model.ts)## Your own agentssection, right before Agent computersbun run format,lint:md,format:check,build- all passWhat the new section says
model-> the chat's model,tools/disallowedTools-> the tools it may use,workspace-> its computer.inheritmodel follows the top-bar model.tools/disallowedToolshave no editor field, so they are edited in the file.~/.infer/agentsand edits, renames and deletes acting where the agent was found. Settings no longer has an Agents directory field.inferv0.247.0 or newer.Create a PR - already opened as #1116.
Not done / risks: I did not touch
cli.md, whose "Markdown subagent presets" still lists only two agent directories (.infer/agents,~/.infer/agents) - that is the separate CLI ticket. I did not run the app, so the labels come from reading the desktop sources rather than seeing the UI, and the Agent-computers key message is quoted fromworkspace-model.tsrather than from a live run.| Branch
inference-gateway-releaser commentedon Nov 8, 2026
🎉 This issue has been resolved in version 0.9.24 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀