Chimera Protocol

🔐 Demo Access

Test Credentials:

Note: Initial login might take a few seconds as the server initializes.


💡 Inspiration

In today's AI-driven development landscape, we constantly switch between different LLMs: GPT for reasoning tasks, Claude for coding workflows, Gemini for analytical work. But every switch means starting from scratch.

New model. Lost context. Broken flow.

For teams building AI-powered products, this problem multiplies. Each developer's AI assistant operates in isolation, creating disconnected insights and duplicate efforts. Knowledge gets scattered across separate conversations.

We needed something that could unify AI memory across models and teams.

That's why we built Chimera Protocol for CodeSpring Hackathon: a universal memory layer that transforms isolated AI conversations into one continuous, shared intelligence that works with any LLM.

One memory. Many minds.

Alt text


🧠 What It Does

Chimera Protocol is a universal memory layer for AI-powered development workflows.

Core Features:

  • Multi-LLM Router: Seamlessly connect OpenAI, Anthropic, Google, DeepSeek, and more through one unified interface Alt text Alt text

  • Persistent Memory System: Every conversation gets vectorized and stored. Context persists across sessions and models. Alt text Alt text

  • Context Injection: Dynamically inject stored knowledge into any model, any conversation, anytime Alt text

  • Universal Import: Create persistent memories from PDFs, documents, web pages, or raw text Alt text

  • Team Workspaces: Shared environments with role-based access control

  • Real-Time Collaboration: Multiple users working together with live updates

  • Developer Console: MCP server for inspecting memory retrieval, prompt construction, and routing decisions

  • Full Data Export: Download complete datasets as JSON: memories, chats, embeddings, settings

The result? Claude remembers what you told GPT-4 last week. Your team's AI assistants share unified context instead of working in silos.


🛠️ How We Built It

Chimera Protocol was architected and built during CodeSpring Hackathon using modern full-stack technologies.

Frontend: React/TypeScript SPA with a neural-themed interface featuring neon aesthetics and a 3D brain visualization built with Three.js, where AI models appear as connected glowing nodes.

Backend: Django REST Framework handling JWT auth, workspace management, encrypted API key storage (Fernet), and smart multi-LLM routing.

The Core Innovation: Our memory injection system stores knowledge fragments as vector embeddings and dynamically injects them as context into any AI conversation. This simple yet powerful approach enables true cross-model memory sharing.

Tech Stack:

  • Frontend: React, TypeScript, Three.js, TailwindCSS
  • Backend: Django, Django REST Framework, PostgreSQL
  • AI Integration: OpenAI, Anthropic, Google AI, DeepSeek APIs
  • Vector Storage: Custom embedding pipeline
  • Security: Fernet encryption, JWT authentication
  • Real-time: WebSocket connections for live collaboration

System Architecture: Alt text


🚧 Challenges We Ran Into

Multi-LLM API Integration: Each AI provider (OpenAI, Anthropic, Google, DeepSeek) has different auth patterns, request formats, and error handling. Building a unified router that gracefully handles all variations required extensive iteration and robust error management.

3D Rendering Performance: Integrating Three.js with React's state management created performance challenges. Achieving smooth 60fps renders while maintaining reactive state required careful optimization using useMemo, useCallback, and proper WebGL resource cleanup.

Chat Interface UX: Building a production-quality chat interface revealed unexpected complexity: messages jumping during render, scroll positions breaking, auto-scroll failing at edge cases. Multiple iterations were needed to perfect the flex layout and scroll behavior.

Security Architecture: Implementing secure API key storage (Fernet encryption) while maintaining the ability to decrypt them for live API calls required balancing security best practices with usability requirements.


🏆 Accomplishments We're Proud Of

True Cross-Model Memory: Successfully implemented memory injection that works identically across GPT-4, Claude, Gemini, and DeepSeek. One shared context, multiple AI minds.

Immersive 3D Interface: Created a model selection experience that feels like interacting with an actual neural network: not just a dropdown, but a visual representation of AI architecture.

Real-Time Team Collaboration: Built live sync that lets multiple users work in shared workspaces with instant updates. No manual refresh needed.

Full-Stack Integration: Achieved seamless frontend-backend communication with zero integration issues. Auth, API routing, and state management work flawlessly together.

Production-Ready Implementation: Every feature is fully functional with real API calls, persistent storage, and secure authentication. This is a deployable product, not a prototype.

Cohesive Design Language: The UI truly reflects the concept: a lab for connecting AI minds. Form perfectly matches function.


📚 What We Learned

Architecture Matters: Investing time in system design upfront prevented major refactoring later. Clean separation of concerns between routing, memory, and auth layers paid dividends.

API Abstraction is Essential: Building a unified interface over disparate AI APIs required deep understanding of each provider's quirks. The abstraction layer became the most valuable component.

Performance Optimization is Iterative: 3D rendering performance required multiple optimization passes. Profiling, measuring, and incrementally improving was more effective than premature optimization.

Security Cannot Be Afterthought: Implementing encryption and auth from day one was easier than retrofitting it later. Security-first architecture simplified development.

User Experience Details Matter: The difference between a working chat interface and a polished one came down to dozens of small UX refinements: scroll behavior, loading states, error handling.


🔮 What's Next

RAG Integration: Implement semantic search to automatically surface relevant memories based on conversation context using advanced retrieval techniques.

Memory Graphs: Visualize relationships between memories as an interactive knowledge graph, revealing patterns and connections in stored knowledge.

Voice Interface: Add ElevenLabs integration for voice-based interactions with automatic memory injection and retrieval.

Mobile Application: Build React Native version for iOS and Android, enabling mobile memory management and AI conversations.

Fine-Tuning Pipeline: Use accumulated conversation history to fine-tune custom models that understand user-specific context and preferences.

Enterprise Features: Add audit logs, compliance controls, and advanced permission systems for organizational deployments.

Plugin Ecosystem: Create an extensible architecture allowing third-party integrations and custom memory processors.


Chimera Protocol: Because your AI shouldn't forget every time you switch models.

Built for CodeSpring Hackathon 2025-26

Built With

Share this project:

Updates

Submission history