{"id":50745516,"url":"https://github.com/edycutjong/suture","last_synced_at":"2026-06-10T20:30:37.075Z","repository":{"id":361513833,"uuid":"1246688530","full_name":"edycutjong/suture","owner":"edycutjong","description":"🩺 Autonomous AI agent that detects and self-heals broken Fivetran syncs in under 60 seconds.","archived":false,"fork":false,"pushed_at":"2026-05-31T01:21:45.000Z","size":34535,"stargazers_count":0,"open_issues_count":21,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-31T02:28:05.317Z","etag":null,"topics":["ai-agent","fastapi","fivetran","gemini-api","hackathon","nextjs","schema-drift","self-healing","supabase"],"latest_commit_sha":null,"homepage":"https://suture.edycu.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edycutjong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-22T12:57:14.000Z","updated_at":"2026-05-31T01:12:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/edycutjong/suture","commit_stats":null,"previous_names":["edycutjong/suture"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/edycutjong/suture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edycutjong%2Fsuture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edycutjong%2Fsuture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edycutjong%2Fsuture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edycutjong%2Fsuture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edycutjong","download_url":"https://codeload.github.com/edycutjong/suture/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edycutjong%2Fsuture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34170162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agent","fastapi","fivetran","gemini-api","hackathon","nextjs","schema-drift","self-healing","supabase"],"created_at":"2026-06-10T20:30:34.502Z","updated_at":"2026-06-10T20:30:37.070Z","avatar_url":"https://github.com/edycutjong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eSuture 🩺\u003c/h1\u003e\n  \u003cp\u003e\u003cem\u003eAutonomous AI agent that detects and self-heals broken Fivetran syncs in under 60 seconds.\u003c/em\u003e\u003c/p\u003e\n  \u003cimg src=\"docs/readme-hero.png\" alt=\"Suture Hero\" width=\"100%\"\u003e\n\n  \u003cbr/\u003e\n\n  [![Live Demo](https://img.shields.io/badge/🚀_Live-Demo-06b6d4?style=for-the-badge)](https://suture.edycu.dev)\n  [![Pitch Deck](https://img.shields.io/badge/📊_Pitch-Deck-f59e0b?style=for-the-badge)](https://suture.edycu.dev/pitch-deck)\n  [![YouTube Demo](https://img.shields.io/badge/▶_YouTube-Demo-FF0000?style=for-the-badge\u0026logo=youtube\u0026logoColor=white)](https://youtu.be/Mckrst7NF8Y)\n  [![Built for Google Cloud Rapid Agent](https://img.shields.io/badge/Devpost-Google_Cloud_Rapid_Agent-8b5cf6?style=for-the-badge)](https://rapid-agent.devpost.com/)\n\n  \u003cbr/\u003e\n\n  ![Python](https://img.shields.io/badge/Python_3.12-3776AB?style=flat\u0026logo=python\u0026logoColor=white)\n  ![Next.js](https://img.shields.io/badge/Next.js_16-black?style=flat\u0026logo=next.js)\n  ![React](https://img.shields.io/badge/React_19-61DAFB?style=flat\u0026logo=react\u0026logoColor=black)\n  ![Gemini 3 Pro](https://img.shields.io/badge/Gemini_3_Pro-8E75B2?style=flat\u0026logo=googlebard\u0026logoColor=white)\n  ![Tailwind](https://img.shields.io/badge/Tailwind_v4-38B2AC?style=flat\u0026logo=tailwindcss\u0026logoColor=white)\n  ![Supabase](https://img.shields.io/badge/Supabase-3ECF8E?style=flat\u0026logo=supabase\u0026logoColor=white)\n  [![CI](https://github.com/edycutjong/suture/actions/workflows/ci.yml/badge.svg)](https://github.com/edycutjong/suture/actions/workflows/ci.yml)\n\n\u003c/div\u003e\n\n---\n\n## 📸 See it in Action\n\n### 🌐 Landing Page\n\u003cimg width=\"800\" height=\"500\" alt=\"landing-1\" src=\"https://github.com/user-attachments/assets/b7df1db5-281c-482b-99a3-2983463eecc5\" /\u003e\n\n### 🖥️ Dashboard — Command Center\n\u003cimg width=\"800\" height=\"500\" alt=\"dashboard-1\" src=\"https://github.com/user-attachments/assets/880bb792-b3d4-492e-bf1a-417a99908597\" /\u003e\n\n### 🤖 Agent Terminal — Autonomous Healing\n\u003cimg width=\"800\" height=\"500\" alt=\"agents\" src=\"https://github.com/user-attachments/assets/4fe11950-e835-4511-b1d7-98aaa2e9bdca\" /\u003e\n\n\u003e **Self-healing infrastructure in action.** Schema Break → Webhook → Log Analysis → Schema Diff → AI Reasoning → API Patch → Re-Sync → ✅ GREEN.\n\n---\n\n## 💡 The Problem \u0026 Solution\n\nSchema drift is the #1 cause of data pipeline failures. When an upstream source changes its API schema — renaming columns, adding fields, or deprecating endpoints — downstream Fivetran connectors break silently. The current fix is manual: 2-4 hours of comparing schemas, guessing mappings, and hoping nothing else breaks.\n\n**Average cost per incident: $500–$2,000 in engineering time + data downtime.**\n\n**Suture** solves this by turning Fivetran into a self-healing infrastructure.\n\n**Key Features:**\n- ⚡ **Autonomous Healing:** Detects and patches drift in under 60 seconds without human intervention.\n- 🧠 **Semantic Reasoning:** Uses Gemini 3 Pro to understand context, avoiding blind string-matching errors.\n- 🛡️ **Observability:** Military-grade SOC dashboard providing real-time oversight of the healing pipeline.\n\n## 🏗️ Architecture \u0026 Tech Stack\n\n```mermaid\nflowchart LR\n    W([\"🔔 Fivetran\\nWebhook\"])\n    D[\"01 · DETECT\\ndetector.py\"]\n    DI[\"02 · DIAGNOSE\\ndiagnoser.py\"]\n    M[\"03 · MAP\\nmapper.py\"]\n    P[\"04 · PATCH\\npatcher.py\"]\n    V[\"05 · VERIFY\\nverifier.py\"]\n    H([\"✅ HEALED\\n\u003c 60 seconds\"])\n\n    G([\"✦ Gemini 3 Pro\\nVertex AI\"])\n    FT([\"⚡ Fivetran\\nREST API\"])\n    PH([\"📡 Arize\\nPhoenix\"])\n    SB([\"🗄 Supabase\"])\n\n    W --\u003e D --\u003e DI --\u003e M --\u003e P --\u003e V --\u003e H\n\n    G -- semantic reasoning --\u003e M\n    FT -- PATCH /schemas --\u003e P\n\n    D \u0026 DI \u0026 M \u0026 P \u0026 V -. traces .-\u003e PH\n    DI \u0026 P \u0026 V -. state .-\u003e SB\n```\n\n| Layer | Technology |\n|---|---|\n| **Agent** | Python 3.12, FastAPI |\n| **AI** | Gemini 3 Pro (Vertex AI) |\n| **Data** | Fivetran REST API (7 methods) |\n| **Observability** | Arize Phoenix |\n| **Dashboard** | Next.js 16, React 19, Tailwind v4 |\n| **Database** | Supabase (PostgreSQL + Realtime) |\n| **Deploy** | Cloud Run (agent) + Vercel (dashboard) |\n\n## 🏆 Sponsor Tracks Targeted\n\n- **Fivetran Partner Track ($5,000):** Deep integration with Fivetran's API to manage syncs and modify table mappings programmatically.\n- **Grand Prize ($20,000):** Pushing the boundaries of autonomous AI agents in mission-critical infrastructure.\n\n## 🚀 Getting Started\n\n### Prerequisites\n- Node.js ≥ 20\n- npm\n- Python 3.12\n\n### Installation\n1. Clone: `git clone https://github.com/edycutjong/suture.git`\n2. Set up agent:\n   ```bash\n   cd agent \u0026\u0026 pip install -r requirements.txt\n   ```\n3. Set up dashboard:\n   ```bash\n   cd ../dashboard \u0026\u0026 npm install\n   ```\n4. Configure: `cp .env.example .env.local` (dashboard) and `cp .env.example .env` (agent), then add your API keys.\n5. Run: `npm run dev` (in dashboard) and `uvicorn main:app` (in agent).\n\n\u003e **For Judges:** Watch the automated demo pipeline!\n\u003e `python scripts/seed.py` (Setup healthy pipeline)\n\u003e `python scripts/break_schema.py` (Simulate drift)\n\n## 🧪 Testing \u0026 CI\n\n### 🛠️ Root Commands\nYou can run checks for both frontend and backend from the root directory using the `Makefile`:\n```bash\nmake test             # Run all tests (backend + frontend)\nmake coverage         # Run all tests with coverage report\nmake ci               # Run full CI pipeline (lint, typecheck, tests, build)\n```\n\n### 💻 Dashboard (Frontend)\n```bash\ncd dashboard\nnpm run lint          # Run ESLint check\nnpm run typecheck     # Run TypeScript type check\nnpm run test:coverage # Run Jest coverage report\nnpm run ci            # Run full frontend CI check (lint + typecheck + test)\n```\n\n### 🐍 Agent (Backend)\n```bash\ncd agent\n.venv/bin/ruff check .  # Lint python files using Ruff\n.venv/bin/mypy .        # Typecheck python files using Mypy\npytest --cov            # Run pytest with coverage report\n```\n\n## 📁 Project Structure\n\n```\nsuture/\n├── agent/            # Python FastAPI agent (webhook listener, schema differ, Gemini reasoner)\n├── dashboard/        # Next.js 16 App Router (status dashboard, schema diff viewer)\n├── docs/             # README assets (hero, screenshots)\n├── scripts/          # Demo scripts (seed, break, verify)\n├── data/             # Deterministic test fixtures (Salesforce schemas)\n├── db/               # Supabase schema (pipelines, incidents, config)\n├── .github/          # CI workflows\n└── README.md         # You are here\n```\n\n## 📄 License\n[MIT](LICENSE) © 2026 Edy Cu\n\n## 🙏 Acknowledgments\nBuilt for Google Cloud Rapid Agent Hackathon 2026. Thank you to Fivetran and Google Cloud for the APIs and tools.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedycutjong%2Fsuture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedycutjong%2Fsuture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedycutjong%2Fsuture/lists"}