Skip to content

Agent Swarm: Multi-Agent LLM System

License

Fugant1/AgentSwarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Agent Swarm: Multi-Agent LLM System

A scalable, Dockerized multi-agent system built with Python and LangChain, designed to intelligently route and process user queries through specialized agents.

πŸ” Overview

This system demonstrates a three-agent architecture:

Router Agent: Classifies incoming messages and directs them to the appropriate downstream agent.

Knowledge Agent: Answers questions using a RAG (Retrieval-Augmented Generation) pipeline with web-sourced data.

Customer Support Agent: Handles user-specific inquiries with customizable tools.

Features:

βœ… LLM-powered routing (LangChain) βœ… RAG pipeline for grounded responses βœ… Personality layer for human-like interactions βœ… FastAPI endpoint for seamless integration βœ… Dockerized for easy deployment

πŸ› οΈ Tech Stack

Language: Python

Frameworks: LangChain, FastAPI

Data: Vector DB (e.g., FAISS), Web Scraping (BeautifulSoup/Scrapy)

Infrastructure: Docker

πŸš€ Quick Start

bash git clone https://github.com/Fugant1/AgentSwarm.git
cd agent_swarm
docker build -t agent_swarm .
docker run -p 8000:8000 agent_swarm
API Endpoint: POST /chat (payload: {"message": "Your query", "user_id": "123"})

πŸ“‚ Project Structure

agent_swarm/
β”œβ”€β”€ agents/ # Router, Knowledge, Customer agents
β”œβ”€β”€ api/ # FastAPI endpoint
β”œβ”€β”€ data/ # RAG data storage
β”œβ”€β”€ tests/ # Unit/ec2e └── utils/ # RAG, personality layer

πŸ“Œ Why This Project?

Modular Design: Easily extendable with new agents/tools.

Production-Ready: Dockerized with comprehensive tests.

LLM Best Practices: Implements RAG and structured workflows.

About

Agent Swarm: Multi-Agent LLM System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages