Meet Reachy Mini: The $299 Robot That Brings AI to Your Desk
Wed, 09 Jul 2025

Technical knowledge and expert perspectives from the field.
In the fast-moving world of AI tools, developers want two things: power and simplicity. That’s exactly what Tiny Agents offer—smart AI agents you can build in just 50 lines of code.
In this guide, we’ll walk through building a web-browsing agent that can open a website and fetch its title, using:
Tiny Agents are small AI programs built around:
Instead of stuffing everything into a huge framework, you keep it clean and modular. Tools can be anything from a file reader to a browser or a custom API.
Playwright MCP gives your agent the power to:
Before writing code, make sure you’ve got:
pip install tinyagent litellm
Let’s create a simple agent that navigates to https://www.example.com
and tells you the page title.
from tinyagent import TinyAgent
import asyncio
async def main():
agent = TinyAgent(model="gpt-4.1-mini", api_key="YOUR_OPENAI_API_KEY")
await agent.connect_to_server("npx", ["@playwright/mcp@latest"])
task = "Navigate to https://www.example.com and tell me the title of the page."
result = await agent.run(task)
print("Result:", result)
await agent.close()
asyncio.run(main())
browser_navigate
, browser_snapshot
).npx @playwright/mcp@latest
To run in background/headless mode:
npx @playwright/mcp@latest --headless
Save your script as web_agent.py
and run:
python web_agent.py
Expected Output:
Result: The title of the page is "Example Domain".
npx @playwright/mcp@latest --vision
for screenshot-based tasks.
--headless=false
to debug visually.You don’t need a massive framework to build a useful AI agent. Sometimes, all it takes is 50 lines of code and a well-defined task.
Tiny Agents give you everything you need to start building. Whether it’s scraping a website, reading a file, or automating a workflow—you can do it fast, and you can do it clean.
Ready to try it out? Fork the code, start your terminal, and give your AI a browser.
Written for The Data Career
Subscribe for more hands-on AI tutorials.
Wed, 09 Jul 2025
Leave a comment