Skip to main content

AISBF - AI Service Broker Framework || AI Should Be Free - A modular proxy server for managing multiple AI provider integrations

Project description

AISBF - AI Service Broker Framework || AI Should Be Free

A modular proxy server for managing multiple AI provider integrations with unified API interface. AISBF provides intelligent routing, load balancing, and AI-assisted model selection to optimize AI service usage across multiple providers.


🌐 Try AISBF Now — No Installation Required!

➡️ Launch AISBF at https://aisbf.cloud

The fully hosted service is free to use. Just open your browser and start routing AI requests across all supported providers — no setup, no configuration, no API keys needed to get started.

Also available via TOR for privacy-first access: http://aisbfity4ud6nsht53tsh2iauaur2e4dah2gplcprnikyjpkg72vfjad.onion

AISBF Dashboard


Key Features

  • Multi-Provider Support: Unified interface for Google, OpenAI, Anthropic, Claude Code (OAuth2 or CLI), Ollama, Kiro, Kilocode, Codex, and Qwen
  • Claude CLI Mode: When the claude binary is in PATH, requests are proxied through the official Anthropic CLI (claude -p) — uses each user's own account, fully permitted by Claude's terms of service
  • Unified Wallet System: Fiat wallet with crypto/PayPal/Stripe top-ups and auto top-up for subscription renewals
  • Intelligent Routing: Weighted load balancing and AI-assisted model selection
  • Streaming Support: Full support for streaming responses from all providers
  • Web Dashboard: Complete configuration and management interface
  • Multi-User Support: Isolated configurations with role-based access control
  • Token Usage Analytics: Comprehensive analytics with cost estimation and export
  • Adaptive Rate Limiting: Learns from 429 responses for optimal request rates
  • Provider-Native Caching: 50-70% cost reduction with Anthropic, Google, and OpenAI caching
  • Context Management: Automatic condensation with 8+ methods when approaching limits
  • SSL/TLS & TOR: Built-in HTTPS with Let's Encrypt and TOR hidden service support
  • MCP Server: Model Context Protocol for remote agent integration

Quick Start

Installation

From PyPI (Recommended)

pip install aisbf

From Source

python setup.py install

Usage

aisbf

Server starts on http://127.0.0.1:17765

Web Dashboard

Access the dashboard at http://localhost:17765/dashboard (default credentials: admin / admin)

Security — change the default password immediately. The default admin/admin credentials are publicly known. Open the dashboard → Settings → Change Password before exposing AISBF to any network. For HTTPS deployments, set the environment variable AISBF_HTTPS=true to mark session cookies as Secure.

The dashboard provides:

  • Provider configuration and API key management
  • Rotation and autoselect model setup
  • User wallet management and top-up options
  • Token usage analytics and cost tracking
  • Real-time monitoring and rate limit management
  • SSL/TLS and TOR configuration
  • Multi-user administration

API Usage

Basic Chat Completion

curl -X POST http://localhost:17765/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Wallet Top-Up

curl -X POST http://localhost:17765/api/wallet/topup \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 10.00,
    "currency": "USD",
    "payment_method": "stripe"
  }'

Documentation

For complete documentation, configuration guides, and API reference:

🚀 Support AISBF - Your Donations Matter!

The project includes multiple donation options to support its development:

Ethereum Donation

ETH to 0xdA6dAb526515b5cb556d20269207D43fcc760E51

PayPal Donation

https://paypal.me/nexlab

Bitcoin Donation

Address: bc1qcpt2uutqkz4456j5r78rjm3gwq03h5fpwmcc5u

Author

Stefy Lanza stefy@nexlab.net

Repository

Official repository: https://git.nexlab.net/nexlab/aisbf.git

License

GNU General Public License v3.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aisbf-0.99.64.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aisbf-0.99.64-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

Details for the file aisbf-0.99.64.tar.gz.

File metadata

  • Download URL: aisbf-0.99.64.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for aisbf-0.99.64.tar.gz
Algorithm Hash digest
SHA256 918c4528b57afa12b8cb6415d4890612609dd73fcf8f9a0eea83c51d0e10b381
MD5 1522a49ba9b51e346d0ee63fd87e1468
BLAKE2b-256 42b3f7c896fb8d1df4159459c3cfa793263c9c1825af5469e032dc58d89c21ea

See more details on using hashes here.

File details

Details for the file aisbf-0.99.64-py3-none-any.whl.

File metadata

  • Download URL: aisbf-0.99.64-py3-none-any.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for aisbf-0.99.64-py3-none-any.whl
Algorithm Hash digest
SHA256 83d631709e6cd4faeb7e09d7ca19d5f12f4d28b983b4031c4c5aa9df6fce9af7
MD5 1e67143cc5e6eb090f4dcf27e3cf0eea
BLAKE2b-256 b1dba88142148cd0d401bf48394d0a8d1edbe04d42a65fa7498dcacb3c281561

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page