Skip to content

Process ​

A running instance of an agent with its own lifecycle and memory.

Properties ​

PropertyTypeDescription
idstringUnique process ID
agentNamestringParent agent name
stateProcessStateCurrent state
infoProcessInfoFull info including metadata

ProcessState ​

created → starting → running → paused → terminated / crashed

Spawn Options ​

typescript
await kernel.spawn('agent', {
  id: 'custom-id',
  metadata: { owner: 'user-1' },
  timeout: 30000,
  tokenBudget: 10000,
});

Released under the MIT License.