Personal and autonomous agents
Use Browser Use with Shannon
Give Browser Use's Agent a ChatOpenAI model pointed at Shannon, turn vision off for text-only models, and let it work in a browser.
- Tested Nov 7, 2026
- OpenAI Chat Completions
- About 4 min
About Browser Use
Browser Use lets an agent open pages, read them, click and type in a real Chromium browser, from Python or its own CLI. It sends the page as text, and optionally as screenshots, to the model at each step. Its ChatOpenAI class takes a base URL, so the agent can run on Shannon models.
What you need
- A Shannon API key
- Keys & usage
- Base URL
-
https://api.shannon-ai.com/v1Endpoint:/v1/chat/completions - Every snippet below follows your choice.
Set it up
-
Install Browser Use and a browser
Shellpip install browser-use playwright install chromium -
Run an agent on Shannon
Set
use_vision=Falsefor a model without image input; with an image model such asKimi-K3-uncensored-NVFP4you can leave screenshots on.Pythonimport asyncio from browser_use import Agent, ChatOpenAI llm = ChatOpenAI(model="Kimi-K3-uncensored-NVFP4", base_url="https://api.shannon-ai.com/v1", api_key="YOUR_API_KEY") async def main(): agent = Agent( task="Open https://example.com and tell me the page title.", llm=llm, use_vision=True, ) history = await agent.run(max_steps=5) print(history.final_result()) asyncio.run(main())
A real run on Browser Use 0.13.14 with use_vision=False: one step, one request, the right answer.
Check that it works
Send: Run the sample.
You should see: The agent opens the page and prints its title.
Models that fit Browser Use
Every id below meets what Browser Use needs. The first one is the default in the snippets.
| Model id | Context window | Max output | Image input |
|---|---|---|---|
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
Kimi-K3.1-Pro-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
MiMo-V2.6-Pro-uncensored-NVFP4 | 1,022,976 | 131,072 | Yes |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | Yes |
shannon-3 | 196,608 | 65,536 | Yes |
Good to know
- Each step sends the page content to the model, so prompts grow quickly; a long-window model suits browsing.
- With
use_vision=True, screenshots go to the model; text-only models then fail on image input. max_stepscaps the requests one task can make.- At the end of a run, a judge asks the model whether the task succeeded, which is one more request;
use_judge=Falseskips it. file://pages are blocked by Browser Use's security policy; serve local pages overhttp://instead.
Tips
BrowserProfile(headless=True)runs without a window, for servers.ANONYMIZED_TELEMETRY=falseturns off Browser Use's usage telemetry.history.final_result()returns the agent's last answer; the history also lists every action.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| The browser does not start | No Chromium is installed. | Run playwright install chromium, or pass executable_path in a BrowserProfile. |
| Errors about image input | Vision is on for a text-only model. | Set use_vision=False. |
401 Unauthorized | The key is missing, mistyped or rotated. | Copy the key again from Keys & usage; it starts with sk-. |
context_length_exceeded / "prompt is too long" | The conversation is longer than the model's window. | Start a new chat, let the tool compact it, or pick a model with a larger window. |
insufficient_quota | Your balance cannot pay for the request. | Top up or change plan; the request is not retried by itself. |
Questions
Does Browser Use work with Shannon?
Yes, through its ChatOpenAI class with base_url="https://api.shannon-ai.com/v1".
Which model should I use?
One with tool calls and a long window; with image input it can also use screenshots.