Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Creating an autonomous agent

Configure an agent that runs on its own — manually, on a schedule, or from a workflow rule

An autonomous agent carries out a task from end to end, with nobody watching: reviewing a slice of the record of processing activities, preparing an action plan, producing a monthly summary.

Go to Workspace settings > AI agents, click Create agent, then Auto Agent.


Agent configuration

The system instruction (10,000 characters maximum) describes the whole mission. Unlike a conversational agent, where you mostly define a personality, this is a procedure.

An effective system instruction is numbered, explicit about its limits, and precise about the expected output:

You carry out the monthly review of the record of processing activities.

Steps to follow:
1. List the processing activities of the organizational unit given in the
   input field.
2. For each record, check that the purpose, the legal basis, the retention
   period and the security measures are filled in.
3. Group the gaps you find by record.
4. Create an action plan with one task per incomplete record, stating which
   fields must be completed.

Do not modify any processing activity: restrict yourself to creating the
action plan tasks.

Finish with a summary stating the number of records reviewed, the number of
incomplete records and the tasks created.

Input fields

Input fields make up the short form filled in before a run. Each value reaches the agent under its technical name: use those names in the system instruction to tell the agent what to do with them.

Autonomous agent editor with its input fields and the form preview
The input fields and their preview, on the right

Each field is defined by:

Setting
Purpose

Label

What the person launching the run sees

Name

The technical name under which the value reaches the agent

Type

Text, Number, Boolean or Select

Required

Prevents the run from starting while the field is empty

Default

Pre-filled value

Description

Help text shown under the field

An agent with no input field at all runs without asking anything.

The Name is generated automatically from the label. If you change it, check the final value: that is what you must quote in the system instruction.

The form preview, on the right of the editor, shows exactly what your users will see — and is also how you launch a test run.


Tools

This works exactly like a conversational agent: all tools are available by default, and you can restrict the list.

The stakes are higher here, though, since nobody reviews the agent while it works. Give it the read-only tools it needs, and only the editing tools its mission requires.

Notifications

Notified users receive a Dastra notification when the agent completes a run, and another one when a run fails. A run that ends by requesting a human review counts as completed.


Scheduling

Scheduling block of an autonomous agent, monthly frequency
Scheduling an autonomous agent

Pick a frequency — No schedule, Daily, Weekly or Monthly — then the hour, and depending on the case the day of the week or the day of the month.

Hours are shown in your own time zone, as stated under the form. Dastra stores them in UTC, which is why the agent card in the list may display a different hour from the one you entered.

The trigger runs once an hour, on the hour. A schedule therefore cannot target a specific minute.

Only enabled, non-archived, autonomous agents are picked up by the scheduler.


The three ways to trigger a run

1. Manually

Fill in the form in the preview, then click Run. The run is queued: you are redirected to the inbox, where you watch it move from Running to its final status.

2. On the schedule

The agent starts on its own at the configured frequency. The default values of its input fields are used.

3. From a workflow rule

In Workspace settings > Workflow rules, the Execute an AI agent action triggers an agent from an event on a record — a stage change, a creation, a deadline.

There you pick the agent, a message, and the values of its input fields. Those values accept custom variables resolved from the record that triggered the rule, so the agent receives a different context on every run.


Run limits

Limit
Behaviour

30 tool iterations per turn

Beyond that the agent must conclude: the run ends as Incomplete execution

Context size

The oldest tool exchanges are summarised; on overflow the run ends as Context limit reached

10,000 characters of input

A longer message is refused

Credit quota

A run is refused when the monthly quota is reached

These statuses, and the others, are detailed in Tracking runs.


Tracking runs

Last updated

Was this helpful?