Skip to content
Navigation

This section covers migrating from AWorld to Orbiter. Orbiter is a ground-up rewrite of AWorld that simplifies the API surface while preserving the framework’s capabilities.

Why Migrate?

AWorld grew to 96,500 lines of code with accumulated complexity:

  • 5 agent types that resist composition (LLMAgent, TaskLLMAgent, LoopLLMAgent, ParallelLLMAgent, SerialLLMAgent)
  • 3 config systems (ConfigDict, BaseConfig, Pydantic models) mixed throughout the codebase
  • Sync/async duplication (BaseTool and AsyncBaseTool, run() and sync_run())
  • Stringly-typed message routing (category="tool", topic="GROUP_RESULTS")
  • Deep factory chains (Factory[T] + AgentManager + ToolsManager)

Orbiter addresses all of these with:

  • 1 Agent class with composable behavior via Swarm modes
  • 1 config system (Pydantic v2 models)
  • Async-first with automatic sync wrapping
  • Typed message classes (UserMessage, AssistantMessage, ToolResult)
  • 1 Registry pattern (Registry[T])

Migration Scope

The migration is broken into these areas:

AreaAWorld PackageOrbiter PackageDifficulty
Agent definitionaworld.agentsorbiter.agentLow
Tool registrationaworld.core.tool, aworld.toolsorbiter.toolLow
Running agentsaworld.runner, aworld.runnersorbiter.runnerLow
Configurationaworld.config.conforbiter.configMedium
Multi-agentaworld.agents.swarm_composer_agentorbiter.swarmMedium
Context engineaworld.core.context.amniorbiter.contextHigh
Memoryaworld.memoryorbiter.memoryMedium
Models/LLMaworld.modelsorbiter.modelsLow
Tracingaworld.traceorbiter.traceMedium
Evaluationaworld.evaluationsorbiter.evalMedium
MCPaworld.mcp_clientorbiter.mcpLow
Sandboxaworld.sandboxorbiter.sandboxMedium

Getting Started

  1. Start with the detailed migration guide for step-by-step instructions
  2. Migrate the simplest agents first (single agent, no context, no memory)
  3. Add tools, then multi-agent, then context/memory

Package Installation

AWorld was a monolith. Orbiter is modular — install only what you need:

bash
# Minimal -- core + models
pip install "orbiter-core @ git+https://github.com/Midsphere-AI/orbiter-ai.git#subdirectory=packages/orbiter-core" \
  "orbiter-models @ git+https://github.com/Midsphere-AI/orbiter-ai.git#subdirectory=packages/orbiter-models"

# Or the meta-package for everything
pip install git+https://github.com/Midsphere-AI/orbiter-ai.git

# With specific extras
pip install "orbiter-memory[qdrant] @ git+https://github.com/Midsphere-AI/orbiter-ai.git#subdirectory=packages/orbiter-memory"
pip install "orbiter-sandbox[kubernetes] @ git+https://github.com/Midsphere-AI/orbiter-ai.git#subdirectory=packages/orbiter-sandbox"