OpenAI-compatible proxy
Run runelm in front of your application. Change one line in the SDK constructor. Every call now flows through classification, routing, and bounded rehydration.
# server side
$ runelm serve --config runelm.yaml
# client side — the only change
from openai import OpenAI
client = OpenAI(
base_url="http://localhost:8080/v1", # <-- swap
api_key="sk-runelm-...",
)
resp = client.chat.completions.create(
model="gpt-5",
messages=[{"role": "user", "content": prompt}],
)