Configuration
VibeKit configuration reference
Overview
VibeKit requires a configuration object to initialize the client. The configuration defines which AI agent to use, sandbox environment settings, GitHub integration, telemetry options, and session management.
Basic configuration
Configuration reference
Agent Configuration
The agent
section defines which AI model and mode to use.
agent.type
- Type:
"codex" | "claude" | "opencode" | "gemini"
- Required: Yes
- Description: The type of AI agent to use
- Options:
"codex"
- OpenAI Codex agent"claude"
- Anthropic Claude agent"opencode"
- Opencode agent"gemini"
- Google Gemini agent
agent.model
- Type:
AgentModel
- Required: Yes
- Description: Model configuration and API credentials
Property | Type | Required | Description |
---|---|---|---|
name | string | No | Custom name for the model |
apiKey | string | Yes | API key for the chosen agent provider |
provider | string | No | AI provider service |
Available providers:
"openai"
- OpenAI"anthropic"
- Anthropic"openrouter"
- OpenRouter"azure"
- Azure"gemini"
- Google Gemini"ollama"
- Ollama"mistral"
- Mistral AI"deepseek"
- DeepSeek"xai"
- xAI"groq"
- Groq"arceeai"
- Arcee AI
Environment Configuration
The environment
section configures the sandbox environment where code execution happens.
E2B Configuration
Property | Type | Required | Description |
---|---|---|---|
apiKey | string | Yes | Your E2B API key |
templateId | string | No | Custom template ID for the sandbox environment |
Daytona Configuration
Property | Type | Required | Description |
---|---|---|---|
apiKey | string | Yes | Your Daytona API key |
image | string | No | Docker image to use for the environment |
serverUrl | string | No | Custom Daytona server URL |
GitHub Integration
The github
section configures repository integration for pull request creation and code management.
Property | Type | Required | Description |
---|---|---|---|
token | string | Yes | GitHub personal access token with repository permissions |
repository | string | Yes | Repository in the format “owner/repo-name” |
Telemetry Configuration (Optional)
The telemetry
section enables OpenTelemetry observability for monitoring and debugging.
Property | Type | Required | Default | Description |
---|---|---|---|---|
isEnabled | boolean | Yes | - | Enable or disable telemetry collection |
endpoint | string | No | - | OTLP HTTP endpoint URL for traces |
serviceName | string | No | "vibekit" | Service name for resource attributes |
serviceVersion | string | No | "1.0.0" | Service version for resource attributes |
headers | object | No | - | Additional headers for OTLP HTTP requests |
timeout | number | No | 5000 | Request timeout in milliseconds |
samplingRatio | number | No | 1.0 | Sampling ratio from 0.0 to 1.0 (1.0 = 100% sampling) |
resourceAttributes | object | No | - | Additional resource attributes to include in telemetry data |
Session Management (Optional)
Property | Type | Required | Description |
---|---|---|---|
sessionId | string | No | Unique identifier for grouping related requests and maintaining conversation context |