GatheRing
A collaborative multi-agent AI framework built with Python, FastAPI, and React.
GatheRing is a highly customizable and modular framework for creating and managing AI agents with complex personalities, diverse competencies, and professional expertise. Agents can collaborate in “Circles”, use external tools, and be managed through a web dashboard.
Key Features
Multi-Model Support: Anthropic (Claude), OpenAI, DeepSeek, and local models via Ollama
Gathering Circles: Team orchestration with task routing, reviews, and conflict detection
Agent Persistence: Personas, memory, sessions with automatic context injection
Agent Conversations: Direct inter-agent collaboration with turn strategies
Pipeline Execution: DAG-based workflow engine with topological traversal, retry + circuit breakers, cancellation and timeout
Schedule System: Cron-based action dispatch (run_task, execute_pipeline, send_notification, call_api) with crash recovery
REST API: Full FastAPI backend with 206 rate-limited endpoints and WebSocket support
React Dashboard: Modern Web3 dark theme UI for agents, circles, tasks, and conversations
RAG Support: PostgreSQL + pgvector for semantic memory search
Knowledge Base: Semantic search across documentation and best practices
Skills System: 18+ skills with JSON Schema validation and async execution
Agent Autonomy: Background tasks, scheduled actions, goal management
Integrated Workspace: Full-featured IDE with file explorer, code editor, terminal, and git integration
Security: JWT auth with DB-persisted token blacklist, constant-time comparisons, SQL injection prevention, path traversal defense, audit logging
Rate Limiting: Per-endpoint rate limits with 4 tiers (strict/standard/relaxed/bulk) via slowapi
Multi-Instance: PostgreSQL advisory locks for distributed task coordination, graceful shutdown with request draining
Observability: Structured logging (structlog) with JSON output and request correlation IDs
Fully Tested: 1200+ tests covering auth lifecycle, pipeline execution, scheduler recovery, event concurrency
Quick Links
Install GatheRing and run your first circle
Learn to use the web dashboard
Understand the architecture and contribute
Complete API documentation
Table of Contents
User Guide
Developer Guide
API Reference
Project Status
Version: 1.0.0
License: MIT
Python: 3.11+
Repository: GitHub
Features
Agents & Circles
Create AI agents with unique personalities that collaborate in thematic circles:
from gathering import Agent, Circle
# Create agents with different providers
sophie = Agent(
name="Sophie",
role="architect",
provider="anthropic",
model="claude-sonnet-4-20250514"
)
olivia = Agent(
name="Olivia",
role="engineer",
provider="openai",
model="gpt-4o"
)
# Create a circle
circle = Circle(name="Development Team")
circle.add_agents([sophie, olivia])
# Start a conversation
await circle.discuss("Design the new authentication system")
Integrated Workspace
The workspace provides a complete development environment:
File Explorer: Navigate and manage project files
Code Editor: Monaco-based editor with syntax highlighting and LSP support
Terminal: Integrated terminal for command execution
Git Integration: Visual git operations (status, diff, commit, push)
Media Viewers: Support for images, audio, video, and PDF files
Real-time Dashboard
Monitor and manage your agents through a modern React dashboard:
Live conversation streaming
Agent status and activity
Circle management
Task tracking and calendar
Getting Help
Check the FAQ for common questions
Report issues on GitHub Issues
Join our community discussions