A LangChain research agent that pays for data from x402 endpoints. Every payment audited by Sentinel.
- Agent receives a research task
- Uses x402 endpoints to fetch paid data
- All payments tracked with full audit trails
- Budget limits prevent overspending
- Cryptographic receipt for every payment
git clone https://github.com/valeo-cash/x402-langchain-agent
cd x402-langchain-agent
cp .env.example .env # Add your API keys
npm install
npm startOPENAI_API_KEY=your-openai-key
SENTINEL_API_KEY=your-sentinel-key # optional
Open sentinel.valeocash.com to see every payment your LangChain agent made — amount, endpoint, tx hash, receipt.
npx @x402sentinel/test https://your-endpoint.comVerify your x402 endpoints are correctly configured before going to production.
Powered by Sentinel