A world-class, modular framework for building production-ready AI chatbots.
Project description
Gentiq Backend Framework (Python)
Location: /packages/gentiq-python
The core Python backend engine for the Gentiq Framework. This package provides a modular FastAPI-based framework for building AI chatbots with Pydantic AI.
Features
GentiqAppFactory: Rapidly initialize a production-ready chatbot backend with standard API routes, security, and persistence.- Dependency Injection: Reusable FastAPI dependencies for application-scoped resources like
DatabaseandStorageviarequest.app.state. - AI Agent Engine: Orchestrate complex PydanticAI streaming agents with built-in instrumentation and event-driven architectures.
- Atomic Balance Tracking: Integrated per-user token and request balance monitoring and management.
- Advanced Admin Management: Secure API endpoints for user analytics, chat history auditing, and permission-based administration.
Installation
As this is part of a monorepo, it is recommended to install it as an editable dependency for local development:
# In your app's pyproject.toml
[tool.uv.sources]
gentiq = { path = "../../../packages/gentiq-python", editable = true }
Quick Start (Minimal App)
from gentiq import GentiqApp
from pydantic_ai import Agent
agent = Agent(...)
app = GentiqApp(agent)
Key Modules
gentiq.factory: The main application orchestrator.gentiq.api.dependencies: Standard FastAPI dependency providers (get_database,authenticate, etc.).gentiq.api.routes: Built-in modular route groups forauth,admin,chat, andusers.gentiq.database: MongoDB models and atomic transaction operations.gentiq.storage: MinIO/S3 integrated file storage module.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gentiq-0.4.4.tar.gz.
File metadata
- Download URL: gentiq-0.4.4.tar.gz
- Upload date:
- Size: 29.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
371398bbc469210bae6211ea940c5a897cf1c3a0d898191a5b735ec5f32ba649
|
|
| MD5 |
a3f33f307738e7e2822df3e6e8aeb7ec
|
|
| BLAKE2b-256 |
e9574db4a7c1b57788d830de29f68629100a917066c25ae7fd1a8641aea10ea1
|
File details
Details for the file gentiq-0.4.4-py3-none-any.whl.
File metadata
- Download URL: gentiq-0.4.4-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ce1be583e21c83fe02aa8dc886029ff9f84009093f3a7aff93c0d81bebd0209
|
|
| MD5 |
380d56ba11b8fb7b32d14091045dc4fb
|
|
| BLAKE2b-256 |
ad644f80481fe2e54450bbf200f88cf3fa124068ceeef5b9a8c2a614ab8ff964
|