antseed-connect
What it does
This guide shows how to connect popular coding tools and AI libraries to AntSeed, a peer-to-peer marketplace for AI model access. Once connected, requests go through a small local proxy on your computer.
When to use it
- βWhen you want Claude Code, Codex or a similar tool to send requests through AntSeed.
- βWhen you are building an app with an AI library and want AntSeed as the provider.
- βWhen you need to set the local address that your tools should call.
Skill link
https://github.com/internet-court/internet-court-skill/blob/main/vendored/antseed/antseed-connect/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI want Claude Code to send its requests through AntSeed.β
5 new skills a week. 1 minute to read.
How it works
AntSeed runs a small local proxy at a fixed address on your computer. Your tool is pointed at that address like any other AI endpoint, and the proxy finds a provider on the network and sends the request there.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
AntSeed β Integration Skill
This file is the agent-readable companion to https://antseed.com/integrations. It tells any AI agent (Claude, Codex, OpenClaw, Hermes, custom) exactly how to wire its tool of choice up to the AntSeed peer-to-peer inference network.
What is AntSeed?
AntSeed is a peer-to-peer marketplace for AI inference. Buyers run a small
local daemon (the buyer proxy) that exposes an HTTP API at
http://localhost:8377 speaking the three caller-facing LLM API protocols:
Anthropic Messages, OpenAI Chat Completions, and OpenAI Responses. Legacy
OpenAI Completions is supported internally for adapter translation. The proxy
discovers providers on a DHT, routes the
request to a peer, translates between protocols when needed (via
@antseed/api-adapter), and settles in USDC on Base.
Important: AntSeed is for value-added AI services (specialized models, agents, TEEs, fine-tunes, managed workflows), not raw resale of API keys or subscription access. Providers must comply with upstream terms of service.
From the perspective of any tool, SDK, or agent, AntSeed is just a local
OpenAI/Anthropic-compatible endpoint β point a base_url at it and you are done.
Glossary (mental model)
Buyer proxy β the local server on
localhost:8377that accepts API calls from your tools and forwards them to AntSeed peers. It is the only thing your editor / agent / SDK ever talks to.Peer β someone selling inference. Each peer has a
peerId(40-char hex), a display name, and a list of services. List withantseed network browse.Service β a single model id like
claude-sonnet-4-6ordeepseek-v4-flash. This is what you pass asmodelin your tool's config. Each service has its own native protocol list and its ownin/cachedIn/outpricing.Protocols (per service) β the wire formats a service accepts natively, advertised on each peer in
providerServiceApiProtocols[provider].services[service]. Values areanthropic-messages,openai-chat-completions,openai-responses,openai-completions. This is the field to match your tool's wire format against. If your tool's wire format is in this list, the request passes through untouched; if not, the api-adapter translates on the fly.Cached input pricing β services charge a separate, much lower rate (typically 4β10Γ) for tokens that are reused across requests: system prompts, tool schemas, prior conversation turns, long files you keep referencing. The CLI exposes it as
cachedInputUsdPerMillion. For long-running agents and chatbots, this is often the dominant cost line.Pin β telling the buyer proxy "route requests to this peer." In the default manual flow, there is no peer auto-selection; you must choose a peer, send a per-request pin header, or start the proxy with a router plugin that performs selection. Common explicit routes:
- Session pin:
antseed buyer connection set --peer <peerId>. Persists in~/.antseed/buyer.state.jsonand applies to every request until you change it. - Per-request header:
x-antseed-pin-peer: <peerId>on each call. Overrides the session pin for that request, and works without any session pin at all. - Model prefix: set
modelto<peerId>@<service>. The proxy uses the prefix as the peer pin and forwards only<service>to the seller.
If both header and model-prefix pins are present, the header selects the peer; the model prefix is still stripped before routing. Until at least one of these is in effect, every request returns
no_peer_pinned.- Session pin:
Universal setup (do this once)
Option A β VPR desktop app (easiest)
Download from https://antseed.com β it ships the buyer proxy, a wallet, and a
peer browser in a GUI. While the app is open the proxy is reachable at
http://localhost:8377.
Option B β CLI (headless / servers / agents)
# 1. Install
npm install -g @antseed/cli
# 2. Identity (an EVM private key β 64 hex chars). Save this somewhere safe;
# you will reuse it across machines and it controls your USDC deposits.
export ANTSEED_IDENTITY_HEX=$(openssl rand -hex 32)
# SECURITY: never paste this key into chat, logs, GitHub issues, or a file
# committed to git. It controls the buyer identity and access to deposits.
# 3. Start the buyer proxy on :8377
antseed buyer start &
# 4. Browse the network and list every service (= model) each peer offers,
# along with its nati
FAQ
Does AntSeed sell API keys or subscription access?
No. The skill says AntSeed is for value-added AI services, and that providers must follow the terms of the upstream services.
Which tools does this guide cover?
It lists several, including Claude Code, Codex, OpenCode, LangChain, the Vercel AI SDK and raw HTTP calls.
How does AntSeed pay providers?
The skill says AntSeed settles payments in USDC on the Base network.
Details
Original description by the author
Connect coding agents, AI SDKs, and LLM tools to the AntSeed buyer proxy. Use when configuring Claude Code, Codex, OpenCode, Pi, OpenClaw, Hermes, GenLayer Studio, Vercel AI SDK, LangChain, or raw HTTP to route inference through AntSeed at localhost:8377.
Popularity
- GitHub stars
- 7.0k
- Ranking position
- #13609
- License
- β
- Updated
- 10/26/2026
Comments
- β¦
More skills from this repository
internet-court
7.0kHelps your agent pay, hire, or deal safely with another AI agent or paid service, and points it to the right specialized guide.
genlayer-erc7710-connector
7.0kHelps your agent connect an AI review result to a permission system, so a bad review can limit or cancel an agent's permissions.
genlayer-intelligent-contracts
7.0kHelps your agent define the rules, evidence and outputs of an AI judge that checks whether another agent followed its mandate.
x402-erc7710
7.0kHelps your agent pay for web services one request at a time, and set up ongoing spending that stays within a permission budget.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.