(agent-tools opts)Convenience: just the tools, isolating a failing agent to [].
Convenience: just the tools, isolating a failing agent to `[]`.
§7A: pollEvery defaults to 1000ms.
§7A: `pollEvery` defaults to 1000ms.
§7A: timeout defaults to 300000ms.
§7A: `timeout` defaults to 300000ms.
(parse-agents-config block)§7A — the top-level agents block of a parsed config object, as descriptors
remote-agent/agent-tools accept.
The block is a NAME -> descriptor map, exactly mirroring mcpServers, and the
same two disable spellings apply (disabled:true, enabled:false). An entry
with no string card is not an agent and is skipped rather than failed —
§0.3's isolation rule reaches config parsing too.
Ordered by NAME, for the same reason mcp/parse-config is: two runtimes must
not disagree about which peer registered first, and §7A tool names collide the
moment two cards share a name.
§7A — the top-level `agents` block of a parsed config object, as descriptors `remote-agent`/`agent-tools` accept. The block is a NAME -> descriptor map, exactly mirroring `mcpServers`, and the same two disable spellings apply (`disabled:true`, `enabled:false`). An entry with no string `card` is not an agent and is skipped rather than failed — §0.3's isolation rule reaches config parsing too. Ordered by NAME, for the same reason `mcp/parse-config` is: two runtimes must not disagree about which peer registered first, and §7A tool names collide the moment two cards share a name.
(remote-agent {:keys [card headers timeout poll-every pollEvery]})§7A's agent({card, headers?, timeout?, pollEvery?}) — renamed, see the
namespace comment. Fetches the Agent Card and returns
{:card <AgentCard> :endpoint <json-rpc url> :tools [Tool …]}
A FAILING AGENT IS ISOLATED, never fatal (like MCP): {:tools [] :error "…" :card nil}. Accepts both :poll-every and §7A's config-file spelling
:pollEvery.
§7A's `agent({card, headers?, timeout?, pollEvery?})` — renamed, see the
namespace comment. Fetches the Agent Card and returns
{:card <AgentCard> :endpoint <json-rpc url> :tools [Tool …]}
A FAILING AGENT IS ISOLATED, never fatal (like MCP): `{:tools [] :error "…"
:card nil}`. Accepts both `:poll-every` and §7A's config-file spelling
`:pollEvery`.§7A, verbatim: {type:"object", properties:{task:{type:"string"}}, required:["task"]}. Kept literally to the spec — S20 carried an extra
description on the property, which is friendlier to a model but is drift the
other five ports would not reproduce.
§7A, verbatim: `{type:"object", properties:{task:{type:"string"}},
required:["task"]}`. Kept literally to the spec — S20 carried an extra
`description` on the property, which is friendlier to a model but is drift the
other five ports would not reproduce.(task-output task)§7A completed mapping: all kind:"text" parts across artifacts[].parts[]
joined by "\n"; fallback = the LAST role:"agent" history message's text.
§7A `completed` mapping: all kind:"text" parts across `artifacts[].parts[]` joined by "\n"; fallback = the LAST role:"agent" history message's text.
§7A: terminal = completed / failed / canceled.
§7A: terminal = completed / failed / canceled.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |