For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Article

defineAgent

API reference for defineAgent: parameters, properties, and return types.

Use with AI:Rippling AI ChatGPT Claude Cursor

Defines an agent and its configuration.

import { defineAgent } from '@rippling/rippling-sdk';

Properties​

PropertyRequiredTypeDescription
apiNameRequired`${string}__c`

Company-scoped API name ending in __c.

descriptionRequiredstring

Human-readable description.

eventTriggersRequiredACPAgentEventTrigger[]

Trigger configuration managed by this manifest. Pass [] for no triggers.

identityModeRequired"runner"

Identity used when the agent runs. ACP Composer supports only runner.

nameRequiredstring

Display name shown in Rippling.

entrypointRequired in some variantsstring | never

Path of the source file that starts the agent.

filesRequired in some variantsACPAgentSourceFile[] | never

Source files for the agent's latest revision.

sourceRequired in some variantsnever | URL—
isForEvalsOptionalboolean

Evaluation-only agent. This cannot change after creation.

Requirements marked “in some variants” depend on the selected union member.

Complete options type

TypeScript signature
defineAgent(props: DefinedAgentProps): DefinedAgent;

Returns​

DefinedAgent

Availability​

CapabilitySupport
Pull into a projectSupported
Runtime operationsAvailable with an authenticated SDK client