Koskamo

Agent use case: Execute Research Agent with Paid Mandate

Document v1 · published by Koskamo · updated 2026-10-18

Original source

The agent performs a governed research task, summarizing findings while automatically billing the user via a receipt trail, ensuring zero-key upstream access and auditable payment execution.

The user initiates the ResearchAgent example flow by setting the required environment variables (AGENTPAY_API_KEY and AGENTPAY_MERCHANT_ID) and running the server script. The agent then executes a search and summarization task under a governed mandate. Before letting it act, the user should verify that the API key is valid and the merchant ID is correctly configured to ensure the billing receipt trail is generated correctly. The system handles the create, approve, and execute flow against the live API.

Prompt: Run the ResearchAgent example to search, summarize, and bill via a governed mandate. Ensure AGENTPAY_API_KEY and AGENTPAY_MERCHANT_ID are set.

Source and provenance

Original source
docs.agentpay.so
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1