Overview

SDKs

Learn how to integrate Maven AGI API into your apps using the SDKs.

The Maven AGI platform provides a set of SDKs that you can use to integrate the platform API into your apps. These SDKs are designed to be easy to use and provide a high-level interface for interacting with the platform.

Node.js / Typescript
Python

Coming soon

Go

Coming soon

Java

Coming soon

Ruby

Coming soon

.Net

Coming soon

PHP

Coming soon

Swift

Coming soon

Rust

Coming soon

Node.js / Typescript

This SDK is designed to be used with Node.js and TypeScript.

Installation

$npm install mavenagi

Usage

1import {MavenAGIClient} from 'mavenagi'
2
3const client = new MavenAGIClient({
4 appId: 'YOUR_APP_ID', // If not provided, the client will use the environment variable MAVENAGI_APP_ID
5 appSecret: 'YOUR_APP_SECRET', // If not provided, the client will use the environment variable MAVENAGI_APP_SECRET
6 organizationId: 'ORGANIZATION_ID',
7 agentId: 'AGENT_ID',
8})
9
10await client.conversation.ask('conversation_id_1', {
11 id: 'message_id_1',
12 text: 'What is the capital of France?',
13})

Python

Coming soon

Go

Coming soon

Java

Coming soon

Ruby

Coming soon

.Net

Coming soon

PHP

Coming soon

Swift

Coming soon

Rust

Coming soon