Categories
Workflow Automation MCP Gateway DevOps Automation AI Agent Governance AI Cost Management Audit ToolsStars
Forks
Watchers
Developer links
Preloop
Preloop is a self-hostable control plane that governs every AI agent tool call and model call, and can run ticket-triggered agent work that returns as reviewable pull requests. An MCP firewall can allow, deny, or hold any tool call for approval, with require-justification rules written as YAML and CEL policy. Human approvals arrive on mobile, watch, Slack, Mattermost, email, webhook, or the command line, and agents can ask a person a question before continuing. The model gateway speaks OpenAI, Anthropic, and Gemini formats, applies budgets and allowed-model lists, and attributes token spend by model, agent, session, API key, flow, and user. Flows start agents from GitHub, GitLab, Bitbucket Cloud, Jira, webhooks, or CI jobs, in hosted containers or on private runners that connect over an outbound WebSocket. Twenty-one presets review pull requests, implement issues, triage tickets, scan for vulnerabilities, and collect evidence packs. Operators can steer a running agent from the console, phone, or watch with notes, then review the resulting pull request. One session timeline records tool calls, model calls, policy decisions, approvals, spend, outcomes, and synchronized recordings. Fleet Map shows people, devices, agents, models, and observed work in one view. An account kill switch blocks gateway and tool traffic and stops managed runs, with audited recovery. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.
Benefits
- Govern Every Tool Call
- The MCP firewall allows, denies, or holds tool calls for approval under YAML and CEL policy, with required justifications and sample-call testing before a rule ships.
- Cap Agent Spend Live
- Gateway budgets and allowed-model lists limit model use, and token accounting attributes spend by model, agent, session, API key, flow, and individual user.
- Turn Tickets Into Reviews
- Flows triggered by trackers, webhooks, or CI run agents in containers or on private runners, then deliver pull requests that reviewers can inspect and resume.
- Audit Sessions End To End
- One timeline records tool calls, model calls, policy decisions, approvals, spend, outcomes, and recordings, giving security teams searchable evidence for each agent session.
Features
- MCP Firewall
- Govern MCP tool calls with allow, deny, approval, and justification actions defined in YAML and CEL, plus OAuth token refresh for external servers.
- Model Gateway
- Route OpenAI, Anthropic, and Gemini format traffic to many providers with budgets, allowed-model lists, token accounting, and per-user attribution.
- Agent Flows
- Start agents from GitHub, GitLab, Bitbucket Cloud, Jira, webhook, or CI events using 21 presets for review, implementation, triage, and scanning.
- Human Approvals
- Deliver per-call approval requests to mobile, watch, Slack, Mattermost, email, webhook, or command line, including native Bash and Edit actions.
- Session Timeline
- Record tool calls, model calls, policy outcomes, approvals, spend, and results in one runtime timeline with synchronized session recordings.