npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

create-ai-agents

v0.3.2

Published

Create AI agents. A command-line interface (CLI) tool that helps you quickly set up new AI agent projects using the ⌘ Langbase SDK. It streamlines the process of creating a new project, installing dependencies, and setting up a basic example.

Downloads

9

Readme

ai-agents

create-ai-agents

DOWNLOADS Node.js CLI Learn VSCode Sponsor Follow @MrAhmadAwais on Twitter

Create AI agents. create-ai-agents is a command-line interface (CLI) tool that helps you quickly set up new AI agent projects using the ⌘ Langbase SDK. It streamlines the process of creating a new project, installing dependencies, and setting up a basic example.

Features

  • 🚀 Quickly create a new AI agent project with a single command
  • 📦 Automatically install necessary dependencies using pnpm
  • 🔧 Set up a basic example using the ⌘ Langbase SDK
  • 🔑 Create a .env file for API key management
  • 💻 Interactive command-line interface for project setup
  • 🎨 Customizable project name and structure
  • 📝 Generated index.js with a basic AI agent example
  • 🔄 Automatically update package.json with start script

📟

Install

You don't need to install anything globally. Just run one of these commands to create a new AI agent project:

npm create ai-agents
# or
pnpm create ai-agents

⚙️

Usage

  1. Run the create command:

    pnpm create ai-agents
  2. Follow the interactive prompts to set up your project:

    • Enter your project name (default: my-ai-agent)
    • Confirm project creation
  3. Once created, navigate to your project directory:

    cd <your-project-name>
  4. Open the .env file and add your Langbase Pipe API key:

    LANGBASE_MY_PIPE_API_KEY=your_api_key_here
  5. Start your AI agent:

    pnpm dev

Project Structure

After creation, your project will have the following structure:

<project-name>/
├── .env
├── index.js
├── package.json
└── node_modules/
  • .env: Contains your Langbase Pipe API key
  • index.js: The main file of your AI agent, containing a basic example
  • package.json: Defines your project and its dependencies

📝

Changelog

❯ Read the changelog here →

KEY: 📦 NEW, 👌 IMPROVE, 🐛 FIX, 📖 DOC, 🚀 RELEASE, and 🤖 TEST

I use Emoji-log, you should try it and simplify your git commits.

📃

License & Conduct

🙌

Connect

This repository is part of the Langbase.com course.

Awais on Twitter