grainworks Agent Stack

Six-layer architecture — every component we've built, in its layer. June 2026.

Layer 6 DELIVERY How work reaches the user grainworks.tech Hugo SSG · Blog + Projects grainworks.tech Workbench SPA Dashboard · Inbox · Chat v0.9 · Zero-dep JS SPA iMessage Bridge imsg CLI relay Verified delivery Email Delivery Gmail API integration email-instruction-channel RSS / Telegram Cron delivery channels Newspipe · Bot API Layer 5 PIPELINES Automated processing (cron-driven) Email Screener Classification → Action Obsidian Inbox Raw notes → Structured Morning Briefing Daily cron aggregation Workflow Store State + route indexing Cron Fleet Webhook + scheduled jobs Layer 4 EVALUATION Quality measurement (Month 2 target) Golden Task Dataset 30 curated eval tasks grainworks eval CLI Pass/fail · Cost · Latency Regression Suite CI Pre-deployment check Layer 3 TOOL MESH MCP servers & external integrations StatBar MCP macOS system monitor Josh Relay MCP Voice → webhook bridge Arr MCP (4x) Radarr/Sonarr/Lidarr/Prowlarr Unraid MCP Server management Chipotle MCP Food ordering Porkbun MCP DNS · Domains MAM MCP MyAnonamouse torrents Google Workspace Calendar · Drive · Gmail Linear · Notion Issue + doc management Bazarr · Chaptarr Subtitles · Chapters Layer 2 MEMORY Persistent context & state ContextVault Swift CLI · Prompt interception Session DB + Fact Store SQLite · FTS5 · Memory providers session_search Cross-session FTS5 recall Layer 1 ORCHESTRATION The brains — routing, reasoning, delegation Hermes Agent (Primary) DeepSeek/Claude · SOUL.md Clock-driven · Cron · Gateway Organizational Orchestrator V2.4/2.5 · 19 domain agents Intent classification · Routing Domain Subagents delegate_task · Skill system Two-stage review · Plugin model MCP Gateway native-mcp client Webhook router data flow to user automated measure act remember think Legend Layer boundary MCP tool Planned / Month 2+ Data flow

Delivery Layer (6)

  • grainworks.tech — Hugo site with blog, projects, about
  • Workbench SPA — v0.9 · 10+ panels · zero-dep JS
  • iMessage bridge — imsg CLI with verified delivery
  • Email delivery — Gmail API, instruction channel
  • RSS / Telegram — cron delivery destinations

Pipeline Layer (5)

  • Email screener — classify inbox into action/read/defer
  • Obsidian inbox — raw notes → structured backlinked notes
  • Morning briefing — daily cron aggregation + delivery
  • Workflow store — DAG route indexing, activity tracking
  • Cron fleet — webhook subscriptions + scheduled jobs

Orchestration Layer (1)

  • Hermes Agent — primary reasoning + tool-calling engine
  • Organizational Orchestrator — V2.4/2.5 · 19 domain agents
  • Domain subagents — delegate_task + two-stage review
  • Skill system — 60+ procedural memory skills
  • MCP Gateway — native-mcp client, webhook router