Skip to content

[DOCS] Daemon threads opened as a named Markdown agent #1114

Closed

Description

@inference-gateway-maintainer

Summary

A daemon client can now open a thread as a named Markdown agent. It is user-facing and needs coverage in this docs repo. Source: inference-gateway/cli#1751.

Acceptance Criteria

  • Document the new agent thread option on new_session and resume_conversation: the thread takes the agent body as its system prompt, the front-matter model becomes the model the thread opens with (else the thread keeps the client's model), and tools / disallowedTools restrict the worker tools.
  • Document where the agent is resolved: the project .infer/agents then .agents/agents, then the home ~/.infer/agents then ~/.agents/agents. An unknown agent fails the open with a RUN_ERROR naming the available agents.
  • Update the affected pages: the daemon / AG-UI protocol reference (the new thread option, and relayed opens carrying the resolved options) and the Markdown agents / subagents page (the new lookup locations).

Activity

  1. added
    documentation
    on Nov 7, 2026
  2. edenreich commented on Nov 7, 2026

    @edenreich
    Contributor

    @claude can you document this? use /ponytail:ponytail check first if it's still relevant.

  3. inference-gateway-maintainer commented on Nov 7, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 3m 17s —— View job • docs/issue-1114-20261107-1720


    Task: document daemon threads opened as a named Markdown agent

    • Check the change is still relevant - inference-gateway/cli#1751 merged today, so yes
    • Read the daemon / AG-UI protocol reference (cli.md Threads) and the Markdown agents section
    • Document the agent thread option on new_session / resume_conversation
    • Document agent resolution order and the RUN_ERROR on unknown agents
    • Update the Markdown subagent presets lookup locations
    • Validate (lint:md, format:check, build - all pass)
    • Commit and open PR

    What changed

    • cli.md, Threads: new #### Opening a thread as a named agent with an example new_session frame - the agent body as system prompt (custom_instructions still appends), the front-matter model as the model the thread opens with (inherit / bare alias / none keeps the client's model, a later select_model still switches), tools / disallowedTools restricting the worker while mode / set_mode keep control, the four-location lookup order, the RUN_ERROR naming available agents on an unknown name, and resolved options travelling with a relayed open or teleport so the peer needs no agent files.
    • cli.md: the thread-options bullet and the App frames in table row now link to that section.
    • cli.md, Markdown subagent presets: locations list grows from two to four - .infer/agents, .agents/agents, ~/.infer/agents, ~/.agents/agents.
    • cli.md, /agents view: the local row no longer claims the file is always under .infer/agents, and notes ~/.agents ones are labelled user.
    • opentask.md: the extension's thread options on an open now include agent, linked to the new section.

    Create a PR - already opened as #1117 (board moved to QA).

    I skipped adding an agents/ row to the ~/.infer directory-structure table (it has none today, out of scope) and did not touch desktop.md - the desktop side is its own change. I did not run the dev server to eyeball the new anchors, but the production build resolved every link.
    | Branch | PR #1117

  4. moved this from Todo to In progress in 2026on Nov 7, 2026
  5. moved this from In progress to QA in 2026on Nov 7, 2026
  6. moved this from QA to Done in 2026on Nov 7, 2026
  7. inference-gateway-releaser commented on Nov 8, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.24 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions