NeoSyntropyProxy

Client / Proxy

Connect the agent you already run

Use the OpenAI-compatible chat endpoint without moving tools, memory, or application state out of your runtime.
POST/api/v1/chat/completions

OpenAI client

Set the base URL once. Calls made through this configured client go through NeoSyntropy; your other clients remain unchanged.

Pythonpython
import os
from openai import OpenAI

proxy = OpenAI(
    api_key=os.environ["NEOSYNTROPY_API_KEY"],
    base_url="https://api.neosyntropy.com/api/v1",
)

reply = proxy.chat.completions.create(
    model="default",
    messages=[{"role": "user", "content": "Summarize the customer request."}],
)

print(reply.choices[0].message.content)

Direct HTTP client

TypeScripttypescript
const response = await fetch(
  "https://api.neosyntropy.com/api/v1/chat/completions",
  {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.NEOSYNTROPY_API_KEY}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      model: "default",
      messages: [{ role: "user", content: "Summarize the customer request." }],
    }),
  },
);

if (!response.ok) throw new Error(`Proxy failed: ${response.status}`);
const completion = await response.json();

Your runtime stays in charge

  • The proxy receives the messages and model options you send.
  • Tools execute in your process after your code accepts a tool call.
  • Memory, retries, approvals, and application side effects stay with your agent.

Use your runtime's native adapter