Skip to content

Access AWS AI services and 40+ Bedrock models (Claude, Llama, Nova) using your existing applications. No code changes required. OpenAI-compatible API.

License

AGPL-3.0, Unknown licenses found

Licenses found

AGPL-3.0
LICENSE-AGPL
Unknown
LICENSE-COMMERCIAL
Notifications You must be signed in to change notification settings

stdapi-ai/stdapi.ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

stdapi.ai logo

stdapi.ai

The OpenAI-compatible API for AWS AI

Access 80+ Bedrock models (Claude, Llama, Nova) and AWS AI services (Polly, Transcribe, Translate) with your existing OpenAI clientsβ€”no code changes required.

AWS Marketplace Documentation License: AGPL-3.0


πŸš€ What is stdapi.ai?

stdapi.ai provides AWS AI infrastructure through an OpenAI-compatible interface. Connect your existing applications to over 40 Amazon Bedrock models and AWS AI services without changing code.

Why Choose stdapi.ai?

  • πŸ”Œ OpenAI Compatible – Applications designed for OpenAI's API work with stdapi.ai. Just change the endpoint.
  • πŸ”’ Your Data, Your AWS Account – All conversations and data remain within your AWS environment. For HIPAA, GDPR, and regulatory compliance.
  • 🌍 Multi-Region Architecture – Access models across multiple AWS Bedrock regions through one unified endpoint.
  • πŸ’° Cost Optimized – Pay standard AWS rates with zero markup.
  • ⚑ Enterprise Ready – CloudWatch integration, native guardrails, hardened container images, and production-ready infrastructure.

🎯 Key Features

80+ AI Models

Access models from:

  • Anthropic (Claude for reasoning and coding)
  • Amazon (Nova family for cost-effective performance)
  • OpenAI, Meta (Llama), Mistral AI, Google, Cohere, Stability AI, DeepSeek, Qwen, and more

Comprehensive AWS AI Services

Beyond Bedrock language models:

  • Amazon Polly – Natural text-to-speech synthesis
  • Amazon Transcribe – Accurate speech recognition
  • Amazon Translate – Multi-language support

Multi-Modal Capabilities

  • Text conversations
  • Image generation
  • Audio processing
  • Embeddings for semantic search
  • Complete AI workflows

πŸ’Ό Popular Use Cases

Use Case Description
Chat Interfaces Connect OpenWebUI or LibreChat to Bedrock models for private ChatGPT alternatives
Workflow Automation Connect AI to 400+ services using N8N's visual automation platform
Developer Tools AI assistance in VS Code, JetBrains IDEs, Cursor with LangChain and LlamaIndex
Knowledge Management Add AI-powered writing and semantic search to Obsidian and Notion
Communication Bots Deploy bots to Slack, Discord, Teams, and Telegram

πŸ›’ AWS Marketplace

Enterprise Deployment Made Easy

stdapi.ai is available on AWS Marketplace with commercial licensing and production-ready deployment options.

Advantages of AWS Marketplace Version:

  • βœ… Commercial License – Use in proprietary applications without AGPL obligations
  • βœ… Hardened Container Images – Security-optimized for production workloads
  • βœ… Regular Security Updates – Timely patches and vulnerability fixes
  • βœ… Streamlined Deployment – Quick deployment with Terraform/OpenTofu modules
  • βœ… AWS Best Practices – Following AWS Well-Architected Framework guidelines
  • βœ… Enterprise Support – Professional support for deployment and configuration

Deploy from AWS Marketplace β†’


πŸ“– Quick Start

For Production Use

Deploy stdapi.ai to your AWS account in minutes using our Terraform module:

module "stdapi_ai" {
  source  = "stdapi-ai/stdapi-ai/aws"
  version = "~> 1.0"
}

Then make your first API call:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://YOUR_DEPLOYMENT_URL/v1"
)

response = client.chat.completions.create(
    model="anthropic.claude-sonnet-4-5-20250929-v1:0",
    messages=[{"role": "user", "content": "Hello from AWS!"}]
)

print(response.choices[0].message.content)

πŸ“š Full Deployment Guide β†’


πŸ› οΈ Local Development Setup

Prerequisites

  • Python 3.13 or higher
  • uv package manager
  • AWS credentials configured

Installation

  1. Clone the repository

    git clone https://github.com/stdapi-ai/stdapi.ai.git
    cd stdapi.ai
  2. Install dependencies

    uv sync
  3. Login to AWS

    # Login using AWS SSO
    aws sso login --profile your-profile-name
    
    # Or configure your default profile
    aws configure sso
  4. Configure the application

    # Core AWS Configuration (auto-detects current region if not set)
    export AWS_BEDROCK_REGIONS=us-east-1  # Optional: defaults to current AWS region
    
    # S3 Storage (required for certain features like image generation, audio)
    export AWS_S3_BUCKET=my-dev-bucket  # Create bucket in same region as AWS_BEDROCK_REGIONS
    
    # API Authentication (optional for local dev)
    export API_KEY=sk-dev-your-secret-key-here
    
    # Enable API documentation (helpful for development)
    export ENABLE_DOCS=true
    export ENABLE_REDOC=true
    
    # Logging Configuration
    export LOG_LEVEL=info  # Options: info, warning, error, critical, disabled
    export LOG_REQUEST_PARAMS=true  # Enable detailed request/response logging for debugging
  5. Run locally

    uv run stdapi
  6. Test the API

    curl http://localhost:8000/v1/models

Development Guidelines

  • Follow existing code style and conventions
  • Add tests for new features
  • Update documentation for user-facing changes
  • Ensure all tests pass before submitting PR

πŸ“š Documentation


πŸ“œ License

This project is dual-licensed:

The AWS Marketplace version provides full commercial rights, no source disclosure requirements, and production-ready infrastructure.

Learn more about licensing β†’


🀝 Contributing

We welcome contributions! Whether it's:

  • πŸ› Bug reports and fixes
  • ✨ New features and enhancements
  • πŸ“– Documentation improvements
  • πŸ’‘ Ideas and suggestions

Please feel free to open issues or submit pull requests.


πŸ’¬ Support

Sponsorship benefits include priority support, feature prioritization, dedicated development time, SLA for critical issues, and influence on the project roadmap. View sponsorship tiers β†’


🌟 Why stdapi.ai?

For Developers For Enterprises
β€’ Zero code changes required
β€’ Works with existing OpenAI SDKs
β€’ Simple endpoint swap
β€’ Comprehensive API compatibility
β€’ Data sovereignty & compliance
β€’ Cost transparency & savings
β€’ No vendor lock-in
β€’ Enterprise-grade reliability

Get Started with AWS AI

Documentation β€’ AWS Marketplace β€’ GitHub Issues

Made with ❀️ for the AWS and AI community

About

Access AWS AI services and 40+ Bedrock models (Claude, Llama, Nova) using your existing applications. No code changes required. OpenAI-compatible API.

Topics

Resources

License

AGPL-3.0, Unknown licenses found

Licenses found

AGPL-3.0
LICENSE-AGPL
Unknown
LICENSE-COMMERCIAL

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published