Skip to content
Tracon

IAgentSkillStore

Namespace Tracon · Assembly Tracon.Abstractions.dll

The store for a tenant’s run-time skill definitions.

public interface IAgentSkillStore

Tenant behavior — EXPECTED tenant, uniformly, with no ambient fallback. Every member takes tenantId as an explicit parameter; an implementation does not read ITenantContext at all. This differs from the neighboring IAgentDefinitionStore, which reads the ambient tenant internally instead — see that interface’s remarks for why the shape is not uniform across the cluster.

DeleteAsync(string, string, CancellationToken)

Section titled “ DeleteAsync(string, string, CancellationToken)”

Deletes a tenant’s skill.

ValueTask<bool> DeleteAsync(string tenantId, string name, CancellationToken cancellationToken = default)

tenantId string

The tenant identifier.

name string

The skill name.

cancellationToken CancellationToken

The cancellation token.

ValueTask<bool>

true if the skill was deleted.

GetAsync(string, string, CancellationToken)

Section titled “ GetAsync(string, string, CancellationToken)”

Fetches the skill matching the given name within the tenant.

ValueTask<AgentSkillDefinition?> GetAsync(string tenantId, string name, CancellationToken cancellationToken = default)

tenantId string

The tenant identifier.

name string

The skill name.

cancellationToken CancellationToken

The cancellation token.

ValueTask<AgentSkillDefinition?>

The skill; null if it does not exist.

Lists all of a tenant’s skills.

ValueTask<IReadOnlyList<AgentSkillDefinition>> ListAsync(string tenantId, CancellationToken cancellationToken = default)

tenantId string

The tenant identifier.

cancellationToken CancellationToken

The cancellation token.

ValueTask<IReadOnlyList<AgentSkillDefinition>>

The skills, ordered by name.

SaveAsync(AgentSkillDefinition, CancellationToken)

Section titled “ SaveAsync(AgentSkillDefinition, CancellationToken)”

Creates or updates the skill.

ValueTask<AgentSkillDefinition> SaveAsync(AgentSkillDefinition skill, CancellationToken cancellationToken = default)

skill AgentSkillDefinition

The skill to save.

cancellationToken CancellationToken

The cancellation token.

ValueTask<AgentSkillDefinition>

The skill with its identifier, timestamps, and version assigned.