The execution model

COSMO uses what we call "guided mode"—you provide a task structure, and the system executes it. This is intentionally different from open-ended AI chat.

Plan → Execute → Knowledge

When you start a COSMO run, you define:

The system parses this into a formal plan with milestones and tasks, then executes it while you watch.

The two agents

COSMO uses an "IDE-first" architecture. Instead of many specialized agents, there are two:

Research Agent

Handles external information gathering. When a task requires web search, finding sources, or gathering data from the internet, the Research Agent handles it.

This is the only agent that reaches outside the system.

IDE Agent

Handles everything else. File operations, analysis, synthesis, code generation, document creation—one capable agent that does most of the work.

"IDE-first" means we favor one versatile agent over many narrow specialists. Less coordination overhead, simpler execution.

This is a deliberate simplification. Earlier versions of COSMO had many specialized agents (analysis, synthesis, document creation, code creation, etc.). The current architecture consolidates most work into the IDE Agent.

Task execution tiers

Tasks don't all run at once. They execute in dependency order:

Tier 0: Data Collection └── Research agents gather external information └── No dependencies—can start immediately ↓ Tier 1: Processing └── IDE agents analyze gathered data └── Waits for Tier 0 to complete ↓ Tier 2: Creation └── IDE agents create outputs (documents, code) └── Waits for Tier 1 to complete ↓ Tier 3: Validation └── Quality checks on outputs └── Final synthesis across phases

This tiered approach ensures tasks have the inputs they need before they start. Research happens before analysis. Analysis happens before document creation.

The Plan Executor

A dedicated component called the Plan Executor manages task lifecycle:

The Plan Executor is the "single authority" for task execution. It prevents race conditions and ensures tasks complete in the right order.

The knowledge brain

As COSMO executes tasks, it builds a knowledge graph—what we call a "brain."

What's in a brain

Why this matters

The brain persists after execution completes. You can:

Unlike a chat conversation that disappears, the brain is a persistent artifact. Knowledge accumulates instead of evaporating.

Watching execution

COSMO streams execution progress in real-time via WebSocket. You can watch:

This transparency is intentional. You see what the system is doing, not just what it produces.

Execution modes

COSMO supports different execution modes depending on how tightly you want to control the work:

Most users want Strict or Mixed mode. Advisory mode is for open-ended investigation where you want the system to have more autonomy.

State management

Recent development has focused on reliability. The system now uses:

These aren't user-facing features, but they make the system more reliable. Tasks complete correctly even when things go wrong.

Questions?

If you want to understand more about how COSMO works or see it in action, get in touch.

Contact