VM0VM0
Integration

DeepSeek

AI language model API for chat and code generation

DeepSeek provides powerful AI language models for chat completion, reasoning, and code generation with OpenAI-compatible endpoints.

Required Environment

NameTypeDescription
DEEPSEEK_API_KEYsecretAPI key from DeepSeek Platform

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    provider: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/deepseek

Run

vm0 run my-agent "generate code using DeepSeek" \
  --secrets DEEPSEEK_API_KEY=sk-xxx

Example Instructions

AGENTS.md
# Code Assistant Agent

You use DeepSeek API for code generation tasks.

## Workflow

1. Receive coding request from user
2. Call DeepSeek chat completion API
3. Process and format the response
4. Return generated code

## Models

- deepseek-chat: General purpose
- deepseek-reasoner: Complex reasoning
AGENTS.md
# Reasoning Agent

You use DeepSeek reasoner for complex problem solving.

## Workflow

1. Receive complex problem
2. Use deepseek-reasoner model
3. Analyze step-by-step reasoning
4. Present solution with explanation

## Guidelines

- Use reasoner for math and logic
- Include temperature control for creativity