Metamorphosis
Where AI meets privacy and performance
Created on 26th February 2026
•
Metamorphosis
Where AI meets privacy and performance
The problem Metamorphosis solves
Metamorphosis acts as an intelligent, privacy-first middleware between users and LLMs, solving the critical trilemma of AI adoption—privacy, cost, and security—through two core pillars:
Enterprise-Grade Security & Guardrails: It automatically protects your infrastructure by intercepting and masking sensitive PII (like patient/fintech data) before it ever leaves the local environment, while actively filtering and blocking malicious bot attacks and abusive automated traffic at the gateway level.
Intelligent Routing & Cost Optimization: It drastically reduces API costs and latency through a built-in Prompt Shrinker that compresses redundant tokens, and a dynamic routing engine that seamlessly directs simple queries to local models (zero cost) and complex tasks to cloud LLMs (high performance).
"We request , respected judges to spend some of their valuable time on our prototype as our demo video is a divided into parts to seamlessly integrate backend and blockchain."
Challenges we ran into
Building a middleware gateway that intercepts and modifies prompts in real-time came with several technical hurdles. The two biggest challenges were:
Integrating with DataHaven: Hooking up the gateway's semantic memory to DataHaven proved to be much more difficult than anticipated. The initial data structures returning from DataHaven didn't align with the format our Prompt Builder required to construct the LLM context.
How we fixed it: We had to deep-dive into DataHaven's API documentation and build a custom data transformation pipeline in the backend. This ensured the retrieved context snippets were perfectly formatted and token-optimized before being injected into the final prompt.
Building a Unified LLM Wrapper Class: Supporting dynamic routing between completely different ecosystems (local Ollama models and cloud OpenAI models) created massive inconsistencies in how API requests were formatted and how streaming responses were handled.
How we fixed it: We engineered a custom, unified Wrapper Class that acts as an abstraction layer. This class normalizes the input payloads and standardizes the output schemas, allowing our routing engine to seamlessly switch between local and cloud models on the fly without breaking the frontend parsing logic.
Tracks Applied (1)
Grand Prize
Technologies used