# Lens

- **Event:** [Zero to Agent: Vercel x Deepmind Hackathon London](https://cerebralvalley.ai/e/zero-to-agent-london)
- **When:** Sat, Mar 21 at 9:00 AM – 10:00 PM (GMT)
- **Where:** London, UK
- **Team:** [Jaume Noguera](https://cerebralvalley.ai/u/jnd0)
- **GitHub:** https://github.com/jnd0/lens
- **Demo video:** https://youtu.be/lpRr04SzP5A
- **Gallery:** https://cerebralvalley.ai/e/zero-to-agent-london/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/zero-to-agent-london/hackathon/gallery/38

Lens is a production-ready, multi-modal autonomous DevOps agent that lives in Slack. 

When a team member posts a bug report or an error screenshot, Lens springs into action. Using a Human-in-the-Loop (HITL) architecture, it acts as an AI site reliability engineer: 

1. Visual Analysis: It uses Gemini's vision capabilities to extract error details and stack traces directly from uploaded screenshots.

2. Production Verification: It autonomously queries Vercel's live request logs via API to correlate the reported issue with actual 404s or 500s happening in production.

3. Repository Exploration: It explores the connected GitHub repository to fetch the offending source code.

4. Validation Sandbox: It drafts a fix and runs it through an ephemeral TypeScript compiler sandbox to ensure there are no syntax or type errors before proposing it.

5. Glass Box Telemetry: The entire reasoning loop, tool calls, and execution timeline are streamed live to a futuristic "Neon Telemetry" Next.js dashboard. 

6. 1-Click Remediation: A human reviews the fix on the dashboard or in Slack, clicks "Approve", and Lens automatically opens a GitHub Pull Request with the validated patch.

---

Markdown version of https://cerebralvalley.ai/e/zero-to-agent-london/hackathon/gallery/38. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
