openagents-api

openagents-api is a skill for Claude Code, Codex from OpenAgentsInc/openagents. It costs 48 tokens per session (710 once invoked), scanned A, original, Apache-2.0.

A guide for calling OpenAgents, a service that provides one API for sending requests to multiple AI models. It covers compatible request formats, authentication with an API key, model selection, pricing documentation, and common error responses.

In plain words
What is it for?
Use it to send Open Responses or OpenAI Chat Completions requests through OpenAgents, choose a model, and handle missing keys or rate limits.
Why use it?
It gives applications one connection method instead of requiring separate integration details for each supported model.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to send Open Responses or OpenAI Chat Completions requests through OpenAgents, choose a model, and handle missing keys or rate limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openagentsinc/openagents/openagents-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenAgentsInc/openagents --skill openagents-api
Clone the repo
git clone --depth 1 https://github.com/OpenAgentsInc/openagents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openagents-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/openagentsinc/openagents/openagents-api/github.svg)](https://agentmods.dev/skills/openagentsinc/openagents/openagents-api)
Your own site
<a href="https://agentmods.dev/skills/openagentsinc/openagents/openagents-api"><img src="https://agentmods.dev/badge/skills/openagentsinc/openagents/openagents-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openagents-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/openagentsinc/openagents/openagents-api"><img src="https://agentmods.dev/badge/skills/openagentsinc/openagents/openagents-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 710 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00710
Opus 5.5 $0.00019 $0.00284
Sonnet 5.5 $0.00010 $0.00142
Haiku 4.5 $0.00005 $0.00071

Measured 8d ago against content hash 5d864639558f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openagents-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl https://api.openagents.com/v1/responses \
crates/openagents-web/content/skills/openagents-api/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenAgents API

One API for many models. It speaks Open Responses and the OpenAI Chat Completions API, so OpenAI SDKs work with two changes. Beta.

Base URL https://api.openagents.com/v1 (https://openagents.com/api/v1 and https://openagents.com/v1 still answer but are deprecated)
Key Authorization: Bearer $OPENAGENTS_API_KEY (an oak_ key)
Docs https://openagents.com/docs/api.md
Prices https://openagents.com/docs/api/models.md
Getting a key https://openagents.com/auth.md
Docs for agents https://openagents.com/docs/agents/start-here.md

Steps

  1. Read the key from OPENAGENTS_API_KEY. If it is missing, tell the person to make one at https://openagents.com/settings/api-keys, or sign up as an agent yourself (https://openagents.com/docs/agents/sign-up.md); never ask for it in chat or write it to a file.

  2. Send a request:

    curl https://api.openagents.com/v1/responses \
      -H "Authorization: Bearer $OPENAGENTS_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"model": "openagents/chat", "input": "Say hello."}'
    

    openagents/chat lets OpenAgents pick the model. Name one (see the prices page) to choose it yourself.

  3. With an OpenAI SDK, set base_url to https://api.openagents.com/v1 and pass the key as the API key.

  4. On 429, wait for Retry-After. On 402, the balance is too low; tell the person. Every answer has an x-request-id to quote when asking for help.

Reading the docs as tools

The docs MCP server at https://openagents.com/mcp/docs (Streamable HTTP, no key) has list_docs, search_docs, read_doc, and list_models.

More tasks

Each is a page with the exact requests, as Markdown:

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed · +15 lines 5d864639558f
  2. 14d ago First seen · 45 lines · 48 tokens per session scan A 42b35fa699ef

Subscribe to this mod's changes

openagents-api is a skill published in the GitHub repository OpenAgentsInc/openagents (458 stars, last pushed today), licensed Apache-2.0. It adds 48 tokens to every session and 710 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.

Related

Other skills, from other repositories

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Discovers requirements and designs an end-to-end governed agentic analytics solution using Knowledge Catalog and Managed Service for Apache Spark (Lightning Engine). Use when designing data science and analytics workflows across structured and unstructured distributed data (including in S3, Azure Blob, AlloyDB, and…

google/skills · 132 tokens

training-check

Interactively monitor training metrics from the current Codex session, periodically checking WandB or fallback logs for NaN, divergence, plateaus, and broken runs.

wanshuiyin/Auto-claude-code-research-in-sleep · 35 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

finetuning

Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset preparation, training job submission, deployment, and evaluation. USE FOR: fine-tune, SFT, DPO, RFT, training data, grader, distillation, fine-tuned model, training job, large file…

microsoft/skills · 132 tokens