Skip to content

Quick Start Guide | Set Up AI Coding Agents in 4 Steps

Quick Start Guide - AI Coding Agents Setup

Get your AI coding agent connected to an LLM provider in minutes.

The 4-Step Process

1. Choose a Provider

Pick an LLM provider based on your needs. See the Provider Overview for a comparison, or jump straight to a setup guide:

2. Get an API Key

Sign up with your chosen provider and generate an API key:

ProviderSign Up
Geminiaistudio.google.com
Claudeconsole.anthropic.com
OpenAIplatform.openai.com
DeepSeekplatform.deepseek.com
Groqconsole.groq.com

3. Set Your Environment Variable

Export the key so your agent can access it:

Terminal window
export GEMINI_API_KEY="your-key-here"

Persist it across sessions:

Terminal window
echo 'export GEMINI_API_KEY="your-key"' >> ~/.bashrc
source ~/.bashrc

4. Configure Your Agent

Connect your provider to an AI coding agent:

CLI/Terminal Agents:

  • Hermes — Autonomous with sub-agents, 100+ tools
  • OpenClaw — Code generation & refactoring
  • OpenCode — Open-source, JSON config
  • Claude Code — Anthropic’s official CLI
  • Codex — OpenAI’s coding agent

IDE Extensions:

  • Cursor / Windsurf — AI-powered editors
  • Continue — Universal IDE assistant
  • Cody — Sourcegraph’s AI assistant
  • Supermaven — Fast completions
  • VS Code Copilot — GitHub’s AI pair programmer

Verify Your Setup

  1. Check the key is set:

    Terminal window
    echo $GEMINI_API_KEY
  2. Confirm your config file is valid JSON:

    Terminal window
    cat opencode.json | python3 -m json.tool
  3. Run your agent and send a test prompt. If you get a response, you’re set.

Next Steps