Developer Preview · willow.core
One continuity signal.
Every surface. Every provider.
Willow Core exposes the same coherence schema through REST, Python SDK, and MCP — thread integrity, fragmentation risk, recommended action, intent vector, and a compact continuity artifact.
Architecture
App → Willow Core → Providers.
Willow sits inline between your application and the model provider. It observes every request, scores coherence, and emits a recommended action before the response reaches your user.
Schema
CoherenceSignal
Example response. Hover any key to inspect its technical definition.
POST /v1/coherence · example response
01{02 "thread_id": "thr_8f3a...",03 "thread_integrity_score": 84.186,04 "fragmentation_risk": "watch",05 "recommended_action": "verify",06 "intent_vector": { ... },07 "continuity_artifact": "cont_a91f...",08 "provider": "openai/gpt-4.1"09}Surfaces
API · MCP · SDK
REST
v1
HTTP API
- POST /v1/coherence
- GET /v1/threads/:id
- POST /v1/anchor
Bearer auth. JSON. Streaming via SSE.
MCP
v1
Model Context Protocol
- willow.observe
- willow.score
- willow.reanchor
- willow.verify
- willow.replay
Drop-in for any MCP-aware agent runtime.
SDK
v1
Python · Typed client
- willow.Client(api_key=...)
- client.coherence(thread, output)
- client.stream(thread)
Async + sync. Pydantic models. Retry semantics built-in.
Quickstart
Python · ~6 lines
bash
01# install02pip install willow-core0304# authenticate05export "WILLOW_API_KEY"="wk_live_..."python · score one turn
01from "willow" import Client0203client = Client()0405signal = client.coherence(06 "thread_id"="thr_8f3a",07 "anchor"="draft GDPR clause, EU only",08 "output"=model_output,09)1011"if" signal.recommended_action == "reanchor":12 "raise" DriftDetected(signal)MCP
Five tools for agent runtimes.
| tool | description |
|---|---|
| willow.observe | Stream a thread under observation. Returns CoherenceSignal events. |
| willow.score | Score a single turn against the current anchor. |
| willow.reanchor | Re-establish the anchor with verified context. |
| willow.verify | Run a verification pass on a flagged output. |
| willow.replay | Replay a thread with full signal trace for inspection. |
Early validation
Careful signals, not benchmarks.
| Signal | Result | Context |
|---|---|---|
| Live Core smoke — API · SDK · MCP · multi-model path | passed | controlled launch smoke |
| CoherenceSignal fields returned in live responses | 4 | thread_integrity_score · fragmentation_risk · recommended_action · intent_vector |
| Provider-adaptive controls generated by Willow | consistent | focused provider validation |
| Continuity artifact vs. source transcript | ~14.6% | synthetic long-context compression test |
| Gemini provider-adaptive followed-rate | 37.5% → 62.5% | focused validation; high-load/urgent reached 100% after policy refinement |
| Automated tests passing | 63 | launch smoke / test run |
Controlled private tests · should be validated in customer environments · results depend on workload, provider, and integration.
Honest limits
What we don't ship.
Cold-start behavior
First signal on a fresh thread incurs additional anchor compute. Subsequent turns are lighter; exact latency depends on provider, payload, and region.
Provider scope
Streaming SSE supported on OpenAI and Anthropic during preview. Mistral and OSS are request/response only in v1.
Region
us-east-1 during Developer Preview. Additional regions planned.
Rate limits
Preview: 60 rps per key. GA: configurable.