The Agentuity SDK for NodeJS and Bun
npm install @agentuity/sdk
Visit https://agentuity.com to get started with Agentuity.
The Agentuity TypeScript SDK is a powerful toolkit for building, deploying, and managing AI agents in Node.js and Bun environments. This SDK provides developers with a comprehensive set of tools to create intelligent, event-driven agents that can process various types of content, communicate with each other, and integrate with external systems.
- Multi-Agent Architecture: Build and orchestrate multiple interconnected agents that can communicate and collaborate.
- Event-Driven Design: Respond to various triggers including webhooks, cron jobs, SMS, voice, email, and more.
- Rich Content Handling: Process and generate multiple content types including JSON, text, markdown, HTML, and binary formats (images, audio, PDFs).
- Persistent Storage: Built-in key-value and vector storage capabilities for maintaining state and performing semantic searches.
- Observability: Integrated OpenTelemetry support for comprehensive logging, metrics, and tracing.
- Cross-Runtime Support: Works seamlessly with both Node.js and Bun runtimes.
- Building conversational AI systems
- Creating automated workflows with multiple specialized agents
- Developing content processing and generation pipelines
- Implementing intelligent data processing systems
- Building AI-powered APIs and services
To use this SDK in a real project, you should install the Agentuity CLI.
``bash`
brew tap agentuity/tap && brew install agentuity
See the Agentuity CLI repository for installation instructions and releases.
Once installed, you can create a new project with the following command:
`bash`
agentuity new
- Node.js (v22 or higher)
- Bun (latest version recommended)
- TypeScript (v5 or higher)
Clone the repository and install dependencies:
`bashClone the repository
git clone https://github.com/agentuity/sdk-js.git
cd sdk-js
$3
`bash
Using Bun (recommended)
bun run buildOr using npm
npm run build
`The build output will be in the
dist directory.$3
Run tests with Bun or npm:
`bash
Bun
bun testnpm
npm test
`Making Changes
To make changes for this repo, do the following in your PR:
`bash
npm run changeset
`And if you plan to release in the same PR, run:
`bash
npm run version
`Also run (only if you ran
npm run version):`bash
npm install
``Then commit all files in the PR. When you merge the PR it will release the SDK.
See the LICENSE file for details.