MAOS TypeScript Library
Introduction
MAOS (Multi-Actor Operating System) is designed to provide infrastructure for AI agents to manage shared resources efficiently. This TypeScript library is a binding of MAOS, offering a robust interface for system administrators to handle all management tasks through an intuitive admin UI.
Table of Contents
Installation
To install the MAOS TypeScript library, use the following command:
npm install maos-ts
Usage
Initialization
First, import and initialize the MAOS library in your TypeScript project:
import { MAOS } from 'maos-ts'
const maos = new MAOS({
apiKey: 'YOUR_API_KEY',
coreUrl: 'https://api.maos.example.com',
})
apiKey
and coreUrl
are all optional. maos-ts gets them from environment variable APIKEY
and CORE_URL
by defualt.
Basic Operations
Please refer to examples for more details.