MiawRouter resolves providers, accounts, cache layers, and stream formats. Terminal and editor clients keep their normal OpenAI-compatible request shape.
Clients
MiawCode and IDE
→
MiawRouter
127.0.0.1:21128
→
Runtimes
Cloud and local models
MiawCode IDE currently defaults its bundled extension to port 21188. Change it to 21128 when connecting to MiawRouter.
Gateway overview
See the routing layer.
MiawRouter routes OpenAI-compatible requests through account pools, provider adapters, and local cache layers.
Quick start
Start with the surface you need.
Run the gateway
Install MiawRouter globally and start its local service.
MiawRouter
npm install -g miawrouter
miawrouter
Install the terminal agent
Install the published MiawCode CLI and start it with either command name.