Installation
4 min
aonweb` is a library for AI Agents development, providing simple and easy-to-use APIs to integrate AI functionality into your Agents.
This guide will introduce you to AI Agents development using the aonweb library.
Installation
First, make sure you have installed the aonweb library:
npm install aonweb --save
Basic Usage
Import necessary modules
import { AI, AIOptions, User } from 'aonweb'
Initialize AI
Use AIOptions to create a configuration, then initialize the AI instance:
const ai_options = new AIOptions({
appId: REPLACE_APP_ID //replace app id
})
const aonweb = new AI(ai_options)