The official JavaScript SDK for building AI-powered apps, plugins, and agents for the Vibing AI platform. Create engaging conversational experiences with just a few lines of code.
- App Creation: Build and deploy full-featured AI applications
- Plugin Development: Extend functionality with custom plugins
- Agent Creation: Design intelligent conversational agents
- Surface Integration: Add cards, panels, and modals to your AI interfaces
- Memory Management: Persistent state and context for conversations
- Permission System: Secure access control for your AI applications
- Event System: Robust event handling for real-time communication
- TypeScript Support: Full type safety and autocompletion
# Using npm
npm install @vibing-ai/sdk
# Using yarn
yarn add @vibing-ai/sdk
# Using pnpm
pnpm add @vibing-ai/sdk
Note: If the package is not yet published to npm, you can install it directly from the GitHub repository using:
npm install vibing-ai/js-sdk
import { createApp } from '@vibing-ai/sdk';
// Create a simple app
const app = createApp({
name: 'My First Vibing App',
description: 'A simple app built with Vibing AI SDK',
version: '1.0.0',
});
// Add a message handler
app.onMessage(async (message, context) => {
if (message.content.includes('hello')) {
return {
content: 'Hello there! How can I help you today?',
};
}
return {
content: 'I received your message. How can I assist you?',
};
});
// Start the app
app.start();
For comprehensive documentation, visit:
Here are some examples to get you started:
- Node.js: 14.x and higher
- Browsers: Chrome, Firefox, Safari, Edge (latest 2 versions)
- @vibing-ai/block-kit: 1.0.0 and higher
- @vibing-ai/cli: 1.0.0 and higher
- GitHub Issues - Bug reports and feature requests
- Discord Community - Discussion and help
- Email Support - Direct support
We welcome contributions! Please see our Contributing Guide for details on how to get started.
This project is licensed under the MIT License - see the LICENSE file for details.