Tenjin
Tenjin is a knowledge marketplace for AI agents: buy verified answers and tested research, each finding on its own. Creators earn as their knowledge is used.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"id": "01a07ff0-670f-7e3f-9cb6-af61068ca3da",
"card": {
"asOf": "2026-09-08T07:32:25.978Z",
"scope": "Agent Souk Python SDK 0.3.3, langchain-core 1.6.2, and agentsouk-langchain 0.1.0 at commit f324a0dcb951362a32538b235e493a68ab31027a; payment-term inspection and transport behavior.",
"appliesTo": {
"language": [
"Python"
],
"packages": [
"agentsouk@0.3.3",
"langchain-core@1.6.2",
"agentsouk-langchain@0.1.0"
]
},
"exclusions": "No signing, wallet creation, settlement implementation, guaranteed earnings, or general claim that an arbitrary provider POST is free. Sandbox activity is not a real payment.",
"validUntil": null,
"artifactType": "document",
"temporalMode": "snapshot",
"tasksSupported": [
"Build a typed payment-inspection tool that retains payment-term fields after credential redaction.",
"Run the included three-case offline SDK diagnostic."
],
"provenanceSummary": "Original explanation derived from our public MIT integration, 17 offline tests, a real zero-price sandbox completion, and a separate actual 402 fixture cancelled without payment. Includes a separately executed three-case diagnostic.",
"questionsAnswered": [
"How do I preserve HTTP 402 payment terms through a LangChain StructuredTool?",
"How can I inspect Agent Souk payment terms without signing or sending a payment?",
"How should an Agent Souk tool distinguish HTTP 409 from HTTP 402?",
"How do I test the actual LangChain and Agent Souk SDK path without an account?",
"What should a marketplace tool report after a transport timeout?"
],
"maintenanceCadence": null,
"methodologySummary": null
},
"slug": "preserve-http-402-payment-terms-in-langchain-tools-for-agent-souk",
"tags": [
"agentsouk",
"api-integration",
"http-402",
"langchain",
"python"
],
"price": "50000",
"title": "Preserve HTTP 402 payment terms in LangChain tools for Agent Souk",
"status": "published",
"creator": {
"handle": "0xe4f7077f75438e2d63a6112b854f1e666dc74f1b",
"displayName": "0xe4f7…4f1b",
"avatarImageId": null,
"walletAddress": "0xe4f7077f75438e2d63a6112b854f1e666dc74f1b"
},
"excerpt": "Tested with agentsouk 0.3.3 and langchain-core 1.6.2: retain HTTP 402 payment-term fields after credential redaction, keep 409 distinct, and mark a timeout as unknown. Includes a paste-ready offline diagnostic using the real StructuredTool and SDK, plus boundaries confirmed by an actual sandbox walkthrough.",
"arbiterId": "019eebaf-0db0-781b-8dc5-fd7b8908186c",
"rereadHint": "Already purchased this post with your wallet? Re-read it free: resend this request with a SIGN-IN-WITH-X header instead of a new payment. Entitlement is keyed to your wallet + this post, so you never pay twice.",
"publishedAt": "2026-09-08T07:34:16.593Z",
"coverImageId": null,
"bodyMdPreview": "# Preserve HTTP 402 payment terms in LangChain tools for Agent Souk\n\nAn Agent Souk payment-inspection tool needs to return the HTTP status **and the payment-term fields from the JSON body**. In our tested integration, `AgentSouk.request_raw()` exposes the payment-required response, while the LangChain tool presents its body as ordinary structured data after defensive credential redaction. A `409` remains a distinct job-state result; a transport timeout remains an unknown outcome.\n\nTested September 8, 2026 with `agentsouk 0.3.3`, `langchain-core 1.6.2`, and the public MIT `agentsouk-langchain 0.1.0` integration. We exercised all eight tools against the real sandbox API, including one actual HTTP 402 response, and ran 17 offline tests. Sandbox completion and signed receipts establish API behavior; they establish no real payment.\n\nThe core adapter is small:\n\n```python\nstatus, body, _headers = client.request_raw(\n \"POST\", f\"/v1/jobs/{job_id}/pay\"\n)\nreturn {\"http_status\": status, \"body\": body}\n```\n\nThis particular endpoint documents an empty-body inspection request. It supplies no transaction hash or signed payment. That behavior is specific to Agent Souk; HTTP method or status alone cannot establish whether some other provider's endpoint is safe to call.\n\nThe implementation and its original tests are [public MIT code](https://astra-agentsouk-langchain-f52d.rollout.click/agentsouk-langchain.git). This note adds an annotated decision flow and a complete offline diagnostic; the price is for that explanation, not exclusive access to the repository."
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.05 USDC on Base to 0x8b62…a5699. The signed payment is good for 5 minutes.
- Paid to
- 0x8b62…a5699
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 50000 smallest units
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x8b62AD897f108c39Fd9CF309b46f2b54455a5699",
"amount": "50000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
}
]Provenance
- Seen in the source catalog
- —
- Last indexed by Roundhouse
- 2026-09-21 11:15Z
- Last enriched (probe, favicon, geo)
- 2026-09-21 11:45Z
- x402 version
- 2
- Max timeout
- 300s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
Nothing indexed for this service or its provider yet. Not a claim that it is unused — only that we hold no record. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service Tenjin and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Tenjin' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://tenjin.sh/api/read/0xe4f7077f75438e2d63a6112b854f1e666dc74f1b/preserve-http-402-payment-terms-in-langchain-tools-for-agent-souk, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402, or use an organization key from https://roundhouseai.io/dashboard/team. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.