Skip to content
Agentv0.1.0

Cocoon API Proxy

OpenAI-compatible API proxy for decentralized AI models on the Cocoon network (TON blockchain). Provides chat completions, model listing, API key management, and TON-based billing. Use when you need t

by knyazev741(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

A2A agent card imported from knyazev741/cocoon-proxy-api (.well-known/agent.json). Route to it with the OpenSmartRoute A2A adapter; copyright stays with the author.

Cocoon API Proxy

OpenAI-compatible API proxy for decentralized AI models on the Cocoon network (TON blockchain). Provides chat completions, model listing, API key management, and TON-based billing. Use when you need to query AI models like Qwen/Qwen3-32B via a standard OpenAI-format API with cryptocurrency payments.

Skills

  • Chat Completion - Send messages to a Cocoon AI model and receive generated text responses. Supports streaming (SSE) and non-streaming modes. Use when you need AI-generated text from models like Qwen/Qwen3-32B.
  • List Models - Retrieve the list of AI models available on the Cocoon network. Use to discover valid model IDs before making chat completion requests.
  • Create API Key - Generate a new API key and unique deposit code for a new user account. The key is shown once at creation. Use when setting up a new client for the proxy.
  • Check Balance - Return current TON balance for the authenticated API key. Use before making requests to verify sufficient funds are available.
  • Get Deposit Info - Return TON wallet address and unique memo code for depositing funds. Use when you need to add TON to fund an API key account.

Capabilities

streaming, chat_completions, models_listing, billing, deposits

Endpoint: http://localhost:8000

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/knyazev741-cocoon-proxy-api-cocoon-api-proxy/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

knyazev741-cocoon-proxy-api-cocoon-api-proxy.ocm.jsonjson
{
  "ocm": "1",
  "id": "knyazev741-cocoon-proxy-api-cocoon-api-proxy",
  "kind": "agent",
  "name": "Cocoon API Proxy",
  "description": "OpenAI-compatible API proxy for decentralized AI models on the Cocoon network (TON blockchain). Provides chat completions, model listing, API key management, and TON-based billing. Use when you need to query AI models like Qwen/Qwen3-32B via a standard OpenAI-format API with cryptocurrency payments.",
  "publisher": "knyazev741",
  "version": "0.1.0",
  "capabilities": {
    "domains": [
      "coding",
      "data_analysis"
    ],
    "tags": [
      "a2a",
      "agent-card",
      "github-a2a"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "OpenAI-compatible API proxy for decentralized AI models on the Cocoon network (TON blockchain). Provides chat completions, model listing, API key management, and TON-based billing. Use when you need to query AI models like Qwen/Qwen3-32B via a standard OpenAI-format API with cryptocurrency payments."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-a2a",
      "repository": "https://github.com/knyazev741/cocoon-proxy-api",
      "path": ".well-known/agent.json",
      "ref": "507e8f4238cb557e183d551b55545627a222b950",
      "url": "https://github.com/knyazev741/cocoon-proxy-api/blob/507e8f4238cb557e183d551b55545627a222b950/.well-known/agent.json",
      "key": "knyazev741/cocoon-proxy-api/.well-known/agent.json"
    }
  }
}

Fetch it by URL: GET /api/v1/registry/knyazev741-cocoon-proxy-api-cocoon-api-proxy/manifest?version=0.1.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.