Skip to main content

🏛️ Agba Engine (agba-engine)

Version: 5.1.7
Author & Lead Architect: Aruna Olanrewaju Kabiru
License: RAIL-Cultural-Heritage-v1.0 (Prohibits unauthorized commodification & identity distortion)

agba-engine is a multi-modal, diacritic-preserving retrieval framework designed for indexing Global Heritage assets, Indigenous Scripts, and Tonal Orthographies without Semantic Stripping.


📦 Installation

pip install agba-engine==5.1.7

🚀 Quickstart & Usage Examples

Example 1: Diacritic-Preserving Text Indexing with Rich Metadata

Standard LLM tokenizers flatten tonal marks. Agba Engine maintains parallel canonical and ASCII representation vectors alongside Rich Cultural descriptions.

from agba_engine.core.engine import AgbaSearchEngine

engine = AgbaSearchEngine()
query_text = 'Fìlà Gọ̀bị́'
results = engine.search_by_text(query_text, top_k=3)

top_match = results[0]
print(f"ID: {top_match['id']}")
print(f"Class: {top_match['classification']}")
print(f"Description: {top_match['description']}")
print(f"Score: {top_match['score']:.4f}")

Example 2: Zero-Shot Cross-Modal Visual Retrieval

Perform zero-shot similarity search across Physical Heritage Artifacts using vision-language representation vectors.

from PIL import Image
from agba_engine.core.engine import AgbaSearchEngine

engine = AgbaSearchEngine()
image_input = Image.open('sample_artifact.jpg')
matches = engine.search_by_vision(image_input, top_k=3)

print(f"Top Match: {matches[0]['id']} ({matches[0]['classification']})")
print(f"Confidence Score: {matches[0]['score']:.4f}")

🛠️ API Reference & Key Functions

Method / Property Return Type Description
AgbaSearchEngine() Object Initializes core engine & lazy-loads zero-shot VLM pipeline.
.search_by_text(query, top_k=5) List[Dict] Executes diacritic-preserving text retrieval returning canonical scripts, classifications, and rich metadata.
.search_by_vision(image, top_k=5) List[Dict] Queries visual vector space returning top-ranked artifact classifications and similarity scores.
.version str Returns active engine build version (5.1.7).
.ethical_license str Returns active RAIL governance framework parameters.

🌐 Enterprise & Quad-Vector Audio Alignment

The open-source core provides tri-vector functionality (Canonical Text, ASCII, and Vision).

For high-density Quad-Vector Audio Integration (including Gangan pitch-contour mapping and Spoken Native Vocalization models for archives and museums), visit our Hugging Face Space or contact the author.

Metadata

Release files for agba-engine 5.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agba-engine 5.1.7
File Size Uploaded Provenance
agba_engine-5.1.7.tar.gz 5.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agba-engine 5.1.7
File Interpreter ABI Platform
agba_engine-5.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 11.4 kB

Release files / agba_engine-5.1.7.tar.gz

Download URL agba_engine-5.1.7.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d468b11580402ee90c7af86933ddfbda5396904633be4a7469f10a954fb925bd
BLAKE2b-256 checksum
How to use checksums
8bf3198c0fc895f3a0feec3dfcb302ea9b6c5414d98b3b66a9aec73859b07414
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / agba_engine-5.1.7-py3-none-any.whl

Download URL agba_engine-5.1.7-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
593498d8c3c0d1953ba12554c6e5931fcb2f97002bb2eba361a102027c6726cd
BLAKE2b-256 checksum
How to use checksums
a766b82cf428af80a90a7a27d87e3d5c51f546fc752579b69ca00b943894a82a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for agba-engine 5.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page