Skip to content

Installation

Carnet supports multiple installation methods depending on how you plan to use it.

Install Carnet globally to use the CLI from any directory:

bash
npm install -g @upstart-gg/carnet

Local Installation (For programmatic use)

Install Carnet in your project for programmatic use with Vercel AI SDK. "Packages "ai" and "zod" are peer dependencies required by Carnet.

bash
npm install @upstart-gg/carnet ai zod

System Requirements

Carnet can be used with various JavaScript runtimes. Ensure you have one of the following installed:

  • Node.js: 22.0.0 or later
  • Bun: 1.0.0 or later (optional, for better performance)
  • Deno: 2.0.0 or later (optional)

Next Steps

After installation, head to the Quick Start guide to create your first agent.

Released under the MIT License.