Langsung ke konten
Skillpedia
Pemrograman umum7.0k ยท #13609

antseed-connect

Fungsinya

Panduan ini menunjukkan cara menghubungkan alat pengodean populer dan pustaka AI ke AntSeed, sebuah pasar peer-to-peer untuk akses model AI. Setelah terhubung, permintaan melewati proxy lokal kecil di komputer Anda.

Kapan dipakai

  • โœ“Saat Anda ingin Claude Code, Codex, atau alat serupa mengirim permintaan melalui AntSeed.
  • โœ“Ketika Anda membangun aplikasi dengan pustaka AI dan ingin AntSeed sebagai penyedianya.
  • โœ“Ketika Anda perlu mengatur alamat lokal yang harus dipanggil alat Anda.

Link skill

https://github.com/internet-court/internet-court-skill/blob/main/vendored/antseed/antseed-connect/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/internet-court/internet-court-skill/blob/main/vendored/antseed/antseed-connect/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œSaya ingin Claude Code mengirim permintaannya melalui AntSeed.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AntSeed menjalankan proxy lokal kecil di alamat tetap di komputer Anda. Alat Anda diarahkan ke alamat itu seperti endpoint AI lainnya, lalu proxy menemukan penyedia di jaringan dan mengirim permintaan ke sana.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Apakah AntSeed menjual kunci API atau akses langganan?

Tidak. Skill ini menyatakan AntSeed untuk layanan AI bernilai tambah, dan penyedia harus mengikuti ketentuan layanan hulu.

Alat apa saja yang dicakup panduan ini?

Panduan ini mencantumkan beberapa, termasuk Claude Code, Codex, OpenCode, LangChain, Vercel AI SDK, dan panggilan HTTP biasa.

Bagaimana AntSeed membayar penyedia?

Skill ini menyatakan AntSeed menyelesaikan pembayaran dalam USDC di jaringan Base.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
7.0k
Peringkat
#13609
Lisensi
โ€”
Diperbarui
26/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa