← All documentation

Configure AskCodi API

Fast guide to connect Kilocode AI coding assistant with AskCodi API. Configure OpenAI-compatible settings for Code, Architect, Ask, Debug, and Orchestrator modes.

Connect Kilocode to AskCodi for diverse AI models. Use different models for different coding modes.

Why Connect Kilocode to AskCodi?

Kilocode uses standard providers by default. Connect AskCodi for specialized models. Use fast models for Ask Mode. Use powerful models for Architect Mode.

Prerequisites

  • VS Code or JetBrains IDE with Kilocode extension
  • AskCodi account with API key
  • Internet connection
  • Basic IDE settings knowledge

Your API key connects to multiple AskCodi models via single endpoint.

Step 1: Install Kilocode Extension

For VS Code:

  1. Open Extensions (Ctrl+Shift+X)
  2. Search "Kilocode"
  3. Install extension (ID: kilocode.kilocode)

For JetBrains:

  1. Go to Settings > Plugins
  2. Search "Kilocode"
  3. Install extension
  4. Restart IDE after installation

Step 2: Open Kilocode Settings

  1. Click Kilocode icon in IDE sidebar
  2. Look for API Provider settings section
  3. Find main configuration panel or settings gear icon

Step 3: Select OpenAI Compatible Provider

  1. In API Provider dropdown, select "OpenAI Compatible"
  2. This enables OpenAI-compatible API services like AskCodi

Step 4: Configure Base URL

  1. Enable "Use custom base URL" option
  2. Enter AskCodi API endpoint:
https://api.askcodi.com/v1

Step 5: Add API Key

  1. Go to AskCodi dashboard and copy API key
  2. In Kilocode settings, find API Key field
  3. Paste your AskCodi API key
  4. Keep key secure

Step 6: Configure Models

After adding API key, Kilocode fetches models from AskCodi. Choose models for different modes:

  • Ask Mode: Fast, accurate response models
  • Code Mode: Code generation and understanding models
  • Architect Mode: Strong reasoning models
  • Debug Mode: Problem-solving models

Step 7: Test Integration

  1. Test Ask Mode with simple query
  2. Test Code Mode with multi-step request
  3. Verify responses come through with good response times

Optimization Tips

Model Strategy: Use different models for different tasks. Fast models for Ask Mode. Powerful models for Architect Mode.

Usage Monitoring: Check AskCodi dashboard to monitor API usage across Kilocode modes.

Performance: If responses are slow, try different models or check internet connection.

Security: Rotate API key periodically in AskCodi and update in Kilocode.

Troubleshooting

Connection Failures:

Authentication Errors:

  • Check API key formatting (no extra spaces)
  • Regenerate key if needed

Model Loading Issues:

  • Refresh model list or restart IDE
  • Confirm AskCodi account has model access

Performance Problems:

  • Try different models
  • Check internet connection
  • Some models may have high load

Key Steps

  • Install Kilocode extension
  • Open Kilocode settings in IDE sidebar
  • Select OpenAI Compatible provider
  • Use API URL: https://api.askcodi.com/v1
  • Add AskCodi API key securely
  • Select models for different Kilocode modes
  • Test integration with simple query

Connect Kilocode to AskCodi for specialized AI models across all coding modes.

Something missing or wrong in this guide? Talk to us