How to build a Google Antigravity Agent That Fixes Failing CI with CopilotKit
Blog post from CopilotKit
Repo Doctor is a tutorial application that combines Google’s Antigravity agent platform, its AG-UI streaming adapter, and CopilotKit to diagnose and repair failing GitHub Actions CI workflows through an interactive web interface. Powered by Gemini, the agent clones a repository into an isolated workspace, examines CI results, installs dependencies, reproduces failures locally, edits code, displays diffs and test-result cards, verifies that the originally failing check passes, and creates a local fix branch without pushing changes to GitHub. Antigravity supplies built-in file, shell, web-search, and custom Python tool capabilities, while AG-UI streams model output, tool activity, shared state, and approval interruptions to a Next.js frontend backed by FastAPI. Users can approve or deny potentially risky operations such as installs, edits, shell commands, and pushes, while CopilotKit renders tool-specific UI, A2UI test-report components, a live side panel, and downloadable run reports. CopilotKit Intelligence can persist conversations across devices and provide usage and reliability analytics, while the complete application can run locally or as a private single-instance Google Cloud Run service with secrets in Secret Manager and per-conversation workspaces preserved in Cloud Storage.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Secrets Management | 4 | 1,018 | 176 | 74 | -67% |
| Real-time | 1 | 741 | 211 | 97 | -82% |
| Subagents | 1 | 60 | 22 | 16 | -74% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.