Skip to lesson
Exit
SDK quickstart in typescript and python1 / 3

2 min lesson

Start a local SDK agent

Name the TypeScript and Python packages, set the API key and explain what local means.

Step 1 of 3

A local SDK agent works against files on your machine. Cursor still hosts model inference.

Set the four boundaries before the first prompt

Interactive diagram. Step through it with the Next and Previous controls below, or Tab to a region to read its detail.

diagram: flow

Choose the package, credential, working directory and cleanup path in code.