Gaia Research

Architecture & Ecosystem Blueprint (ARCHITECTURE.md)

This document defines the high-level architecture, repository roles, tool pathways, persistence strategies, and folder structures for the Gaia Research ecosystem. It serves as the primary context for developers and agent workflows.


πŸ—ΊοΈ 1. Ecosystem Overview

The Gaia ecosystem is structured into four distinct repositories, each serving a modular role. We follow Option A (The Portal & Ledger) model, separating the public presentation layer from the core developer tools.

                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                  β”‚   gaia-research (The Lab)    │◄─── Public Website
                  β”‚   - Portal, News, & Reports  β”‚     GitHub OAuth & Supabase
                  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                 β”‚
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β–Ό                       β–Ό                       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ gaia-skill-tree  β”‚   β”‚    skill-fuse    β”‚    β”‚  gaia-operator   β”‚
β”‚ (The Monorepo)   β”‚   β”‚ (Ecosystem Entry)β”‚    β”‚ (Internal CUA)   β”‚
β”‚ - Registry DB    β”‚   β”‚ - Light Composer β”‚    β”‚ - Safe Runtime   β”‚
β”‚ - CLI & Schemas  β”‚   β”‚ - Upgrade Path   β”‚    β”‚ - Task Traces    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Repository Role Access Core Technologies
gaia-research Intermediary portal, reports ledger, news feed, and labs playground. Public Next.js, React, Tailwind, Supabase
gaia-skill-tree The central database monorepo. Houses the registry, CLI, and schemas. Public Python, Node.js, JSON schema
skill-fuse Light/first-touch developer tool for skill composition. Public Bash, Markdown (Zero-dependency)
gaia-operator Platform interaction agent (CUA runtime). Internal Node.js, Playwright

πŸ› οΈ 2. Developer Tool Pathways (skill-fuse)

skill-fuse serves as the public entry-point for developers. It supports two usage tiers:

Path 1: Standalone Light Composition (Zero-Dependency)

Path 2: CLI Upgrade Path (Registry Integration)


πŸ’Ύ 3. Database & Authentication Strategy (Supabase & OAuth)

To transition from static pages to an interactive portal, we lay down a future-proof decoupled persistence layer:


πŸ“Š 4. Epic 1002 Naming Conventions & TM Index

Epic 1002 formalizes metadata naming conventions to enforce clarity and alignment across all tools and rendering scripts.

Naming Conventions

Trust Magnitude (TM) Index

TM is the aggregate evidence score calculated from the closed 10-type evidence taxonomy. The visual portal renders this on two tiers:


πŸ“‚ 5. Repository Folder Structure (gaia-research)

/
β”œβ”€β”€ index.html              # Legacy static portal (to be deprecated)
β”œβ”€β”€ prototype.html          # Next.js visual prototype
β”œβ”€β”€ PRODUCT.md              # Brand voice (Milim's high-energy), target audience
β”œβ”€β”€ DESIGN.md               # Visual styling tokens (Milim Pink, Rimuru Blue)
β”œβ”€β”€ ARCHITECTURE.md         # This ecosystem blueprint
β”‚
β”œβ”€β”€ content/                # Next.js dynamic markdown content & ingest layer
β”‚   β”œβ”€β”€ news/               # Portal updates, release blogs, Milim Directives
β”‚   β”œβ”€β”€ reports/            # Lab-produced capability reports & briefs
β”‚   β”œβ”€β”€ schemas/            # JSON schemas for benchmark submissions
β”‚   β”œβ”€β”€ templates/          # Standard boilerplate JSON templates
β”‚   └── tools/              # User-facing landing documents for skill-fuse/gaia-operator
β”‚
β”œβ”€β”€ benchmarks/             
β”‚   β”œβ”€β”€ specs/              # Definitions of benchmarks (TM Index details)
β”‚   └── runs/               # Temporary/historical benchmark result files (cached)
β”‚
β”œβ”€β”€ experiments/            
β”‚   β”œβ”€β”€ playground/         # Interactive labs concepts (Google Labs style widgets)
β”‚   └── logs/               # Testing/sandbox execution logs
β”‚
β”œβ”€β”€ assets/                 # Unified asset ledger
β”‚   β”œβ”€β”€ brand/              # Logos, typography styles, layout decorations
β”‚   β”œβ”€β”€ tools/              # Diagram SVGs and tool mockups
β”‚   └── benchmarks/         # Visual representations of TM formulas
β”‚
└── css/ & js/              # Modular styling and interactive scripts (to be migrated)

πŸ—ƒοΈ 6. Skill Benchmark Ingest Layer

The Skill Benchmark Ingest Layer facilitates the ingestion, verification, and standardization of AI agent benchmark results (specifically Gaia Skill Bench (GSB) and other approved external benchmarks).

6.1 GSB Submission Pathway (GSB v1)

Submissions targeting the Gaia Skill Bench (GSB) must conform to the v1 specification schema (gsb-submission.schema.json). This requires evaluating models across four weighted pillars:

  1. Performance (40% weight)
  2. Reliability (30% weight)
  3. Triggering (20% weight)
  4. Efficiency (10% weight)

Each pillar has its own score (0-100), and an optional overallScore that must match the weighted average of the pillars.

Additionally, GSB submissions must contain a Reproducible Run Manifest detailing:

6.2 General Benchmark Ingestion

For general benchmark results (e.g. GAIA, SWE-bench, WebArena), submissions conform to benchmark-result.schema.json. This schema is fetched dynamically from the gaia-skill-tree repository (dev/sprint-d-benchmark-leaderboard branch) or falling back to the raw GitHub URL, ensuring synchronization across the codebase.

6.3 Ingestion & Verification Tooling