Skip to content
Browser Use

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/v1 Endpoint: /v1/chat/completions
Every snippet below follows your choice.

Set it up

  1. Install Browser Use and a browser

    Shell
    pip install browser-use
    playwright install chromium
  2. Run an agent on Shannon

    Set use_vision=False for a model without image input; with an image model such as Kimi-K3-uncensored-NVFP4 you can leave screenshots on.

    Python
    import 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())
    Browser Use log on shannon-coder-1: it opens a cat shelter page, reads the list and answers that Leo is the oldest cat
    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 idContext windowMax outputImage 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_steps caps 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=False skips it.
  • file:// pages are blocked by Browser Use's security policy; serve local pages over http:// instead.

Tips

  1. BrowserProfile(headless=True) runs without a window, for servers.
  2. ANONYMIZED_TELEMETRY=false turns off Browser Use's usage telemetry.
  3. history.final_result() returns the agent's last answer; the history also lists every action.

Troubleshooting

SymptomCauseFix
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.

Choose your language

All languages are equal. Pick the one you want to browse in.

Europe

Middle East & North Africa

South Asia

Southeast Asia

East Asia

Central Asia & Caucasus

Africa

Oceania

Constructed & Classical