Inspiration Static 3D virtual spaces often lack real-time reactivity and autonomous intelligence. CyberChurch Onchain was built to bridge this gap by transforming 3D WebGL spatial venues into living, autonomous environments powered by Google’s Gemini AI agents and zero-knowledge cryptography. Supported by the Google for Startups AI Agents Challenge, our goal is to deliver low-latency AI interactions without compromising user privacy or zero-trust security. How We Built It

AI & Serverless Backend: Deployed microservices on Google Cloud Platform (GCP Cloud Run) hosting Gemini AI agent decision loops that process real-time session inputs.

Low-Latency Telemetry: Integrated Server-Sent Events (SSE) to stream live agent decisions and event updates directly from Cloud Run to the client.

3D Spatial Client: Developed the CyberChurch_Mesh engine in Unity 3D (WebGL), deserializing incoming SSE JSON streams in real time to render active spatial states.

Zero-Trust Security & Auth: Secured API routes using RS256 JWT tokens with public key management inside GCP Secret Manager, paired with WebAuthn Passkeys and Coinbase Developer Platform for frictionless Web3 transactions.

Zero-Knowledge Privacy: Structured off-chain prediction models to generate ZK execution receipts, ensuring session evaluations remain verifiable and privacy-preserving.

Challenges We Faced

Unity WebGL Streaming: Native Unity web requests lack out-of-the-box SSE streaming support, requiring custom C# deserialization models to process continuous event loops without dropping frames.

Serverless Auto-Scaling: Ensuring fast cold-start performance on GCP Cloud Run while scaling from zero to active container instances during sudden traffic spikes.

Architectural Pivot for WebGL: Bypassing native mobile app store restrictions by transitioning from traditional native IAP to Web3 Passkey authentication directly inside the browser.

What We Learned

Building low-latency streaming pipelines between serverless GCP infrastructure and client-side WebGL engines.

Structuring multi-agent Gemini loops to maintain coherent spatial session states under zero-trust authentication constraints.

What's Next Completing full ZK circuit compilation (.wasm and .zkey artifacts) to transition from mock proof metadata to fully verified on-chain execution receipts on Base L2.

Built With

Share this project:

Updates

posted an update

Building the Church of tomorrow, one block at a time.

I am incredibly proud to share the complete structural and architectural map of the CyberChurch Onchain platform. This diagram represents more than just a backend pipeline—it is the seamless integration of cloud engineering, immersive 3D design, and decentralized Web3 governance.

We are currently in the final optimization phase of our automated CI/CD deployment pipeline between Google Cloud and Firebase Hosting, laying down the digital foundation for our community.

Here is how our ecosystem comes together: 1️⃣ Systems (Backend): A robust infrastructure compiling our Unity WebGL code, heavily protected by cross-project IAM security protocols. 2️⃣ Design (Frontend): Our newly onboarded 3D Architect steps in via Unity Cloud to build the visual landscape, textures, and gathering hubs directly onto the active technical grid. 3️⃣ Identity (Web3): Secure, frictionless authentication powered by Coinbase Wallet to anchor our community's economy and governance directly on-chain.

A massive thank you to our incredible engineering and design teams for their precision and dedication. The foundations are poured, and the structure is rising!

Check out our full platform workflow in the image above.

Web3 #CloudArchitecture #Unity3D #GoogleCloud #Firebase #Blockchain #Innovation #CyberChurch #Onchain #TechLeadership

Log in or sign up for Devpost to join the conversation.