Odel
loop protocol

loop protocol

Local
@dingdawgJavaScriptMITUpdated 1mo ago

Safe scheduled AI agents with governance gates. Verified, receipted, fail-closed.

dingdawg-loop

DingDawg Loop Protocol (DDLP) — safe scheduled AI agents with governance gates.

Every loop execution is verified, receipted, and fail-closed. MCP-native. Works with CrewAI, LangGraph, Claude Code, and Cursor.

Install

npx dingdawg-loop

Or as an MCP server in Claude Desktop / Claude Code:

{
  "mcpServers": {
    "dingdawg-loop": {
      "command": "npx",
      "args": ["dingdawg-loop"]
    }
  }
}

What it does

DDLP wraps any scheduled agent action with a governance gate that:

  • Evaluates the loop description before execution
  • Blocks destructive, financial, or sensitive operations until policy thresholds are met
  • Signs every execution with an Ed25519 receipt
  • Provides full audit history per loop

MCP Tools

ToolDescription
register_loopRegister a new scheduled loop with name, description, cron, and governance policy
execute_loopRun one cycle of a registered loop — governance gate fires before any action
list_loopsList all registered loops with status, last execution, and receipt count
pause_loopPause a running loop — no executions until resumed
resume_loopResume a paused loop
loop_auditRetrieve the full signed receipt audit trail for any loop

Governance gates

DDLP classifies every loop at registration time. High-risk categories require elevated approval:

  • Destructive operations — file deletion, database mutations, DROP statements
  • External communications — email sends, Slack messages, webhook calls
  • Financial operations — any spend, transfer, or payment action
  • Sensitive data access — PII reads, credential access, health records
  • Bulk operations — mass updates, batch sends, bulk deletes

Compatibility

Works with any MCP-compatible AI client:

  • Claude Desktop / Claude Code
  • Cursor
  • CrewAI (via MCP bridge)
  • LangGraph (via MCP bridge)

License

BUSL-1.1 — see LICENSE

Publisher

DingDawg Enterprise — hello@dingdawg.comdingdawg.com