Built to make you extraordinarily productive, Cursor is the best way to code with AI.

Scenic landscape background
Cursor
train_model.py
run_experiment.py
config.yaml
import torch
import torch.nn as nn
- from torch.utils.data import DataLoader
+ from torch.utils.data import DataLoader, random_split
- from torchvision import datasets
+ from torchvision import datasets, transforms
+ from tqdm import tqdm
+ import yaml
+ from pathlib import Path
+ import json

- def get_dataloaders(batch_size=64):
- transform = transforms.Compose([transforms.ToTensor()])
- train = datasets.MNIST(root="data", train=True, download=True, transform=transform)
- test = datasets.MNIST(root="data", train=False, download=True, transform=transform)
- return DataLoader(train, batch_size=batch_size, shuffle=True), DataLoader(test, batch_size=batch_size)
+ def load_config(config_path="experiments/config.yaml"):
+ with open(config_path) as f:
+ return yaml.safe_load(f)

class MLP(nn.Module):
- def __init__(self, hidden=128):
+ def __init__(self, config):
super().__init__()
+ hidden = config['model']['hidden_size']
+ dropout = config['model']['dropout']

self.net = nn.Sequential(
- nn.Linear(hidden, 10),
+ nn.Linear(hidden // 2, 10),
)

+ # Seed for reproducibility
+ torch.manual_seed(42)
+ if device == "cuda":
+ torch.cuda.manual_seed_all(42)
+ # AMP + Scheduler
+ scaler = torch.cuda.amp.GradScaler(enabled=(device=="cuda"))
+ scheduler = torch.optim.lr_scheduler.CosineAnnealingLR(opt, T_max=epochs)

PyTorch MNIST Experiments

Add mixed precision training, learning rate scheduling, and proper validation. Also create an experiment config system so I can easily run different hyperparameter settings.

Thought10s

Searched PyTorch mixed precision training best practices

Read notebooks/train_model.py (current implementation)

I'll enhance your MNIST trainer with a complete experiment framework including mixed precision, validation splitting, and proper configuration management. Let me start by rewriting the training module:

train_model.py
+156-34

Now let me update the evaluation module to save results and generate a detailed report:

evaluation.py
+24-6

Done, configurable MNIST experiment framework with AMP and reports.

/ for commands · @ for files
GPT-5

Trusted every day by millions of professional developers.

Stripe logoStripe logoOpenAI logoOpenAI logoLinear logoLinear logoDatadog logoDatadog logoRippling logoRippling logoFigma logoFigma logoRamp logoRamp logoAdobe logoAdobe logo
Abstract background pattern

Agent turns ideas into code

A human-AI programmer, orders of magnitude more effective than any developer alone.

Learn about Agent→

Cursor

IN PROGRESS 3

Enterprise Order Manage...

Generating

PyTorch MNIST Experiments

Generating

Fix PR Comments Fetchin...

Generating

READY FOR REVIEW 3

All set! We now track focus ...

Just Now

Set up Cursor Rules ...

300ms

Bioinformatics Tools

+135 -21

Analyze Tab vs Agent Usage Patterns

I'll build an analytics toolkit that highlights tab versus agent adoption and switching behavior:

summary.py
+150 -0
segmentation.py
+94 -0
report.py
+40 -0

Time to stitch everything together with a report helper that combines the key metrics:

report.py
+40-0

I'll add tests to lock in the behaviour using a representative sample from last week's export:

test_usage.py
+90

All set! We now track focus share, switching rates, and rolling engagement so PMs can compare tab-first and agent-first usage.

Abstract background pattern
Cursor
Dashboard.tsx
SupportChat.tsx
"use client";
import React, { useState } from "react";
import Navigation from "./Navigation";
import SupportChat from "./SupportChat";
export default function Dashboard() {
const [activeTab, setActiveTab] = useState("support");
return (
<div className="flex h-[600px] border rounded-lg overflow-hidden">
<div className="w-64 border-r"></div>
<div className="w-80 border-l">
<SupportChat />
</div>
</div>
);
}

Magically accurate autocomplete

Our custom Tab model predicts your next action with striking speed and precision.

Learn about Tab→

Everywhere software gets built

Cursor is in GitHub reviewing your PRs, a teammate in Slack, and anywhere else you work.

Learn about Cursor’s ecosystem →
Landscape background
This element contains an interactive demo for sighted users showing multiple Cursor interfaces: Slack integration for team communication, GitHub integration for code review and debugging. The interfaces are displayed over a scenic painted landscape wallpaper, giving the demo an artistic backdrop.
Slack

#ask-cursor

Dylan avatarEric avatarRikki avatarRyo avatar
8 members
Dylan avatar
dylan9/16/2025

small thing but would be really good to have anchor links on the website for releases

4 replies
Dylan avatar
dylan9/16/2025

wanna be able to go to cursor.com/changelog#1.0 to see 1.0 changelog

Eric avatar
eric9/16/2025

checks out

@cursor can you take a stab?

Cursor avatar
CursorAPP9/16/2025

I implemented direct linking for changelog entries and updated Node.js version constraints across the project to improve compatibility and maintainability.

Dylan avatar
dylan9/16/2025

Nice @eric can you take a look?

GitHub Pull Request
cursor botcursorbotreviewed 1m ago
src/vs/workbench/composer/browser/components/ComposerUnifiedDropdown.tsx
3292
3293
- {selectedMode().keybinding}
+ {composerOpenModeToggleKeybinding}
cursor bot
cursorbot1m ago
Bug: Function Returns Object Instead of String (Logic bug)

The `composerOpenModeToggleKeybinding` is a function that needs to be called to get its value. Using it directly causes the keybinding display condition to always be truthy.

The new way to build software.

It was night and day from one batch to another, adoption went from single digits to over 80%. It just spread like wildfire, all the best builders were using Cursor.

Diana Hu
Diana Hu
General Partner, Y Combinator

The most useful AI tool that I currently pay for, hands down, is Cursor. It's fast, autocompletes when and where you need it to, handles brackets properly, sensible keyboard shortcuts, bring-your-own-model... everything is well put together.

shadcn
shadcn
Creator of shadcn/ui

The best LLM applications have an autonomy slider: you control how much independence to give the AI. In Cursor, you can do Tab completion, Cmd+K for targeted edits, or you can let it rip with the full autonomy agentic version.

Andrej Karpathy
Andrej Karpathy
CEO, Eureka Labs

Cursor quickly grew from hundreds to thousands of extremely enthusiastic Stripe employees. We spend more on R&D and software creation than any other undertaking, and there’s significant economic outcomes when making that process more efficient and productive.

Patrick Collison
Patrick Collison
Co‑Founder & CEO, Stripe

It’s official. I hate vibe coding. I love Cursor tab coding. It’s wild.

ThePrimeagen
ThePrimeagen
@ThePrimeagen

It’s definitely becoming more fun to be a programmer. It’s less about digging through pages and more about what you want to happen. We are at the 1% of what’s possible, and it’s in interactive experiences like Cursor where models like GPT-5 shine brightest.

Greg Brockman
Greg Brockman
President, OpenAI

Cursor is an applied team focused on building the future of coding.

Join us ↗A photo of the Cursor team in an office environment, gathered around a whiteboard.

Try Cursor now.