🚀 Private Beta: We're currently in private beta. Sign up to join our waitlist and get early access.

Documentation

Build with AI@YourService

Everything you need to integrate intelligent AI agents into your applications. From quick starts to advanced deployment patterns, we've got you covered.

Quick Start

Get up and running in minutes with our step-by-step guide.

Start Building

Integration Methods

Choose between OAuth integration or manual API keys for your application.

Plan Integration

Live Demos

Explore working examples and get inspired for your projects.

View Demos

Community

Join our community for support, tips, and best practices.

Get Support

Quick Start

1 Create Your Account

Sign up for a free account and create your first API key to start testing the gateway.

1. Create your account
2. Navigate to your workspace dashboard
3. Generate your first API key
4. Start making requests to test the gateway
View Pricing

2 Test the Gateway

Use our OpenAI-compatible API to test the gateway with your first API key.

curl -X POST https://gateway.atyourservice.ai/v1/openai/chat/completions \
  --header 'Authorization: Bearer your-api-key' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "gpt-4o-mini",
    "messages": [
      {
        "role": "user",
        "content": "Hello! How can I integrate AI into my app?"
      }
    ]
  }'

3 Plan Your Integration

Choose between OAuth integration (recommended) or manual API key management for your production application.

OAuth Integration

Users authenticate directly with us. Zero financial risk for you.

Manual API Keys

You provision keys for your users and manage billing yourself.

Integration Methods

OAuth Integration (Recommended)

Users authenticate with AI@YourService and get JWT tokens for API calls

Users pay their own usage
Built-in user management
Zero financial risk for you
Automatic billing integration

Perfect for applications where users should pay for their own AI usage

Manual API Keys

You provision long-lived API keys for your users and manage billing yourself

Full control over API keys
Direct API access
You handle user billing
More setup complexity

Best for applications where you want to control user access and billing

API Reference

OpenAI Compatible API

Drop-in replacement for OpenAI's API with enhanced features

POST /v1/openai/chat/completions

Chat completions with streaming support, tool calling, and vision models

POST /v1/openai/embeddings

Generate embeddings for text similarity and search

GET /v1/openai/models

List available models and their capabilities

Anthropic Compatible API

Native support for Claude models with full feature parity

POST /v1/anthropic/v1/messages

Claude conversations with streaming and tool use

GET /v1/anthropic/v1/models

Available Claude models and configurations

WebSocket API

Real-time bidirectional communication for agent interfaces

Platform Features

BYOK Security

Bring Your Own Key with enterprise-grade encryption

  • • AES-256-GCM encryption
  • • Deterministic routing
  • • Zero-knowledge architecture
  • • Workspace isolation

Smart Minimization

Intelligent request optimization to reduce costs

  • • Automatic prompt compression
  • • Context deduplication
  • • Token usage optimization
  • • Cost reduction up to 60%

Debug & Analytics

Comprehensive logging and usage analytics

  • • Request/response logging
  • • Performance metrics
  • • Cost tracking
  • • Usage analytics

Team Collaboration

Multi-user workspaces with role-based access

  • • Workspace management
  • • Team member invitations
  • • Usage sharing
  • • Centralized billing

Agent Framework

Pre-built templates for common AI agent patterns

  • • Chat interfaces
  • • Tool confirmation
  • • OAuth integration
  • • State management

Multi-Provider

Support for OpenAI, Anthropic, and more

  • • OpenAI GPT models
  • • Anthropic Claude
  • • Unified API interface
  • • Model switching

Integration Guides

JavaScript/TypeScript

Integrate with web applications and Node.js backends

const response = await fetch(
  'https://gateway.atyourservice.ai/v1/openai/chat/completions',
  {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer your-api-key',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      model: 'gpt-4o-mini',
      messages: [{ role: 'user', content: 'Hello!' }]
    })
  }
);

Python

Use with popular Python AI libraries

import openai

client = openai.OpenAI(
    api_key="your-api-key",
    base_url="https://gateway.atyourservice.ai/v1/openai"
)

response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello!"}]
)

Need Help Getting Started?

Our team is here to help you succeed. Whether you need technical support, have questions about implementation, or want to discuss your specific use case.