Observed since 21 Oct, 10:19 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A multi-agent AI framework for collaborative scientific research, implementing tournament-based hypothesis evolution and peer review systems

A multi-agent AI framework for collaborative scientific research, implementing the "Towards an AI Co-Scientist" methodology with tournament-based hypothesis evolution, peer review systems, and intelligent agent orchestration.
🧠 Multi-Agent Architecture: Specialized agents for hypothesis generation, peer review, ranking, evolution, and meta-analysis
🏆 Tournament-Based Selection: Elo rating system for hypothesis ranking through pairwise comparisons
📊 Comprehensive Review System: Scientific soundness, novelty, testability, and impact assessment
🔄 Iterative Refinement: Meta-review guided evolution with strategic hypothesis improvement
🎯 Diversity Control: Proximity analysis to maintain hypothesis diversity and reduce redundancy
📈 Execution Metrics: Detailed performance tracking and agent timing analytics
💾 State Persistence: Save and resume research workflows with agent state management
🛡️ Robust Error Handling: Graceful fallbacks and recovery mechanisms for production reliability
You can install the package using pip:
pip install -e .
Or install dependencies directly:
pip install swarms loguru python-dotenv
from ai_coscientist import AIScientistFramework
# Initialize the AI Co-scientist Framework
ai_coscientist = AIScientistFramework(
model_name="gpt-4",
max_iterations=3,
hypotheses_per_generation=10,
tournament_size=8,
evolution_top_k=3,
verbose=True
)
# Define your research goal
research_goal = "Develop novel approaches for improving reasoning capabilities in large language models"
# Run the research workflow
results = ai_coscientist.run_research_workflow(research_goal)
# Access the results
print(f"Generated {len(results['top_ranked_hypotheses'])} top hypotheses")
for i, hypothesis in enumerate(results['top_ranked_hypotheses'], 1):
print(f"{i}. {hypothesis['text']}")
print(f" Elo Rating: {hypothesis['elo_rating']}")
print(f" Win Rate: {hypothesis['win_rate']}%")
The AI-CoScientist framework consists of 8 specialized agents:
ai_coscientist = AIScientistFramework(
model_name="claude-3-sonnet",
max_iterations=5,
base_path="./custom_states",
verbose=True,
tournament_size=12,
hypotheses_per_generation=15,
evolution_top_k=5,
)
# Save agent states
ai_coscientist.save_state()
# Load previous states
ai_coscientist.load_state()
results = ai_coscientist.run_research_workflow(research_goal)
# Execution metrics
metrics = results['execution_metrics']
print(f"Total time: {results['total_workflow_time']:.2f}s")
print(f"Hypotheses generated: {metrics['hypothesis_count']}")
print(f"Reviews completed: {metrics['reviews_count']}")
print(f"Tournament rounds: {metrics['tournaments_count']}")
# Meta-review insights
insights = results['meta_review_insights']
print("Strategic recommendations:", insights.get('strategic_recommendations'))
make style to format the codemake check_code_quality to check code quality (PEP8 basically)black .ruff . --fixgit checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)For detailed documentation, see DOCS.md.
If you use AI-CoScientist in your research, please cite:
@software{ai_coscientist,
title={AI-CoScientist: A Multi-Agent Framework for Collaborative Scientific Research},
author={The Swarm Corporation},
year={2024},
url={https://github.com/The-Swarm-Corporation/AI-CoScientist}
}
MIT License - see LICENSE file for details.
pypistats · 37 observations shown. Missing days are unknown. Source category: overall: without mirrors.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-20 – 2026-10-20 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-10-18 – 2026-10-18 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-10-17 – 2026-10-17 | 2 | 2026-10-21T12:57:01.9661775Z |
| 2026-10-14 – 2026-10-14 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-10-13 – 2026-10-13 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-10-12 – 2026-10-12 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-10-10 – 2026-10-10 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-10-09 – 2026-10-09 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-10-08 – 2026-10-08 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-10-06 – 2026-10-06 | 2 | 2026-10-21T12:57:01.9661775Z |
| 2026-10-05 – 2026-10-05 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-10-02 – 2026-10-02 | 5 | 2026-10-21T12:57:01.9661775Z |
| 2026-09-30 – 2026-09-30 | 2 | 2026-10-21T12:57:01.9661775Z |
| 2026-09-27 – 2026-09-27 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-09-26 – 2026-09-26 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-09-22 – 2026-09-22 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-09-15 – 2026-09-15 | 2 | 2026-10-21T12:57:01.9661775Z |
| 2026-09-07 – 2026-09-07 | 2 | 2026-10-21T12:57:01.9661775Z |
| 2026-09-05 – 2026-09-05 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-31 – 2026-08-31 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-28 – 2026-08-28 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-25 – 2026-08-25 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-24 – 2026-08-24 | 5 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-23 – 2026-08-23 | 3 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-21 – 2026-08-21 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-17 – 2026-08-17 | 2 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-15 – 2026-08-15 | 2 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-14 – 2026-08-14 | 3 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-09 – 2026-08-09 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-06 – 2026-08-06 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-05 – 2026-08-05 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-02 – 2026-08-02 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-08-01 – 2026-08-01 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-07-28 – 2026-07-28 | 2 | 2026-10-21T12:57:01.9661775Z |
| 2026-07-27 – 2026-07-27 | 3 | 2026-10-21T12:57:01.9661775Z |
| 2026-07-24 – 2026-07-24 | 1 | 2026-10-21T12:57:01.9661775Z |
| 2026-07-23 – 2026-07-23 | 2 | 2026-10-21T12:57:01.9661775Z |
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.0 | 11 Jul 2025 | 3 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Public sponsor counts have not been collected. These signals belong to the repository owner.
github · 1 observations shown. Missing days are unknown.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-21 | 31 | 2026-10-21T19:53:59.6489079Z |
Observed since 21 Oct, 10:19 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:298d6a517108b113c50c6f4924cd9d2ade5278144d2c3ff0daf238c1aacd5b44