Defines an agent and its configuration.
import { defineAgent } from '@rippling/rippling-sdk';
Properties
| Property | Required | Type | Description |
|---|---|---|---|
apiName | Required | `${string}__c` | Company-scoped API name ending in |
description | Required | string | Human-readable description. |
eventTriggers | Required | ACPAgentEventTrigger[] | Trigger configuration managed by this manifest. Pass [] for no triggers. |
identityMode | Required | "runner" | Identity used when the agent runs. ACP Composer supports only |
name | Required | string | Display name shown in Rippling. |
entrypoint | Required in some variants | string | never | Path of the source file that starts the agent. |
files | Required in some variants | ACPAgentSourceFile[] | never | Source files for the agent's latest revision. |
source | Required in some variants | never | URL | — |
isForEvals | Optional | boolean | Evaluation-only agent. This cannot change after creation. |
Requirements marked “in some variants” depend on the selected union member.
TypeScript signature
defineAgent(props: DefinedAgentProps): DefinedAgent;
Returns
DefinedAgent
Availability
| Capability | Support |
|---|---|
| Pull into a project | Supported |
| Runtime operations | Available with an authenticated SDK client |