Documentation

Get started with Versanova in minutes. Integrate memory and learning capabilities into your AI agents with a single line of code.

Quick Start

Wrap your existing OpenAI client and start benefiting from Versanova's memory and learning capabilities immediately.

Python
from adaptable_agents import AdaptableOpenAIClient
from openai import OpenAI

# Simply wrap your existing OpenAI client
openai_client = OpenAI()  # Uses OPENAI_API_KEY from environment
client = AdaptableOpenAIClient(
    adaptable_api_key="your-adaptable-api-key",
    api_base_url="https://api.adaptable-agents.com",
    openai_client=openai_client,
    memory_scope_path="my-project/task-name",
)

# Enable adaptable agents (True by default)
client.enable_adaptable_agents = True

# Use it exactly like the OpenAI client - no code changes needed!
response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "apply arithmetic operators to convert these numbers to 24: 4, 7, 8, 8"}]
)

print(response.choices[0].message.content)
# The client automatically learns from each interaction

Note: Need an API key? Request one here.

See It In Action

Watch how Versanova improves AI agent performance through memory and learning.

Versanova AI agent memory and learning layer demonstration video showing integration and performance improvements