Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

Commits on main

refactor(agent): move agent build logic out of setters
Steven Enamakel committed 2 months ago
fe0c231
test(agent): cover session builder edge cases
Steven Enamakel committed 2 months ago
b6a6c77
test(agent): move spec-sharing tests to a new part file
Steven Enamakel committed 2 months ago
e68e1c9
6e85cd9
test(session): wrap tool specs in Arc in builder tests
Steven Enamakel committed 2 months ago
9c48902
f3fbb10
chore(release): v0.63.25 [skip ci]
github-actions[bot] committed 2 months ago
ef4b9e4
chore(release): v0.63.25 [skip ci]\n
github-actions[bot] committed 2 months ago
69320b0
fix(agent): scope load_skill's advertised index to what the session can call\n\nThe landing was fixed; the invitation was not. `pack_index_markdown()` is global\nand is baked into `LoadSkillTool`'s description at construction, before any\nsession exists, so every agent read all ten packs as loadable — including ones\nit can call nothing in. For the orchestrator that is `system` (26 tools),\n`documents` (2) and `audio` (3). The model was told to go somewhere it could not\nuse, found that out, and came back.\n\n`visible_tool_specs_for_policy` is the only place that turns tools into the\nspecs a provider sees AND holds the session, so the invitation is made to agree\nwith the gate there. It already clones every spec, so rewriting one is free, and\nit covers both the initial build and the Composio-reconcile rebuild.\n\nBoth halves are scoped, and the schema is the stronger one: narrowing the\n`skill` enum makes an unusable pack unrepresentable rather than merely\ndiscouraged in prose. The `Unknown skill` error's listing is scoped by the same\npredicate.\n\nCallability is `blocks_execution()`, not `is_denied()` — a withheld packed tool\nis `HideFromPrompt` and perfectly callable through `use_skill`. Reading the\ndisclosure mask as a denial would report no pack as reachable and drop\n`load_skill` and `use_skill` themselves, deleting the only route to every\nwithheld tool. `a_realistic_withheld_session_keeps_its_packs_advertised` pins\nthat with a session built the way the harness builds one, rather than a fixture\nwhose decisions are hand-written `Allow`s.\n\nDropped rather than annotated with an inline route, deliberately. A pack's\nowners already reach the model through their own `delegate_*` tools, whose\n`when_to_use` descriptions are on the wire and are what the model should call;\nlisting `system` with "delegate to `manage_settings`" would duplicate that\nrouting on every turn to save a round trip the model should not be taking. The\ncapability does not disappear — only the invitation to reach it the wrong way.\n\nThe description gets SMALLER: the orchestrator's index goes from 975 to 691\nchars, ~71 tokens saved every turn, plus three fewer enum entries.\n\nWhen a session can reach no pack at all, `load_skill` and `use_skill` are\ndropped from the wire — an empty index and an empty enum are not a tool.\n
M3gA-Mind committed 2 months ago
eac55a0
e1e32ac