💡 Inspiration The startup ecosystem is a graveyard of brilliant ideas that died because of one thing: The Burn Rate. While Google Cloud provides an incredible Always Free Tier and $300 in starter credits, most founders struggle to navigate the complex architecture required to keep costs at zero.
We were inspired to build Arcana, a "Next-Gen Agent" that acts as an elite technical co-founder. We didn't want a chatbot that simply gave advice; we wanted a swarm intelligence that could see architectural blueprints and hear a founder's vision to engineer a path to a $0 infrastructure bill from day one.
🧠 What it does Arcana is a high-performance multimodal agent designed for real-time strategic consultancy.
- Neural Vision Core: Through the camera, Arcana interprets hand-drawn diagrams, complex cloud architecture sessions, and UI wireframes in real-time.
- Bimodal Live Interaction: Powered by the Gemini Multimodal Live API, it allows for natural, low-latency voice conversations where users can interrupt ("barge-in") just like in a real human consulting session.
- Autonomous Persistence: Arcana can execute actions on behalf of the founder, such as saving leads and meeting transcripts directly into Google Cloud Firestore using function calling (tools).
- Zero-Cost Engineering: Proactively suggests specific GCP services (Cloud Run, BigQuery, Vision API) to ensure the startup stays within the "Always Free" limits.
🛠️ How we built it We architected Arcana to be GCP-Native and highly scalable:
- Core AI: We integrated gemini-2.0-flash-exp for real-time multimodal stream processing and gemini-1.5-pro via the Vertex AI SDK for deep-dive strategic report generation.
- The Engine: A Node.js backend deployed on Google Cloud Run serves as a secure, low-latency WebSocket proxy to Google’s Generative Service.
- Data Backbone: We used Cloud Firestore for real-time lead capture and Cloud Storage to persist generated strategy blueprints.
- Observability: Google Cloud Logging was integrated to provide a professional audit trail of every neural handshake.
- UI/UX: A custom "Antigravity UI" using Three.js provides synchronized visual feedback, making the AI's presence feel alive through a pulsing neural orb.
🚀 Challenges we ran into The most significant technical challenge was mastering the Bidirectional (Bidi) WebSocket Protocol. The Gemini Live API requires strict adherence to JSON schemas where even a slight deviation in key casing (CamelCase vs snake_case) would terminate the handshake.
We also had to solve for Multimodal Synchronization. Sending high-resolution video frames ($V$) and high-fidelity audio buffers ($A$) simultaneously can saturate the uplink. We optimized the pipeline to send 320x240 JPEG frames at 1fps with a 35% quality factor, maintaining a conversational latency ($L$) target of: $$L_{sync} = \frac{V_{size} + A_{size}}{Bandwidth} < 500ms$$
🏆 Accomplishments that we're proud of
- True Multimodality: We successfully bridged the gap between vision and action. Seeing the agent look at a drawing and immediately suggest a Firestore schema is a "Wow" moment.
- Tool Use Integration: Implementing Function Calling over a live WebSocket was a major win, allowing the agent to write to a database autonomously while speaking.
- $0 Operator Cost: The entire platform is designed to run within the Google Cloud Free Tier, demonstrating the very philosophy it preaches to founders.
🎓 What we learned We learned that Multimodality is the new "Command Line." The ability for an agent to have context over what a user is looking at changes the nature of human-computer interaction. We also gained deep expertise in low-level PCM audio processing and the nuances of the Google Generative Service protocol.
From a business perspective, we validated that the ROI of an AI startup can be mathematically optimized. If $Q$ is the free tier quota and $U$ is the user usage, Arcana ensures that the cost function $f(x)$ remains: $$f(x) = \begin{cases} 0 & \text{if } U \leq Q \ \text{Pay-as-you-go} & \text{if } U > Q \end{cases}$$
🔮 What's next for Arcana: Multimodal Swarm Intelligence for Founders Our roadmap for Arcana includes:
- Direct Infrastructure Provisioning: Integrating with Terraform so Arcana can not only suggest architectures but actually deploy them to the founder's GCP project.
- Swarm Collaboration: Allowing multiple "Specialized Intelligent Nodes" to join a single session, with one node focused on Legal/Compliance and another on DevOps.
- Advanced OCR-Vision: Improving the granularity of the Vision Core to read complex IDE code directly from the screen for real-time debugging.
Built With
- css3
- docker
- express.js
- gemini-1.5-pro
- gemini-2.0-flash
- google-cloud
- google-cloud-build
- google-cloud-firestore
- google-cloud-logging
- google-cloud-run
- google-multimodal-live-api
- html5
- node.js
- three.js
- vertex-ai-sdk
- web-audio-api
- websockets
Log in or sign up for Devpost to join the conversation.