A local OpenAI-compatible gateway that brings provider routing, account pools and streaming into one endpoint. Connect your editor or agent. Keep your choice of model.
Requests still go to the upstream provider you choose. Local gateway does not mean offline inference.
MIAWCODE / TERMINAL AGENT
Less switching. More shipping.
A coding agent in your terminal, built with Rust, Go and Bun. Read a codebase, edit with anchored changes, run commands and recover through checkpoints.
Provider credentials and repository trust are configured locally. Review permissions before running commands.
MIAWCODE IDE / DESKTOP WORKSPACE
Stay inside your flow.
A Code - OSS workspace with agent assistance in the editor. Plan before a change, build with tools, and review with evidence. Familiar editor foundations, a new way to work.
WORKSPACE ENGINE Code - OSS foundationIN DEVELOPMENT
Agent modes
Agent · Plan · Review
Editor services
Languages · debug · terminal
Gateway setting
21188 default
For MiawRouter
Change to 21128
Distribution
No public installer yet
Availability
In development
Not a download announcement. Development status and configuration details remain visible in the product notes.
02 / INTENT → ACTION
MiawCode IDE / three working modes
Think it through. Then make it real.
Not every task needs a file change. Pick the right kind of help, with clear boundaries.
● ● ●MIAWCODE / WORKSPACEILLUSTRATIVE DEMO
$ task: fix the parser edge case
Read first. Change nothing.
Read-only investigation produces a plan with real files, assumptions, risks and verification steps.
.miawcode/plan.md
# Parser recovery
01 Read parser and its callers
02 Trace null input through tests
03 Specify guard + regression check
Files src/parser.ts · test/parser
Verify npm test
Next Approve & run in Agent mode
$ task: execute the approved plan
Make the change. Prove it works.
Agent edits files, runs tools under your approval policy and checks the result before reporting.
Task progress
[done] Read parser and test cases
[done] Add null-input guard
[done] Add regression check
$ npm testPASS parser handles empty input
Ready for your review.
$ task: review the pending diff
Find the bug. Show the evidence.
Review never modifies files. Findings carry severity, file, line, evidence and a concrete fix.
Verified finding / example
HIGH src/auth.ts:42
Token remains valid at exact expiry.
Check uses < instead of <=.
FIX Compare with <=.
Add exact-expiry regression test.
Confirmed bugs stay separate
from suspicions and unchecked paths.
YOUR WORKSPACE. YOUR APPROVAL.
03 / CONNECT THE DOTS
OpenAI-compatible by design
One endpoint. Your whole workflow.
CLIENTSMiawCode / IDEOr your preferred tool
LOCAL GATEWAYMiawRouter127.0.0.1:21128/v1
INFERENCEYour chosen modelsCloud APIs or local runtimes
Connecting the IDE? Its bundled gateway setting defaults to 21188. Change it to 21128 for MiawRouter.