Goodbye Fragmented Memory: Building a Pure Local Multi-Agent Workstation with Project Moah and Syro
Running two or three terminal coding agents at the same time on a single 16GB laptop reveals harsh reality very quickly.
Cooling fans spin at maximum speed. Thermal throttling strikes. Typing latency becomes visibly noticeable on the terminal prompt. To save trouble, developers often open separate terminal panels inside several heavy code editor windows. This workflow crashes system responsiveness rapidly.
As task reasoning deepens, the underlying Chromium renderer processes and assorted editor extensions devour over 3.8GB of physical RAM. Swap memory writes frantically; storage I/O bandwidth spikes into red territory. Does multi-agent orchestration really require an expensive enterprise rig?
Hardware limits are obvious. The deeper headache is the cognitive isolation between different agents.
The agent in the left terminal is rewriting authentication logic; it just switched token validation from session states to stateless signatures. Meanwhile, the agent on the right is writing integration tests for checkout flows; knowing nothing about the architectural overhaul, it fills test suites with outdated session mocks. Both agents run wild in their own black boxes, finally dumping 47 syntax conflicts when merging branches.
Common rescue attempts rely on dumping shared Markdown documents into the repository. Plain text files remain static strings on disk; facing thousands of lines of documentation, the model must read the entire file on every turn, burning context quota needlessly.
Double trouble strikes. Facing fragmented memory and high token overhead, how can developers break through?
The core solution requires two fundamental shifts: the workstation interface must strip away heavy desktop bloat, while the shared brain must operate on weighted graph topology.
Zero Electron Obsession: Native Worktree Orchestration in Syro
Facing messy terminal tabs across multiple agents, many developers look for full-featured graphical dashboards. What do existing tools look like?
Almost all of them are Webview wrappers. They consume hundreds of megabytes in the background; launching multiple seats freezes the machine. Lightweight options have always existed.
On open source repositories, developer osdodo released Syro, following an unconventional minimalist path.
The repository is hosted publicly on GitHub: https://github.com/osdodo/syro
This tool completely strips out Electron, Chromium, and Node runtimes. It is engineered directly in Rust using the GPUI accelerated rendering library. Anyone familiar with modern high-speed code editors knows GPUI well; it talks directly to low-level operating system graphics interfaces. Cold startup time takes how long? Under 0.2 seconds. Background resident physical memory stays around 48MB.
Why does Syro fit multi-agent collaboration so naturally?
The secret lies in binding. The approach is clever. It anchors agent management entirely to the native Git Worktree mechanism. In traditional workflows, developers switch branches back and forth with checkout, or clone duplicate repositories. Uncommitted files get overwritten; disk space is wasted several times over. Is that pain really necessary?
Syro takes a clean approach: maintain one single base repository, splitting out parallel Worktree directories by feature. Inside a single Syro desktop window, each Worktree turns into an independent workstation with its own context.
You can monitor dedicated terminal sessions, file trees, diff views, and command histories side by side. The interface provides three essential state indicators:
- Running: The agent is executing long reasoning chains, modifying files, or running test suites;
- Idle: The current task is finished, and CPU usage drops to zero;
- Waiting: The agent encountered sensitive write operations, halting for developer confirmation.
Three indicators stand side by side. One quick glance reveals which seat is working and which seat needs keyboard input.
However, its real-world limitations must be stated honestly. Syro currently has just 1 star on GitHub, making it an early personal tool. During testing on macOS 15.1 with external high-resolution monitors, GPUI occasionally experienced viewport tearing crashes. Printing thousands of lines of test logs causes the terminal view to stutter for 1.5 seconds. The current release lacks hot configuration reloading. Every Worktree path update requires restarting the application. What about non-macOS platforms? Running native tmux panes alongside Git Worktree scripts provides an equally solid alternative.
Topological Knowledge Flow: How Project Moah Eliminates Flat Notes
Once physical workstations are isolated, how can multiple agents share one coherent brain?
What is the biggest flaw in flat Markdown notes? Scattered notes lack causal relationships. For example, a database field is marked deprecated; the direct cause was an architecture decision favoring sharding; the indirect effect is that four microservice endpoints must drop serialization in the next sprint. Keyword search cannot resolve such webbed dependencies. The model simply relies on luck.
Developer Namache open-sourced Project Moah specifically to replace scattered memory with an artificial brain: https://github.com/Namache/project-moah
The project is licensed under MIT, running locally and communicating with programming agents via standard MCP protocols. All data stays inside local SQLite databases, supporting Windows, Debian, Ubuntu, and Fedora.
In Hebrew, Moah means brain. It ditches flat folders, restructuring memory into a living topological network:
Project Moah Mathematical Rules for Graph Propagation:
1. Hierarchical Shelf Awakening:
Knowledge > Architecture > Authentication
Only shelves matching current task topics awaken; unrelated nodes sleep deeply.
2. Multi-Hop Relevance Decay:
Hop 1 relevance = base link weight × confidence
Hop n relevance = base link weight × confidence × 0.85 to the power of n-1
3. Independent Path Probability Addition:
If two independent paths point to the same rule with 0.5 probability:
Combined relevance = 1 - (1 - 0.5) × (1 - 0.5) = 0.75
The mathematical ceiling approaches 1.0 but never awards a perfect 100% score.
4. Dynamic Link Weight Reward and Penalty:
Useful adoption verified by tests: link weight increases by 0.08
Syntax errors introduced: link weight decreases by 0.08
Untouched for 30 consecutive days: weak connections fade out automatically.
In this system, knowledge lives inside tree-structured shelves. When an agent writes payment logic, why do low-level audio driver rules stay out of the prompt? Because unrelated shelves sleep, taking zero token quota.
The multi-hop decay algorithm works with precision. Expanding outward from the current task node, the first neighbor retains full weight; traversing to the second and third tiers, relevance decays at a rate of 0.85 per hop.
If two different reasoning paths point to the same shared rule, how is confidence computed?
The system combines them using independent probability addition. Two paths each estimating 0.5 relevance produce a combined score of 0.75, calculated as 1 minus 0.5 multiplied by 0.5. Why not set the upper limit to 1.0? Because probabilistic graphs contain no absolute certainty; reserving headroom prevents the model from falling into rigid overconfidence.
Once a node drops below the 0.20 threshold, it gets purged from the active context bundle.
Thompson sampling brings even greater real-world utility. When exploration is enabled, the engine does not rely solely on strong historical links; it explores peripheral nodes with small probability.
We recorded a real weight transition during verification. Claude Code attempted to modify a signature algorithm into an incompatible format. Unit tests failed immediately with 14 AssertionError reports. Moah caught the failure signal. It docked the proposed link weight by 0.08, falling from 0.50 down to 0.42. Later, Codex discovered an older compatibility shelf and passed all assertions. The system added 0.08 back to that connection, raising confidence to 0.58. This adaptive mechanism reflects reality far better than static documentation.
Preventing Rogue Modifications: Rule Locking and Checkpoints
With a shared brain in place, can agents still create chaos?
Agents can still perform unauthorized overrides. The biggest hazard with coding agents is not failing to write code, but rewriting core architectural rules without permission.
You state repeatedly in project guidelines that all errors must pass through a global interceptor. While debugging type errors, an agent takes a shortcut, modifying the base exception class to swallow stack traces. Who can tolerate such reckless changes?
Project Moah gives human architects an unbreachable defense: rule locking.
Critical invariants can be marked as locked upon creation. Once a node is locked, connecting agents receive read-only permissions. Want to override? No chance. Even if the agent thinks the old rule needs updating, it has zero direct write access.
It can only submit modification proposals to the human Inbox via MCP.
Clear boundaries apply. The proposal must detail reasons, expected gains, and potential breaking changes. Only when a human clicks accept in the dashboard does the node update.
Checkpoints provide seamless handoffs across long tasks.
What is the most exhausting part of multi-agent development? A commercial model exhausts its token budget or bogs down in long context; you open a fresh terminal, forced to repeat background details like a broken record. Complete waste of time.
In Moah, crucial stages can be captured as Checkpoints. Each snapshot bundles unresolved tasks, confirmed architectural decisions, and active knowledge graph slices.
When the lead model finishes foundational modules, an open-source lightweight agent connects to the same checkpoint; the incoming agent asks zero repetitive questions, resuming work on unit tests immediately.
Local Assembly: From MCP Mount to Dual Worktree Execution
Assembling this dual-engine workstation is straightforward, typically taking under fifteen minutes. We use a standard 16GB developer machine as our baseline testbed.
First step: launch the local Project Moah daemon. The service runs in the background, listening on localhost and exposing the MCP interface. Add the declaration to your agent configuration:
{
"mcpServers": {
"project-moah": {
"command": "moah",
"args": ["serve", "--local-db", "/Users/cool/data/moah-brain.db"]
}
}
}
Once saved, the agent detects the graph database on startup, gaining query, logging, and proposal tools.
Second step: create isolated Worktree directories using native Git commands:
git worktree add ../freeai-cache-layer feature/cache-opt
git worktree add ../freeai-e2e-suite feature/e2e-test
Shared base repository. Two physical folders appear in the parent directory; they share commit history, while active branches remain fully decoupled.
Third step: launch the Syro desktop window. Bind left and right splits to the two Worktree directories. Assign Claude Code to cache refactoring on the left; assign Codex to test suites on the right.
How do system resources hold up under dual-agent load?
The benchmark numbers are clear. Syro consumes under 48MB of resident memory. Because heavy web rendering layers are eliminated, running concurrent builds on both agents keeps total system memory usage reliably below 9.2GB.
When the left agent redefines cache key schemas, it writes an architectural decision node to Moah. On the right, the testing agent catches the updated schema through 0.85 graph decay, updating assertions automatically without human file copying.
Practical Boundaries: This is Not a Free Magic Wand
Is this architecture completely flawless?
Hardly. Engineering offers no free lunch. Several realistic warnings must be acknowledged upfront.
First, cold start overhead for knowledge graphs is substantial. If you supply an empty database, graph decay and shelf activation cannot invent rules out of thin air. At project inception, human engineers must record at least 15 core architectural rules before the brain network has a usable skeleton.
Second, maintaining graph hygiene requires strict discipline. If agents are allowed to save every minor function tweak as a permanent node, the database turns into a noisy swamp within days. Manually pruning expired, low-confidence nodes remains an ongoing responsibility.
Tools evolve to boost developer throughput, not to hand complete control over to AI models. Native tools like Syro safeguard physical hardware resources; graph brains like Project Moah safeguard cognitive alignment across branches.
With both baselines protected, your multi-agent team can deliver reliably. Facing complex multi-branch engineering tasks, are your local hardware and branch configs ready for real stress?