Skip to content
Skillpedia
General coding7.0k Β· #13609

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.md

Copy 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

Use this skill to help me: https://github.com/internet-court/internet-court-skill/blob/main/vendored/antseed/antseed-connect/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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:8377 that 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 with antseed network browse.

  • Service β€” a single model id like claude-sonnet-4-6 or deepseek-v4-flash. This is what you pass as model in your tool's config. Each service has its own native protocol list and its own in / cachedIn / out pricing.

  • Protocols (per service) β€” the wire formats a service accepts natively, advertised on each peer in providerServiceApiProtocols[provider].services[service]. Values are anthropic-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.json and 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 model to <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.

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.

repo: internet-court/internet-court-skill

Popularity

GitHub stars
7.0k
Ranking position
#13609
License
β€”
Updated
10/26/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills