GoClaw consolidates key agent abstractions inside a highly parallel, event-driven architecture designed to minimize latency and enforce strict multi-tenant boundaries.
At the core of GoClaw's design is a typed Domain Event Bus. As agents traverse the 8-stage pipeline (executing actions, analyzing logs, and running tools), they generate structured system events. Rather than executing database writes, semantic embeddings, and summary compilation inline—which would bloat response latency—these tasks are dispatched asynchronously. The background event handlers pick up these events to write L1 episodic summaries, update the L2 knowledge graph, index semantic memories via vector embeddings, and trigger background dreaming cycles (e.g., self-evolution analysis) with zero overhead to the active user pipeline.
Visual breakdowns detailing GoClaw's architectural layout and pipelines.
Provides robust isolation at the database layer (PostgreSQL), per-tenant workspaces, cryptographically isolated API keys, RBAC configurations, and segregated session files.
Manages context windows by separating memory into L0 Working conversation history, L1 Episodic session summaries, and L2 Semantic pgvector database knowledge graphs.
Illustrates the sequential execution loop: context → history → prompt → think → act → observe → memory → summarize. Pluggable stages execute dynamically.
Enforces context optimization boundaries (Full, Task, Minimal, None) with section gating and cache alignments for cost and performance gains.
Deploys coordinated squads sharing workspaces, collaborating over shared boards, and delegating subtasks bidirectionally across teams.
Indexes unstructured files and wikilinks, parsing documents into pgvector embeddings and PostgreSQL search databases with bi-directional syncing.
Details the background analysis process where agents review execution telemetry metrics to propose changes and safely update their own behavior.
Standardizes 20+ cloud LLMs and custom local runners into one capability-routed interface, parsing outputs into common formats.
Processes typed execution events asynchronously in the background to handle consolidation updates (session summaries, knowledge graphs, analytics).