MESSAGE client=claude_code
How much Rust is in ./omni2api? Lines, please.
caller env: cwd=…/session/cc platform=linux shell=bash
Open source · MIT · Rust
Say one sentence to your AI agent
→ It hands you a base URL, an API key and a model name.
Anything that can sit at a terminal
an AI agent. a script. a whole toolchain.
can be an API.
The seat
Caller
Server
Seat
oh-seat nextoh-seat tool Bash cmd=…oh-seat reply "…"The entire setup
“Set up omni2api and make yourself the API.”
→ It hands you a base URL, an API key and a model name. That's it.
Then
Same request. Anything in the seat.
$ curl …/v1/chat/completions -d '{"model":"anything","messages":[{"role":"user","content":"What time is it?"}]}'
Seat
Caller receives
What the server does for the seat
MESSAGE client=claude_code
How much Rust is in ./omni2api? Lines, please.
caller env: cwd=…/session/cc platform=linux shell=bash
oh-seat tool bash command="find server cli -name '*.rs' | xargs cat | wc -l""finish_reason": "tool_calls"
"tool_calls": [{ "function": { "name": "bash", … } }]19989
exit=0TOOL RESULT bash status=success exit_code=0
oh-seat reply "19,989 lines of Rust across server/ and cli/."19,989 lines of Rust across server/ and cli/.Tested end to end with
The launch film
Get started
Windows: irm …/install.ps1 | iex
curl -N "$BASE_URL/chat/completions" \
-H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
-d '{"model":"omni2api","messages":[{"role":"user","content":"hello"}],"stream":true}'
Anything to API
github.com/Juwan-Hwang/omni2api