Context
contextweaver and agent-kernel solve adjacent parts of the same runtime problem:
contextweaver narrows what the model sees: tool cards, compiled context, summarized tool results.
agent-kernel should enforce what the agent is allowed to do: capabilities, policy, audit, and authorization boundaries.
For ecosystem clarity, the two projects need a concrete reference flow showing that routing/context selection is advisory and policy enforcement still happens before execution.
Goal
Add a docs/reference example showing a tool-using agent flow where:
- contextweaver builds a small candidate/tool-card shortlist.
- the model or host selects an intended action.
- agent-kernel checks the action against capability/policy rules.
- only approved actions proceed to execution.
- denied or ask-for-confirmation decisions are represented clearly.
Proposed files
docs/integrations/contextweaver.md
- optional
examples/contextweaver_policy_flow.py
Acceptance criteria
Related
Context
contextweaverandagent-kernelsolve adjacent parts of the same runtime problem:contextweavernarrows what the model sees: tool cards, compiled context, summarized tool results.agent-kernelshould enforce what the agent is allowed to do: capabilities, policy, audit, and authorization boundaries.For ecosystem clarity, the two projects need a concrete reference flow showing that routing/context selection is advisory and policy enforcement still happens before execution.
Goal
Add a docs/reference example showing a tool-using agent flow where:
Proposed files
docs/integrations/contextweaver.mdexamples/contextweaver_policy_flow.pyAcceptance criteria
Related