StaticFindFind agents similar to a specific agent.
Vector service containing agent embeddings
The ID of the agent to find similar agents to
Maximum number of results to return (default: 5)
Minimum similarity score 0-1 (default: 0.5)
Array of matching agents (excludes the source agent)
StaticFindFind agents similar to a given task description.
Vector service containing agent embeddings
The task description to match against agent capabilities
Function to generate embeddings (from AIEngine)
Maximum number of results to return (default: 5)
Minimum similarity score 0-1 (default: 0.5)
Array of matching agents sorted by similarity score (highest first)
StaticGenerateGenerate embeddings for agents using provided embedding function. Called by AIEngine during AdditionalLoading.
Array of agents (already loaded by AIEngine)
Function to generate embeddings (from AIEngine)
Vector entries ready for loading into vector service
StaticGetGet the similarity score between two specific agents.
Vector service containing agent embeddings
First agent ID
Second agent ID
Similarity score (0-1)
Utility service for agent embedding operations. Uses agent data already loaded by AIEngine - no separate initialization needed. All methods are static - no instance state required.
Example