Build AI-native applications with our easy-to-use client libraries for Python and JavaScript.
Choose your preferred programming language
pip install lunaosfrom 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'])npm install lunaos-clientimport 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);Everything you need to build AI-native applications
Create, configure, and manage AI agents with simple API calls.
Send messages to agents and receive responses instantly.
Install and configure plugins to extend functionality.
Get system metrics and logs for monitoring your agents.
Built-in authentication and secure API communication.
Full TypeScript definitions for better development experience.
Get started with LunaOS SDKs and build your first AI agent in minutes