Skip to content

Lens

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

Core trick

Extracts stack traces from screenshots with Gemini vision, then type-checks a proposed patch in an ephemeral TypeScript sandbox before opening a PR.

Tags

Description

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.
jnd0/lens★ 00 forksTypeScriptCreated Mar 21, 2026 · last push Mar 21, 2026

README excerpt

# Lens 🔍 — Multi-Modal Autonomous DevOps Agent

<p align="center">
  <img src="public/logo.svg" width="120" height="120" alt="Lens Logo" />
</p>

Lens is a Multi-Modal Agent that acts as a visual triage command center. It lives directly in Slack and GitHub, reading screenshots of errors, autonomously finding the offending code in your repository, drafting a fix using Gemini 3.1 Pro, and submitting a Pull Request—all while maintaining a "Human-in-the-Loop" workflow.

Built for the **Vercel x DeepMind Zero to Agent Hackathon**.

## ✨ Features

- **Multi-Modal Analysis:** Paste an error screenshot into Slack. Lens extracts the error type, file name, line number, and stack trace natively using Google's Gemini Vision.
- **Omnichannel Presence:** Triggers from GitHub Webhooks or Slack `@mentions` directly where developers already work.
- **Agentic Code Patching:** Autonomously fetches the actual source code via the GitHub API, analyzes the root cause, and completely rewrites the buggy code file.
- **Pre-Fix Log Verification:** Integrates with Vercel Observability to query your live production logs, verifying that the error in the screenshot is actually happening before attempting a fix.
- **Glass-Box Command Center:** A beautiful Vercel Next.js dashboard provides a real-time timeline view of exactly what the agent is thinking, preventing black-box execution.
- **Human-in-the-Loop (HITL):** Sends an interactive Slack Block Kit message (and a dashboard prompt) allowing developers to 

Team