Cerebra Legal MCP Server

MinionWorks – Modular browser agents that work for bananas 🍌

Created By
Cerebra Legal MCP Serverminionworks
Content

Minion Works Minion Works

MinionWorks – Modular browser agents that work for bananas 🍌

Modular. Extensible. AI-native browser agents for modern web automation.


πŸš€ Overview

Minion Works is a modular AI agent framework that connects to your browser and executes complex tasks autonomously. Built for developers, researchers, and curious builders.

✨ Features

  • 🌐 Perform Google searches and scrape content
  • πŸ€– Use LLMs (like GPT-4) to plan actions
  • πŸ”— Modular architecture for plug-and-play use cases
  • πŸ”Ž DOM interaction & content extraction
  • πŸ”„ Run workflows via Python or UI

πŸ› οΈ Installation

  1. Install the package

    pip install minion-agent
    
  2. Set up environment variables

    cp .env.example .env
    # Edit your .env file with OpenAI or other API keys
    

πŸ§ͺ Quick Start

Here’s a complete example using MinionAgent with langchain-openai:

from langchain_openai import ChatOpenAI
from minion_agent.browser import MinionAgent
import asyncio
from dotenv import load_dotenv

# Load environment variables from .env file
load_dotenv()

async def main():
    # Example 1: Using environment variables for OpenAI configuration
    agent1 = MinionAgent(
        task="Compare the price of GPT-4 and DeepSeek-V3",
        llm=ChatOpenAI(model="gpt-4o"),
        headless=True
    )
    result1 = await agent1.run()
    print("Result 1:", result1)

    # Example 2: Providing custom LLM and configuration
    agent2 = MinionAgent(
        task="Search for the latest news about AI",
        llm=ChatOpenAI(model="gpt-4o"),
        headless=False  # Show browser window
    )
    result2 = await agent2.run()
    print("Result 2:", result2)

if __name__ == "__main__":
    asyncio.run(main())

🧠 Example Use Case

agent = MinionAgent(
    task="Find the top 3 ML conferences in 2025 and summarize each.",
    llm=ChatOpenAI(model="gpt-4")
)
await agent.run()

πŸ§ͺ Testing

pytest --maxfail=1 --disable-warnings -q

Ensure you’re in the root folder where tests/ lives.


🀝 Contributing

We welcome PRs, feedback, and creative ideas!

  1. Fork β†’ Branch β†’ Commit
  2. Add tests
  3. Submit a Pull Request
  4. Tell your friends πŸš€

πŸ“– Citation

@software{minion_works2025,
  author = {Sairaam, Aman, Cheena},
  title = {Minion Works: Let AI take the helm of your browser.},
  year = {2025},
  publisher = {GitHub},
  url = {https://github.com/minionworks/minions}
}