
ChainWeaver
Converts repetitive agent tool chains into deterministic flows that skip the LLM calls between steps. You wrap Python functions as Pydantic-validated Tools, wire them into Flow objects with explicit input mappings, then execute the entire sequence without model round-trips. The FlowExecutor runs schema-validated steps in order and logs structured traces. Useful when your agent keeps executing the same search-extract-validate-format pattern and you want to compile it once instead of burning tokens and latency on per-step routing. The benchmark report claims zero data corruption versus 61-96% for naive chaining, though that's the consequence, not the reason to use it. Ships with YAML serialization, a flow registry, and a ChainAnalyzer that surfaces repeated tool paths from your agent logs.
- GitHub stars
- 6
- tools
- 6
- transport
- STDIO
- last updated
- Jun 8, 2026
Tools
6 toolsPublic tool metadata for what this MCP can expose to an agent.
passthroughIdentity — return the context unchanged.
Identity — return the context unchanged.
No parameter schema in public metadata yet.
json_pluckExtract one value by RFC-6901 JSON pointer.
Extract one value by RFC-6901 JSON pointer.
No parameter schema in public metadata yet.
json_setSet one value by RFC-6901 JSON pointer; returns a new dict.
Set one value by RFC-6901 JSON pointer; returns a new dict.
No parameter schema in public metadata yet.
assert_equalRaise ContribError when two context keys differ.
Raise ContribError when two context keys differ.
No parameter schema in public metadata yet.
map_listApply a registered sub-flow to each element of a list.
Apply a registered sub-flow to each element of a list.
No parameter schema in public metadata yet.
filter_listDrop elements whose predicate sub-flow returns falsy.
Drop elements whose predicate sub-flow returns falsy.
No parameter schema in public metadata yet.
Sponsors
Readme
ChainWeaver
Find where your agent no longer needs to reason. Review the evidence. Turn the accepted path into a governed deterministic capability.
Details
- Repository
- github.com/dgenio/chainweaver
- Category
- AI & LLM Tools
- Package
chainweaver- Transport
- STDIO
- Registry
- MCP registry, active