ilnostro-affare

Liaison Agents Backend — DevOps skill for Claude Code

DevOps community

AI agent backend on Cloudflare Workers: MCP server for Claude and ChatGPT, human-confirmed write path to Meta Ads (plan → confirm → apply → journal → undo), per-tool-call logs, Durable Objects, anonym.

How to install Liaison Agents Backend

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ilnostro-affare/liaison-agents-backend and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Liaison Agents Backend does

AI agent backend on Cloudflare Workers: MCP server for Claude and ChatGPT, human-confirmed write path to Meta Ads (plan → confirm → apply → journal → undo), per-tool-call logs, Durable Objects, anonymized cross-tenant pool.

Alternatives in DevOps

  • Kubeshark — Cluster-wide network observability for Kubernetes 11.8k ★
  • Open Agent Email — Open-source email infrastructure for AI agents: secure inboxes, REST and MCP APIs, SMTP, human approval workfl 2.1k ★
  • Second Brain Cloudflare — One memory layer, every AI tool 734 ★

README

Liaison Agents Backend (Cloudflare)

Server-side code from **Liaison** ([liaisone.com](https://liaisone.com)), an agentic OS for Meta Ads: the operator says what they want in plain language, an AI agent reads the ad account and prepares the change, and the change reaches Meta only after the person explicitly confirms it. Every write is journalled and can be undone, and every object the agent creates starts out PAUSED.

**This is a curated extract, not the full production codebase.** Each file below was taken from the production workers and minimally adapted: imports and exports stitched together, unrelated branches trimmed, internal comments cleaned up. Each file's header comment says what was trimmed. It is meant to be read and tested. It does not deploy as-is (see [What is not here](#what-is-not-here)).

Architecture

flowchart LR
  subgraph Clients
    C1[Claude / ChatGPT
MCP clients] UI[Liaison web UI] end subgraph MCP["MCP worker (src/mcp)"] RPC["POST /mcp
JSON-RPC, OAuth
PUBLIC_TOOLS: 29 read-only"] REST["GET /call/{tool}
session token
+ front-end write channel"] end subgraph Runner["Agent runner (src/agent)"] LOOP["tool loop
OpenAI Responses API"] GUARD["guards
gate: Yes / No"] LOG[("LIA_CALL /
LIA_CHAT_DONE logs")] end subgraph Graph["Graph worker"] W["write layer (src/write)
plan → apply → journal → undo"] P["pool (src/pool)
consent tiers, tokens"] end DO[["UsageMeter
Durable Object
one per member"]] KV[(KV: plans, journal,
consent, token map)] R2[(R2: pool snapshots,
WebP previews, videos)] META[(Meta Graph API)] Q{{Queue + hourly cron}} C1 --> RPC --> Graph UI --> REST --> Graph UI <--> LOOP LOOP --> GUARD --> REST LOOP --> LOG LOOP --> DO W --> KV W --> META P --> KV P --> R2 P --> META Q --> P

Data fetching from MCP clients and from the UI goes through the MCP worker, which proxies every ca