You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Status:** Protocol v0.2.3 + validator are stable. Reference runtime is available via [GitHub Releases](https://github.com/madeinplutofabio/neural-computation-protocol/releases/latest), [GHCR](https://github.com/madeinplutofabio/neural-computation-protocol/pkgs/container/ncp), and [crates.io](https://crates.io/crates/ncp-runtime) (Phase 3A.1 complete). [`ncp-mcp-server v0.1.0`](https://crates.io/crates/ncp-mcp-server) is live on crates.io (Phase 3A.2 complete). Next adoption work: LangGraph wrapper + SDKs.
25
+
**Status:** Protocol v0.2.3 + validator are stable. Reference runtime is available via [GitHub Releases](https://github.com/madeinplutofabio/neural-computation-protocol/releases/latest), [GHCR](https://github.com/madeinplutofabio/neural-computation-protocol/pkgs/container/ncp), and [crates.io](https://crates.io/crates/ncp-runtime) (Phase 3A.1 complete). [`ncp-mcp-server v0.1.0`](https://crates.io/crates/ncp-mcp-server) is live on crates.io (Phase 3A.2 complete). [`ncp-langgraph v0.1.0`](https://pypi.org/project/ncp-langgraph/0.1.0/) is live on PyPI (Phase 3A.3 complete). Next adoption work: brick packs + SDKs.
26
26
27
27
## What is NCP?
28
28
@@ -214,7 +214,56 @@ Each `--graph` becomes one MCP tool. The host sends a `tools/call`; NCP runs the
214
214
215
215
For ready-to-customize examples, see [examples/mcp/](https://github.com/madeinplutofabio/neural-computation-protocol/tree/main/examples/mcp).
216
216
217
-
For the in-development LangGraph wrapper (Phase 3A.3), see [`docs/LANGGRAPH_ADAPTER.md`](https://github.com/madeinplutofabio/neural-computation-protocol/blob/main/docs/LANGGRAPH_ADAPTER.md).
217
+
---
218
+
219
+
## Use NCP from LangGraph (Python)
220
+
221
+
If your agent stack is Python and uses [LangGraph](https://github.com/langchain-ai/langgraph), wrap any NCP graph as a LangGraph node with `ncp-langgraph`. The adapter spawns `ncp-mcp-server` under the hood; you write idiomatic LangGraph `StateGraph` code.
`NCPNode.__call__` returns a partial state update; LangGraph merges it according to your `StateGraph`'s schema + reducers. State is not mutated.
265
+
266
+
For ready-to-run examples, see [examples/langgraph/](https://github.com/madeinplutofabio/neural-computation-protocol/tree/main/examples/langgraph). For the full design contract (locked signature, exception model, v0.1.0 limitations), see [`docs/LANGGRAPH_ADAPTER.md`](https://github.com/madeinplutofabio/neural-computation-protocol/blob/main/docs/LANGGRAPH_ADAPTER.md).
Copy file name to clipboardExpand all lines: docs/ADOPTION_GUIDE.md
+61-7Lines changed: 61 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,57 @@ For host config examples and smoke-test recipes, see [`examples/mcp/README.md`](
106
106
107
107
---
108
108
109
+
## Use NCP graphs in LangGraph workflows
110
+
111
+
If your agent stack is Python and uses [LangGraph](https://github.com/langchain-ai/langgraph), the `ncp-langgraph` adapter lets you wrap an NCP graph as a LangGraph node directly. Same NCP graph, no glue code; you write idiomatic LangGraph `StateGraph` code.
result = compiled.invoke({"company_url": "https://example.com"})
150
+
```
151
+
152
+
`NCPNode.__call__` returns a partial state update; LangGraph merges it according to your `StateGraph`'s schema + reducers. State is not mutated.
153
+
154
+
Use this when an agent repeats a workflow often enough that it should not re-plan the same steps in the LLM conversation every time. Good fits include lead qualification, support-ticket routing, document triage, content research pipelines, code-change risk review, and data normalization before an agent acts. (Same use-case family as the MCP integration above; pick whichever surface your stack already has.)
155
+
156
+
For ready-to-run examples, see [`examples/langgraph/README.md`](../examples/langgraph/README.md). For the binding design contract, see [`docs/LANGGRAPH_ADAPTER.md`](LANGGRAPH_ADAPTER.md).
157
+
158
+
---
159
+
109
160
## 3) Understand the moving parts (2 minutes)
110
161
111
162
-**Brick**: a sandboxed WASM module that implements the NCP ABI (`alloc/free/invoke`).
@@ -266,13 +317,15 @@ It **does** replace or harden:
266
317
267
318
## 10) Production readiness (current scope and what’s next)
268
319
269
-
The reference runtime’s distribution channels are live as of Phase 3A.1 — available
320
+
The reference runtime's distribution channels are live as of Phase 3A.1, available
270
321
through [GitHub Releases](https://github.com/madeinplutofabio/neural-computation-protocol/releases/latest),
0 commit comments