Privacy Policy
Last updated: February 14, 2026
Overview
Viagen is an open-source Vite dev server plugin that connects your local development environment to Claude Code. This privacy policy describes how data is handled when using viagen, including the Vercel Sandbox integration.
What viagen does
Viagen runs as a Vite plugin inside your dev server. It provides a chat interface that sends your messages to Claude Code (via the Anthropic API) and applies code changes to your project. When deployed to a Vercel Sandbox, viagen runs your dev server in an isolated, ephemeral virtual machine.
Data we collect
Viagen itself does not collect, store, or transmit any personal data or telemetry. The plugin runs entirely within your local machine or your Vercel Sandbox instance.
Data processed during use
When you use viagen, the following data is processed in the course of normal operation:
- Chat messages — Messages you send through the chat panel are forwarded to the Anthropic API (Claude) for processing. These are subject to Anthropic's Privacy Policy.
- Source code — Claude Code reads and edits files in your project directory as part of its normal operation. File contents may be sent to the Anthropic API as context for your requests.
- Authentication tokens — OAuth tokens (for Claude Max/Pro) or API keys are stored in your local .env file and passed to the sandbox environment. These are used solely to authenticate API requests and are never shared with third parties.
- Git information — When deploying a sandbox with git integration, your repository URL, branch name, and git user identity are used to configure the sandbox environment.
Vercel Sandbox integration
When you deploy to a Vercel Sandbox, your project code is transmitted to Vercel's infrastructure to run in an isolated environment. Sandbox instances are ephemeral and are automatically destroyed after the configured timeout. Data processed within a sandbox is subject to Vercel's Privacy Policy.
Third-party services
Viagen integrates with the following third-party services:
- Anthropic (Claude API) — For AI-powered code assistance. Privacy Policy
- Vercel — For sandbox hosting and deployment. Privacy Policy
- GitHub — For git operations when a GitHub token is configured. Privacy Policy
Data storage
Viagen stores configuration data (API keys, OAuth tokens) exclusively in your project's local .env file. A .viagen/ directory is created in your project root to store dev server logs and plugin configuration. No data is sent to viagen-operated servers — there are none.
Sandbox authentication
Sandbox instances are protected by a randomly generated authentication token. Access requires this token, which is provided as a URL parameter on first visit and stored as an HTTP-only session cookie. Unauthenticated requests to sandbox endpoints receive a 401 response.
Open source
Viagen is open-source software licensed under the MIT License. You can review the complete source code at github.com/viagen-dev/viagen to verify these privacy practices.
Contact
For questions about this privacy policy, please open an issue on the GitHub repository.
© 2026 viagen. All rights reserved. Return to homepage