agents._session-launch.load-memory ​
Load agent memory entries and serialize them for injection into the runner
Load serialized memory for the agent config.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-agents |
| Version | 1.0 |
Triggers ​
| Source | Endpoint / Event | Description |
|---|---|---|
| INTERNAL | dag.step | Internal step — invoked by the agents.session-launch DAG |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_uuid | string | No | — | DAG-stamped parent run id (auto-injected by the engine) |
workflow_run_id | string | No | — | — |
agent_config_uuid | string | Yes | — | — |
actor_uuid | string | No | — | — |
session_uuid | string | No | — | — |
task | string | Yes | — | — |
organization_uuid | string | Yes | — | — |
config_snapshot | dict | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
entries_count | json | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_at | string | No | — | — |
failed_at_state | string | No | — | — |
failed_layer | json | No | — | — |
failed_step | string | No | — | — |
failure_reason | string | No | — | — |
serialized_memory | json | No | — | — |
memory_disabled_reason | string | No | — | — |
pack_uuid | json | No | — | — |
workflow_run_uuid | json | No | — | — |
workflow_run_id | string | No | — | — |
agent_config_uuid | json | No | — | — |
actor_uuid | json | No | — | — |
session_uuid | json | No | — | — |
task | json | No | — | — |
organization_uuid | json | No | — | — |
config_snapshot | json | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | run | — |
run | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | run | run | — |
run | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "agents._session-launch.load-memory",
"initial_data": {
"agent_config_uuid": "value",
"task": "value",
"organization_uuid": "value"
}
}