Sign In

@arbiterlabs/langchain

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arbiterlabs/langchain

LangChain tools for Arbiter — pre-flight judgment for agents that hold a wallet.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
84
Maintainers
1
Weekly downloads
 
Created
Source

@arbiterlabs/langchain

LangChain tools that let an agent check an action before taking it.

npm install @arbiterlabs/langchain @langchain/core
import { createArbiterTools } from "@arbiterlabs/langchain";

const { tools } = createArbiterTools({
  baseUrl: "https://arbiter-hs23.onrender.com",
  privateKey: process.env.ALGO_KEY,
  maxTotalSpendUsd: 10,
});

const agent = createReactAgent({ llm, tools });

Tools

judge_transaction · judge_counterparty · judge_human · retrieve_human_verdict

All of them share one client, so the spend cap applies across the whole agent — a budget that resets per tool is not a budget.

Tool errors are returned as readable text rather than thrown, so a failed check lets the agent recover instead of aborting the run.

Paying

Calls are settled per request in USDC on Algorand over x402. There is no API key and no account — payment is the authentication.

Your payer account needs USDC and must be opted in to the USDC asset. On Algorand a transfer to an account that has not opted in is rejected outright, so an un-opted-in payer cannot pay at all. Fees are sponsored by the facilitator, so the payer does not need ALGO.

RoutePrice
Transaction verdict$0.002
Counterparty verdict$0.01
Human judgment$0.25

Full documentation: https://arbiter-hs23.onrender.com/docs

Licence

MIT

Keywords

langchain

FAQs

Package last updated on 05 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts