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

modaic instruct-opts

instruct-opts is an alias for instruction-optimizations.

create

Start instruction optimization. See data requirements.

modaic instruct-opts create acme/support-priority --training-file triage-labels

modaic instruct-opts create --model mo-latest \
  --destination acme/support-priority --training-file triage-labels
Flag / argumentWhat it does
MODELModel path or base model. Supply this argument or --model.
--modelModel path or base model; alternative to the positional argument.
--destinationRequired with a base model: saved workspace/model to create or update.
--training-fileRequired uploaded dataset name in the model workspace.
--validation-fileOptional uploaded dataset used for candidate selection.
--eval-only-datasetOptional evaluation-only resource used for final held-out metrics.
--branchBranch to optimize. Default: main.
--source-commit-shaStarting commit. Resolved from the branch head by the API when omitted.
--max-metric-callsEvaluation budget. Omit to size automatically.
--idempotency-keyRetry key for this exact request. Generated when omitted.
--reflection-modelModel used to propose instruction changes.
--reflection-minibatch-sizeExamples per reflection minibatch.
--seedRandom seed. Default: 0.
-h, --helpShow usage and options.

list

List recent instruction optimization jobs for a model.

modaic instruct-opts list acme/support-priority --limit 10
Flag / argumentWhat it does
WORKSPACE/MODELRequired model path, such as acme/support-priority.
--limitMaximum number of jobs. Default: 20.
-h, --helpShow usage and options.

get

Read instruction optimization status and results.

modaic instruct-opts get JOB_ID
Flag / argumentWhat it does
JOB_IDRequired instruction optimization job ID.
-h, --helpShow usage and options.

logs

Read available instruction optimization output.

modaic instruct-opts logs JOB_ID
Flag / argumentWhat it does
JOB_IDRequired instruction optimization job ID.
-h, --helpShow usage and options.

cancel

Request cancellation.

modaic instruct-opts cancel JOB_ID
Flag / argumentWhat it does
JOB_IDRequired instruction optimization job ID.
-h, --helpShow usage and options.
Was this page helpful?