Credentials. The OpenAI key is read from the OPENAI_API_KEY environment variable, so keep it out of shared shells, screenshots, and logs.
Who it is forA Windows user who wants Chrome or Cursor traffic for specific sites sent through a proxy, but finds hand-writing process, domain, and port rules error-prone.
The problemMany Windows applications do not expose useful proxy controls, and writing routing rules by hand is slow and easy to get wrong.
The outcomeA reviewed set of disabled routing rules that you edit as needed and then enable yourself, with everything else staying direct.
What you need first
- A Windows machine where the IntentRoute AI release can run
- A sing-box v1.13+ installation that the app can start as its external TUN process
- An OpenAI API key for cloud drafts, or Ollama installed with a local model for loopback-only drafts
- Proxy details for any rule that routes traffic through a proxy
Steps
- Get the IntentRoute AI release from its GitHub Releases page and start the app on Windows.
- Run
[Environment]::SetEnvironmentVariable('OPENAI_API_KEY', 'your-api-key', 'User')in PowerShell, then restart IntentRoute AI. - Select OpenAI, enter an intent such as the plain-language example in the README, and request a draft.
- Review the preview and edit any draft field such as process, action, domains, ports, or protocol.
- Accept the draft as disabled rules, then enable each rule you want as a separate action.
Prompt for your agent
Using the Vincent-Xi08/IntentRoute-AI repo, write a plain-language intent describing the traffic to route for <target application>, and walk through the OpenAI draft flow. Expected output: a list of disabled rules with process, host, port, protocol, and action fields. Verify that every rule is disabled until a user enables it.
Caveat. The README calls this a v0.31.0 preview and warns that AI output can be incomplete or wrong, so every generated rule needs your review before it is enabled.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Vincent-Xi08/IntentRoute-AI and "Draft per-app proxy rules from plain language"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer