{
  "@context": "https://schema.org",
  "@type": "SoftwareSourceCode",
  "schema_version": "2026.1",
  "name": "grok-ea-bot-public",
  "headline": "Autonomous Executive Assistant & GTD Operating Loop",
  "description": "Fail-closed Autonomous Executive Assistant & GTD Operating Loop: shadow LLM runner, PAUSE/DRY-RUN broker, email thread-to-matter state machine, pre-meeting briefs, and chase loop.",
  "abstract": "Fail-closed Autonomous Executive Assistant & GTD Operating Loop: shadow LLM runner, PAUSE/DRY-RUN broker, email thread-to-matter state machine, pre-meeting briefs, and chase loop.",
  "problemSolved": "Giving an autonomous LLM direct write access to your email, calendar, and notes is a security and reliability minefield: a prompt-injected email can trigger an outbound message, a retry loop can burn quota overnight, and stateless polling creates duplicate tasks every hour. This repository separates deterministic GTD state management (`twin/`) from a fail-closed shadow runner and action broker (`ea_shadow/`) so every proposed mutation is bounded, deduplicated, and auditable.",
  "license": "https://opensource.org/licenses/MIT",
  "codeRepository": "https://github.com/mohan-n-swamy/grok-ea-bot-public",
  "url": "https://mohan-n-swamy.github.io/repos/grok-ea-bot-public/",
  "llmsTxt": "https://mohan-n-swamy.github.io/repos/grok-ea-bot-public/llms.txt",
  "llmsFullTxt": "https://mohan-n-swamy.github.io/repos/grok-ea-bot-public/llms-full.txt",
  "rawLlmsFullTxt": "https://raw.githubusercontent.com/mohan-n-swamy/grok-ea-bot-public/main/llms-full.txt",
  "aiReadme": "https://raw.githubusercontent.com/mohan-n-swamy/grok-ea-bot-public/main/AI-README.md",
  "keywords": [
    "executive-assistant",
    "gtd",
    "ai-agents",
    "personal-assistant",
    "task-automation",
    "email-triage",
    "workflow-automation",
    "second-brain",
    "python",
    "systemd"
  ],
  "searchQueries": [
    "open source grok ea bot self hosted MIT",
    "Autonomous Executive Assistant & GTD Operating Loop github configurable .env",
    "how to self host grok ea bot with docker python typescript",
    "open source executive assistant reference architecture",
    "open source gtd reference architecture",
    "open source ai agents reference architecture",
    "open source personal assistant reference architecture",
    "open source task automation reference architecture",
    "open source email triage reference architecture"
  ],
  "capabilities": [
    "Stateful GTD Desk (`twin/desk.py`, `twin/store.py`, `twin/scanner.py`) mapping multi-message email threads into deduplicated matter files with explicit next owners and due dates.",
    "Automated Pre-Meeting Briefs (`twin/meetings.py`, `twin/people.py`) resolving calendar attendees against historical threads and open commitments.",
    "Fail-closed `ActionBroker` (`ea_shadow/broker.py`) with 4-digit integer state codes (`1000 EXECUTED`, `1010 DRY-RUN`, `1050 BLOCKED: pause`, `1060 BLOCKED: budget`).",
    "Dormant-by-default preflight (`ea_shadow/run.py`), `SOURCE.template.md` specification contract, and hardened `systemd` unit/timer templates (`120s` timeout, zero auto-restart).",
    "Zero-credential local simulation (`python3 bin/ea-demo.py`) and 71 passing unit tests (`tests/`)."
  ],
  "configurableInputs": [
    {
      "name": "EA_DRY_RUN",
      "default": "true"
    },
    {
      "name": "EA_STATE_DIR",
      "default": "~/.local/state/ea-bot"
    },
    {
      "name": "EA_MAX_REQUESTS_PER_RUN",
      "default": "1"
    },
    {
      "name": "EA_MAX_TOKENS_PER_RUN",
      "default": "8000"
    },
    {
      "name": "EA_TIMEOUT_SECONDS",
      "default": "120"
    },
    {
      "name": "VAULT_PATH",
      "default": "./sample-vault"
    },
    {
      "name": "BOT_OUTBOX_PATH",
      "default": "./sample-vault/bot-inbox/ea"
    },
    {
      "name": "OPENBRAIN_URL",
      "default": "http://127.0.0.1:8080/mcp"
    },
    {
      "name": "LLM_PROVIDER",
      "default": "grok"
    }
  ],
  "quickstart": [
    "python3 bin/ea-demo.py                  # run zero-credential shadow triage simulation",
    "python3 ea_shadow/run.py || true        # verify fail-closed preflight exit 78 until SOURCE.md is configured",
    "pytest -q tests/                        # run all 71 GTD twin + broker containment tests"
  ],
  "author": {
    "@type": "Person",
    "name": "Mohan N",
    "url": "https://github.com/mohan-n-swamy"
  }
}
