@x1pay/langchain
LangChain/LangGraph tools for AI agent x402 payments on X1
Crawler Summary
Universal Agent Harness — wrap any LangGraph / CrewAI / AutoGen flow. Real-time cost tracking, cross-run memory, OpenTelemetry tracing, and an opt-in self-evolution loop. <div align="center"> <img width="1500" height="276" alt="forge-banner" src=".github/assets/forge_banner.jpg" /> </div> <div align="center"> <p><strong>Universal Agent Harness — Drop your agents. Watch them evolve, remember and win.</strong></p> $1 $1 $1 $1 $1 $1 <br/> </div> --- What is Forge? Forge is an **open-source, enterprise-grade agent harness** that wraps any multi-agent flow and gives it real-time cost track Capability contract not published. No trust telemetry is available yet. Last updated 5/31/2026.
Freshness
Last checked 5/31/2026
Best For
forge 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
Universal Agent Harness — wrap any LangGraph / CrewAI / AutoGen flow. Real-time cost tracking, cross-run memory, OpenTelemetry tracing, and an opt-in self-evolution loop. <div align="center"> <img width="1500" height="276" alt="forge-banner" src=".github/assets/forge_banner.jpg" /> </div> <div align="center"> <p><strong>Universal Agent Harness — Drop your agents. Watch them evolve, remember and win.</strong></p> $1 $1 $1 $1 $1 $1 <br/> </div> --- What is Forge? Forge is an **open-source, enterprise-grade agent harness** that wraps any multi-agent flow and gives it real-time cost track
Public facts
3
Change events
0
Artifacts
0
Freshness
May 31, 2026
Capability contract not published. No trust telemetry is available yet. Last updated 5/31/2026.
Trust score
Unknown
Compatibility
OpenClaw
Freshness
May 31, 2026
Vendor
Angelnicolasc
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. Last updated 5/31/2026.
Setup snapshot
git clone https://github.com/angelnicolasc/forge.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
Angelnicolasc
Protocol compatibility
OpenClaw
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
6
Snippets
0
Languages
python
bash
pip install forge-os
forge wrap my_langgraph_flow.py --input '{"query": "What is RAG?"}'text
⚡ FORGE — Universal Agent Harness Drop your agents. Watch them evolve, remember and win. ✓ Detected: langgraph (11ms) Running task_id=a3f8b2c1... ╭─ Run Info ──────────────────────────────────────╮ │ Status ✓ COMPLETED │ │ Task ID a3f8b2c1d4e5... │ │ Duration 4.2s │ ╰─────────────────────────────────────────────────╯ ╭─ Cost Breakdown ────────────────────────────────╮ │ agent: researcher $0.00420 │ │ agent: writer $0.00180 │ │ TOTAL $0.00600 │ ╰─────────────────────────────────────────────────╯ ╭─ Agent Topology ────────────────────────────────╮ │ ├── [research] Researcher (claude-sonnet) │ │ └── [writing] Writer (claude-haiku) │ ╰─────────────────────────────────────────────────╯
bash
forge evolve run my_flow.py --mode auto # ⚗ Proposed: Swap researcher from claude-opus → claude-sonnet # ↳ Applied. Fitness: 0.72 → 0.91 (+0.19) forge evolve status # read the journal forge evolve resume my_flow.py # re-arm the breaker
bash
forge memory query "optimization techniques the researcher found last week" forge memory ingest my_document.txt --tag topic=RAG forge memory status
bash
forge observe # open the live dashboard forge doctor # diagnose your installation forge doctor update-pricing # refresh the local pricing cache
bash
forge mcp list-tools # show available tools forge mcp call <tool> <args> # invoke a tool forge mcp serve # expose Forge memory + evolution as MCP tools forge mcp status # inspect budget and cache state
Full documentation captured from public sources, including the complete README when available.
Docs source
GITHUB OPENCLEW
Editorial quality
ready
Universal Agent Harness — wrap any LangGraph / CrewAI / AutoGen flow. Real-time cost tracking, cross-run memory, OpenTelemetry tracing, and an opt-in self-evolution loop. <div align="center"> <img width="1500" height="276" alt="forge-banner" src=".github/assets/forge_banner.jpg" /> </div> <div align="center"> <p><strong>Universal Agent Harness — Drop your agents. Watch them evolve, remember and win.</strong></p> $1 $1 $1 $1 $1 $1 <br/> </div> --- What is Forge? Forge is an **open-source, enterprise-grade agent harness** that wraps any multi-agent flow and gives it real-time cost track
Forge is an open-source, enterprise-grade agent harness that wraps any multi-agent flow and gives it real-time cost tracking, cross-run memory, OpenTelemetry tracing, spec-driven governance, and an opt-in self-evolution loop — in one command.
Every feature in this document maps to a test. See docs/feature-map.md. Items not yet shipped live in the Roadmap.
pip install forge-os
forge wrap my_langgraph_flow.py --input '{"query": "What is RAG?"}'
⚡ FORGE — Universal Agent Harness
Drop your agents. Watch them evolve, remember and win.
✓ Detected: langgraph (11ms)
Running task_id=a3f8b2c1...
╭─ Run Info ──────────────────────────────────────╮
│ Status ✓ COMPLETED │
│ Task ID a3f8b2c1d4e5... │
│ Duration 4.2s │
╰─────────────────────────────────────────────────╯
╭─ Cost Breakdown ────────────────────────────────╮
│ agent: researcher $0.00420 │
│ agent: writer $0.00180 │
│ TOTAL $0.00600 │
╰─────────────────────────────────────────────────╯
╭─ Agent Topology ────────────────────────────────╮
│ ├── [research] Researcher (claude-sonnet) │
│ └── [writing] Writer (claude-haiku) │
╰─────────────────────────────────────────────────╯
| | Build from scratch | Forge | |---|:---:|:---:| | Wrap any framework | ✗ Manual | ✓ 1 command | | Real-time cost tracking | ✗ Manual | ✓ Per-agent, per-model | | Self-optimization loop | ✗ You build it | ✓ Opt-in, snapshot-safe | | Cross-run memory | ✗ None | ✓ Hybrid vector + graph + symbolic | | Tool governance (MCP) | ✗ None | ✓ 8-layer pipeline | | Spec-driven quality gates | ✗ Manual | ✓ SLSA Level 2 attestation | | Audit trail | ✗ Log files | ✓ Full provenance chain | | Production-ready | ✗ Weeks | ✓ Day 1 |
Wraps LangGraph, CrewAI, AutoGen, or any async callable. No migration required. Framework is auto-detected from imports.
Every run generates telemetry. The evolution loop analyzes it and proposes (or auto-applies) mutations:
PromptRewriteMutator)ModelSwapMutator)TopologySnapshot (AgentCullMutator)ParameterTuneMutator)Auto-trigger is off by default. Three consecutive failed mutations open a circuit breaker and suspend the loop until an operator calls forge evolve resume or orchestrator.resume_evolution().
forge evolve run my_flow.py --mode auto
# ⚗ Proposed: Swap researcher from claude-opus → claude-sonnet
# ↳ Applied. Fitness: 0.72 → 0.91 (+0.19)
forge evolve status # read the journal
forge evolve resume my_flow.py # re-arm the breaker
A hybrid knowledge base that accumulates and retrieves knowledge across runs:
HybridMemoryforge memory query "optimization techniques the researcher found last week"
forge memory ingest my_document.txt --tag topic=RAG
forge memory status
FORGE_PRICING_TABLE_PATH → ~/.forge/pricing.json (7-day TTL) → bundled table; unknown models warn loudly instead of silently billing $0--budget 1.50) — runs cancelled at the ceilingforge observe # open the live dashboard
forge doctor # diagnose your installation
forge doctor update-pricing # refresh the local pricing cache
Routes, secures, and budgets all Model Context Protocol tool calls through an 8-layer governance pipeline:
forge mcp list-tools # show available tools
forge mcp call <tool> <args> # invoke a tool
forge mcp serve # expose Forge memory + evolution as MCP tools
forge mcp status # inspect budget and cache state
Context-aware rule packs with a fixed precedence lattice and compile-time scope analysis:
MOST_SPECIFIC_WINS or PRIORITY_FIRST_MATCHforge rules validate my_rules.yaml
forge rules lint my_rules.yaml # find scope overlaps
forge rules explain --path "src/**" # show which rules apply
forge rules diff v1.yaml v2.yaml
Intent-based skill dispatch with structured SKILL.md loading:
agent_id scoped to the parent run_idasyncio.wait_forforge skills list # show loaded skills
forge skills explain <name> # describe parameters and examples
forge skills run <name> <args> # invoke a skill
Structured acceptance criteria, deterministic attestation, and evolution guardrails:
ConstraintViolationError before any spec-breaking change is appliedforge spec init my_feature.yaml # scaffold a new spec
forge spec verify --spec my_feature.yaml --result run.json
forge spec attest --spec my_feature.yaml # generate provenance
Parallel review pipeline with severity-based blocking:
on_plan, pre_apply, pre_stop, pre_mergeErrorRateReviewer, CostCeilingReviewer, SpecConstraintReviewer, StatusReviewerforge review run --context run.json
forge review show --id <review_id>
Diagnose a local install in one command: Python version, installed adapter extras, active memory backends, environment variable state, and optional network egress (--network).
┌───────────────────────────────────────────────────────────────────────┐
│ forge wrap my_flow.py │
└───────────────────────────────┬───────────────────────────────────────┘
│
┌──────────▼──────────┐
│ MetaOrchestrator │ forge-os-core
│ Detect + Instrument│
│ + EventBus + Run │
└──┬──────────────────┘
│
┌───────────────┼──────────────────────┐
│ │ │
┌────▼────┐ ┌──────▼──────┐ ┌──────────▼───────────────┐
│ Adapter │ │ Observe │ │ Living Collaborative │
│ │ │ OTel + Cost │ │ Memory │
│ Lang │ │ REST + SSE │ │ Vector+Graph+Symbolic │
│ Graph / │ └─────────────┘ │ HybridMemory + RRF │
│ CrewAI /│ └──────────────────────────┘
│ AutoGen │
└─────────┘
│
┌────▼────────────────────────────────────────────────────────┐
│ Governance Layer │
│ │
│ ┌────────────┐ ┌──────────────┐ ┌──────────────────┐ │
│ │ forge-rules│ │ forge-spec │ │ forge-review │ │
│ │ Deny/Req/ │ │ SpecVerifier │ │ P0–P3 severity │ │
│ │ Suggest │ │ + Attester │ │ CascadingReviewer│ │
│ └────────────┘ └──────────────┘ └──────────────────┘ │
│ │
│ ┌────────────┐ ┌──────────────┐ │
│ │ forge-mcp │ │ forge-skills │ │
│ │ 8-layer │ │ IntentDispatch│ │
│ │ pipeline │ │ + SKILL.md │ │
│ └────────────┘ └──────────────┘ │
└─────────────────────────────────────────────────────────────┘
│
┌────▼─────────────────────────┐
│ Evolution Loop │ forge-os-core
│ Observe → Hypothesize │
│ → Mutate → Evaluate │
│ → Commit / Rollback │
└──────────────────────────────┘
Full write-up in docs/architecture.md.
# Core harness + CLI (LangGraph, CrewAI, AutoGen adapters require extras)
pip install forge-os
# With framework adapters
pip install 'forge-os[langgraph]'
pip install 'forge-os[crewai]'
pip install 'forge-os[autogen]'
pip install 'forge-os[all]' # all adapters
# Governance and tooling extras
pip install 'forge-os[rules]' # context-aware rule packs
pip install 'forge-os[mcp]' # MCP meta-orchestrator
pip install 'forge-os[skills]' # skills runtime
pip install 'forge-os[spec]' # spec-driven development
pip install 'forge-os[review]' # review agents + policy gates
Requirements: Python 3.11+. No Docker required for local development.
# my_flow.py
from langgraph.graph import StateGraph, END
from typing import TypedDict
class State(TypedDict):
query: str
answer: str
def researcher(state: State) -> State:
return {"answer": f"Research: {state['query']}"}
graph = StateGraph(State)
graph.add_node("researcher", researcher)
graph.set_entry_point("researcher")
graph.add_edge("researcher", END)
app = graph.compile()
forge wrap my_flow.py --input '{"query": "What is RAG?"}'
forge wrap my_flow.py \
--input '{"query": "Latest agent harness papers"}' \
--evolution
import asyncio
from forge_core.harness import MetaOrchestrator
from forge_core.types import TaskEnvelope
async def main():
orchestrator = MetaOrchestrator()
await orchestrator.load("my_flow.py")
result = await orchestrator.run(
TaskEnvelope(input={"query": "What is Forge?"})
)
print(f"Cost: ${result.cost.total_cost:.5f}")
print(f"Duration: {result.duration_ms:.0f}ms")
print(f"Output: {result.output}")
asyncio.run(main())
forge spec init acceptance.yaml
# edit acceptance.yaml — define ASSERTION/REGEX/CONTAINS criteria
forge wrap my_flow.py --spec acceptance.yaml --evolution
# SpecConstraintGuard now blocks any mutation that would violate the spec
Forge ships as eleven composable packages. Installing forge-os pulls the core set; optional extras add the governance and tooling layers.
| Package | PyPI | Description |
|---------|------|-------------|
| forge-os-core | | Types, protocols,
MetaOrchestrator, evolution loop + FSM, circuit breaker |
| forge-os-memory | | Living Collaborative Memory — vector + graph + symbolic with RRF fusion |
|
forge-os-adapters | | LangGraph, CrewAI, AutoGen, and generic async callable adapters |
|
forge-os-observe | | OpenTelemetry tracing, three-tier FinOps cost model, REST + SSE API |
|
forge-os-cli | |
forge command — 10 command groups, 30+ subcommands |
| forge-os-mcp | | MCP meta-orchestrator with 8-layer governance pipeline |
|
forge-rules | coming soon | Context-aware rule packs — Deny/Require/Suggest with conflict resolution |
| forge-skills | coming soon | Intent-based skill dispatch and SKILL.md loading |
| forge-spec | coming soon | Spec-driven acceptance criteria and SLSA Level 2 attestation |
| forge-review | coming soon | Parallel review agents with P0–P3 severity and cascading policy gates |
| forge-os | | Meta-package — installs core, CLI, adapters, memory, and observe |
| Variable | Default | Description |
|---|---|---|
| FORGE_ENABLE_EVOLUTION_AUTO | 0 | Auto-apply evolution mutations without human approval. Off by default; enable only in trusted environments. |
| FORGE_ENABLE_LLM_JUDGE | 0 | Score run quality with an LLM call after each run. Adds ~1 LLM call per run. Expected cost: ~$0.001/evaluation at Haiku pricing. |
| FORGE_LLM_JUDGE_MODEL | claude-haiku-4-20250514 | Model used by the LLM-as-judge scorer when FORGE_ENABLE_LLM_JUDGE=1. |
| FORGE_LLM_CIRCUIT_BREAKER | 1 | Enable the LLM circuit breaker (trips after 5 consecutive failures; 30s recovery window). |
| FORGE_ENABLE_MEMORY_INJECTION | 0 | Inject relevant memory context into each run before agent execution. |
| FORGE_ENABLE_LLM_ENTITY_EXTRACTION | 0 | Use an LLM to extract entities for the graph memory layer after each run. |
| FORGE_INTENT_MODEL | (configured) | Model used by the IntentClassifier for skill and rule routing. |
| FORGE_INTENT_CONFIDENCE_THRESHOLD | (configured) | Minimum confidence score before the intent classifier dispatches a skill. |
| FORGE_OBSERVE_MAX_SSE_SUBSCRIBERS | 50 | Maximum concurrent SSE subscribers on the live event stream. Returns HTTP 503 beyond this limit. |
| FORGE_API_ALLOWED_ORIGINS | (empty) | Comma-separated CORS origins for the observe API. Empty = same-origin only. |
| FORGE_PRICING_TABLE_PATH | (empty) | Path to a JSON pricing table that overrides the bundled prices. |
| FORGE_PRICING_TABLE_URL | (configured) | URL used by forge doctor update-pricing to refresh the local pricing cache. |
| FORGE_OBSERVE_AGENT_BASE_URL | (empty) | Base URL published in the A2A Agent Card at /.well-known/agent.json. |
v0.2.0 is live — the full governance platform (forge-spec, forge-review, forge-rules, forge-skills, forge-os-mcp) ships in this release alongside the core harness, adapters, memory, and observability stack.
Planned for upcoming releases:
Anything that graduates to shipped must land with a row in docs/feature-map.md.
Issues, bug reports, and pull requests are welcome — see CONTRIBUTING.md and open an issue at github.com/angelnicolasc/forge/issues.
Security reports: please read SECURITY.md.
Apache 2.0 — enterprise-friendly, commercial use allowed. 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-angelnicolasc-forge/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-angelnicolasc-forge/contract"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-angelnicolasc-forge/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-angelnicolasc-forge/snapshot",
"contractUrl": "https://www.xpersona.co/api/v1/agents/crewai-angelnicolasc-forge/contract",
"trustUrl": "https://www.xpersona.co/api/v1/agents/crewai-angelnicolasc-forge/trust"
},
"curlExamples": [
"curl -s \"https://www.xpersona.co/api/v1/agents/crewai-angelnicolasc-forge/snapshot\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/crewai-angelnicolasc-forge/contract\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/crewai-angelnicolasc-forge/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:08.827Z"
}
},
"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": "Angelnicolasc",
"category": "vendor",
"href": "https://github.com/angelnicolasc/forge",
"sourceUrl": "https://github.com/angelnicolasc/forge",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-05-31T06:18:12.952Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "protocols",
"label": "Protocol compatibility",
"value": "OpenClaw",
"category": "compatibility",
"href": "https://www.xpersona.co/api/v1/agents/crewai-angelnicolasc-forge/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-angelnicolasc-forge/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-05-31T06:18:12.952Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "handshake_status",
"label": "Handshake status",
"value": "UNKNOWN",
"category": "security",
"href": "https://www.xpersona.co/api/v1/agents/crewai-angelnicolasc-forge/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-angelnicolasc-forge/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true,
"metadata": {}
}
]Change Events JSON
[]
Sponsored
Ads related to forge and adjacent AI workflows.