Skip to content

docs(agents): add Cursor Cloud dev environment setup notes - #11378

Draft
sara4dev wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-23f8
Draft

docs(agents): add Cursor Cloud dev environment setup notes#11378
sara4dev wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-23f8

Conversation

@sara4dev

@sara4dev sara4dev commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Overview:

Sets up the Dynamo development environment on a Cursor Cloud VM (no GPU, restricted egress) and documents the non-obvious caveats discovered so future agents can build, test, lint, and run the GPU-free path (frontend + KV router + mock worker) without re-deriving them.

This PR only adds a ## Cursor Cloud specific instructions section to AGENTS.md; no code is changed. Toolchain/system changes (gcc default, uv, system libs) are captured in the VM snapshot + startup update script rather than in the repo.

Details:

Verified end-to-end in the Cloud VM:

  • Build: system libs (libhwloc-dev, libclang-dev, protobuf-compiler, cmake, …), uv, maturin develop for the PyO3 bindings, editable installs of ai-dynamo and gpu_memory_service. Root cause fixed: default cc/c++ are clang and cannot build/link the vendored ZeroMQ (zmq-sys); switched update-alternatives to gcc/g++.
  • Run (GPU-free): dynamo.frontend + dynamo.mocker with --discovery-backend file (no etcd/NATS) using a local sample tokenizer with a chat_template; /v1/chat/completions (streaming + non-streaming) returns HTTP 200 through the router.
  • Test: pytest -m unit tests/ → 76 passed / 21 skipped (optional GPU/backends) / 2 optional kvbm import failures; cargo test core crates green.
  • Lint: pre-commit deterministic hooks (isort, black, flake8, clang-format, codespell, ruff, file checks) pass; cargo fmt --all --check passes.

The AGENTS.md notes document: the gcc toolchain requirement, no-GPU worker via dynamo.mocker, offline Hugging Face handling with local fixture models, file-based discovery to avoid etcd/NATS, the chat_template requirement for chat completions, and the GPU-free smoke test.

Where should the reviewer start?

AGENTS.md → the new ## Cursor Cloud specific instructions section.

Related Issues

🚫 This PR is NOT linked to an issue:

  • Confirmed — no related issue
Open in Web Open in Cursor 

Document GPU-free local development caveats discovered while setting up
the Cloud environment: gcc/g++ toolchain requirement for the vendored
ZeroMQ build, offline Hugging Face handling with local sample models,
file-based discovery to run without etcd/NATS, and a frontend+mocker
smoke test.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Saravana Periyasamy <sara4dev@users.noreply.github.com>
@copy-pr-bot

copy-pr-bot Bot commented Jul 7, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions Bot added the Stale label Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs documentation Improvements or additions to documentation size/M Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants