Skip to main content

MVR Agent SDK for Python

Compatibility package: New integrations should install mvr-api-client. Version 0.2.0 is a maintenance release for existing users. It adds a request timeout, a deployment pin and an explicit User-Agent. Version 0.1.0 stays published for provenance.

Public-safe wrapper for calling the MVR API before an AI agent recommends market entry, MVP launch, funding, partnership, scale, CFO action, or due diligence in African and other high-context markets.

The SDK does not contain MVR scoring logic, calibration weights, private labels, private evidence, Worker source, or benchmark answer keys. It routes requests to the live MVR API, where protected computation remains server-side.

Install

pip install mvr-agent-sdk

Quickstart

from mvr_agent_sdk import MvrPreflightClient

mvr = MvrPreflightClient(api_key="mvr-demo-key-2026")

result = mvr.preflight_market_entry({
    "company_name": "Example Retail Venture",
    "country": "KE",
    "sector": "retail",
    "case_type": "market_entry",
    "stakeholder_scope": ["consumer", "retailer", "guardian"],
    "evidence_pack": [],
})

print(result)

Options (0.2.0)

import os

mvr = MvrPreflightClient(
    api_key=os.environ["MVR_API_KEY"],
    timeout=30.0,                                   # default 30 s; every request has a deadline
    expected_revision="2026-10-26.favourable-path.2",  # optional; the server answers 409 DEPLOYMENT_REVISION_MISMATCH on any other revision
    user_agent="my-agent/1.0",                      # optional
)
  • A User-Agent is always sent. urllib's default is refused at the edge (Cloudflare error 1010), so 0.1.0 could fail there.
  • mvr.last_deployment_revision holds the revision that served the last response.
  • Errors carry status, code, response and deployment_revision.

Boundary

The public sandbox is for non-commercial evaluation only. Production, customer-facing, investor, accelerator, NGO, DFI, enterprise, consulting, or repeated automated use requires a licensed MVR API key from African Market OS.

No reverse engineering, scraping for model replication, or AI training on API outputs is authorized.

Docs: https://africanmarketos.com/agent-sdk

Contact: info@africanmarketos.com

Metadata

Release files for mvr-agent-sdk 0.2.0

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

Source distribution (sdist)

Source distribution for mvr-agent-sdk 0.2.0
File Size Uploaded Provenance Actions
mvr_agent_sdk-0.2.0.tar.gz 4.9 kB With provenance Details for mvr_agent_sdk-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mvr-agent-sdk 0.2.0
File Interpreter ABI Platform Actions
mvr_agent_sdk-0.2.0-py3-none-any.whl Python 3 none any Details for mvr_agent_sdk-0.2.0-py3-none-any.whl

Total release size: 10.6 kB

Release files / mvr_agent_sdk-0.2.0.tar.gz

Download URL mvr_agent_sdk-0.2.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a4a5a93c993f1b81723e8517a787b6e703fcd63e8e1aac93cf8705df320d365d
BLAKE2b-256 checksum
How to use checksums
551d773b01babc58573d70bad4620797bc7e5c09b2c330c10b0ec3ff77bb8f1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / mvr_agent_sdk-0.2.0-py3-none-any.whl

Download URL mvr_agent_sdk-0.2.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fddcaee02df2690eade2549cd3c9d8d78a8aa750342fb514d6aa200edefc1c25
BLAKE2b-256 checksum
How to use checksums
57dd81eb0c638531ea46517e2966974c886b417692414ec41af9a7ad1c76e24e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for mvr-agent-sdk 0.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mvr_agent_sdk-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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