SDKs & Libraries

SDKs Coming Soon - Use REST API Today

SDKs for TypeScript, Python, and C# are coming soon. In the meantime, our REST API works with any programming language - just simple HTTP requests. Build AI prompts and personas with comprehensive documentation and code examples.

3

SDKs Coming Soon

REST

API Available Now

Any

Language Supported via API

100%

API Coverage

SDKs are Optional!

Our REST API is designed to be super simple and easy to use. You don't actually need an SDK - if you're using any other language like Ruby, Go, PHP, Java, or Rust, it's just a few lines of HTTP code.

The SDKs below are provided for convenience with type safety and helper methods, but you can integrate Hyperleap into any language with basic HTTP requests. Check out the "Any Language - REST API" example below to see how simple it is!

Official SDKs (Optional)

TypeScript SDK available now. Python and C# coming soon!

🟦

TypeScript/JavaScript

Coming Soon

Full-featured SDK with TypeScript support, autocomplete, and type safety for Node.js and browser environments. Coming soon!

Installation
npm install @hyperleapai/sdk # Coming Soon
Full TypeScript support with type definitions
Promise-based async/await API
Automatic retry logic with exponential backoff
Built-in request/response logging
Supports Node.js 16+ and modern browsers
ESM and CommonJS support

Coming Soon

This SDK is currently in development. In the meantime, use our REST API which works with any language.

🐍

Python

Coming Soon

Pythonic SDK with type hints, async support, and integration with popular data science libraries. Coming soon!

Installation
pip install hyperleap # Coming Soon
Type hints for IDE autocomplete
Async/await support with asyncio
Pandas DataFrame integration
Pydantic models for validation
Python 3.8+ compatibility
Jupyter notebook friendly

Coming Soon

This SDK is currently in development. In the meantime, use our REST API which works with any language.

🟣

C#

Coming Soon

Modern .NET SDK with full async support, LINQ integration, and comprehensive type safety for .NET 6+. Coming soon!

Installation
dotnet add package Hyperleap.SDK # Coming Soon
Full async/await support
LINQ query integration
Strong type safety with generics
.NET 6+ and .NET Framework 4.8+
Dependency injection ready
XML documentation comments

Coming Soon

This SDK is currently in development. In the meantime, use our REST API which works with any language.

Code Examples (REST API)

See how easy it is to integrate with any language using our REST API

🟦TypeScript/Node.js - REST API

// Simple fetch - works in Node.js and browsers
const response = await fetch(
  'https://api.hyperleap.ai/prompts/run',
  {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${process.env.HYPERLEAP_API_KEY}`,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      promptId: 'prompt_email_writer',
      promptVersionId: 'version_latest',
      replacements: {
        tone: 'professional',
        topic: 'quarterly performance review',
        audience: 'executive team'
      }
    })
  }
);

const result = await response.json();
console.log('Generated content:', result.message);

🐍Python - REST API

import requests
import os

response = requests.post(
    'https://api.hyperleap.ai/prompts/run',
    headers={
        'Authorization': f'Bearer {os.environ["HYPERLEAP_API_KEY"]}',
        'Content-Type': 'application/json'
    },
    json={
        'promptId': 'prompt_email_writer',
        'promptVersionId': 'version_latest',
        'replacements': {
            'tone': 'professional',
            'topic': 'quarterly review'
        }
    }
)

result = response.json()
print(f"Generated: {result['message']}")

🌐cURL - Works Everywhere

curl -X POST https://api.hyperleap.ai/prompts/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "promptId": "prompt_email_writer",
    "promptVersionId": "version_latest",
    "replacements": {
      "tone": "professional",
      "topic": "quarterly review"
    }
  }'

🌐Any Language - REST API

# Works with ANY language - just a simple HTTP request!

# Using curl (works everywhere)
curl -X POST https://api.hyperleap.ai/v1/agents \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Support Bot",
    "model": "gemini-pro",
    "prompt": "You are helpful"
  }'

# Ruby example - just a few lines
require 'net/http'
require 'json'

response = Net::HTTP.post(
  URI('https://api.hyperleap.ai/v1/agents'),
  { name: "Support Bot", model: "gemini-pro" }.to_json,
  {
    'Authorization' => "Bearer YOUR_API_KEY",
    'Content-Type' => 'application/json'
  }
)

# Works the same in PHP, Go, Java, Rust, etc.

Command Line Interface

Coming Soon

A CLI tool for managing agents, uploading sources, and monitoring conversations is planned. In the meantime, use our REST API directly via cURL or any HTTP client.

Deploy agents from CI/CD
Use REST API with cURL in your pipelines today
Bulk operations
Script API calls for batch updates
JSON output for scripting
REST API returns JSON natively
Use REST API Instead
Coming Soon
# CLI coming soon - use REST API for now
curl -X POST https://api.hyperleap.ai/agents \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Support Bot"}'

# Upload sources
curl -X POST https://api.hyperleap.ai/sources \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@docs.pdf" \
  -F "name=Documentation"

# List conversations
curl https://api.hyperleap.ai/conversations \
  -H "Authorization: Bearer YOUR_API_KEY"

Ready to Start Building?

Choose your preferred language and get started in minutes with our comprehensive SDKs.