← Back to Docs

Quick Start Guide

Get from zero to 40-60% cheaper AI calls in under 2 minutes.

1

Create Your Account

Sign up for free — no credit card required. Beta has unlimited free usage.

2

Get Your API Key (30 seconds)

The fastest way — run one command:

# Python
pip install agentready-sdk && agentready init

# Node.js
npx agentready-sdk init

Or get your key at agentready.cloud/quick-key — it starts with ak_.

3

Swap Your base_url (Recommended)

The fastest integration — just change your OpenAI base_url and every call is automatically compressed:

from openai import OpenAI

client = OpenAI(
    base_url="https://agentready.cloud/v1",   # ← only change
    api_key="ak_...",                          # your AgentReady key
    default_headers={
        "X-Upstream-API-Key": "sk-...",        # your OpenAI key
    },
)

# Everything works exactly like before — but 40-60% cheaper
response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello!"}],
)
3b

Or Use the SDK Helper

# Python
pip install agentready-sdk openai
import agentready

client = agentready.openai("ak_...", upstream_key="sk-...")
response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello!"}],
)
# Node.js
npm install agentready-sdk openai
import { createClient } from 'agentready-sdk';

const client = createClient({ apiKey: 'ak_...', upstreamKey: 'sk-...' });
const res = await client.chat.completions.create({
  model: 'gpt-4o',
  messages: [{ role: 'user', content: 'Hello!' }],
});
3c

Or Monkey-Patch Existing Code

from agentready import patch_openai
patch_openai(api_key="ak_...")

# All existing OpenAI code now compresses automatically

🎉 That's it!

Every API call now goes through AgentReady's proxy — prompts are compressed automatically, saving 40-60% on tokens. Check your dashboard to see savings in real time.