- From the Paradime API, using
triggerDinoaiAgentRun. See API Reference. - From a Bolt schedule, using the Run DinoAI Background Agent command type. This page.
Prerequisites
- A programmable agent definition, either committed to your repository under
.dinoai/agents/<name>.yml(see YAML Configuration) or built in the app from the Agents page (see Creating Agents in the App). - A connected git repository. A schedule that only runs agents doesn’t need a data warehouse connection or a dbt™ project, so Bolt works in workspaces set up only for agents.
No API keys required. Bolt runs the agent natively inside your workspace, so there are no credentials to configure on the schedule. Existing schedules that still set
PARADIME_API_ENDPOINT, PARADIME_API_KEY, PARADIME_API_SECRET, or PARADIME_WORKSPACE_UID as environment variables keep working unchanged, and you can safely remove those variables. API keys are only needed when you trigger agents from outside Paradime (API, SDK, or CLI).Option 1: Configure from the Bolt UI
In the Bolt schedule editor, click Add command and pick Run DinoAI Background Agent:- Agent Name: pick the agent from the dropdown. The list includes agents from
.dinoai/agents/*.ymlon the configured git branch as well as agents built in the app. - Task: describe the task you want the agent to complete. This becomes the agent’s opening user message.
- Save Command, then configure the trigger type (cron, on-merge, on-completion, etc.) and deploy.
Option 2: Configure from schedules-as-code YAML
The UI just writes aparadime dinoai CLI invocation into the schedule’s commands: list. If you manage your Bolt schedules with YAML, add the same command directly:
See Configuration Reference for the full schedule YAML schema.
Lifecycle of a Bolt-triggered run
The command runs natively inside Paradime: when the trigger fires, Bolt dispatches the agent run directly, without going through the public API or authenticating with API keys.- Fresh session per run. Each Bolt run starts a new agent session, there is no continuity from one schedule run to the next. Use the API with
sendDinoaiAgentMessageif you need multi-turn continuity. - Bolt waits for the agent. The command blocks until the agent reaches a terminal state (
COMPLETEDorFAILED), with a 1 hour timeout, and the Bolt run inherits the agent’s success/failure. - Logs. The agent’s messages stream into the Bolt command’s stdout, so they show up in the Bolt run logs (and in the live log stream when polled via the SDK).
- Session attribution. Runs started from a schedule appear under the Bolt source in the agent sessions panel, not under API, so you can tell scheduled runs apart from programmatic ones.
- Notifications. Slack notifications configured inside the agent YAML still fire, independently from any Bolt notifications configured on the schedule itself.
- Overlapping runs. If every command in the schedule is a
paradime dinoaicommand, up to 5 runs of the schedule can be in progress at once. A cron fire, an API call, or another trigger starts its own run even while an earlier one is still working. At 5, a manual or API trigger is refused withThis schedule already has 5 runs in progress (limit 5). Wait for one to finish., and a cron fire is skipped without adding a run to the history. Schedules that mix agent commands with other commands run one at a time. The Run button stays disabled while the latest run is in progress.
Related
- Bolt Command Settings: Run DinoAI Background Agent, UI walkthrough
- Schedules as Code → Configuration Reference: full YAML schedule schema
- API Reference: invoking agents via GraphQL
- API Reference: invoking agents via Paradime SDK
- API Reference: invoking agents via Paradime CLI
- YAML Configuration: authoring the agent itself
- Tools Reference: what the agent can do once it’s running