Skip to content

vercel-labs/ai-sdk-computer-use

Repository files navigation

An open-source AI chatbot app template demonstrating Anthropic Claude 3.7 Sonnet's computer use capabilities, built with Next.js and the AI SDK by Vercel.

Features · Deploy Your Own · Running Locally · Authors


Features

  • Streaming text responses powered by the AI SDK by Vercel, allowing multiple AI providers to be used interchangeably with just a few lines of code.
  • Integration with Anthropic Claude 3.7 Sonnet's computer use tool and bash tool capabilities.
  • Sandbox environment with e2b for secure execution.
  • shadcn/ui components for a modern, responsive UI powered by Tailwind CSS.
  • Built with the latest Next.js App Router.

Deploy Your Own

You can deploy your own version to Vercel by clicking the button below:

Deploy with Vercel

Running Locally

  1. Clone the repository and install dependencies:

    npm install
    # or
    yarn install
    # or
    pnpm install
  2. Install the Vercel CLI:

    npm i -g vercel
    # or
    yarn global add vercel
    # or
    pnpm install -g vercel

    Once installed, link your local project to your Vercel project:

    vercel link

    After linking, pull your environment variables:

    vercel env pull

    This will create a .env.local file with all the necessary environment variables.

  3. Run the development server:

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
  4. Open http://localhost:3000 to view your new AI chatbot application.

Authors

This repository is maintained by the Vercel team and community contributors.

Contributions are welcome! Feel free to open issues or submit pull requests to enhance functionality or fix bugs.

About

Computer using agent built with Next.js and the AI SDK by Vercel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published