Skip to content

Latest commit

 

History

History
221 lines (184 loc) · 10.2 KB

File metadata and controls

221 lines (184 loc) · 10.2 KB

🗺️ Codebase Navigation Map

📁 Project Structure Overview

agentic-research-framework/
│
├── 📚 DOCUMENTATION
│   ├── README.md                           # 🏠 Main entry point with navigation
│   ├── COMPREHENSIVE_BUILD_SUMMARY.md     # 📖 Complete technical guide (1,240 lines)
│   ├── docs/USE_CASE_EXTENSION_GUIDE.md   # 🔧 Beginner development guide (2,000+ lines)
│   ├── docs/PORT_ALLOCATION.md            # 🌐 Service organization strategy
│   ├── Iterative Reflection vs.txt        # 📊 Research methodology
│   └── Chapter 4_ Reflection.txt          # 🧠 Producer-Critic pattern theory
│
├── 🧠 CORE FRAMEWORK
│   ├── framework/
│   │   ├── base_agent.py                  # 🤖 Agent abstraction + ADK integration
│   │   ├── base_orchestrator.py           # 🔄 Reflection workflow management
│   │   └── base_evaluator.py              # 📊 Multi-dimensional quality assessment
│   │
│   ├── config/
│   │   ├── settings.py                    # ⚙️ Global configuration
│   │   └── experiments/                   # 🧪 Research experiment definitions
│   │
│   └── api/
│       ├── main.py                        # 🎛️ Main orchestrator (Port 8000)
│       └── use_case_server.py             # 🎯 Use case server (Port 8001+)
│
├── 🎯 USE CASES (Pluggable Domains)
│   └── system_design/                     # ✅ WORKING - GCP Architecture
│       ├── agents.py                      # 🏗️ GCP Producer + Technical Critic
│       ├── orchestrator.py               # 🔄 System design workflow
│       ├── evaluator.py                  # 📊 6-dimensional quality evaluation
│       ├── config.py                     # ⚙️ Quality dimensions + test scenarios
│       ├── tools/
│       │   └── cloud_pricing.py          # 💰 GCP/AWS/Azure pricing tools
│       └── docker/                       # 🐳 Independent deployment
│           ├── Dockerfile                # Container definition
│           └── docker-compose.yml        # Standalone service
│
├── 🧪 RESEARCH INFRASTRUCTURE
│   ├── research/
│   │   ├── experiment_orchestrator.py    # 🔬 Automated experiment runner
│   │   ├── data/                         # 📈 Experiment results
│   │   └── notebooks/                    # 📓 Jupyter analysis environment
│   │
│   └── main.py                           # 🖥️ CLI interface for experiments
│
├── 🐳 DEPLOYMENT
│   ├── docker-compose.yml                # 🚀 Multi-service orchestration
│   ├── docker/                           # 🏗️ Main framework containers
│   ├── .dockerignore                     # 📦 Build optimization
│   └── scripts/                          # 🔧 Deployment scripts
│
└── ⚙️ CONFIGURATION
    ├── pyproject.toml                     # 📦 Dependencies & build config
    ├── env.example                        # 🔑 Environment template
    └── .env                              # 🔒 Your secrets (not in git)

🎯 Quick Navigation by Purpose

🚀 I want to get started quickly

  1. README.md - Main entry point
  2. env.example - Setup your environment
  3. Quick Start section - 5-minute setup

🔬 I want to understand the research

  1. Iterative Reflection vs.txt - Research methodology
  2. Chapter 4_ Reflection.txt - Reflection pattern theory
  3. Research Results - Validated findings

🏗️ I want to understand the architecture

  1. COMPREHENSIVE_BUILD_SUMMARY.md - Complete technical guide
  2. framework/ - Core implementation
  3. api/ - API layer and endpoints

🎯 I want to see a working example

  1. use_cases/system_design/ - Complete reference implementation
  2. agents.py - Producer-Critic agents
  3. tools/cloud_pricing.py - Domain tools

🔧 I want to build my own use case

  1. docs/USE_CASE_EXTENSION_GUIDE.md - Complete development guide
  2. Content Generation Tutorial - Step-by-step example
  3. Learning Resources - Beginner-friendly links

🐳 I want to deploy and scale

  1. docker-compose.yml - Multi-service deployment
  2. docs/PORT_ALLOCATION.md - Service organization
  3. Docker configurations - Container setup

📊 I want to run experiments

  1. config/experiments/ - Experiment templates
  2. research/ - Analysis tools and notebooks
  3. main.py - CLI experiment runner

🎓 Learning Path by Experience Level

🆕 Complete Beginner

  1. Learning Resources - AI agents, ADK, Docker basics
  2. Chapter 4_ Reflection.txt - Understand the pattern
  3. Quick Start - Get it running
  4. Beginner Tutorial - Build your first use case

🐍 Python Developer

  1. COMPREHENSIVE_BUILD_SUMMARY.md - Technical architecture
  2. framework/base_agent.py - ADK integration patterns
  3. use_cases/system_design/ - Reference implementation
  4. Extension Guide - Build new domains

🔬 AI Researcher

  1. Iterative Reflection vs.txt - Research design
  2. Research Results - Validated findings
  3. Quality Evaluation - Assessment methodology
  4. Experiment Runner - Systematic testing

☁️ Cloud Engineer

  1. System Design Use Case - GCP specialization
  2. Cloud Pricing Tools - Multi-cloud comparison
  3. API Examples - Test real scenarios
  4. Quality Dimensions - Professional assessment

🔍 Find What You Need

📖 Documentation

🤖 Agents & AI

🌐 APIs & Services

🐳 Deployment

🧪 Research & Experiments

🛠️ Tools & Utilities


🎯 Common Tasks

Start the Framework

docker-compose up -d system_design
curl http://localhost:8001/health

Test Research Functionality

# Baseline test
curl -X POST http://localhost:8001/chat -d '{"message":"Design a web app","mode":"baseline"}'

# Reflection test  
curl -X POST http://localhost:8001/chat -d '{"message":"Design a web app","mode":"reflection"}'

Add New Use Case

  1. Follow Extension Guide
  2. Copy system_design as template
  3. Customize agents and quality dimensions
  4. Deploy on new port (8002, 8003, etc.)

Run Research Experiments

python main.py run-experiment config/experiments/system_design_pilot.json

Analyze Results

# Start Jupyter environment
docker-compose --profile research up -d
# Open http://localhost:8891

🏆 Project Achievements

  • 40 files, 8,190+ lines of code
  • Working Producer-Critic reflection pattern
  • Complete ADK integration
  • Multi-dimensional quality evaluation
  • Docker containerization
  • Research results validation
  • Professional documentation
  • Beginner-friendly guides
  • Extensible architecture
  • Production-ready deployment

Ready for research, deployment, and community validation! 🚀✨