Niko1221 3cb933d298 responses: Codex multi-agent v2 items (agent_message, multi_agent_call) are read, not refused (#4210, #5244)
Codex's multi-agent v2 sends a worker its task, and the parent the
worker's answer, as `agent_message` input items on /v1/responses, and may
send agent calls as `multi_agent_call` / `multi_agent_call_output`.
Strata answered 400 "input items of type 'agent_message' are not
supported", so every worker request failed (a Codex Security scan
stopped in its first phase).

One adapter in serve/responses.py (input_messages and two new helpers,
_agent_message and _agent_payload; nothing in serve/server.py, the
tool-call parser or the prompt-tools cache changes):
- an agent_message becomes a user message: Codex's own input_text
  header (Message Type, Task name, Sender, Payload) and the payload part
  as they are; a message without that header gets one line naming its
  author and recipient;
- an encrypted_content payload part holds plain text when the agents run
  here (Codex builds it): read as text; one this server sealed (the
  reasoning ENCRYPTED_PREFIX form) is opened; another server's ciphertext
  (OpenAI's Fernet tokens) or a damaged seal is named as unreadable,
  never passed off as text;
- an agent_message that arrives between a turn's calls and their outputs
  is placed after those outputs, so each call's result still follows its
  call in the template; it is never dropped;
- multi_agent_call(_output) are a call (name, or "action") and its result.
Requests without these items render as before.

From PR #4210 (WenyuanXu) and PR #5244 (bsorensen110), consolidated into
one adapter as the review asked; neither PR's code is taken as is. Not
taken: #5244's second commit (a forked sub-agent turn's prompt reusing
the parent's namespace tools): a prompt-cache change, separate.
Not run: a pinned Codex multi-agent client.

Test: serve/test_responses_agent_message.py (9 unit cases and one live
/v1/responses request on the mock engine: 8 fail or error on the base,
the live one with the 400; 10 pass); serve.test_responses passes (53 in
both files).
2026-11-16 18:45:54 +01:00
2026-10-13 04:36:28 +02:00
2026-10-13 04:36:30 +02:00

Strata

Run powerful AI on your own computer.

Chat, code and work with images, locally.

Models · Install · Hardware · Tools · Help · Support

Download Strata MIT license Sponsor Strata on GitHub Sponsors Support Strata on Buy Me a Coffee

English · 简体中文 · 日本語 · Deutsch · Français · Español · Português · Polski

Free, open source, and yours to run. Use Strata on your desktop or with your favorite coding tools. No account needed.

Models

We recommend ISTA-DASLab first, then Unsloth and other providers, where a compatible model fits.

 Qwen3.8-Flash-Next
Provider Choices
ISTA-DASLab · recommended Q2_0, IQ2_XS, IQ3_XXS, IQ3_S. Coder: IQ1_M for coding.
Unsloth UD-IQ4_XS, UD-Q4_K_XL, UD-Q5_K_XL, UD-Q6_K_XL, Q8_0
Gyro · agentionai Gyro-S, Gyro-M. Lower memory use but slower.
Other options Swift 1.5, NVFP4, OrcaRouter

Compare sizes, memory needs and compatibility.

 Qwen3.6-35B-A3B

Unsloth: UD-Q4_K_XL, UD-Q6_K_XL, Q8_0. These are the currently documented packs for this model.

Model guide and compatibility.

Not sure what fits? Choose a model for your computer.

Install

Desktop app

Download Strata for Windows, Linux or Mac →

Install the app, choose a model, and start chatting. There is one installer for each system. On first start the app downloads the engine for your graphics card. Help with the installer.

Files: Strata-0.2.15-windows-x64-setup.exe · Strata-0.2.15-linux-x86_64.AppImage · Strata-0.2.15-macos-arm64.dmg

Strata desktop app with a chat and live code preview side by side
Chat, files and a live preview in one window.

Terminal app

Prefer the terminal? Install Strata, then run strata launch.

Install commands

Linux / Mac

curl -fsSL --connect-timeout 15 --max-time 120 https://github.com/Niko1221/Strata/releases/latest/download/install.sh -o install.sh && sh install.sh

Windows PowerShell

irm -TimeoutSec 120 https://github.com/Niko1221/Strata/releases/latest/download/install.ps1 | iex

On Windows, open a new terminal afterwards. Then:

strata launch

Follow the prompts to download and start a model. Terminal guide.

Strata terminal app showing model activity, speed, memory and recent requests
Watch your model and hardware while it runs.

Build from source · Docker · Full install guide

Hardware

Supported hardware Guide
NVIDIA GeForce RTX 20 / 30 / 40 / 50 series NVIDIA setup
AMD Radeon RX 7700 / 7800 / 7900, RX 9060 / 9070, AI PRO R9700 AMD setup
AMD Radeon RX 6800 / 6900 · experimental RX 6000 setup
Intel Arc · Linux Intel setup
Apple Silicon · M1 or newer Mac setup
AMD Ryzen AI Max · Strix Halo Strix Halo setup
NVIDIA DGX Spark · Linux DGX Spark setup

Tools

Claude Code · Codex CLI · OpenCode · oh-my-pi · pi.dev · Hermes Agent · OpenClaw, and more through the OpenAI- and Anthropic-compatible APIs.

Run strata connect to see setup instructions for your tool. Connection guide.

Help

All guides · Troubleshooting · Report a bug · Benchmarks · How it works · Contribute

Support Strata

Help keep local AI open to everyone. A GitHub sponsorship or a coffee helps fund development and testing on more hardware.

GitHub Sponsors: sponsor Strata Buy Me a Coffee: support Strata

Loyal supporters

Thank you to everyone who supports Strata.

ryan4yin themactep macintog bisonbet vizv kod88vn seoulworker jackyini router0mail

MIT license · Credits and model licenses · Privacy

For AI tools and automated readers: technical reference · setup instructions.

Sponsorships, hardware partnerships or collaborations: niko.veit@outlook.com.

S
Description
Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
Readme MIT
884 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 45.1%
Python 25%
Cuda 13.8%
JavaScript 7.5%
TypeScript 2.5%
Other 5.8%