Vigil — Cognitive Infrastructure for AI Agents

Created By
Alex LaGuardia3 months ago
A nervous system for AI agents — awareness daemon, frame-based tool filtering, signal protocol, session handoff, and event triggers. 14 modules, 268 tests, zero dependencies. MCP server with stdio and SSE transports.
Overview

Vigil — Cognitive Infrastructure for AI Agents

A nervous system for AI agents. Not another memory store — Vigil coordinates awareness across agents and sessions.

The Problem

  1. Agents forget everything between sessions — every conversation starts cold
  2. Loading all tools into context wastes 50K+ tokens before useful work begins
  3. Multiple agents can't coordinate without being in the same process

Key Features

  • Awareness Daemon — compiles system state every 90s into hot context. Agents boot with full awareness in <1 second
  • Frame-Based Tool Filtering — tag tools with context modes. Backend mode sees 14 tools, not 95. Saves 75-85% of tokens
  • Signal Protocol — lightweight event bus with content budgets (300-800 chars). Agents coordinate without direct communication
  • Session Handoff — structured summaries (files, decisions, blockers, next steps). Handoff chains track continuity
  • Knowledge Auto-Extract — daemon identifies recurring patterns in signals and suggests persistent knowledge entries
  • Event Triggers — pattern-match on signals and fire webhooks, Slack alerts, focus items, or log entries
  • MCP Server — 12 tools over stdio or SSE. Works with Claude Code, Cursor, Claude Desktop, Windsurf

Quick Start

pip install vigil-agent
vigil quickstart
vigil serve --transport stdio

Stats

  • 14 modules, 7,500+ lines, 268 tests
  • Zero dependencies beyond stdlib (MCP is optional)
  • SQLite storage, zero infrastructure
  • MIT license

Integrations

Claude Code, Cursor, Claude Desktop, GitHub Actions, Slack, Discord

Server Config

{
  "mcpServers": {
    "vigil": {
      "command": "vigil",
      "args": [
        "serve",
        "--transport",
        "stdio"
      ]
    }
  }
}
Project Info
Created At
3 months ago
Updated At
3 months ago
Author Name
Alex LaGuardia
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Shippo
@Shippo

20 hours ago
Mnemom

13 hours ago