Trigger AI agents via API — get the result back automatically
One HTTP POST starts an AI agent working in the background with your payload as context. HUM answers with run IDs immediately, and when the agent finishes, the signed result lands back in your system — by webhook callback or polling.
AI that fits into pipelines, not chat windows
Most "AI integrations" mean pasting into a chat box or building your own agent runtime. Your systems need a request/response contract.
Building an agent runtime is a project
Queues, retries, tool calling, timeouts, observability — running LLM agents reliably in production is months of infrastructure before the first useful result.
Fire-and-forget automation is a black box
Triggering an AI job is easy; knowing whether it worked is not. Without run IDs, status, and structured results, automations fail silently.
Glue code multiplies
Every new event source — CRM, ticketing, e-commerce, cron — needs its own custom integration to get work to an agent and results back where they belong.
How the API trigger loop works
A complete request/response cycle for background AI work.
- Step 1
POST your payload
Send JSON to your tokenized trigger URL — from a webhook, a script, Zapier, n8n, or any system that can make an HTTP request.
- Step 2
Get run IDs instantly
HUM responds 202 with a run ID and status URL for every agent the event started, so your system can correlate the work.
- Step 3
The agent does the work
Your agent runs in the background with the payload as context — searching your knowledge base and calling the HTTP tools you enabled.
- Step 4
The result comes back signed
When the run finishes, HUM POSTs the HMAC-signed result to your callback URL — or your script polls the status URL until it is done.
A production agent runtime, exposed as one endpoint
Everything you would have to build yourself — queues, signing, idempotency, observability — is already there.
Webhook-triggered agents
Tokenized trigger URLs fire custom events into HUM. Point GitHub, Redmine, your CRM, or any webhook source straight at them.
Signed result callbacks
Results POST back to your system with an HMAC-SHA256 signature, run ID headers, and per-request callback overrides.
Polling for scripts and cron
No inbound connectivity? Poll the status URL with the same token until the run leaves the queue — full output included.
Idempotency built in
Redelivered events with the same ID return the original run’s result instead of running the agent twice.
Tools and knowledge included
Agents use your org’s knowledge base and registered HTTP tools — so they can look things up and take action, not just generate text.
Run observability
Every run records status, output, tool calls, token usage, latency, and callback delivery — in the dashboard and via the agent.run.completed webhook.