aimarket-data-cap
Documentation
| Document | Description |
|---|---|
| User guide | Install, configure, verify plugin is loaded |
| User cases | Personas and cross-plugin workflows |
| SDK integration | Code examples and hook behavior |
Data-as-capability. Private corpus → paid RAG-capability. Upload your private data corpus. It becomes a paid search capability. You earn 70% of every query. Doubles TAM — sell compute AND data. Snowflake-level monetization for AI marketplaces.
When to Use
- Law firm uploads 50k court decisions →
legal.us-cases.search@v1, $0.05/query - Medical publisher uploads research papers →
medical.papers.search@v1, $0.10/query - SaaS company uploads internal docs →
company.kb.search@v1, $0.03/query - Any data owner who wants to monetize their private corpus without giving it away
Installation
pip install aimarket-data-cap
Example
from aimarket_data_cap.data_capability import DataCapabilityRegistry
reg = DataCapabilityRegistry(platform_fee_pct=0.30)
# Law firm registers their corpus
dc = reg.register(
owner_address="0xLawFirm",
description="US court decisions 2020-2025, federal circuit",
data_size_bytes=50_000_000, document_count=50000,
query_price_usd=0.05,
tags=["legal", "us-courts", "precedents"]
)
# Consumer queries — pays $0.05
result = reg.query(dc.capability_id, "precedent for breach of contract damages")
print(f"Price: ${result['price_usd']}")
print(f"Owner earns: ${result['revenue_split']['owner_usd']} (70%)")
print(f"Platform earns: ${result['revenue_split']['platform_usd']} (30%)")
# Data owner checks earnings
rev = reg.get_owner_revenue("0xLawFirm")
print(f"Total earned: ${rev['total_earned_usd']:.2f}")
Revenue Split
Default 70/30 — data owner gets 70%, platform gets 30%. Configurable per capability.
License
MIT · Maintained by AI-Factory
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 aimarket_data_cap-2.0.0.tar.gz.
File metadata
- Download URL: aimarket_data_cap-2.0.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61117fbd89573c1a1facfa48c4c2a1b634083a3069c46f7a0f8b5378dd36e6df
|
|
| MD5 |
88df749a36808bfe476be7a2bd38d2d2
|
|
| BLAKE2b-256 |
ebe479a8917f2f481c0a62a642aa3cde90e9cb397719f6947b1c4ad553624753
|
File details
Details for the file aimarket_data_cap-2.0.0-py3-none-any.whl.
File metadata
- Download URL: aimarket_data_cap-2.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95327b4e24e64086f3ead155a29e876db10e755ad659e58542c1a0ae0c45031e
|
|
| MD5 |
952b709f8adaa11a791d9f241eec9c41
|
|
| BLAKE2b-256 |
25fcdda30969d0705123e2148f8586b94fa697894910204bc7b37eee27e35fe5
|