Developer SDKs Made Simple

Build AI-native applications with our easy-to-use client libraries for Python and JavaScript.


Available SDKs

Choose your preferred programming language

Py
Python SDK
pip install lunaos
pip install lunaos
from lunaos import LunaOSClient

client = LunaOSClient("https://api.lunaos.ai", "your-api-key")

# Create an agent
agent = client.create_agent(
    name="my-chatbot",
    agent_type="chat",
    config={"model": "gpt-3.5-turbo", "temperature": 0.7}
)

# Send a message
response = client.send_message(
    agent_id=agent['id'],
    message="Hello! How are you?"
)
print(response['response'])
JS
JavaScript SDK
npm install lunaos-client
npm install lunaos-client
import LunaOSClient from 'lunaos-client';

const client = new LunaOSClient('https://api.lunaos.ai', 'your-api-key');

// Create an agent
const agent = await client.createAgent(
  'my-chatbot', 'chat',
  { model: 'gpt-3.5-turbo', temperature: 0.7 }
);

// Send a message
const response = await client.sendMessage(
  agent.id, 'Hello! How are you?'
);
console.log(response.response);

SDK Features

Everything you need to build AI-native applications

🤖

Agent Management

Create, configure, and manage AI agents with simple API calls.

💬

Real-time Messaging

Send messages to agents and receive responses instantly.

🧩

Plugin System

Install and configure plugins to extend functionality.

📈

Monitoring

Get system metrics and logs for monitoring your agents.

🔒

Secure

Built-in authentication and secure API communication.

🛠

TypeScript Support

Full TypeScript definitions for better development experience.


Ready to Build AI Applications?

Get started with LunaOS SDKs and build your first AI agent in minutes