The agent loop. Async generator streaming with parallel tool execution, event sourcing for every state transition, and abort-safe turn management.
buildTool() factory with Zod v4 schemas. Parallel execution, turn-level caching, per-tool timeouts. Path security guards block access to sensitive directories.
Five-tier compression. Semantic priority scoring ensures user corrections survive while boilerplate dies first. Pinned messages are immortal. Archive allows re-expansion.
Extract patterns from every conversation. Recall with relevance scoring. Dream during idle to consolidate, merge duplicates, and resolve contradictions. Confidence decays over time.
Multi-agent orchestration via task dependency graphs. Topological sort for execution order. Semaphore concurrency. Cascade failure. Agent-to-Agent message bus.
Plugin manifest loading. Skill discovery from markdown frontmatter. Hook registration with priority ordering. Hot-reload without restart. Standalone skill file support.
The composite LLM. Classifies tasks, routes to optimal model, tracks costs, runs multi-model consensus for critical decisions. Implements LLMAdapter as drop-in "microverse-1".
Self-healing code engine. 5-phase pipeline: detect, localize (SBFL + traces + git history), repair (self-debug + multi-attempt + model escalation), validate, and learn. Memory-integrated bug prevention.
Decompiled v2.1.88. 163K lines. Agent loop, streaming tools, autoDream, context compaction, plugin system.
Apache 2.0. TS + 40 Rust crates. 4-crate sandboxing, V8 isolates, cloud tasks, OTel tracing.
Apache 2.0. TS monorepo. Core/CLI/SDK split, A2A protocol, VS Code companion.
MIT. DAG scheduler, agent pools, semaphore concurrency, message bus, multi-model teams.
Clean-room Python + Rust rewrites. Detailed PARITY.md gap analysis. ~20-40% parity.