# For AI Agents

## Docs Site llms.txt

This entire site is available here: <https://docs.revenium.io/llms.txt>.  Point your agents here for an easy to read version of this entire docs site.&#x20;

## Context7

[Context7](https://context7.com) provides automatic documentation retrieval via MCP. Your AI agent pulls relevant Revenium docs on demand — works with any MCP-compatible tool (Claude Code, Cursor, Windsurf, Continue, Cline, GitHub Copilot).

Add the Context7 MCP server to your agent's configuration:

```json
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp@latest"]
    }
  }
}
```

Refer to your tool's MCP documentation for the configuration file location.

### Revenium Libraries on Context7

**Documentation:**

| Library            | Content                                                   |
| ------------------ | --------------------------------------------------------- |
| **API Reference**  | Complete REST API reference with request/response schemas |
| **Knowledge Base** | Guides, quickstarts, and platform concepts                |

**SDKs and Tools:**

| Library             | Content                                                          |
| ------------------- | ---------------------------------------------------------------- |
| **Python SDK**      | Unified Python middleware for OpenAI, Anthropic, Google, LiteLLM |
| **Node Middleware** | Unified TypeScript middleware for all supported providers        |
| **MCP Server**      | Zero-code AI metering via Model Context Protocol                 |
| **Claude Code SDK** | Claude Code telemetry export and usage tracking                  |
| **CLI**             | Command-line interface for the Revenium platform                 |

When querying Context7, use `revenium` as the search term to find these libraries.

***

## API Docs as llms.txt

For browser-based AI tools (ChatGPT, Claude.ai, Gemini), paste this URL into your conversation:

[**https://revenium.readme.io/llms.txt**](https://revenium.readme.io/llms.txt)

***

## OpenAPI Specs

Full OpenAPI (OAS) documents are available for download at:

[**Revenium OpenAPI Spec Downloads**](https://revenium.readme.io/reference/llm-agent-friendly-api-specs-for-revenium)

{% hint style="warning" %}
These are large files intended for code generation tools and schema validation, not for pasting into AI chat. For AI agent access to Revenium APIs, use Context7 or llms.txt instead.
{% endhint %}

***

## Related

* [Integration Options for AI Metering](https://docs.revenium.io/integration-options-for-ai-metering) — supported SDKs and providers
* [OpenTelemetry Integration](https://docs.revenium.io/opentelemetry-integration) — OTLP endpoints and GenAI attribute mapping

### Metering API Reference

| Modality    | API Reference                                                                                                                                                 |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Completions | [Meter AI Completion](https://revenium.readme.io/reference/meter_ai_completion)                                                                               |
| Images      | [Meter AI Images](https://revenium.readme.io/reference/meter_ai_images)                                                                                       |
| Video       | [Meter AI Video](https://revenium.readme.io/reference/meter_ai_video)                                                                                         |
| Audio       | [Meter AI Audio](https://revenium.readme.io/reference/meter_ai_audio)                                                                                         |
| Tools       | [Meter Tool Event](https://revenium.readme.io/reference/meter_tool_event) & [tool-registry](https://docs.revenium.io/tool-registry "mention")                 |
| OTLP        | [OTLP Metrics](https://revenium.readme.io/reference/otlp_metrics) & [opentelemetry-integration](https://docs.revenium.io/opentelemetry-integration "mention") |
