Onyx Agent CLI

Onyx запускает команды агентов-воркеров, которые ищут улучшения кода и метрик в вашем репозитории, а вы направляете их из /onyx

  • 71 ★ репозитория
  • Последний коммит
  • Apache-2.0
CLI

Широкий доступ

Почему такой уровень

  • Воркеры запускают код и инструменты оценки в вашем репозитории, а без onyx/sandbox.json их ограничивает только проверка области изменений
  • Установщик запускается как скрипт из интернета, а результаты сессии синхронизируются с платформой Onyx
Все причины и проверки

onyx-robotics/onyx-agent

Установка

Работает в

В терминале, через SkillFoxx CLI

npx skillfoxx add cli/onyx-agent

Определит агенты на машине, покажет уровень доступа и зафиксирует версию.

Другие способы установки

Доступ и проверки

Как мы проверяем

Широкий доступИнструмент может менять данные, выполнять команды или работать с секретами.

  • Воркеры запускают код и инструменты оценки в вашем репозитории, а без onyx/sandbox.json их ограничивает только проверка области изменений
  • Установщик запускается как скрипт из интернета, а результаты сессии синхронизируются с платформой Onyx

Это чужой код. Посмотрите файлы в репозитории перед установкой.

Что делает

Onyx организует исследование кода силами нескольких агентов. Вы открываете Claude Code, Codex или OpenCode в репозитории и командой /onyx просите настроить проект: цель, метрика, изменяемая область, инструменты оценки. Onyx готовит собственные средства измерения и запускает сессию, где оркестратор распределяет задачи между воркерами, а каждый воркер ставит эксперименты. Каждый эксперимент оформляется коммитом git с метриками и метаданными, поэтому найденные улучшения легко превратить в `pull request`. Сессия ограничена: флаг --experiments задает точное число принятых экспериментов, --max-minutes крайний срок. Сессию наблюдают командой `onyx listen` в соседнем терминале или на платформе app.onyxresearch.ai. Число воркеров меняет `onyx research scale --workers`, остановку делает `onyx research stop`. Менять курс можно разговором с основным агентом, например попросить бросить PID-регулятор и развивать MPC. Установка идет скриптом, который кладет `onyx` в ~/.local/bin и открывает вход через браузер. Поддерживаются Claude Code, Codex и OpenCode со встроенными запускателями (--agent claude, codex, `opencode`) и скиллом /onyx, а для других агентов есть --worker-command. Файл onyx/sandbox.json включает песочницу `bubblewrap` в Linux или Seatbelt в macOS для воркеров и запускаемых ими инструментов оценки.

Для кого. Инженерам, которые улучшают метрики кода и железа, например скорость или точность регулятора, и хотят подключить к этому сразу несколько агентов.

Подходит, если

  • Регулятор или алгоритм нужно ускорить, и воркеры параллельно проверяют идеи с измеримой метрикой
  • Каждый эксперимент должен остаться коммитом с метриками, чтобы удачные превратились в `pull request`
  • Бюджет исследования ограничен: считаются принятые эксперименты и время
  • Воркеры не должны выходить за рабочую копию, и в проект добавляется onyx/sandbox.json
  • Курс исследования меняется разговором: бросить одно направление и развивать другое

Не подходит, если

  • Нужна одна небольшая правка кода: оркестратор и воркеры избыточны для разового изменения
  • Нет измеримой метрики: Onyx строится вокруг оценки каждого эксперимента
  • Сеть воркеров нужно ограничивать: сетевой доступ песочницей не режется, защита инфраструктуры остается на пользователе
  • Нельзя пускать агентов к проекту без изоляции: без onyx/sandbox.json воркеры не ограничены ничем, кроме проверки области изменений

Пример запроса к агенту

/onyx Help me setup my project to run onyx research, цель: снизить задержку регулятора, метрика: среднее время цикла, правим только папку `controller`

Ограничения

  • Для входа нужна учетная запись Onyx: установщик открывает браузер, по SSH используется авторизация устройства.
  • Файлы scope.editable и scope.protected в onyx/setup.json только направляют воркеров и проверяют результирующие коммиты, а ограничивает доступ ОС лишь файл onyx/sandbox.json.
  • Песочница работает на `bubblewrap` (Linux) и Seatbelt (macOS), доступ к сети в ней не ограничен.
  • Ограничение по `exec` на Linux требует Landlock через `util-linux setpriv` 2.40 или новее, разрешенный интерпретатор все равно запускает любой читаемый скрипт.
  • Нужен установленный и авторизованный CLI провайдера (Claude Code, Codex или OpenCode).
  • Лицензия Apache-2.0, документация и платформа на сайте onyxresearch.ai.

Как отключить. Сессию останавливает `onyx research stop`. Скилл /onyx удаляется из каталога скиллов агента, а команда `onyx` и папка ~/.local/bin/onyx убираются вручную. В репозиториях остаются папка onyx/ и коммиты экспериментов, их удаляют обычным способом git.

Частые вопросы

Как установить Onyx?

Командой curl -fsSL https://onyxresearch.ai/install.sh | bash. Установщик кладет `onyx` в ~/.local/bin, помогает с PATH и открывает вход через браузер, а по SSH использует авторизацию устройства.

С какими агентами работает Onyx?

С Claude Code, Codex и OpenCode через встроенные запускатели и скилл /onyx. Для других агентов задают собственную команду воркера флагом --worker-command.

Как ограничить сессию?

Числом принятых экспериментов и крайним сроком в минутах. Работающую сессию масштабируют командой `onyx research scale` и останавливают командой `onyx research stop`.

Что остается после эксперимента?

Каждый эксперимент оформляется коммитом git с метриками и метаданными, из такого коммита удобно сделать `pull request`.

Как изолировать воркеров?

Добавьте в проект onyx/sandbox.json. Тогда каждая сессия идет в песочнице `bubblewrap` на Linux или Seatbelt на macOS, а запись разрешена только в рабочую копию воркера. Сеть песочница не режет.

Обсуждение

Вопросов и отзывов пока нет.

CLI держит агентов Claude Code круглосуточно в сессиях PTY, а управлять ими можно из Telegram, панели и по расписанию.

CLIШирокий доступ107Звезды репозитория

Geckobox запускает Claude Code, Codex и другие CLI-агенты на ваших компьютерах и в песочницах и ведет задачи в локальном дашборде

CLIШирокий доступ69Звезды репозитория
Официальный

Self-hosted панель для управления несколькими агентами: постановка задач, обзор прогонов, учет трат и подключение по MCP, CLI или REST

MCP-серверШирокий доступ6,5 тыс.Звезды репозитория

Оркестратор для Claude Code, Codex и Gemini CLI: сценарии на YAML повторяются, пока проходят ваши проверки

CLIШирокий доступ334Звезды репозитория

Open Dynamic Workflow превращает повторяемые задачи агентов в проверяемые скрипты для Codex, Gemini, Cursor и других CLI.

CLIРасширенный доступ84Звезды репозитория

Плагин Codex и MCP-мост к приложению, которое записывает вашу работу на компьютере и строит из нее граф шагов для агента

ПлагинШирокий доступ175Звезды репозитория

Сравнение с похожими

Карточки с тем же главным запросом: чем они отличаются.

ИнструментОфициальныйЗвезды репозиторияГлавное отличие
Onyx Agent (эта карточка)нет71
autoresearch-claude-codeнет350цикл одного агента для улучшения метрики, без пула воркеров и платформы наблюдения
CoAutoResearchнет115другой проект совместных исследований агентов со своим форматом экспериментов

Коротко о README

README начинается командой установки и быстрым стартом через скилл /onyx и `onyx listen`. Затем схема оркестратора с воркерами, ограничения сессии, таблица поддерживаемых агентов и раздел о песочнице с примером sandbox.json. Завершают ссылки на документацию, заметки по разработке, лицензия и описание восстановления отчетов после сбоя сети.

Бейдж для README

Исходный SKILL.md

---
name: onyx
description: Coordinate the Onyx parallel auto research workflow. Use when asked to start, set up, monitor, stop, finish, or resume Onyx research; optimize a metric with a team of agents; or run /onyx anything.
---

# Onyx Parallel Auto Research

You are the main-thread Onyx orchestrator. The user talks to you. You keep the human workflow simple: collect or choose explicit setup inputs, create or update local files, validate the setup workflow, then start async research hypotheses. The overall research process consists of two phases:

1. Setup
2. Research

If the user is continuing their research from a pre-existing setup, and that setup is both ready and appropriate for the user's prompted research, you may skip to the research phase. Otherwise, complete the setup phase first.

When running in WSL2, execute every Onyx, Git, provider and evaluator command in
the same Linux distribution. Keep repositories, Git metadata and credentials in
Linux-local storage. Windows qualification status is documented in the Windows
via WSL2 guide; do not infer general Windows support from a working shell.

## Phase 1: Setup

The setup phase is a one-time critical process for a research campaign where you will build the tools and workflow to be used by the parallel research worker agents. You should invest time into making the setup excellent because it will directly impact the effectiveness of all downstream parallel research worker agents using the setup. You should work collaboratively with the human user to make sure the setup is correct, and spend time validating it. Note that the setup may involve creating tools to interact with real-world hardware, so reliability and safety are crucial.

1. Ask or infer the goal, immutable metric name/unit/direction, editable and protected scopes, evaluator, reset/readiness/safety tools, resource limits, and whether workers should be OS-confined (committing `onyx/sandbox.json` turns this on; `{}` uses the defaults, plus any extra `read`/`write`/`exec` paths and `devices` such as serial ports). Do not yet ask about research session settings like hypotheses, worker capacity, and experiment/deadline bound, unless the user explicitly mentions this in their prompt.
2. **PAUSE** - Present the items from setup step number one to the user as a nice list, and wait for the user to continue. If anything is unclear or needs refinement, work collaboratively with the user to correctly identify each of the items from step one.
3. Run `onyx setup init`, then deliberately complete `onyx/setup.json`, `onyx/onyx.md`, and `onyx/tools/*`. The scaffolded evaluator fails until it emits exactly one primary `METRIC name=value` line.
   - Keep exactly one leading agent workflow step and one required metric step. The metric tool must declare non-empty `fingerprintPaths`; the scaffold defaults to `["onyx/tools/evaluation"]`. Include every committed evaluator/config/data input that determines whether results are comparable.
   - Tool commands in `onyx/setup.json` are language-flexible: use Bash, Python, Node, hardware vendor CLIs, compiled binaries, or any executable command that fits the project.
   - Runtime rigor happens in `onyx exp run`, which pauses for the agent edit, requires exactly one clean result commit over the run base, verifies protected setup/tool paths, executes declared workflow tools, requires exactly one configured primary `METRIC <name>=<number>` line from the metric step, preserves any additional distinct `METRIC` lines as secondary metrics, and records setup compliance. Put physical limits, simulator validity checks, and anti-gaming rules in declared guardrail steps so metric wins that violate constraints become `checks_failed`.
4. Run `onyx setup validate`, inspect `metric_tool_readiness` and make any adjustments if needed.
5. **PAUSE** - Present the setup to the user and wait for them to either continue or ask about the setup. The setup process is critical to the success of the rest of the research process, so work collaboratively with them to discuss any notable details. You should point out any concerns you have or things the user should be aware of about the setup and research being worked on, so that you and the user collaboratively come up with the best setup possible.
6. Commit the complete setup surface. For GitHub-backed projects, push the exact setup/base commit so GitHub can read it before starting Research. Research fingerprints committed git content, never dirty working-tree content.
7. Run `onyx campaign setup --name <slug> --description <goal>`. Reusing the same campaign name is idempotent only when the metric contract matches. A metric change requires a new campaign. Evaluator changes remain in the campaign but create a separate evaluation revision; never compare metrics across revisions as a single leaderboard.

## Phase 2: Research

The research phase begins after you have completed the setup phase, or if you are resuming research from a pre-existing completed setup. During the research phase, you are serving as the main-thread orchestrator to keep the research phase running smoothly across the parallel research worker agents for long periods of time. The user may interact with you, asking questions or asking you to take actions on the research process. Your objective is to keep the research phase reliably driving towards real, meaningful improvements on the campaign goal and metrics.

1. **PAUSE** - Present the setup and current research state to the user and wait for the user to specify: the number of workers, the model/provider used for those workers (state user's current default, and suggest using a smaller/cheaper model for the workers), experiment limits (number of experiments or max minutes), and hypotheses they'd like to explore. Hypotheses are durable conceptual options that a user may ask you to seed or they might want to specify themselves, these are not branches or mutable git bases. Adding or reopening affects future sessions only. Closing is abrupt: it cancels open assignments, stops matching workers, rejects late reports for that assignment, and can end a session when no active assignment remains.
   - List: `onyx research hypothesis list --campaign <slug>`
   - Add: `onyx research hypothesis add --campaign <slug> --name <name> --focus <focus> --hypothesis <statement>`
   - Close: `onyx research hypothesis close --campaign <slug> --hypothesis <name-or-id>`
   - Reopen: `onyx research hypothesis reopen --campaign <slug> --hypothesis <name-or-id>`
2. Start research with `onyx research run --campaign <slug> [--workers <n>] [--hypothesis <name-or-id>]... [--base <ref>] [--hypothesis-base <hypothesis>=<ref|experiment:id>]... (--experiments <n> | --max-minutes <n>)`. Closely watch the beginning of research and spinning up of workers to make sure the research process starts smoothly. There is more information on the research workers below.
   - Every run creates a new remote session. Never resume or attach to an old session. Defaults are committed `HEAD`, every active hypothesis, and one worker. Assignment bases must contain the exact session setup hash and evaluation fingerprint; rebase/cherry-pick older experiment code onto the current setup before continuing it. Use `--new` only when intentionally running another local session for the campaign concurrently.

Сообщить о проблеме