✨ Powered by Claude 3.5 & GPT-4o

Build software
at the speed of thought.

The AI-first code editor that understands your entire codebase. Write, edit, debug, and refactor with an AI pair programmer that lives inside your editor.

api.ts
types.ts
middleware.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// API route handler for user authentication
import { verifyToken, hashPassword } from './lib/auth';

export async function POST(req: Request) {
  const { email, password } = await req.json();

  // ✨ AI: Validate input with Zod schema
  const result = loginSchema.safeParse({ email, password });
  if (!result.success) {
    return json({ error: 'Invalid input' }, { status: 400 });
  }

  ⚡ AI suggested: Add rate limiting here
  const user = await findUserByEmail(email);
  const valid = await compare(password, user.hash);

  return json({ token: await sign(user) });
}

The AI-native editor

Not just autocomplete — a true pair programmer that understands context across your entire project.

🎯

Tab Compose

Describe what you want to build and Cursor generates production-ready code across multiple files, understanding imports, types, and conventions automatically.

Inline Edits

Highlight any code, press Cmd+K, and describe your change. Cursor applies precise edits while respecting existing patterns and style.

🔍

Codebase Index

Your entire codebase is indexed semantically. Ask questions about architecture, find where functions are used, or navigate complex codebases instantly.

🛡️

Privacy First

Full control over what code is shared with AI models. Use local models, set privacy rules per-project, and keep sensitive code completely offline.

Code smarter, not harder.

Join millions of developers building faster with Cursor. Free for personal use, with Pro plans for teams.

Download Cursor → Read the Docs