Skip to content

Agent Force is a cutting-edge AI research platform that orchestrates multiple specialized AI agents to conduct comprehensive market research, competitive analysis, and strategic business insights in real-time.

Notifications You must be signed in to change notification settings

HassanMehmood413/AgentForce

Repository files navigation

Agent Force Banner


πŸ€– Agent Force

Revolutionary Multi-Agent AI Research Platform Powered by Collaborative Intelligence

License Python React FastAPI LangGraph Coral Protocol

Transform how you conduct research with AI agents that collaborate, debate, and deliver insights beyond traditional AI capabilities.


🌟 What is Agent Force?

Agent Force is a cutting-edge AI research platform that orchestrates multiple specialized AI agents to conduct comprehensive market research, competitive analysis, and strategic business insights in real-time. Built on the revolutionary Coral Protocol, our platform creates a "Society of AI Agents" that collaborate, communicate securely, and scale their efforts across different frameworks.

🎯 Key Features

  • 🀝 Multi-Agent Collaboration - Specialized AI agents work together seamlessly
  • ⚑ Real-Time Streaming - Watch agents collaborate live through WebSocket streaming
  • πŸ›‘οΈ Enterprise Security - JWT authentication with enterprise-grade security
  • 🎨 Modern UI/UX - Beautiful React interface with dark theme and animations
  • πŸ”§ Coral Protocol Integration - Agent communication and orchestration infrastructure
  • πŸ“Š Comprehensive Reports - Executive summaries, strategic insights, and data-driven conclusions
  • πŸ”„ LangGraph Orchestration - Advanced workflow management for complex agent interactions
  • πŸ“± Responsive Design - Works perfectly on desktop and mobile devices

πŸš€ Use Cases

  • Market Research - Deep market analysis and competitive landscape insights
  • Business Strategy - Strategic recommendations and growth opportunities
  • Innovation Research - Emerging trends and future predictions
  • Competitive Intelligence - Competitor strategies and market positioning
  • Industry Analysis - Comprehensive sector overviews and trend analysis

πŸ› οΈ Tech Stack

Frontend

  • React 18 - Modern JavaScript framework
  • TypeScript - Type-safe development
  • Vite - Fast build tool and dev server
  • Tailwind CSS - Utility-first CSS framework
  • Radix UI - Accessible component primitives
  • React Query - Powerful data fetching
  • React Router - Client-side routing
  • Lucide Icons - Beautiful icon set

Backend

  • FastAPI - High-performance async web framework
  • LangGraph - Multi-agent orchestration and workflows
  • SQLAlchemy - Modern ORM with async support
  • PostgreSQL - Robust database for data persistence
  • JWT Authentication - Secure token-based auth
  • WebSockets - Real-time streaming capabilities
  • Coral Protocol - Agent communication infrastructure

AI/ML

  • OpenAI GPT-4 - Primary LLM for agent intelligence
  • LangChain - LLM integration and prompt management
  • MCP (Model Context Protocol) - Agent tooling standard
  • Custom Agent Architectures - Specialized research agents

πŸš€ Getting Started

Prerequisites

  • Python 3.13+
  • Node.js 18+
  • PostgreSQL 15+
  • Docker (optional, for containerized deployment)

πŸ”§ Installation

  1. Clone the repository

    git clone https://github.com/yourusername/agent-force.git
    cd agent-force
  2. Backend Setup

    # Navigate to backend
    cd MultiAgents_Workflow
    
    # Install Python dependencies
    poetry install
    
    # Set up environment variables
    cp .env.example .env
    # Edit .env with your API keys and database URL
    
    # Run database migrations
    poetry run alembic upgrade head
    
    # Start the backend server
    poetry run uvicorn core.main:app --reload --host 0.0.0.0 --port 8000
  3. Frontend Setup

    # Navigate to frontend (in new terminal)
    cd ../Frontend
    
    # Install Node dependencies
    npm install
    
    # Start the development server
    npm run dev
  4. Database Setup

    # Create PostgreSQL database
    createdb agentforce_db
    
    # Or use Docker
    docker run --name agentforce-postgres -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres:15

βš™οΈ Configuration

Create a .env file in the MultiAgents_Workflow directory:

# Database
DATABASE_URL=postgresql://user:password@localhost:5432/agentforce_db

# Authentication
SECRET_KEY=your-secret-key-here
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30

# OpenAI
AIML_API_KEY=your-openai-api-key

# Coral Protocol (optional)
CORAL_SERVER_URL=http://localhost:5555

# Environment
ENVIRONMENT=development
DEBUG=True

🎯 Usage

  1. Access the Application

  2. Create an Account

    • Sign up with email and password
    • Verify your email (if configured)
  3. Start Research

    • Enter your research topic
    • Choose number of analysts (2-5 recommended)
    • Click "Start Research"
    • Watch agents collaborate in real-time
  4. View Results

    • Comprehensive reports with executive summaries
    • Strategic recommendations and insights
    • Download reports in multiple formats

🐳 Docker Deployment

# Build and run with Docker Compose
docker-compose up --build

# Or run individual services
docker build -t agentforce-backend ./MultiAgents_Workflow
docker build -t agentforce-frontend ./Frontend

πŸ“š API Documentation

Core Endpoints

  • POST /auth/login - User authentication
  • POST /auth/register - User registration
  • GET /auth/me - Get current user profile
  • POST /api/v1/run-research - Initiate research session
  • GET /api/v1/research-stream - Real-time research streaming
  • GET /api/v1/user-sessions - Get user research history

WebSocket Events

  • start - Research session initialized
  • event - Agent activity updates
  • complete - Research completion with results
  • error - Error handling and notifications

🀝 Contributing

We welcome contributions! Here's how you can help:

Development Setup

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes and add tests
  4. Run the test suite: npm test && poetry run pytest
  5. Commit your changes: git commit -m 'Add amazing feature'
  6. Push to the branch: git push origin feature/amazing-feature
  7. Open a Pull Request

Guidelines

  • Code Style: Follow PEP 8 for Python, ESLint for JavaScript
  • Testing: Add tests for new features
  • Documentation: Update docs for API changes
  • Commits: Use conventional commit format

Project Structure

agent-force/
β”œβ”€β”€ Frontend/                 # React TypeScript frontend
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/       # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ pages/           # Page components
β”‚   β”‚   β”œβ”€β”€ contexts/        # React contexts
β”‚   β”‚   └── api/             # API client code
β”‚   └── package.json
β”œβ”€β”€ MultiAgents_Workflow/     # FastAPI backend
β”‚   β”œβ”€β”€ core/                 # Core application code
β”‚   β”‚   β”œβ”€β”€ routes/          # API route handlers
β”‚   β”‚   β”œβ”€β”€ models.py        # Database models
β”‚   β”‚   └── main.py          # FastAPI app
β”‚   β”œβ”€β”€ agents/              # AI agent implementations
β”‚   β”‚   β”œβ”€β”€ ResearchAgent/   # Research agent logic
β”‚   β”‚   └── ReportAgent/     # Report generation agent
β”‚   └── pyproject.toml
β”œβ”€β”€ coral-server/            # Coral Protocol server
β”œβ”€β”€ docker-compose.yml       # Docker orchestration
└── README.md

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Coral Protocol - Revolutionary agent communication infrastructure
  • LangGraph - Powerful multi-agent orchestration framework
  • FastAPI - Incredible async web framework
  • React - Best frontend framework ever
  • AIML API - Cutting-edge language models

πŸŽ‰ Show Your Support

If you find Agent Force helpful, please give us a ⭐ on GitHub!


Built with ❀️ by the Agent Force team

🌟 Star us on GitHub β€’ πŸ› Report Issues

About

Agent Force is a cutting-edge AI research platform that orchestrates multiple specialized AI agents to conduct comprehensive market research, competitive analysis, and strategic business insights in real-time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published