Skip to main content

Multi-Agent System

Hubify Labs runs a hierarchical multi-agent system designed to mirror the structure of a real research group. The system is built on three principles: hierarchy for efficiency, cross-model review for accuracy, and full transparency for trust.

Architecture

Reasoning-Based Routing

Every task has a reasoning requirement. The orchestrator routes accordingly:
Models: Claude Opus 4.8, GPT-5.5, Gemini 3.1 Pro, Grok 4Tasks: Research strategy, paper drafting, peer review, novel scientific analysis, hypothesis generation, cross-survey interpretation.Handled by: Orchestrator or Lead agents.

Cross-Model Peer Review

Every significant output is reviewed by models from at least two different providers. Same-provider review is not permitted.
The review matrix uses five providers across five labs: Reviews check for:
  • Factual accuracy and hallucination detection
  • Logical consistency with prior results
  • Mathematical and statistical correctness
  • Missing citations or prior work
  • Overstatements and unsupported claims

Activity Feed

All agent communication is visible in the Activity Feed, a real-time, color-coded stream:

Tilldone Pattern

When a worker fails a task, the lead agent takes over rather than just reporting the failure:
  1. Worker attempts the task
  2. Worker fails (error, bad output, QC failure)
  3. Lead agent receives the failure with full context
  4. Lead agent executes the task itself using higher reasoning
  5. If the lead also fails, it escalates to the orchestrator
This pattern ensures tasks complete without constant human intervention.

Adding Agents

Agent Metrics

Each agent tracks:
  • Tasks completed vs failed
  • Average task duration
  • QC pass rate
  • Review acceptance rate
  • Cost per task