Advanced

Platform Services

Compute, storage and runtime services for your listings

Beyond distribution, Theaimart offers managed runtime services so your web apps and agents don't need their own infrastructure to run.

Services

ServiceWhat it provides
ComputeSandboxed execution for hosted agents and swarm runs
StorageObject storage for build artifacts and agent I/O
SecretsEncrypted vault; secrets injected into runs at execution time
QueueDurable job queue for async and scheduled work
LogsCentralized run logs with retention

Secrets vault

Store credentials your agents need and reference them by name — never hard‑code them in a manifest:

curl -X POST https://api.theaimart.co/api/v1/platform/secrets \
  -H "Authorization: Bearer $THEAIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "OPENAI_API_KEY", "value": "sk-..." }'

At runtime the value is injected into the sandbox as an environment variable; it's never returned by the API or written to logs.

Secrets are write‑only via the API — you can set and rotate them, but not read them back. Rotate on a schedule and scope each secret to the listings that need it.

Runtime limits

hosted runs execute in an isolated sandbox with per‑listing limits (CPU time, memory, network egress) declared in the agent manifest. Exceeding a limit terminates the run and records the reason.

When to use platform runtime vs. your own

  • •Use platform runtime for stateless agents and swarm work you'd rather not host.
  • •Use webhook runtime when the logic must run in your own environment (data residency, existing infra).

Next