cd /news/ai-agents/local-first-multi-agent-coding-platf… · home › topics › ai-agents › article
[ARTICLE · art-180195] src=discuss.huggingface.co ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Local-First Multi-Agent Coding Platform — Looking for Architecture Advice

A developer seeking architecture advice for a local-first multi-agent coding platform was told no single open-source tool covers the full stack, but that LangGraph, Ollama, OpenHands or Aider, and a structured project-state file can be composed to approximate it. The recommended setup uses LangGraph's checkpointer and interrupt() for human approvals with state persisted to SQLite, Ollama's keep_alive set to 0 to unload models between stages on 12 GB VRAM and 32 GB unified memory, and a single gateway function that refuses any non-local endpoint unless an explicit approval flag is set. The advice is to start with a 2-model implement-then-review loop and add agents only once the handoff file format is stable.

recommendation

Persist LangGraph state to SQLite with interrupt() for approvals, set Ollama keep_alive to 0 between stages, and pass a structured project-state file instead of chat history.

more in playbook: Designing agent systems
read1 min views4 publishedDec 2, 2026

Short answer: no single open-source tool covers all of that, but you can get close by composing pieces.

  • Orchestration: LangGraph fits your branches (success/fail/retry/human approval) well. Use its checkpointer plus interrupt() for approvals, and persist state to SQLite so runs survive restarts.

  • Model swapping: Ollama already unloads models via keep_alive (set it to 0 between stages). On 12 GB VRAM and 32 GB unified memory, run models strictly sequentially, never in parallel.

  • Handoff: don’t pass chat history. Keep a structured project-state file in the repo (task, decisions, files changed, failing tests, attempts) written after each step and read by the next agent; git commits per step give you free rollback and diffs.

  • Agents: OpenHands or Aider can be the ‘worker’ nodes, called from LangGraph as subprocesses against the same working tree.

  • Offline/cloud escalation: put a single gateway function in front of every model call that refuses any non-local endpoint unless an explicit approval flag is set.

Start with a 2-model loop (implement then review) and add agents once the handoff file format is stable.

── more in #ai-agents 4 stories · sorted by recency
── more on @langgraph 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/local-first-multi-ag…] indexed:0 read:1min 2026-12-02 · —