INNER CODE UNIT · Python

browser_options

feder-cr/Jobs_Applier_AI_Agent_AIHawk · src/aihawk/cli.py:65

def browser_options(fn):
    for opt in reversed(BROWSER_OPTIONS):
        fn = opt(fn)
    return fn


@click.group(invoke_without_command=True)
@click.pass_context
def main(ctx) -> None:
    """Drive a stealth browser with an LLM.

    Without a subcommand this is the MCP server over stdio: `uvx aihawk` is
    what an assistant registers, `python -m aihawk` is what the interface
    spawns. `aihawk ui` is the interface, which brings a model.

    The model comes from OpenRouter and nowhere else: pass --openrouter-key or
    set OPENROUTER_API_KEY. Without one the interface refuses to start - an
    agent is a model with a browser, and there is no half of it to serve. To

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…