strix/docs/advanced
Hazemwaddah 7712e65d51
feat(cost): opt-in agent fan-out caps, context trim, --reasoning-effort
Autonomous scans can spawn unbounded agents, each re-paying the full
system prompt on every turn and (by default) inheriting a full copy of
the parent's history — a large token-cost driver on a single target.
This adds knobs to bound it, all OFF by default so out-of-the-box
behavior is unchanged.

New (opt-in via env, default 0 = disabled):
- STRIX_MAX_AGENTS — cap total agents in the graph; create_agent refuses
  past the cap with a model-facing message to reuse/wait/self-serve.
- STRIX_MAX_AGENT_DEPTH — cap spawn depth (root = 1).
- STRIX_INHERIT_CONTEXT_MAX_TOKENS — trim inherited parent history to the
  most-recent tail within a token budget.

Also:
- New --reasoning-effort CLI flag (overrides STRIX_REASONING_EFFORT per
  run); pure addition, no default change.

Coordinator gains agent_count()/depth_of() helpers. Tests cover the caps
and the history trim. Docs updated. No default behavior changes.
2026-09-13 10:55:07 +03:00
..
configuration.mdx feat(cost): opt-in agent fan-out caps, context trim, --reasoning-effort 2026-09-13 10:55:07 +03:00
skills.mdx expand firebase storage rules coverage (#1002) 2026-08-06 23:22:06 -07:00