agent
Module: @vibex/core/agent
Agent Types - Shared interfaces for agents
Interfaces
AgentConfig
View source
Agent Types - Shared interfaces for agents
Properties:
| Name | Type | Description |
|---|---|---|
id | string | (optional) |
name | string | |
description | string | |
provider | string | (optional) |
model | string | (optional) |
llm | object | (optional) |
systemPrompt | string | (optional) |
tools | string[] | (optional) |
personality | string | (optional) |
temperature | number | (optional) |
maxOutputTokens | number | (optional) |
topP | number | (optional) |
frequencyPenalty | number | (optional) |
presencePenalty | number | (optional) |
promptFile | string | (optional) |
AgentContext
View source
Agent context - runtime context passed to agents
Properties:
| Name | Type | Description |
|---|---|---|
spaceId | string | |
taskId | string | (optional) |
metadata | Record<string, unknown> | (optional) |
AgentResponse
View source
Agent response - what an agent returns after processing
Properties:
| Name | Type | Description |
|---|---|---|
text | string | |
toolCalls | unknown[] | (optional) |
reasoningText | string | (optional) |
metadata | Record<string, unknown> | (optional) |