Authorization notice. Agent 2 is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA developer who prefers a browser view to a terminal and wants to see every tool call as it happens.
The problemA terminal session makes it hard to keep track of several running commands and the agent's memory and rules at once.
The outcomeA browser tab at localhost where you can follow the agent's tool calls and manage memory, rules, keys, and MCP panels.
What you need first
- Python 3.9 or newer
- A free Gemini API key from aistudio.google.com/apikey
- A local project folder you want the agent to work in
- For the security use case: Burp Suite or OWASP ZAP installed, and written permission to test the target
Steps
- Run
python run.py --webfrom the Agent 2 folder. - Open http://localhost:1311 in your browser.
- Give the agent a coding task and follow the streaming tool calls as they appear.
- Open the memory and rules panels to check what the agent is carrying into each prompt.
- Run
python run.py --dualinstead if you want the browser and the CLI on the same database at once.
Prompt for your agent
Start the Agent-2 web server from <path-to-agent2> with `python run.py --web` and use it to add a unit test to <path-to-project>. Expected output: the new test file and a streamed log of tool calls. Verify that the test runs and passes when you run it yourself.
Caveat. The web UI runs locally at localhost:1311, and the README describes it as a local tool rather than a hosted service.
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
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page