Modaic sells to AI agents - live prices and self-serve payment

The agent storefront at https://agents.modaic.dev/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.

Search Modaic documentation

Find a Modaic guide or API reference

Quickstart

1. Create an API key

Create a key with the write:repository scope in the Modaic dashboard, then export it.

export MODAIC_API_KEY="mdc_..."

Install an SDK to use Python or TypeScript. The cURL example uses the key directly.

2. Run a decision

Send the support ticket as state and ask whether it needs immediate attention.

from modaic import Modaic

client = Modaic()

result = client.decisions.create(
    model="mo-latest",
    state="Checkout is unavailable.",
    questions={"urgent": {"type": "noul", "instructions": "Does this require immediate attention?"}},
)
print(result.answers["urgent"].noul)

The urgent answer is a number from 0 to 1. For example, 0.94 means the model assigned a 94% likelihood to the ticket needing immediate attention.

Next steps

Was this page helpful?