1. AI application
AITK-Doc
English
  • 中文
  • English
  • Home Page
  • AITK-API
    • Model
      • Native OpenAI Format
      • Native Gemini Format
    • Chat
      • Native OpenAI Format
      • Native Gemini Format
      • Native Claude Format
      • Responses Request (openai)
    • Audio
      • Native OpenAI Format TTS
      • Native Gemini Format TTS
    • Images
      • Native OpenAI Format Image Editing (JSON)
      • Native OpenAI Format Image Generation
      • Native OpenAI Format Image Editing (Multipart)
      • Native Gemini Format Image Generation
    • Video
      • Seedance2.0 format
        • Create Video Generation Task
        • Query Video Generation Task Status
    • Vector
      • Embeddings
        • Create Embedding
    • Translation
      • Speech Translation
  • AI application
    • AITK API Integration with Claude Code
    • AITK API Integration with Cursor
    • AITK API Integration with Codex-cli
    • AITK API Integration with Codex Desktop
    • AITK API Integration with Hermes Agent
  1. AI application

AITK API Integration with Cursor

This tutorial applies to:
Cursor
Connecting to AITKAI API
Claude / GPT models
macOS / Windows

I. What Is Cursor#

1. Cursor Introduction#

Cursor official website:
https://www.cursor.com/
Cursor is an AI IDE deeply modified based on VS Code, integrating:
AI chat
AI programming
Code completion
Agent mode
Project analysis
Multi-file modification
Terminal assistance
Supports:
Claude
GPT
Gemini
DeepSeek
OpenAI Compatible API
It is currently one of the most popular AI programming IDEs.

II. Preparation#

What You Need to Prepare#

ItemDescription
CursorAI IDE
AITKAI APIAITKAI URL + API Key
Cursor AssistantTool for API source configuration switching
ModelClaude / GPT, etc.

III. Mac Installation Tutorial#

1. Download and Install Cursor#

Go to the Cursor official website:
https://www.cursor.com/downloads
Select:
MacOS
After downloading:
Drag into Applications

2. Download and Install Cursor Assistant#

GitHub download address: https://github.com/leookun/cursor-byok/releases
image.png
After downloading:
Drag into Applications
If you encounter installation failure, click Settings > Privacy & Security > Open Anyway.

image.png#

IV. Windows Installation Tutorial#

1. Download Cursor#

Go to:
https://www.cursor.com/downloads
Download:
Windows Installer

2. Download and Install Cursor Assistant#

GitHub download address: https://github.com/leookun/cursor-byok/releases
image.png
After downloading, install it.

V. Obtaining AITK API Information#

Go to the AboAI Open Platform to apply for an sk.
aitk Open Platform
image-20260514140602533.png
image-20260514140819323.png
Obtain the following information:
Configuration ItemExample
Base URLhttps://api.aitk.com
API Keysk-xxxx
ModelClaude Opus 4.6 / GPT 5.2 ...

Common Third-Party API Formats#

Go to AITKAI API documentation:
AITKAI API Documentation

VI. Connecting Cursor to AITKAI API#

1. Disable Cursor Official sk Settings#

image.png#

2. Open Cursor Assistant Configuration#

image.png#

3. Fill in AITKAI Configuration#

Fill in:
Configuration ItemExample
Base URLhttps://api.aitk.com
API Keysk-xxxx
Modelgpt-5.2 / Claude-Opus-4.6
image.png

4. Go to Cursor and Refresh the Model List#

image.png

If you still cannot see it, and you confirm that you have reinstalled Cursor, follow these steps: open the Assistant first, then open Cursor.
Then exit both Cursor and the Assistant, and open the Assistant first, then open Cursor again.

7. Verify Whether the Connection Is Working#

Select a model to test.
image.png
修改于 2026-11-23 02:30:16
上一页
AITK API Integration with Claude Code
下一页
AITK API Integration with Codex-cli
Built with