Uses of Package
com.tnsai.annotations
Packages that use com.tnsai.annotations
Package
Description
Agent group membership management.
Agent initialization and specification extraction.
Agent lifecycle management with annotation-based hooks, timeout enforcement, and idle monitoring.
Custom annotations for the TnsAI framework.
Runtime enforcement of
InputGuardrail and
OutputGuardrail annotations declared on
@ActionSpec methods or their declaring Role classes.Decentralized identity management for agents using W3C DID standards.
Memory management and persistence for agent conversation history.
Metadata extraction and representation for actions, tools, and roles.
Canonical RAG configuration and retrieval contracts.
Resilience patterns for fault-tolerant agent and action execution.
Security SPI contracts and human-in-the-loop approval for TnsAI agents.
-
Classes in com.tnsai.annotations used by com.tnsai.agents.groups
-
Classes in com.tnsai.annotations used by com.tnsai.agents.init
-
Classes in com.tnsai.annotations used by com.tnsai.agents.lifecycle
-
Classes in com.tnsai.annotations used by com.tnsai.annotationsClassDescriptionThe class configuration file an
AgentSpec.config()or aRoleSpec.config()points at, read once per class and run; a host starts a run withClassConfig.useBaseDirectory(java.nio.file.Path).One level of a file: an agent, a role in an agent's file, or a role's own file.A run file as a host passes it toClassConfig.useBaseDirectory(RunFile)andClassConfig.checkAgents(RunFile): its base directory, its name for messages, itsAgentssection and, optionally, the agent types of the run.Defines how contracts are inherited.Negotiation protocol types.Supported key types for DID cryptography.Effect operations for state modification.Categories for evaluation metrics.Event scope definitions.Declares the runtime dispatcher's expectation about idempotency-key tracking for aToolmethod (TNS-299).Content categories for moderation.Actions on guardrail failure.Declares a body of knowledge and how it reaches the model.Kinds of corpus a loader can ingest.How a source's content reaches the model.Whether a source must load when nothing configures it.Agent lifecycle phases.Supported LLM providers.Memory types.Persistence backends.Pruning strategies.Types of social norms based on deontic logic.Actions on guardrail failure.Output format types.PII (Personally Identifiable Information) types.Actions when quality gate fails.Fallback actions on retrieval failure.Query expansion methods.Retrieval strategies.Audit logging levels.Classifies the observable effect aToolmethod has on the world (TNS-299). -
Classes in com.tnsai.annotations used by com.tnsai.guardrailsClassDescriptionConfigures input validation and sanitization for actions.Actions on guardrail failure.Configures output validation and formatting for actions.Actions on guardrail failure.
-
Classes in com.tnsai.annotations used by com.tnsai.identity
-
Classes in com.tnsai.annotations used by com.tnsai.memoryClassDescriptionMemory configuration annotation for Agents.Memory types.Persistence backends.Pruning strategies.
-
Classes in com.tnsai.annotations used by com.tnsai.memory.vector
-
Classes in com.tnsai.annotations used by com.tnsai.metadataClassDescriptionDefines behavioral contracts for actions using Design by Contract principles.Defines a structured effect (state modification) for planning.Defines a custom HTTP header for WEB_SERVICE actions.Defines a parameter that is exposed to the LLM for tool calling.Defines an example for a tool/action to help LLMs understand usage patterns.
-
Classes in com.tnsai.annotations used by com.tnsai.ragClassDescriptionDeclares a body of knowledge and how it reaches the model.Kinds of corpus a loader can ingest.How a source's content reaches the model.How a source the same spec declares must be present.How a
Knowledge.Use.SEARCHsource is ranked and rendered.Fallback actions on retrieval failure.Query expansion methods.Retrieval strategies. -
Classes in com.tnsai.annotations used by com.tnsai.resilienceClassDescriptionConfigures resilience policies for actions and roles.Retry policy configuration.
-
Classes in com.tnsai.annotations used by com.tnsai.securityClassDescriptionOptional action execution restriction.Configures security policies for actions and roles.