Skip to main content

InsightEngine

Defined in: types.ts:903

LLM-powered semantic analysis engine for agent execution data.

Methods

explainAnomaly()

explainAnomaly(agentId, event): Promise<InsightResult>

Defined in: types.ts:907

Explain why a specific execution was anomalous.

Parameters

ParameterType
agentIdstring
eventExecutionEvent

Returns

Promise<InsightResult>


explainFailures()

explainFailures(agentId): Promise<InsightResult>

Defined in: types.ts:905

Explain recent failures for an agent in natural language.

Parameters

ParameterType
agentIdstring

Returns

Promise<InsightResult>


suggestFixes()

suggestFixes(agentId): Promise<InsightResult>

Defined in: types.ts:911

Suggest actionable fixes based on failure patterns and bottlenecks.

Parameters

ParameterType
agentIdstring

Returns

Promise<InsightResult>


summarizeAgent()

summarizeAgent(agentId): Promise<InsightResult>

Defined in: types.ts:909

Generate a natural language health summary for an agent.

Parameters

ParameterType
agentIdstring

Returns

Promise<InsightResult>