Skip to main content

Kalibr SDK — Integrate your SaaS with every major AI model using a single SDK.

Project description

Kalibr SDK

Multi-Model AI Integration Framework

Write once. Deploy anywhere. Connect to any AI model.

Kalibr lets developers expose any Python function as a model-compatible API — instantly usable by GPT, Claude, Gemini, and beyond.


🚀 Quick Start

Install

pip install kalibr

Run the included demo

kalibr-connect serve examples/demo_app.py

Then open your browser to:

http://127.0.0.1:8000/docs

You’ll see automatically generated endpoints for your demo functions — all schema-normalized and model-ready.


⚙️ Core Features

Multi-Model Support — Works with GPT Actions, Claude MCP, Gemini, and Copilot
Automatic Schema Generation — Define once, serve everywhere
Fast Local Development — Instantly test endpoints with kalibr-connect serve
Lightweight Runtime — No dependencies beyond FastAPI + Uvicorn

🚧 Coming Soon:
• Auth & JWT user sessions
• Analytics & observability
• One-click deployment (Fly.io, AWS Lambda)


🧠 How It Works

Decorate your Python functions with @app.register():

from kalibr.kalibr_app import KalibrApp

app = KalibrApp()

@app.register()
def summarize(text: str) -> str:
    """Summarize text input."""
    return text[:100] + "..."

@app.register()
def sentiment(text: str) -> dict:
    """Return a basic sentiment classification."""
    return {"sentiment": "positive" if "love" in text.lower() else "neutral"}

kalibr_app = app.get_app()

Then run:

kalibr-connect serve demo_app.py

Your endpoints appear instantly at:

http://127.0.0.1:8000/docs

📁 Project Structure

kalibr/
  ├── __init__.py
  ├── __main__.py
  ├── kalibr_app.py
  ├── schema_generators.py
examples/
  ├── demo_app.py
  └── enhanced_kalibr_example.py

📘 Documentation

See KALIBR_SDK_COMPLETE.md for full developer documentation.


Kalibr — Transform how you build AI-integrated applications.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

kalibr-1.0.12.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

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

kalibr-1.0.12-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file kalibr-1.0.12.tar.gz.

File metadata

  • Download URL: kalibr-1.0.12.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for kalibr-1.0.12.tar.gz
Algorithm Hash digest
SHA256 c609c6dcd0427390710d0cfa43f3358124bc7a1295d7b4f2f1a3172d7a9c1950
MD5 1b53c929bc8a40845b9fd9104adbe552
BLAKE2b-256 f7f19236e5cb6ec06cb1da4c4124eed0115f2d1c9dc53f1dca66787328944126

See more details on using hashes here.

File details

Details for the file kalibr-1.0.12-py3-none-any.whl.

File metadata

  • Download URL: kalibr-1.0.12-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for kalibr-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 b695ca5a99461120d74537aed06a3db638d174ddd32f4f6ba0d9dc4961c184d5
MD5 52599cdee84b4c73097b70ae404cbfc6
BLAKE2b-256 60342199ecaee4d5d5041b1a8d0fd7a1adfdeadda823190624565813988aa1b4

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