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.
npm install create-ai-agents   

> 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.
- 🚀 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

You don't need to install anything globally. Just run one of these commands to create a new AI agent project:
``sh`
npm create ai-agentsor
pnpm create ai-agents

1. Run the create command:
`sh`
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:
`sh`
cd
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:
`sh`
pnpm dev
After creation, your project will have the following structure:
``
├── .env
├── index.js
├── package.json
└── node_modules/
- .env: Contains your Langbase Pipe API keyindex.js
- : The main file of your AI agent, containing a basic examplepackage.json
- : Defines your project and its dependencies

KEY: 📦 NEW, 👌 IMPROVE, 🐛 FIX, 📖 DOC, 🚀 RELEASE, and 🤖 TEST`
> _I use Emoji-log, you should try it and simplify your git commits._

- MIT © Ahmad Awais
- Code of Conduct

(follow) To stay up to date on free & open-source software
(follow) To get #OneDevMinute daily hot tips & trolls
(subscribe) To tech talks & #OneDevMinute videos
(read) In-depth & long form technical articles
(connect) On the LinkedIn profile y'all
> This repository is part of the [Langbase.com][lb] course.
[lb]: https://Langbase.com?utm_source=github&utm_medium=referral&utm_campaign=ahmadawais/create-ai-agents
[n]: https://NodeCLI.com?utm_source=github&utm_medium=referral&utm_campaign=ahmadawais/create-ai-agents
