hayfever

Mayfly — DevOps skill for Claude Code

DevOps community

Ephemeral sandboxes for AI coding agents: webhook triggers, a durable queue, and disposable sessions on Kubernetes.

How to install Mayfly

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

What Mayfly does

Ephemeral sandboxes for AI coding agents: webhook triggers, a durable queue, and disposable sessions on Kubernetes.

Alternatives in DevOps

  • Kubernetes 71.9k ★
  • Kubeshark — Cluster-wide network observability for Kubernetes 11.8k ★
  • Skypilot — Run, manage, and scale AI workloads on any AI infrastructure 9.7k ★

README

mayfly

CI Release Go 1.26 License: Apache-2.0

Mayfly is a self-hosted control plane for **short-lived, interactive AI agent sessions** on Kubernetes. A webhook, a schedule, the API, the CLI, or the web UI starts a session in a locked-down pod; people can join its live thread, and when it ends you get a durable artifact bundle. The control plane holds every credential: agents reach models, MCP servers, and plugins only through its LLM proxy and audited tool gateway, and nothing runs between sessions.

Features

Sessions

  • Start a session from a signed webhook (generic HMAC or token, GitHub, Slack slash commands, Datadog), a schedule, the API, the CLI, or the web UI.
  • Webhook deliveries are verified, queued, and answered at once; a worker creates the session.
  • Scheduled source runs: an http.json source chain reads providers (Notion, Firecrawl, any JSON), writes a run artifact, and starts one session on a material change.
  • Shared live thread over WebSocket: many people attach, send messages, and watch tool calls.
  • Selectable agent manifests: prompt, model, skills, MCP servers, plugins, limits, and an in-image harness.
  • Explicit close, TTL expiry, and idle timeout. A session cap and per-trigger rate limits keep one trigger from overrunning the cluster.
  • Turn journal: a replacement container resumes an interrupted turn instead