Observed since 21 Oct, 10:19 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ai-council-orchestrator-vaishnavi
A production-grade multi-agent AI orchestration system that intelligently coordinates multiple AI models
A Production-Grade Multi-Agent AI Orchestration System
Intelligent AI model orchestration that treats AI models as specialized agents, not black boxes.
AI Council is a revolutionary Python-based system that intelligently coordinates multiple specialized AI models to solve complex problems. Unlike simple API wrappers or single-model solutions, AI Council treats AI models as specialized agents with distinct strengths, weaknesses, and operational characteristics—ensuring no single model is blindly trusted for all tasks.
In today's AI landscape, relying on a single AI model is like using only one tool for every job. AI Council solves this by:
# Install from PyPI (Official Release)
pip install ai-council-orchestrator
# Verify installation
python -c "from ai_council.factory import AICouncilFactory; print('✅ AI Council Orchestrator ready!')"
from ai_council.factory import AICouncilFactory
from ai_council.core.models import ExecutionMode
# Initialize AI Council
factory = AICouncilFactory()
ai_council = factory.create_ai_council_sync()
# Process a complex request
response = ai_council.process_request_sync(
"Analyze the pros and cons of renewable energy adoption and provide actionable recommendations",
ExecutionMode.BALANCED
)
print(f"Response: {response.content}")
print(f"Confidence: {response.overall_confidence:.2f}")
print(f"Models Used: {', '.join(response.models_used)}")
print(f"Cost: ${response.cost_breakdown.total_cost:.4f}")
This section explains how to set up and run AI Council locally after cloning the repository. It is intended for contributors and developers.
git clone https://github.com/shrixtacy/Ai-Council.git
cd Ai-Council
### 2. Create and activate a virtual environment (recommended)
```bash
# Windows
python -m venv venv
venv\Scripts\activate
# macOS / Linux
python3 -m venv venv
source venv/bin/activate
### 3. Install dependencies
```bash
pip install -r requirements.txt
### 4️⃣ Verify the setup
```bash
python -c "from ai_council.factory import AICouncilFactory; print('AI Council setup successful')"
### 5️⃣ Run the project locally
You can run example scripts to verify everything works:
```bash
python examples/basic_usage.py
### ⚠️ Common Issues
- Ensure Python version is **3.8+**
- Always activate the virtual environment before running commands
- Make sure required API keys are added to the `.env` file
- If port `8000` is busy, stop other services using it
### Web Interface (Testing & Development)
AI Council includes a web interface for easy testing and interaction:
```bash
# 1. Configure your API keys
cd web_app/backend
cp .env.example .env
# Edit .env and add your API keys (Google Gemini, xAI Grok, etc.)
# 2. Install dependencies
pip install -r requirements.txt
# 3. Start the backend server
python main.py
# 4. Open the web interface
# Navigate to http://localhost:8000 in your browser
Web Interface Features:
See web_app/README.md for detailed setup instructions.
# Set Python path (Windows)
$env:PYTHONPATH = "."
# Basic demo - see AI Council in action
python examples/basic_usage.py
# Complete integration demo
python examples/complete_integration.py
# Advanced orchestration features
python examples/orchestration_example.py
AI Council follows a sophisticated 5-layer architecture designed for production use:
graph TD
A[User Input] --> B[🎯 Analysis Layer]
B --> C[🗺️ Routing Layer]
C --> D[⚡ Execution Layer]
D --> E[⚖️ Arbitration Layer]
E --> F[🔄 Synthesis Layer]
F --> G[Final Response]
H[📊 Cost Optimizer] --> C
I[🛡️ Failure Handler] --> D
J[📝 Model Registry] --> C
Choose the right balance for your needs:
| Mode | Speed | Cost | Quality | Best For |
|---|---|---|---|---|
| 🚀 FAST | ~1-3s | $ | Good | Quick questions, simple tasks |
| ⚖️ BALANCED | ~3-10s | $$ | Better | Most general use cases |
| 💎 BEST_QUALITY | ~10-30s | $$$ | Best | Complex analysis, critical decisions |
AI Council Orchestrator is officially published on PyPI - the Python Package Index! This means:
pip install commandPackage Stats:
ai-council-orchestrator1.0.0# Automatic cost-quality optimization
estimate = ai_council.estimate_cost_and_time(
"Complex analysis task",
ExecutionMode.BEST_QUALITY
)
print(f"Estimated cost: ${estimate.total_cost:.4f}")
print(f"Estimated time: {estimate.total_time:.1f}s")
from ai_council.utils.config_builder import ConfigBuilder
config = (ConfigBuilder()
.with_execution_mode("ultra_fast",
max_parallel_executions=3,
timeout_seconds=15.0,
cost_limit_dollars=1.0
)
.with_routing_rule("high_accuracy_reasoning",
task_types=[TaskType.REASONING],
min_confidence=0.95
)
.build()
)
status = ai_council.get_system_status()
print(f"System Health: {status.health}")
print(f"Available Models: {len(status.available_models)}")
print(f"Circuit Breakers: {status.circuit_breakers}")
| Document | Description |
|---|---|
| 📖 Getting Started | Complete setup and first steps |
| 📘 Usage Guide | Comprehensive usage examples |
| 🏗️ Architecture | System design and components |
| 📋 API Reference | Complete API documentation |
| 🎯 Project Structure | Codebase organization |
| Document | Description |
|---|---|
| 🌐 Web App Guide | Web interface setup and usage |
| ⚙️ Backend Configuration | API keys and settings |
| Document | Description |
|---|---|
| 🎯 Orchestrator Guide | Advanced orchestration patterns |
| ⚡ Quick Reference | Common tasks and snippets |
| 📊 Business Case | ROI and business value |
| � Publishing Guide | How to publish to PyPI |
AI Council includes comprehensive testing:
# Run all tests (95 tests, 100% pass rate)
python -m pytest tests/ -v
# Validate system infrastructure
python scripts/validate_infrastructure.py
# Check system status
cat system_validation_report.md
Test Coverage:
models:
gpt-4:
provider: openai
api_key_env: OPENAI_API_KEY
capabilities: [reasoning, code_generation]
claude-3:
provider: anthropic
api_key_env: ANTHROPIC_API_KEY
capabilities: [research, fact_checking]
execution:
default_mode: balanced
max_parallel_executions: 10
enable_caching: true
cost:
max_cost_per_request: 5.0
enable_cost_tracking: true
We welcome contributions from the community! AI Council Orchestrator is designed to be:
Are you part of the Open Source Contributors Group (OSCG)? We have a special guide just for you!
👉 Read the OSCG Contributors Guide 👈
This guide includes:
git clone https://github.com/yourusername/Ai-Council.gitgit checkout -b feature/your-feature-namepython -m pytest tests/ -vSee our detailed Contributing Guide for more information.
MIT License - see LICENSE file for details.
Built with modern Python best practices and inspired by the need for intelligent AI orchestration in production environments.
🚀 Ready to revolutionize your AI infrastructure?
Get Started • View Examples • Read Docs • API Reference • Contribute
⭐ Star us on GitHub if AI Council Orchestrator helps your projects! ⭐
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
pydanticEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pydantic>=2.0.0 | runtime |
structlogEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | structlog>=23.0.0 | runtime |
pyyamlEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pyyaml>=6.0 | runtime |
httpxEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | httpx>=0.24.0 | runtime |
tenacityEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | tenacity>=8.0.0 | runtime |
typing-extensionsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | typing-extensions>=4.0.0 | runtime |
pytestEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pytest>=7.0.0; extra == "dev" | runtime |
pytest-asyncioEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pytest-asyncio>=0.21.0; extra == "dev" | runtime |
pytest-covEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pytest-cov>=4.0.0; extra == "dev" | runtime |
hypothesisEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | hypothesis>=6.0.0; extra == "dev" | runtime |
blackEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | black>=23.0.0; extra == "dev" | runtime |
isortEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | isort>=5.0.0; extra == "dev" | runtime |
flake8Environment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | flake8>=6.0.0; extra == "dev" | runtime |
mypyEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | mypy>=1.0.0; extra == "dev" | runtime |
pre-commitEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pre-commit>=3.0.0; extra == "dev" | runtime |
pytestEnvironment{
"extras": "",
"marker": "extra == \"test\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pytest>=7.0.0; extra == "test" | runtime |
pytest-asyncioEnvironment{
"extras": "",
"marker": "extra == \"test\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pytest-asyncio>=0.21.0; extra == "test" | runtime |
pytest-covEnvironment{
"extras": "",
"marker": "extra == \"test\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pytest-cov>=4.0.0; extra == "test" | runtime |
hypothesisEnvironment{
"extras": "",
"marker": "extra == \"test\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | hypothesis>=6.0.0; extra == "test" | runtime |
bdist_wheel · 91.71 KB · Python py3
sdist · 133.81 KB · Python source
Observed since 21 Oct, 10:19 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:78c31e1326796bbf7a8b893bb5b3b0b169e6cc86a345de2602cf8bea4a00a9ef