@x1pay/langchain
LangChain/LangGraph tools for AI agent x402 payments on X1
Crawler Summary
Developer acceleration layer for enterprise RAG + agent pipelines. 32 production-style flagships on LangChain, LangGraph, CrewAI, Temporal, OpenAI Agents SDK, pydantic-ai. Permission-aware retrieval, chunk-level citations, schema-enforced output. Built on Model Context Protocol (MCP). <div align="center"> Knowledge Stack Cookbook **Focus on agents. We handle document intelligence.** **32 production-style flagship agents + 100+ recipes for enterprise RAG — built on $1, works with every major agent framework.** $1 $1 $1 $1 $1 $1 $1 $1 $1 $1 $1 $1 · $1 · $1 · $1 · $1 </div> --- Knowledge Stack is the document intelligence layer behind your agents — ingestion, chunking, permissions, versioning, citati Capability contract not published. No trust telemetry is available yet. 7 GitHub stars reported by the source. Last updated 5/31/2026.
Freshness
Last checked 5/31/2026
Best For
ks-cookbook is best for crewai, multi-agent workflows where OpenClaw compatibility matters.
Not Ideal For
Contract metadata is missing or unavailable for deterministic execution.
Evidence Sources Checked
editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack
Developer acceleration layer for enterprise RAG + agent pipelines. 32 production-style flagships on LangChain, LangGraph, CrewAI, Temporal, OpenAI Agents SDK, pydantic-ai. Permission-aware retrieval, chunk-level citations, schema-enforced output. Built on Model Context Protocol (MCP). <div align="center"> Knowledge Stack Cookbook **Focus on agents. We handle document intelligence.** **32 production-style flagship agents + 100+ recipes for enterprise RAG — built on $1, works with every major agent framework.** $1 $1 $1 $1 $1 $1 $1 $1 $1 $1 $1 $1 · $1 · $1 · $1 · $1 </div> --- Knowledge Stack is the document intelligence layer behind your agents — ingestion, chunking, permissions, versioning, citati
Public facts
4
Change events
0
Artifacts
0
Freshness
May 31, 2026
Capability contract not published. No trust telemetry is available yet. 7 GitHub stars reported by the source. Last updated 5/31/2026.
Trust score
Unknown
Compatibility
OpenClaw
Freshness
May 31, 2026
Vendor
Knowledgestack
Artifacts
0
Benchmarks
0
Last release
Unpublished
Key links, install path, and a quick operational read before the deeper crawl record.
Summary
Capability contract not published. No trust telemetry is available yet. 7 GitHub stars reported by the source. Last updated 5/31/2026.
Setup snapshot
git clone https://github.com/knowledgestack/ks-cookbook.gitSetup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.
Vendor
Knowledgestack
Protocol compatibility
OpenClaw
Adoption signal
7 GitHub stars
Handshake status
UNKNOWN
Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.
Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.
Extracted files
0
Examples
5
Snippets
0
Languages
python
bash
git clone https://github.com/knowledgestack/ks-cookbook.git cd ks-cookbook cp .env.example .env # then fill in KS_API_KEY + OPENAI_API_KEY make setup # installs every workspace package + validates env
bash
uv run python recipes/icd10_coder/recipe.py \
--note-file recipes/icd10_coder/sample_inputs/deid_visit_001.txtbash
uv run python recipes/clause_extractor/recipe.py --contract "Apple 2024 proxy" uv run python recipes/contract_renewal_checker/recipe.py --contract "Donna Huang software development" uv run python recipes/aml_sar_narrative/recipe.py --case-id "structuring-cash-deposits" make help # list every demo target
bash
CORPUS_FOLDER_ID=your-folder-id make demo-credit-memo
bash
grep -l '"banking"' flagships/*/pyproject.toml
Full documentation captured from public sources, including the complete README when available.
Docs source
GITHUB OPENCLEW
Editorial quality
ready
Developer acceleration layer for enterprise RAG + agent pipelines. 32 production-style flagships on LangChain, LangGraph, CrewAI, Temporal, OpenAI Agents SDK, pydantic-ai. Permission-aware retrieval, chunk-level citations, schema-enforced output. Built on Model Context Protocol (MCP). <div align="center"> Knowledge Stack Cookbook **Focus on agents. We handle document intelligence.** **32 production-style flagship agents + 100+ recipes for enterprise RAG — built on $1, works with every major agent framework.** $1 $1 $1 $1 $1 $1 $1 $1 $1 $1 $1 $1 · $1 · $1 · $1 · $1 </div> --- Knowledge Stack is the document intelligence layer behind your agents — ingestion, chunking, permissions, versioning, citati
32 production-style flagship agents + 100+ recipes for enterprise RAG — built on MCP, works with every major agent framework.
Quickstart · Flagships · Recipes · Wiki · Discord
</div>Knowledge Stack is the document intelligence layer behind your agents — ingestion, chunking, permissions, versioning, citations — exposed as a stable MCP surface that plugs into LangChain, LangGraph, CrewAI, Temporal, OpenAI Agents SDK, pydantic-ai, Claude Desktop, Cursor, and anything else that speaks MCP. Every flagship runs under every framework — same prompt + schema, framework swaps in.
You focus on agent logic. KS manages the knowledge layer.
→ New here? Jump to the Quickstart below, or browse the flagships by vertical.
git clone → first recipe in ~5 mingit clone → first cited recipe in ~5 minutes.
Prereqs: Python 3.11+, uv, a Knowledge Stack API key (sign in at https://app.knowledgestack.ai), and an OpenAI key (gpt-4o; gpt-4o-mini skips grounding and emits empty citations).
git clone https://github.com/knowledgestack/ks-cookbook.git
cd ks-cookbook
cp .env.example .env # then fill in KS_API_KEY + OPENAI_API_KEY
make setup # installs every workspace package + validates env
Run your first recipe:
uv run python recipes/icd10_coder/recipe.py \
--note-file recipes/icd10_coder/sample_inputs/deid_visit_001.txt
The agent makes ~10–20 MCP tool calls (search_knowledge, read, …), then emits a JSON CodingResult with real chunk_ids pointing into your tenant.
Other quick wins:
uv run python recipes/clause_extractor/recipe.py --contract "Apple 2024 proxy"
uv run python recipes/contract_renewal_checker/recipe.py --contract "Donna Huang software development"
uv run python recipes/aml_sar_narrative/recipe.py --case-id "structuring-cash-deposits"
make help # list every demo target
Each recipe folder has its own README.md with a captured live output and troubleshooting. To adapt a flagship to your own tenant, override CORPUS_FOLDER_ID:
CORPUS_FOLDER_ID=your-folder-id make demo-credit-memo
32 flagships. Each links to its own README with the expected corpus, a sample input, and a captured sample output — open one to see exactly what it does before running.
Jump to: Banking · Legal · Accounting & tax · Healthcare · Insurance · Real estate · Sales & revenue · HR · Engineering · Government, pharma, energy
banking credit-risk underwriting commercial-lendingbanking covenant-monitoring credit-riskbanking kyc aml compliancefinance sec-filings 10-k investment-researchshall/must/will obligation from a contract, categorized + cited.<br/>Tags: legal contracts msa obligationslegal contracts redline negotiationslegal privacy gdpr securityaccounting asc-606 revenue-recognition memosaccounting audit pcaob workpaperstax irc research memoshealthcare prior-auth payer clinicalhealthcare clinical-trials eligibility ctmsinsurance claims coverage-analysis p-and-cinsurance subrogation claimsinsurance policy-comparison coveragereal-estate leases commercialreal-estate zoning compliance municipalsales data-enrichment batch operations.docx research brief from your tenant.<br/>Tags: research reports analystsales rfp proposals go-to-marketsales competitive enablementsecurity compliance caiq sig questionnaireshr handbook q-and-ahr recruiting job-descriptionsengineering sre runbooks incident-responseengineering api documentation devexproduct engineering release-notesproserv sow scope-managementgovernment grants compliance cfrgovernment foia public-recordspharma pharmacovigilance cioms safetyenergy nerc-cip compliance utilitiesTags are first-class metadata declared in each flagship's pyproject.toml [project] keywords. To find every flagship that uses a given tag, search the repo:
grep -l '"banking"' flagships/*/pyproject.toml
To add or change tags on a flagship: edit keywords = [...] in its pyproject.toml, then run make tags.
See INDUSTRIES.md for the broader roadmap and proposed next flagships.
Short (≤100 LOC) single-file patterns across LangGraph, raw OpenAI, raw Anthropic, and MCP-only — see recipes/INDEX.md.
Every flagship and recipe in this repo is read-only against your tenant. The 10 MCP tools the agents are allowed to call:
search_knowledge · search_keyword · read · read_around · list_contents · find · get_info · view_chunk_image · get_organization_info · get_current_datetime
That's the full contract. Writes are intentionally not exposed.
If this repo helps you ship, star it — it's the single biggest signal we use to decide which flagships, frameworks, and verticals to prioritize next.
<div align="center"> <a href="https://star-history.com/#knowledgestack/ks-cookbook&Date"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=knowledgestack/ks-cookbook&type=Date&theme=dark" /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=knowledgestack/ks-cookbook&type=Date" width="700" /> </picture> </a> </div>MIT. See LICENSE.
Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.
Contract coverage
Status
missing
Auth
None
Streaming
No
Data region
Unspecified
Protocol support
Requires: none
Forbidden: none
Guardrails
Operational confidence: low
curl -s "https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/contract"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/trust"
Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.
Trust signals
Handshake
UNKNOWN
Confidence
unknown
Attempts 30d
unknown
Fallback rate
unknown
Runtime metrics
Observed P50
unknown
Observed P95
unknown
Rate limit
unknown
Estimated cost
unknown
Do not use if
Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.
Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.
LangChain/LangGraph tools for AI agent x402 payments on X1
An implementation of a multi-agent swarm using LangGraph
LangGraph Multi-Agent Supervisor
LangChain tools for OceanBus — give your LangChain and CrewAI agents a global identity, encrypted messaging, and Yellow Pages service discovery with a single import.
Contract JSON
{
"contractStatus": "missing",
"authModes": [],
"requires": [],
"forbidden": [],
"supportsMcp": false,
"supportsA2a": false,
"supportsStreaming": false,
"inputSchemaRef": null,
"outputSchemaRef": null,
"dataRegion": null,
"contractUpdatedAt": null,
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Invocation Guide
{
"preferredApi": {
"snapshotUrl": "https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/snapshot",
"contractUrl": "https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/contract",
"trustUrl": "https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/trust"
},
"curlExamples": [
"curl -s \"https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/snapshot\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/contract\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": [
"OPENCLEW"
]
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "GITHUB_OPENCLEW",
"generatedAt": "2026-10-08T23:11:23.186Z"
}
},
"retryPolicy": {
"maxAttempts": 3,
"backoffMs": [
500,
1500,
3500
],
"retryableConditions": [
"HTTP_429",
"HTTP_503",
"NETWORK_TIMEOUT"
]
}
}Trust JSON
{
"status": "unavailable",
"handshakeStatus": "UNKNOWN",
"verificationFreshnessHours": null,
"reputationScore": null,
"p95LatencyMs": null,
"successRate30d": null,
"fallbackRate": null,
"attempts30d": null,
"trustUpdatedAt": null,
"trustConfidence": "unknown",
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Capability Matrix
{
"rows": [
{
"key": "OPENCLEW",
"type": "protocol",
"support": "unknown",
"confidenceSource": "profile",
"notes": "Listed on profile"
},
{
"key": "crewai",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "multi-agent",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
}
],
"flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:crewai|supported|profile capability:multi-agent|supported|profile"
}Facts JSON
[
{
"factKey": "vendor",
"label": "Vendor",
"value": "Knowledgestack",
"category": "vendor",
"href": "https://github.com/knowledgestack/ks-cookbook",
"sourceUrl": "https://github.com/knowledgestack/ks-cookbook",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-05-31T06:18:26.403Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "protocols",
"label": "Protocol compatibility",
"value": "OpenClaw",
"category": "compatibility",
"href": "https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-05-31T06:18:26.403Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "traction",
"label": "Adoption signal",
"value": "7 GitHub stars",
"category": "adoption",
"href": "https://github.com/knowledgestack/ks-cookbook",
"sourceUrl": "https://github.com/knowledgestack/ks-cookbook",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-05-31T06:18:26.403Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "handshake_status",
"label": "Handshake status",
"value": "UNKNOWN",
"category": "security",
"href": "https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-knowledgestack-ks-cookbook/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true,
"metadata": {}
}
]Change Events JSON
[]
Sponsored
Ads related to ks-cookbook and adjacent AI workflows.