Provider Behavior Artifacts

Provider Behavior Artifacts

Prompt-first procedure: Describe the outcome you want in your agent conversation. The agent should select and load the appropriate AIWG assets, explain material changes, request any needed approval, and report verification evidence. Exact commands and flags appear only in the CLI reference.

AIWG addons may ship `behaviors/<name>/BEHAVIOR.md`. OpenClaw reads those natively. Other providers receive generated behavior artifacts on their closest rule, instruction, or context surface so behavior setup is never silently skipped.

Deployment Targets

ProviderBehavior surface
Claude Code`.claude/rules/behaviors/<name>.md`
Codex`.codex/rules/behaviors/<name>.md`
GitHub Copilot`.github/instructions/aiwg-behaviors/<name>.instructions.md`
Cursor`.cursor/rules/behaviors/<name>.md`
Factory`.factory/rules/behaviors/<name>.md`
OpenCode`.opencode/rule/behaviors/<name>.md`
Warp`.warp/rules/behaviors/<name>.md`
Windsurf`.windsurf/rules/behaviors/<name>.md`
Hermes`.hermes/behaviors/<name>.md`
OpenClaw`~/.openclaw/behaviors/<name>/BEHAVIOR.md` plus translated hooks when hook metadata exists

Generated behavior artifacts include the original `BEHAVIOR.md` content and an activation note for providers that do not expose native behavior hooks. Provider capability differences remain visible in `agentic/code/providers/capability-matrix.yaml` under `artifact_paths.behaviors`.

Activation

Run the normal deploy command:

Use AIWG to complete this documented outcome: Run the normal deploy command
Have it inspect the current state, explain the plan, ask before material
changes, and report the result with verification evidence.

For OpenClaw, the native behavior loader owns execution. For other providers, the generated artifact is provider-context guidance that the session, daemon, Mission Control loop, chat bridge, or closest available hook surface applies when the source behavior trigger is observed.

Orchestration Capabilities

Provider subagent limits are declared in the same capability matrix under `agent_capabilities`. Orchestrators can use `preflightSubagentDispatch()` from `src/providers/capability-matrix.ts` to check estimated prompt/context/output/tool budgets before spawning a subagent.