Skip to main content
Agent management settings let you configure preprocessing logic and manage the agent lifecycle.

Agent Status

Agent status lets you enable or disable an agent without deleting it. Disabled agents remain fully editable and configurable but are excluded from runtime execution. Re-enabling an agent immediately restores normal routing.
Agent status affects runtime behavior only. Configuration and settings are preserved regardless of the agent’s status.

Behavior by Orchestration Pattern

The impact of disabling an agent depends on how your app is orchestrated.

Agent Pre-Processor

The Agent Pre-Processor lets you run custom scripts before an agent is invoked. Scripts can access system memory and context variables to perform data transformation, validation, and context preparation. The configured script runs automatically each time the agent is invoked.
This feature is currently enabled on request.

Common Use Cases

Available Context Keys

The following keys are available within the script, along with any context and memory variables:

Adding a Pre-Processor Script

  1. In the agent configuration, go to Pre-ProcessorAdd Script.
  2. Write your script in JavaScript or Python using the available context keys listed above.
  3. Click Test Execution to verify the script’s behavior.
  4. Click Create to save.
There is no execution timeout for scripts. Ensure your script does not introduce unnecessary delays.

Example Script

The following script adds HR-specific guidance to the agent prompt and appends a timestamp to the task input.

Execution Mode

Once a script is added, configure when the pre-processor should run during an agent session. Two modes are available: To change the mode, select the appropriate option and save.

Delete Agent

Click Delete Agent to permanently delete the agent and all associated data. This action cannot be undone.