Skip to Main Content

Every production application depends on third-party APIs. When an upstream API ships a breaking major release (renamed endpoints, reshaped schemas, required auth headers), development freezes. Engineers lose days hunting call sites, cross-referencing changelogs, and hoping existing tests catch regressions. APIShift is an autonomous, contract-driven API migration engine powered by Meta's Muse models. When an upstream API ships a breaking version, APIShift: 1. Deterministically diffs old and new OpenAPI specifications to extract every breaking protocol change. 2. Deploys Scout (Muse Spark) to synthesize changes into explicit migration rules. 3. Deploys Analyst (Muse Spark in an interactive tool loop) to walk AST symbols and call graphs, mapping affected files and downstream consumers that never call the API directly. 4. Deploys Refactor (Muse Wonder) to generate atomic search/replace patches (e.g., client adapter layers preserving internal types). 5. Proves the fix inside an isolated Docker sandbox with zero network access and strict, code-enforced guardrails. 6. Self-Heals via a Triage & Validator loop: If tests fail, Triage (Muse Spark) diagnoses the failure signature and routes corrections back to Refactor or Analyst (up to 3 retries (heals)). 7. Yields a reviewable GitHub Pull Request with full trace evidence, or a draft labeled `needs-human` if unresolved. Zero Framework Bloat (No LangGraph): By leveraging Meta's native Model API (/v1/responses), the included native tool calling, wire-level strict JSON schemas, and prompt caching I was able to avoid and include: - Bloated agent frameworks such as LangGraph or CrewAI. - APIShift runs on a clean, deterministic Python state machine - 100% auditable transitions and zero hidden prompt injections Why You Can Trust a Green Run (Immutable Test Oracle): Unlike agents that hallucinate success by disabling tests: APIShift treats your test suite as an immutable oracle enforced in code. - Tests, pytest.ini, and conftest.py are mounted read-only (:ro) in Docker and SHA-256 fingerprinted before and after execution. - Any patch attempting to inject pytest.mark.skip, xfail, or touch files outside the impact graph is atomically rejected. - Exact test collection invariant: The sandbox verifies the exact same number of tests run on v2 as on v1. Verified Benchmark (Live Weather API v1 → v2): - Baseline on v2: 4/14 tests passing. - APIShift output: 14/14 passing tests in 1 attempt. - Resource footprint: 8 model calls, 146 seconds, and only $0.111 in total API spend.

Team

pnemani

More from Meta Global AI Developer Hackathon

Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

Kurdolingo project preview

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

oqed project preview

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Adrian project preview

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Gatekeeper project preview

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Video2URDF project preview

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…

Kroonen AI project preview