Skip to main content

Overview

VibeKit provides a fluent interface for configuration. You can chain methods to configure the agent, sandbox provider, GitHub integration, and other options.

Basic configuration

Configuration reference

Agent Configuration

Use the withAgent() method to configure which AI model to use.

Agent Configuration Options

Available agent types:
  • "claude" - Anthropic Claude agent
  • "codex" - OpenAI Codex agent
  • "opencode" - Opencode agent
  • "gemini" - Google Gemini agent
Available providers:
  • "anthropic" - Anthropic
  • "openai" - OpenAI
  • "openrouter" - OpenRouter
  • "azure" - Azure
  • "gemini" - Google Gemini
  • "ollama" - Ollama
  • "mistral" - Mistral AI
  • "deepseek" - DeepSeek
  • "xai" - xAI
  • "groq" - Groq

Sandbox Configuration

Use the withSandbox() method to configure the sandbox environment where code execution happens. You’ll need to install and import the specific provider package.

E2B Configuration

Northflank Configuration

Daytona Configuration

Cloudflare Configuration

For detailed configuration options for each provider, see the Supported Sandboxes section.

GitHub Integration

Use the withGithub() method to configure repository integration for pull request creation and code management.

Session Management (Optional)

Use the withSession() method to specify a sandbox session to reuse.

Working Directory

Use the withWorkingDirectory() method to specify the directory where the agent should execute commands and work with files.

Secrets Management

Use the withSecrets() method to provide environment variables and secrets to the sandbox.

Complete Example

EOF < /dev/null