Onyxby Digital Cloud Ops
Developers

One hosted service. Four ways to use it.

Onyx is a service we host in AWS. You reach it with an API key: through the API, the Python and TypeScript SDKs, the web console, or the onyx CLI installed on your machine. Each of them lets you pick the model and the effort level.

In development The service addresses on this page do not answer yet. The software behind them runs on our own machines, and access is by request.

API

Messages in, code out.

A small HTTP API: send messages, get an answer, whole or streamed. Tool calls are read from the model's answer and accepted only when they name a tool you offered in the request.

  • POST /v1/messages — answers, with or without streaming, with tools
  • POST /v1/messages/count_tokens — the size of a request before you send it
  • POST /v1/chat/completions — the same answers in the chat-completions request format
  • GET /v1/models — the models, their context length and effort levels

In development Base address: https://api.onyx.brevyn.io. Every request needs a key, sent in the x-api-key header; keys are stored only as hashes.

curl https://api.onyx.brevyn.io/v1/messages \
  -H "x-api-key: $ONYX_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "model": "onyx-medium",
    "effort": "medium",
    "max_tokens": 400,
    "messages": [{
      "role": "user",
      "content": "A Terraform variable of type list(string) named subnets."
    }]
  }'
from onyx_sdk import Onyx

client = Onyx(base_url="https://api.onyx.brevyn.io", api_key="onyx-sk-...")
message = client.messages.create(
    model="onyx-medium",
    effort="medium",
    max_tokens=400,
    messages=[{
        "role": "user",
        "content": "A Terraform variable of type list(string) named subnets.",
    }],
)
print(message.text)
import { Onyx, textOf } from "onyx-sdk";

const client = new Onyx({
  baseURL: "https://api.onyx.brevyn.io",
  apiKey: process.env.ONYX_API_KEY!,
});
const message = await client.messages.create({
  model: "onyx-medium",
  max_tokens: 400,
  messages: [{
    role: "user",
    content: "A Terraform variable of type list(string) named subnets.",
  }],
});
console.log(textOf(message));
Chat

Ask about code, in the browser or the terminal.

The chat is the simplest way to use Onyx: a conversation about code, with the model and the effort level of your choice. It runs as a page in the browser and as onyx chat in the terminal. Today it is a plain conversation; the capabilities marked Planned are what it is being built towards.

Built
  • Conversations. Several turns that keep their context, listed and kept in your browser.
  • Readable answers. The model's plan folded above the answer, code blocks with their language and a copy button, tokens and time per answer.
  • Model and effort. Chosen per conversation, changed at any point.
  • In the terminal. onyx chat, with /save and /load to keep and continue a conversation, /system to set instructions, /model and /effort.
Planned
  • Skills. Packaged instructions the chat loads when a task needs them: how your team writes a module, cuts a release, names its resources.
  • MCP servers. The chat connected to your own sources over the Model Context Protocol (MCP): repositories, tickets, documentation.
  • Live previews. Generated code, diagrams and pages shown in a panel next to the conversation, with versions you can go back to.
  • Attached files. A source file, a plan output or an error log dropped into the conversation.
  • Code that is run. Answers checked by running them in a sandbox before you see them.
  • Projects. Conversations grouped, with shared instructions and files.
  • Web search. Current documentation and release notes, with the sources shown.

Skills and MCP servers already work in the Onyx CLI; in the chat they are planned.

CLI

An agent in your terminal that asks first.

Install onyx on your machine, give it your key, run it in a project and describe the change. The CLI works in your repository: it reads the files it needs, proposes edits as diffs, runs the commands you allow and keeps a task list you can see. The model is not on your machine; the CLI sends each request to the Onyx service, and to no third-party model provider.

An illustration of the interface, drawn from its real screens. The recorded run of this task is on the home page.

Built
  • Tools. Fourteen built in: read, write and edit files, search by name and by content, run shell commands (also in the background), keep a task list, fetch a web page, delegate to subagents.
  • Permission modes. Ask for everything, accept edits, plan only, or run unattended in a sandbox; allow and deny rules per tool and per command.
  • Subagents. Independent parts of a task go to subagents with their own context; several run at the same time and only their answers come back. Two types are built in, general and explore, and a project can define its own.
  • Hooks. Your own checks at five moments: before and after a tool, when a prompt is sent, when the model stops, when a session starts. A failing terraform validate keeps the turn open until it is fixed.
  • MCP servers. External tools over MCP, as a local process or over HTTP.
  • Skills and custom commands. Defined per project, in plain files.
  • Memory. Instructions for the user, the project and a subdirectory, read in that order.
  • Sessions. Saved, resumed and rewound: /rewind undoes the last turns and restores the files they changed. Long sessions are compacted by rule before the context fills.
  • Pipelines. onyx -p "…" --output-format json runs without a terminal.
Planned
  • Background subagents. Subagents that report while the main agent goes on with other work.
  • Project index. Search by meaning across a large repository, not only by text.
  • Editor and CI integration. Onyx inside the editor, and as a ready-made step in a pipeline.
  • Web search.

Built Built-in commands

CommandWhat it does
/helplist the commands
/clearstart a new conversation
/compactshrink the conversation, keeping the current task
/initwrite the project's memory file from its layout
/memoryshow the memory files, or add a line
/modelshow or choose the model
/effortshow or choose the effort level
/configshow settings, or save one for the project
/permissionsshow or change the mode and the allow and deny rules
/usagetokens used in this session
/statusproject, session, model, effort, mode
/resumelist saved sessions or resume one
/rewindundo the last turns and restore the changed files
/agentslist the subagents
/mcplist the MCP servers and their tools
/hookslist the configured hooks
/doctorcheck the installation and the connection
/exitleave

A line that starts with ! runs a shell command directly. Projects can add commands of their own.

Everything marked Built describes the tool, and is covered by tests on a scripted model. How well a model uses it is a separate question, described on the evaluation page; no result for the current model is published yet.

Console and SDKs

The parts around the model.

Workbench

Compose a request, choose the model and effort, see the plan and the answer, then copy the same request as curl, Python or TypeScript.

Keys, history, usage

Create and revoke API keys, look back at requests, and see tokens per key, per model and per effort level. In development at onyx.brevyn.io/console/.

Chat

A chat page for questions about code, with conversations kept in your browser. The same chat runs in the terminal as onyx chat. In development at onyx.brevyn.io.

Python SDK

A typed client for messages, streaming, tools, token counting and models, with runnable examples.

TypeScript SDK

The same surface, typed, with no dependencies. Runs in a recent Node directly from the source.

In your own AWS account

Deployment of Onyx in a customer's own AWS account is possible on request. It is not a standard offer and has no list price.

Onyx is not yet public.

The service, SDKs and CLI are working software, to be opened to early-access teams while the first fine-tune is trained. Nothing is on sale yet; the planned prices are on the models page.