Essential Terminology
Before diving into AI tools, let's clarify common terms you'll encounter constantly: API, IDE, SDK, and how they relate to AI coding.
POST api.openai.com/v1/completions
{"prompt": "Write a function..."}
// API returns generated code
{"text": "function add(a, b)..."}
An API is a standardized way for programs to communicate. When you use ChatGPT, your browser sends requests to OpenAI's API, which returns responses. APIs are how AI tools connect to AI models.
Core concept: API = the messenger between your app and a service
An IDE is an all-in-one coding workspace. VS Code, Cursor, and WebStorm are IDEs. They combine code editing, file management, terminal, debugging, and extensions into one application.
Your workspace: IDE = your coding workspace with all tools integrated
An SDK is a toolkit for building on a specific platform. Want to build iPhone apps? Use the iOS SDK. Want to integrate Claude into your app? Use the Claude SDK. SDKs provide code libraries, docs, and tools.
Building blocks: SDK = toolkit to build on a platform (iOS, Android, AI services)
You work in an IDE, use an SDK to build features, and connect to external services via APIs. Example: Write code in VS Code (IDE), use the Firebase SDK, call the Stripe API for payments.
Summary: IDE = where. SDK = with what. API = how services connect.