Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- @Action Annotation - Search tag in package com.tnsai.annotations
- Section
- @ApprovalRequired Annotation - Search tag in package com.tnsai.annotations
- Section
- abort(String, AbortReason) - Method in class com.tnsai.reliability.DefaultResumableRun
- abort(String, AbortReason) - Method in interface com.tnsai.reliability.ResumableRun
-
Stop a run that's currently in flight.
- Aborted(String, AbortReason) - Constructor for record class com.tnsai.reliability.Outcome.Aborted
-
Creates an instance of a
Abortedrecord class. - abortOn(Class<? extends Exception>...) - Method in class com.tnsai.resilience.RetryPolicy.Builder
- AbortReason - Enum Class in com.tnsai.reliability
-
Why a
ResumableRunstopped before reaching its terminal step (TNS-299). - ABSTAIN - Enum constant in enum class com.tnsai.communication.SharedBlackboard.VoteType
- abstentions() - Method in record class com.tnsai.communication.SharedBlackboard.VoteResult
-
Returns the value of the
abstentionsrecord component. - AbstractMemoryStore - Class in com.tnsai.memory
-
Abstract base class for memory stores.
- AbstractOutputSerializer - Class in com.tnsai.output
-
Abstract base class for output serializers.
- ACADEMIC_EXTRA_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Author-attribution and open-access lookups complementing
BuiltInTool.ACADEMIC_TOOLS. - ACADEMIC_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Academic paper search across six free databases.
- accept() - Element in annotation interface com.tnsai.annotations.WebService
-
Accept header value.
- accept() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
acceptrecord component. - ACCEPT - Enum constant in enum class com.tnsai.communication.CNPMessageType
- accessCount() - Method in class com.tnsai.memory.strategy.MemoryEntry
- AccessDeclaration - Record Class in com.tnsai.security
-
Collects restrictions from the actual target hierarchy; no method-first security replacement.
- AccessDeclaration(List<ExecutionRule>, List<Security>) - Constructor for record class com.tnsai.security.AccessDeclaration
-
Creates an instance of a
AccessDeclarationrecord class. - accessGate() - Method in class com.tnsai.tools.method.ToolMethodDispatcher
- AccessGate - Class in com.tnsai.security
-
Shared dispatch entry to SecurityEnforcer.
- AccessGate(SecurityEnforcerHandle) - Constructor for class com.tnsai.security.AccessGate
- AccessRequest - Record Class in com.tnsai.security
-
Immutable checked execution binding supplied to the existing security evaluator.
- AccessRequest(String, ActionType, Object, AccessDeclaration, InvocationContext, AgentPrincipal, AuthorityScope, AccessSubject, String, String, String) - Constructor for record class com.tnsai.security.AccessRequest
-
Creates an instance of a
AccessRequestrecord class. - AccessSubject - Record Class in com.tnsai.security
-
Host-verified subject.
- AccessSubject(AccessSubject.Kind, String, Set<String>) - Constructor for record class com.tnsai.security.AccessSubject
-
Creates an instance of a
AccessSubjectrecord class. - AccessSubject.Kind - Enum Class in com.tnsai.security
- AccountabilityWiringException - Exception Class in com.tnsai.accountability
-
Thrown when an
ActionExecutordispatches a role action without its accountability wiring: a principal and a defaultAuthorityScope. - AccountabilityWiringException(String) - Constructor for exception class com.tnsai.accountability.AccountabilityWiringException
- ACHIEVED - Enum constant in enum class com.tnsai.spi.CognitiveModel.GoalStatus
- ACK - Enum constant in enum class com.tnsai.communication.AckMessageType
-
Positive acknowledgment - message received and processed successfully.
- AckMessageType - Enum Class in com.tnsai.communication
-
Message types for acknowledgment protocol.
- acknowledge() - Element in annotation interface com.tnsai.annotations.Communication.Messaging
-
Whether to acknowledge received messages.
- acknowledge(String) - Method in class com.tnsai.communication.DefaultMessageAcknowledger
- acknowledge(String) - Method in interface com.tnsai.communication.MessageAcknowledger
-
Sends a positive acknowledgment for the given correlation ID.
- acknowledge(String, Map<String, Object>) - Method in class com.tnsai.communication.DefaultMessageAcknowledger
- acknowledge(String, Map<String, Object>) - Method in interface com.tnsai.communication.MessageAcknowledger
-
Sends a positive acknowledgment with additional metadata.
- acknowledged(String, Instant, int, AgentMessage) - Static method in class com.tnsai.communication.AckResult
-
Creates a successful acknowledgment result with attempt count.
- acknowledged(String, Instant, AgentMessage) - Static method in class com.tnsai.communication.AckResult
-
Creates a successful acknowledgment result.
- ACKNOWLEDGED - Enum constant in enum class com.tnsai.communication.AckResult.Status
-
Message was acknowledged positively.
- AcknowledgedMessage - Class in com.tnsai.communication
-
A message that requires acknowledgment from the receiver.
- AcknowledgedMessage.Builder - Class in com.tnsai.communication
-
Builder for AcknowledgedMessage.
- AckResult - Class in com.tnsai.communication
-
Result of an acknowledgment operation.
- AckResult.Status - Enum Class in com.tnsai.communication
-
Acknowledgment status.
- acquire() - Method in class com.tnsai.rag.KnowledgeScope
-
Begins one turn or operation.
- act(String, Map<String, Object>) - Method in class com.tnsai.environment.CompositeEnvironment
- act(String, Map<String, Object>) - Method in interface com.tnsai.environment.Environment
-
Agent acts on the environment.
- act(String, Map<String, Object>) - Method in class com.tnsai.environment.InMemoryEnvironment
- action() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Returns the value of the
actionrecord component. - action() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipHistoryEntry
-
Returns the value of the
actionrecord component. - action() - Element in annotation interface com.tnsai.annotations.AuditLog
-
Action name for the audit entry (e.g., "user.approve", "config.change").
- action() - Element in annotation interface com.tnsai.annotations.Norm
-
The action this norm applies to.
- action() - Method in class com.tnsai.resilience.recovery.RecoveryDecision
- action() - Method in record class com.tnsai.security.audit.AuditEvent
-
Returns the value of the
actionrecord component. - action() - Method in record class com.tnsai.security.audit.AuditQuery
-
Returns the value of the
actionrecord component. - action(String) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- action(String) - Method in class com.tnsai.security.audit.AuditEvent.Builder
- action(String) - Method in class com.tnsai.security.audit.AuditQuery.Builder
- action(String, String) - Static method in record class com.tnsai.agents.validation.Location
- Action - Record Class in com.tnsai.accountability
-
Audit-grade descriptor of a single agent action (TNS-298).
- Action(ActionType, String, Optional<String>, Map<String, Object>, String) - Constructor for record class com.tnsai.accountability.Action
-
Creates an instance of a
Actionrecord class. - Action(String, String, Map<String, Object>) - Constructor for record class com.tnsai.spi.CognitiveModel.Action
-
Creates an instance of a
Actionrecord class. - ACTION_ITEM - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- ActionConfig - Record Class in com.tnsai.metadata
-
Programmatic counterpart of
@ActionSpec(TNS-551) — declares a role action via a builder instead of an annotated method, soRoleBuilder.addAction(ActionConfig)can register actions that an agent dispatches identically to annotation-derived ones. - ActionConfig(String, String, ActionType, List<ParamSpec>, ActionHandler, ContractSpec, InputGuardrailConfig, OutputGuardrailConfig) - Constructor for record class com.tnsai.metadata.ActionConfig
-
Creates an instance of a
ActionConfigrecord class. - ActionContract - Interface in com.tnsai.actions.contracts
-
Optional contract interface for roles that want to enforce pre/post conditions.
- actionDescription() - Method in record class com.tnsai.events.ApprovalRequestEvent
-
Returns the value of the
actionDescriptionrecord component. - ActionDiscovery - Class in com.tnsai.actions
-
Discovers actions from Role classes using reflection.
- ActionDiscovery() - Constructor for class com.tnsai.actions.ActionDiscovery
- Action Discovery - Search tag in annotation interface com.tnsai.annotations.ActionSpec
- Section
- Action Discovery - Search tag in class com.tnsai.roles.Role
- Section
- ActionExecutionException - Exception Class in com.tnsai.exceptions
-
Exception thrown when action execution fails.
- ActionExecutionException(String) - Constructor for exception class com.tnsai.exceptions.ActionExecutionException
-
Creates an ActionExecutionException with full context.
- ActionExecutionException(String, Throwable) - Constructor for exception class com.tnsai.exceptions.ActionExecutionException
- ActionExecutionException(String, Throwable, String, ActionType) - Constructor for exception class com.tnsai.exceptions.ActionExecutionException
-
Creates an ActionExecutionException with unknown category.
- ActionExecutionException(String, Throwable, String, ActionType, ActionExecutionException.ErrorCategory) - Constructor for exception class com.tnsai.exceptions.ActionExecutionException
-
Creates an ActionExecutionException with default retryable flag from category.
- ActionExecutionException(String, Throwable, String, ActionType, ActionExecutionException.ErrorCategory, boolean) - Constructor for exception class com.tnsai.exceptions.ActionExecutionException
- ActionExecutionException.ErrorCategory - Enum Class in com.tnsai.exceptions
-
Error categories for action execution failures.
- actionExecutor - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- actionExecutor(ActionExecutor) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the action executor for tool execution.
- ActionExecutor - Class in com.tnsai.actions
-
Main router for action execution in the TnsAI framework.
- ActionExecutor() - Constructor for class com.tnsai.actions.ActionExecutor
-
Creates an ActionExecutor with no external tools — the dispatcher is seeded with an empty
ToolMethodRegistry. - ActionExecutor(ToolMethodDispatcher) - Constructor for class com.tnsai.actions.ActionExecutor
-
Creates an ActionExecutor with a
ToolMethodDispatcherfor external tool dispatch. - Action Executors - Search tag in package com.tnsai.actions
- Section
- Action Flow - Search tag in package com.tnsai.actions
- Section
- ActionHandler - Interface in com.tnsai.metadata
-
Dispatch callback for a programmatically-defined action (TNS-551) — the lambda body of an
ActionConfig/RoleBuilder.addAction(...)action, the programmatic counterpart of an@ActionSpec-annotated method body. - ActionHookEvent - Interface in com.tnsai.hooks.events
-
Generic action-dispatch hook events (issue #59).
- actionKnowledge(String, String...) - Method in class com.tnsai.agents.AgentBuilder
-
Names the knowledge one action uses, replacing the list its
@ActionSpecnames. - Action-level Phase 1 scope (#173) - Search tag in package com.tnsai.resilience
- Section
- Action Mapping - Search tag in annotation interface com.tnsai.annotations.Goal
- Section
- ActionMetadata - Class in com.tnsai.metadata
-
Immutable metadata about a Role method that becomes an Action.
- ActionMetadata(Method, List<ParamSpec>) - Constructor for class com.tnsai.metadata.ActionMetadata
-
Creates action metadata from a method.
- ActionMetadata(String, String, ActionType, List<ParamSpec>, ActionHandler) - Constructor for class com.tnsai.metadata.ActionMetadata
-
Creates action metadata for a programmatically-defined action (TNS-551) — no reflective
Method; dispatch goes through the suppliedActionHandler. - ActionMetadata(String, String, ActionType, List<ParamSpec>, ActionHandler, ContractSpec) - Constructor for class com.tnsai.metadata.ActionMetadata
-
As
ActionMetadata(String, String, ActionType, List, ActionHandler)but with a declarativeContractSpec(TNS-637) — the programmatic equivalent of@Contractfor builder-added actions. - ActionMetadata(String, String, ActionType, List<ParamSpec>, ActionHandler, ContractSpec, InputGuardrailConfig, OutputGuardrailConfig) - Constructor for class com.tnsai.metadata.ActionMetadata
-
As
ActionMetadata(String, String, ActionType, List, ActionHandler, ContractSpec)but also carrying per-action programmatic guardrails (TNS-643) — the builder equivalent of method-level@InputGuardrail/@OutputGuardrail, for builder-added actions that have no method to read the annotation from. - actionName() - Method in record class com.tnsai.actions.model.ActionRequest
-
Returns the value of the
actionNamerecord component. - actionName() - Method in record class com.tnsai.agents.validation.Location
-
Returns the value of the
actionNamerecord component. - actionName() - Method in record class com.tnsai.events.ApprovalRequestEvent
-
Returns the value of the
actionNamerecord component. - actionName() - Method in exception class com.tnsai.guardrails.GuardrailViolationException
- actionName() - Method in record class com.tnsai.planning.PlannerHandle.PlanStep
-
Returns the value of the
actionNamerecord component. - actionName() - Method in record class com.tnsai.planning.PlannerHandle.StepResult
-
Returns the value of the
actionNamerecord component. - actionName() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.ResponsibilityInfo
-
Returns the value of the
actionNamerecord component. - actionName() - Method in record class com.tnsai.security.AccessRequest
-
Returns the value of the
actionNamerecord component. - actionName(String) - Method in class com.tnsai.security.approval.ApprovalToken.Builder
-
Sets the action name.
- ActionNameCollisionValidator - Class in com.tnsai.agents.validation.validators
-
AGENT-V008 —
@ActionSpecmethod names must be unique across every role attached to an agent. - ActionNameCollisionValidator() - Constructor for class com.tnsai.agents.validation.validators.ActionNameCollisionValidator
- ActionOutcome - Record Class in com.tnsai.environment
-
Result of an agent acting on the environment.
- ActionOutcome(boolean, String, Percept) - Constructor for record class com.tnsai.environment.ActionOutcome
-
Creates an instance of a
ActionOutcomerecord class. - ActionParams - Class in com.tnsai.actions
-
Holds parameters for action execution, supporting transformation between LLM-provided parameters and actual action parameters.
- ActionParams - Class in com.tnsai.metadata
-
Static helpers for safely picking values out of an action's
Map<String, Object> parametersbag. - ActionParams(Map<String, Object>, String) - Constructor for class com.tnsai.actions.ActionParams
-
Creates ActionParams with initial parameters from LLM.
- ActionRequest - Record Class in com.tnsai.actions.model
-
Typed request for action execution.
- ActionRequest(String, Map<String, Object>) - Constructor for record class com.tnsai.actions.model.ActionRequest
-
Compact constructor with validation.
- Action Request - Search tag in class com.tnsai.protocols.models.Message
- Section
- ActionResponse - Record Class in com.tnsai.actions.model
-
Typed response from action execution.
- ActionResponse(Object, boolean, String) - Constructor for record class com.tnsai.actions.model.ActionResponse
-
Creates an instance of a
ActionResponserecord class. - actionResponsibilities() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.CachedRoleMetadata
-
Returns the value of the
actionResponsibilitiesrecord component. - ActionResult - Class in com.tnsai.actions
-
Wrapper for action execution results.
- ActionResult(Object) - Constructor for class com.tnsai.actions.ActionResult
- actions() - Method in record class com.tnsai.roles.export.ExportedRole
-
Returns the value of the
actionsrecord component. - actions(List<ActionConfig>) - Method in class com.tnsai.roles.RoleBuilder
-
Registers multiple programmatic actions (TNS-551).
- Actions - Class in com.tnsai.actions
-
Framework-owned helpers for action-body wiring.
- Actions.DispatchedByFrameworkException - Exception Class in com.tnsai.actions
-
Dedicated exception type so tests can assert the cause without string-matching and operators can wire dedicated alerts on this failure mode.
- ActionSpec - Annotation Interface in com.tnsai.annotations
-
Marks a method as an executable action that can be discovered and invoked by agents.
- ActionSpec() - Constructor for class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- actionTimeout(String, long) - Static method in exception class com.tnsai.exceptions.TimeoutException
-
Factory method for action execution timeout.
- actionType() - Method in record class com.tnsai.security.AccessRequest
-
Returns the value of the
actionTyperecord component. - ActionType - Enum Class in com.tnsai.enums
-
Represents the type of action execution method.
- Action Types - Search tag in annotation interface com.tnsai.annotations.ActionSpec
- Section
- Action Types and Executors - Search tag in class com.tnsai.actions.ActionExecutor
- Section
- activate(Skill, List<String>, Map<String, String>) - Method in class com.tnsai.skills.SkillSession
-
Activate
skillwith the suppliedargumentsand environment. - activatedAt() - Method in record class com.tnsai.skills.ActiveSkill
-
Returns the value of the
activatedAtrecord component. - ACTIVE - Enum constant in enum class com.tnsai.agents.async.SessionManager.SessionState
- ACTIVE - Enum constant in enum class com.tnsai.agents.groups.GroupLifecycle
-
Group is active and accepting work.
- ACTIVE - Enum constant in enum class com.tnsai.spi.CognitiveModel.GoalStatus
- activePublisher() - Static method in class com.tnsai.observability.errors.ErrorReports
-
Read the currently-active publisher, or
nullif no publisher has been bound (and SPI discovery hasn't run yet). - ActiveSkill - Record Class in com.tnsai.skills
-
Runtime snapshot of a skill that has been activated for an agent session (TNS-289).
- ActiveSkill(Skill, String, List<String>, Map<String, String>, Instant) - Constructor for record class com.tnsai.skills.ActiveSkill
-
Creates an instance of a
ActiveSkillrecord class. - activeSkills() - Method in class com.tnsai.skills.SkillManager
-
Snapshot of currently active skills (for inspection / tests).
- activeSkills() - Method in class com.tnsai.skills.SkillSession
-
Snapshot of currently active skills, in activation order.
- activeTasks() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns the value of the
activeTasksrecord component. - actOnEnvironment(String, Map<String, Object>) - Method in class com.tnsai.agents.Agent
-
Acts on the attached environment.
- actOnEnvironment(String, Map<String, Object>) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- actOnEnvironment(String, Map<String, Object>, String) - Method in class com.tnsai.agents.AgentCognitiveSupport
- actor() - Method in class com.tnsai.security.InvocationContext
- actualDimension() - Method in exception class com.tnsai.memory.advanced.EmbeddingDimensionMismatchException
-
Returns the dimension supplied by the caller or provider.
- ADAPTIVE - Enum constant in enum class com.tnsai.enums.AgentVariant.Quality
-
Adaptive quality based on task
- ADAPTIVE - Enum constant in enum class com.tnsai.enums.AgentVariant.Speed
-
Adaptive speed based on task
- add(Agent) - Method in class com.tnsai.agents.async.AsyncMsgHub
-
Adds a participant to the hub.
- add(ValidationIssue) - Method in class com.tnsai.agents.validation.ValidationReport.Builder
- add(MemoryEntry) - Method in class com.tnsai.memory.advanced.BM25Index
-
Adds an entry to the index.
- add(MemoryEntry) - Method in class com.tnsai.memory.advanced.VectorMemoryStore
-
Adds a memory entry and computes its embedding.
- add(MemoryEntry, float[]) - Method in class com.tnsai.memory.advanced.VectorMemoryStore
-
Adds a memory entry with a pre-computed embedding.
- add(String) - Static method in class com.tnsai.observability.events.Breadcrumbs
-
Convenience for breadcrumbs without attributes.
- add(String, String) - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Adds a new memory at the Working tier.
- add(String, String, MemoryTier) - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Adds a memory at a specific tier (for loading persisted state).
- add(String, Map<String, Object>) - Static method in class com.tnsai.observability.events.Breadcrumbs
-
Append a breadcrumb to the current thread's buffer.
- ADD - Enum constant in enum class com.tnsai.annotations.Effect.Operation
-
Add value to numeric state.
- ADD - Enum constant in enum class com.tnsai.events.BDIUpdateEvent.Operation
- addAction(ActionConfig) - Method in class com.tnsai.roles.RoleBuilder
-
Registers a programmatic action on this role (TNS-551) — the builder counterpart of an
@ActionSpec-annotated method. - addAll(List<ValidationIssue>) - Method in class com.tnsai.agents.validation.ValidationReport.Builder
- addAssistantMessage(String) - Method in class com.tnsai.agents.execution.MemoryManager
-
Adds an assistant message to the conversation history.
- addBelief(Belief) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Adds a belief dynamically at runtime.
- addBelief(CognitiveModel.Belief) - Method in interface com.tnsai.spi.CognitiveModel
-
Adds a belief to the cognitive model.
- addChild(Agent) - Method in class com.tnsai.agents.Agent
-
Adds a child agent (maintains bidirectional consistency).
- addChild(Agent) - Method in class com.tnsai.agents.hierarchy.AgentHierarchyManager
-
Adds a child agent to this agent's hierarchy.
- addChildDirect(Agent) - Method in class com.tnsai.agents.Agent
- addChildDirect(Agent) - Method in interface com.tnsai.agents.hierarchy.AgentHierarchyManager.HierarchyContext
-
Adds a child directly to the internal list.
- addChildren(Agent...) - Method in class com.tnsai.agents.Agent
-
Adds multiple child agents at once.
- addChildren(Agent...) - Method in class com.tnsai.agents.hierarchy.AgentHierarchyManager
-
Adds multiple child agents at once.
- addDesire(Desire) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Adds a desire dynamically at runtime.
- addDocument(Document) - Method in class com.tnsai.knowledge.InMemoryKnowledgeBase
- addDocument(Document) - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Adds a document to the knowledge base.
- addDocuments(List<Document>) - Method in class com.tnsai.knowledge.InMemoryKnowledgeBase
- addDocuments(List<Document>) - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Adds multiple documents to the knowledge base.
- ADDED - Enum constant in enum class com.tnsai.context.snapshot.SnapshotDiff.ChangeType
- addedBeliefs() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
addedBeliefsrecord component. - addedDesires() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
addedDesiresrecord component. - addedEntities() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
addedEntitiesrecord component. - addedIntentions() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
addedIntentionsrecord component. - addEvalHook(EvalHook) - Method in class com.tnsai.agents.Agent
-
Adds an evaluation hook for metric collection.
- addEvalHook(EvalHook) - Method in class com.tnsai.agents.AgentCognitiveSupport
- addEvalHook(EvalHook) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- addGoal(CognitiveModel.Goal) - Method in interface com.tnsai.spi.CognitiveModel
-
Adds a goal/desire to the cognitive model.
- addHook(EvalHook) - Method in interface com.tnsai.eval.hooks.EvalHandle
- addIntention(Intention) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Adds an intention dynamically at runtime.
- addIntention(CognitiveModel.Intention) - Method in interface com.tnsai.spi.CognitiveModel
-
Adds an intention/plan to execute.
- additionalArgs(List<String>) - Method in class com.tnsai.hooks.external.ExternalScriptHook.Builder
- additionalSettings(Map<String, Object>) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- addLifecycleListener(GroupLifecycleListener) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Adds a lifecycle listener.
- addListener(Consumer<SharedBlackboard.Entry>) - Method in class com.tnsai.communication.SharedBlackboard
-
Adds a listener for all entries.
- addListener(Consumer<EvalContext.MetricEvent>) - Method in class com.tnsai.eval.hooks.EvalContext
-
Adds a real-time metric listener.
- addMember(Agent) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Adds an agent to this group.
- addMembershipListener(MembershipListener) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Adds a membership listener.
- addMessage(String, String) - Method in class com.tnsai.memory.AbstractMemoryStore
- addMessage(String, String) - Method in interface com.tnsai.memory.MemoryStore
-
Adds a message to the memory.
- addMessage(String, String) - Method in class com.tnsai.memory.NamespacedMemoryStore
- addMessage(String, String) - Method in class com.tnsai.memory.SharedMemoryStore
- addMessage(String, String) - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
- addMessage(String, String) - Method in class com.tnsai.memory.vector.VectorSearchMemoryStore
- addMessage(String, String, String) - Method in class com.tnsai.memory.NamespacedMemoryStore
-
Adds a message to a specific namespace.
- addMessage(String, Map<String, Object>) - Method in class com.tnsai.memory.NamespacedMemoryStore
-
Adds a structured message to a specific namespace.
- addMessage(Map<String, Object>) - Method in class com.tnsai.agents.execution.MemoryManager
-
Adds a structured message to the history.
- addMessage(Map<String, Object>) - Method in class com.tnsai.memory.AbstractMemoryStore
- addMessage(Map<String, Object>) - Method in interface com.tnsai.memory.MemoryStore
-
Adds a structured message (e.g. with tool calls) to memory.
- addMessage(Map<String, Object>) - Method in class com.tnsai.memory.NamespacedMemoryStore
- addMessage(Map<String, Object>) - Method in class com.tnsai.memory.SharedMemoryStore
- addMessage(Map<String, Object>) - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
- addMessage(Map<String, Object>) - Method in class com.tnsai.memory.vector.VectorSearchMemoryStore
- ADDRESS - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.PIIType
- addSetting(String, Object) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- addSpec(String, Object) - Method in class com.tnsai.communication.AcknowledgedMessage.Builder
-
Adds acknowledgment metadata.
- addSpec(String, Object) - Method in class com.tnsai.communication.SharedBlackboard.Entry.Builder
- addSystemMessage(String) - Method in class com.tnsai.agents.execution.MemoryManager
-
Adds a system message to the conversation history.
- addTypeListener(SharedBlackboard.EntryType, Consumer<SharedBlackboard.Entry>) - Method in class com.tnsai.communication.SharedBlackboard
-
Adds a listener for specific entry types.
- addUserMessage(String) - Method in class com.tnsai.agents.execution.MemoryManager
-
Adds a user message to the conversation history.
- AFTER_TASK - Enum constant in enum class com.tnsai.annotations.Lifecycle.Phase
-
After each task execution.
- AfterActionSpec - Annotation Interface in com.tnsai.annotations
-
Marks a method as a post-action handler that runs after the action completes.
- AFTERPAY_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Afterpay (Clearpay) merchant API.
- afterSearch() - Method in record class com.tnsai.rag.ChatKnowledgeContext.Turn
-
Returns the value of the
afterSearchrecord component. - afterSnapshotId() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
afterSnapshotIdrecord component. - Agent - Class in com.tnsai.agents
-
Abstract base class for autonomous agents in the TnsAI framework.
- AGENT - Enum constant in enum class com.tnsai.annotations.EvalMetric.MetricCategory
-
Overall agent metrics
- AGENT - Enum constant in enum class com.tnsai.llm.LLMResolver.ResolutionSource
-
LLM came from agent's default LLM
- AGENT - Enum constant in enum class com.tnsai.security.AccessSubject.Kind
- AGENT_NAME_FILTER - Static variable in record class com.tnsai.rag.ChatRetrievalContext
- AGENT_REQUEST - Enum constant in enum class com.tnsai.context.decision.DecisionTrigger.TriggerType
-
Decision triggered by another agent
- Agent Architecture - Search tag in package com.tnsai.agents
- Section
- AgentBuilder - Class in com.tnsai.agents
-
Fluent builder for creating Agent instances without subclassing.
- AgentCapabilities - Class in com.tnsai.agents.capabilities
-
Manages agent capabilities: planning, reasoning, evaluation, feedback, environment perception, variant selection, context graphs, and resilience.
- AgentCapabilities(AgentCognitiveSupport, AgentCapabilities.CapabilitiesContext) - Constructor for class com.tnsai.agents.capabilities.AgentCapabilities
- AgentCapabilities.CapabilitiesContext - Interface in com.tnsai.agents.capabilities
-
Provides agent context needed by capability methods.
- AgentChatOrchestrator - Class in com.tnsai.agents.chat
-
Handles chat orchestration for an Agent.
- AgentChatOrchestrator(AgentChatOrchestrator.ChatContext) - Constructor for class com.tnsai.agents.chat.AgentChatOrchestrator
-
Creates a new AgentChatOrchestrator.
- AgentChatOrchestrator.ChatContext - Interface in com.tnsai.agents.chat
-
Context interface for Agent - provides access to agent internals needed for chat.
- AgentCheckpoint - Class in com.tnsai.agents.interrupt
-
Represents a checkpoint of agent state for interrupt/resume functionality.
- AgentCheckpoint(String, String, Instant, List<Map<String, Object>>) - Constructor for record class com.tnsai.agents.execution.MemoryManager.AgentCheckpoint
-
Creates an AgentCheckpoint with validation.
- AgentCheckpoint.Builder - Class in com.tnsai.agents.interrupt
-
Builder for AgentCheckpoint.
- agentClass() - Method in record class com.tnsai.hooks.HookContext
-
Returns the value of the
agentClassrecord component. - agentClass() - Method in record class com.tnsai.identity.AgentDescriptor
-
Returns the value of the
agentClassrecord component. - agentClass() - Method in record class com.tnsai.observability.events.EventContext
-
Returns the value of the
agentClassrecord component. - agentClass(String) - Method in class com.tnsai.identity.AgentDescriptor.Builder
- agentClass(String) - Method in class com.tnsai.observability.events.EventContext.Builder
- AgentCognitiveSupport - Class in com.tnsai.agents
-
Manages planning, reasoning, evaluation, environment perception, and feedback collection for an Agent.
- AgentCommunicationManager - Class in com.tnsai.communication
-
Central hub for routing messages between agents.
- AgentCommunicationManager() - Constructor for class com.tnsai.communication.AgentCommunicationManager
- AgentCommunicationManager(CommunicationTransport) - Constructor for class com.tnsai.communication.AgentCommunicationManager
- AgentCommunicationManager.MessageReceiver - Interface in com.tnsai.communication
- AgentContext - Class in com.tnsai.observability.events
-
Thread-local container for the current
EventContext. - AgentContext.Scope - Class in com.tnsai.observability.events
-
AutoCloseable returned by
AgentContext.enter(EventContext)— restores the previous context (or clears entirely if none was active) on close. - AgentDescriptor - Record Class in com.tnsai.identity
-
Declarative description of an agent that an
AgentPrincipalProvideruses to mint anAgentPrincipal(TNS-298). - AgentDescriptor(String, String, List<String>, String, Optional<String>, Map<String, String>) - Constructor for record class com.tnsai.identity.AgentDescriptor
-
Creates an instance of a
AgentDescriptorrecord class. - AgentDescriptor.Builder - Class in com.tnsai.identity
- AgentEndpoint - Class in com.tnsai.protocols.models
-
Represents an agent endpoint in communication.
- AgentEndpoint(String) - Constructor for class com.tnsai.protocols.models.AgentEndpoint
- AgentEndpoint(String, String) - Constructor for class com.tnsai.protocols.models.AgentEndpoint
- AgentEnsembleExecutor - Class in com.tnsai.agents.ensemble
-
Handles multi-LLM ensemble operations for an Agent.
- AgentEnsembleExecutor() - Constructor for class com.tnsai.agents.ensemble.AgentEnsembleExecutor
- AgentEventPublisher - Interface in com.tnsai.observability.events
-
Service-side fan-out point for observability events.
- AgentEvents - Class in com.tnsai.observability.events
-
Static facade for publishing observability events from anywhere in the framework or consumer code.
- AgentGroup - Interface in com.tnsai.agents.groups
-
AgentGroup - Core abstraction for collections of cooperating agents.
- AgentGroupBuilder - Class in com.tnsai.agents.groups
-
Builder for creating AgentGroup instances.
- AgentGroupFactory - Interface in com.tnsai.agents.groups
-
SPI for creating AgentGroup instances.
- AgentGroupManager - Class in com.tnsai.agents.groups
-
Manages group membership for an agent.
- AgentGroupManager(AgentGroupManager.GroupContext) - Constructor for class com.tnsai.agents.groups.AgentGroupManager
- AgentGroupManager.GroupContext - Interface in com.tnsai.agents.groups
-
Context interface for accessing agent state needed for group operations.
- AgentHealthState - Enum Class in com.tnsai.resilience.recovery
-
Represents the health of an agent from the resilience subsystem perspective.
- AgentHierarchyEvent - Record Class in com.tnsai.events
-
Event representing a snapshot of the agent's hierarchy and state, intended for multi-agent visualization in the frontend.
- AgentHierarchyEvent(String, Instant, List<Map<String, Object>>) - Constructor for record class com.tnsai.events.AgentHierarchyEvent
-
Creates an instance of a
AgentHierarchyEventrecord class. - AgentHierarchyManager - Class in com.tnsai.agents.hierarchy
-
Manages hierarchical relationships between agents.
- AgentHierarchyManager(AgentHierarchyManager.HierarchyContext) - Constructor for class com.tnsai.agents.hierarchy.AgentHierarchyManager
-
Creates a new hierarchy manager for the given agent context.
- AgentHierarchyManager.HierarchyContext - Interface in com.tnsai.agents.hierarchy
-
Interface for accessing Agent internals needed for hierarchy management.
- AgentHierarchyMapper - Class in com.tnsai.agents.hierarchy
-
Maps an Agent hierarchy tree to a flat list of node maps suitable for
AgentHierarchyEvent. - AgentHookEvent - Interface in com.tnsai.hooks.events
-
Agent lifecycle hook events (issue #60).
- agentId() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.accountability.AuditQuery
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.accountability.ReputationScore
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.agents.execution.MemoryManager.AgentCheckpoint
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipHistoryEntry
-
Returns the value of the
agentIdrecord component. - agentId() - Element in annotation interface com.tnsai.annotations.DIDSpec
-
Agent-specific identifier.
- agentId() - Method in record class com.tnsai.events.RunStartEvent
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.hooks.HookContext
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.identity.DIDConfig
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.observability.events.EventContext
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.security.audit.AuditEvent
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.security.audit.AuditQuery
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.spi.FlagContext
-
Returns the value of the
agentIdrecord component. - agentId(String) - Method in class com.tnsai.accountability.AuditQuery.Builder
- agentId(String) - Method in class com.tnsai.agents.cognitive.CognitiveEngine.Builder
-
Sets the agent ID for logging.
- agentId(String) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- agentId(String) - Method in class com.tnsai.agents.resilience.AgentResilienceManager.Builder
-
Sets the agent ID.
- agentId(String) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- agentId(String) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- agentId(String) - Method in class com.tnsai.observability.events.EventContext.Builder
- agentId(String) - Method in class com.tnsai.security.approval.ApprovalToken.Builder
-
Sets the agent ID.
- agentId(String) - Method in class com.tnsai.security.audit.AuditEvent.Builder
- agentId(String) - Method in class com.tnsai.security.audit.AuditQuery.Builder
- AgentIdentity - Class in com.tnsai.models.agent
-
Represents a single identity trait or personality characteristic of an agent.
- AgentIdentity - Annotation Interface in com.tnsai.agents.annotations
-
Defines the identity metadata for an Agent class.
- AgentIdentity(String, String) - Constructor for class com.tnsai.models.agent.AgentIdentity
- AgentInit - Record Class in com.tnsai.hooks.events
-
Fires once when
AgentBuilder.build()completes, before the firstchat()call (issue #60). - AgentInit(String, Instant, HookContext) - Constructor for record class com.tnsai.hooks.events.AgentInit
-
Creates an instance of a
AgentInitrecord class. - AgentInitializer - Class in com.tnsai.agents.init
-
Handles the initialization of Agent components.
- AgentInitializer(AgentInitializer.InitializerContext) - Constructor for class com.tnsai.agents.init.AgentInitializer
- AgentInitializer.InitializationResult - Class in com.tnsai.agents.init
-
Result of agent initialization containing all initialized components.
- AgentInitializer.InitializerContext - Interface in com.tnsai.agents.init
-
Context interface for accessing Agent internals needed for initialization.
- Agent-level registration - Search tag in enum class com.tnsai.enums.BuiltInTool
- Section
- AgentLiabilityRecord - Record Class in com.tnsai.accountability
-
Append-only audit record produced for every agent action (TNS-298).
- AgentLiabilityRecord(String, String, Instant, Action, AuthorityScope, LiabilityClass, String, Optional<String>, Optional<byte[]>) - Constructor for record class com.tnsai.accountability.AgentLiabilityRecord
-
Creates an instance of a
AgentLiabilityRecordrecord class. - Agent Lifecycle - Search tag in package com.tnsai.agents
- Section
- agentLLM(Supplier<LLMClient>) - Method in class com.tnsai.llm.LLMResolver.Builder
-
Sets the agent's LLM supplier.
- AgentMemoryResolver - Class in com.tnsai.memory
-
Resolves memory configuration from
@Memoryand@VectorMemoryannotations. - AgentMemoryResolver.MemoryResolution - Record Class in com.tnsai.memory
-
Result of memory resolution containing the configured store and optional consolidation pipeline.
- AgentMessage - Class in com.tnsai.communication
-
Represents a message between agents.
- AgentMessage(String, String, String, MessageTypeMarker, Map<String, Object>, Long, String, Map<String, Object>) - Constructor for class com.tnsai.communication.AgentMessage
- AgentMessagingHandler - Class in com.tnsai.agents.messaging
-
Handles inter-agent messaging for an Agent.
- AgentMessagingHandler(AgentMessagingHandler.MessagingContext) - Constructor for class com.tnsai.agents.messaging.AgentMessagingHandler
-
Creates a new messaging handler for the given agent context.
- AgentMessagingHandler.MessagingContext - Interface in com.tnsai.agents.messaging
-
Context interface for accessing Agent internals needed for messaging.
- agentName() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns the value of the
agentNamerecord component. - agentName() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipHistoryEntry
-
Returns the value of the
agentNamerecord component. - agentName() - Method in record class com.tnsai.events.RunStartEvent
-
Returns the value of the
agentNamerecord component. - agentName() - Method in record class com.tnsai.events.SkillActivationEvent
-
Returns the value of the
agentNamerecord component. - agentName() - Method in record class com.tnsai.events.StatusEvent
-
Returns the value of the
agentNamerecord component. - agentName() - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns the value of the
agentNamerecord component. - agentName(String) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- agentNodes() - Method in record class com.tnsai.events.AgentHierarchyEvent
-
Returns the value of the
agentNodesrecord component. - AgentOrchestrator - Class in com.tnsai.agents.orchestration
-
Orchestrates chat, streaming, tool execution, and knowledge base operations.
- AgentOrchestrator(AgentOrchestrator.OrchestratorContext, ResilienceExecutor, RetryPolicy, AgentRecoveryManager, AgentStateRecoveryManager, List<ErrorRecoveryScenario>) - Constructor for class com.tnsai.agents.orchestration.AgentOrchestrator
- AgentOrchestrator.OrchestratorContext - Interface in com.tnsai.agents.orchestration
-
Bridge interface implemented by
Agentto provide core data and callbacks to the orchestrator. - AgentOutputFormatter - Class in com.tnsai.agents.output
-
Handles output formatting and serialization for an Agent.
- AgentOutputFormatter() - Constructor for class com.tnsai.agents.output.AgentOutputFormatter
- AgentPrincipal - Interface in com.tnsai.identity
-
Verifiable identity for an agent participating in the framework (TNS-298).
- AgentPrincipalProvider - Interface in com.tnsai.identity
-
SPI for issuing and verifying
AgentPrincipalinstances (TNS-298). - AgentPrincipalProvider.IdentityIssueException - Exception Class in com.tnsai.identity
-
Thrown by
AgentPrincipalProvider.issue(com.tnsai.identity.AgentDescriptor)when the trust root refuses to mint an identity (revoked spec, blocked tenant, …). - AgentPromptBuilder - Class in com.tnsai.prompt
-
Builds system prompts for agents.
- AgentPromptBuilder() - Constructor for class com.tnsai.prompt.AgentPromptBuilder
- agentRecoveryManager - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- AgentRecoveryManager - Class in com.tnsai.resilience.recovery
-
Tracks agent failures and produces recovery decisions (degrade, restart, fallback).
- AgentRecoveryManager() - Constructor for class com.tnsai.resilience.recovery.AgentRecoveryManager
- AgentRecoveryManager(AgentRestartPolicy) - Constructor for class com.tnsai.resilience.recovery.AgentRecoveryManager
- agentRequest(String, String) - Static method in record class com.tnsai.context.decision.DecisionTrigger
-
Creates a trigger from another agent.
- AgentResilienceManager - Class in com.tnsai.agents.resilience
-
Facade for agent resilience operations.
- AgentResilienceManager.Builder - Class in com.tnsai.agents.resilience
-
Builder for AgentResilienceManager.
- AgentRestartPolicy - Class in com.tnsai.resilience.recovery
-
Configuration for agent restart/degrade decisions driven by repeated failures.
- AgentRestartPolicy.Builder - Class in com.tnsai.resilience.recovery
- AgentSpec - Annotation Interface in com.tnsai.annotations
-
Defines agent specification including identity and default configuration.
- AgentSpecExtractor - Class in com.tnsai.agents.init
-
Extracts agent configuration from
AgentSpecannotation. - AgentSpecExtractor(Class<?>) - Constructor for class com.tnsai.agents.init.AgentSpecExtractor
-
Creates extractor for an agent class.
- AgentStart - Record Class in com.tnsai.hooks.events
-
Fires once when an agent is about to handle its first chat (issue #60).
- AgentStart(String, Instant, HookContext) - Constructor for record class com.tnsai.hooks.events.AgentStart
-
Creates an instance of a
AgentStartrecord class. - AgentState - Enum Class in com.tnsai.hooks.events
-
Lifecycle state of an
Agent. - AgentStateRecoveryManager - Class in com.tnsai.resilience.recovery
-
Captures and restores lightweight memory snapshots for agents.
- AgentStateRecoveryManager() - Constructor for class com.tnsai.resilience.recovery.AgentStateRecoveryManager
- AgentStateRecoveryManager(int) - Constructor for class com.tnsai.resilience.recovery.AgentStateRecoveryManager
- AgentStateSnapshot - Class in com.tnsai.resilience.recovery
-
Immutable snapshot of the agent's conversation state for fast restore.
- AgentStateSnapshot(List<Map<String, Object>>) - Constructor for class com.tnsai.resilience.recovery.AgentStateSnapshot
- AgentStop - Record Class in com.tnsai.hooks.events
-
Fires when an agent is shutting down (issue #60).
- AgentStop(String, Instant, HookContext, StopReason, Optional<Throwable>) - Constructor for record class com.tnsai.hooks.events.AgentStop
-
Creates an instance of a
AgentStoprecord class. - AgentStreamingSupport - Class in com.tnsai.agents.streaming
-
Handles streaming and event-based chat operations for an Agent.
- AgentStreamingSupport(AgentStreamingSupport.StreamingContext) - Constructor for class com.tnsai.agents.streaming.AgentStreamingSupport
- AgentStreamingSupport.StreamingContext - Interface in com.tnsai.agents.streaming
-
Context interface for accessing Agent internals needed for streaming.
- AgentToolExecutor - Class in com.tnsai.agents.execution
-
Handles tool/action execution for an Agent.
- AgentToolExecutor(AgentToolExecutor.AgentContext) - Constructor for class com.tnsai.agents.execution.AgentToolExecutor
-
Creates a new AgentToolExecutor.
- AgentToolExecutor.AgentContext - Interface in com.tnsai.agents.execution
-
Context interface for Agent - provides access to agent internals.
- AgentToolExecutor.ToolCallResult - Class in com.tnsai.agents.execution
-
Represents the result of a tool call execution.
- agentTypes(Collection<Class<?>>) - Method in class com.tnsai.annotations.ClassConfig.RunFile
-
This run file with the agent types of the run, the host's complete registry, so every key resolves against them before the run starts.
- AGENT-V003 — function calling - Search tag in class com.tnsai.agents.validation.validators.LLMCapabilityValidator
- Section
- AGENT-V004 — declarative capability requirements - Search tag in class com.tnsai.agents.validation.validators.LLMCapabilityValidator
- Section
- AgentValidationException - Exception Class in com.tnsai.agents.validation
-
Thrown by
AgentBuilder.build()when one or moreSeverity.ERRORissues are detected during pre-flight validation (issue #85). - AgentValidationException(ValidationReport) - Constructor for exception class com.tnsai.agents.validation.AgentValidationException
- AgentVariant - Enum Class in com.tnsai.enums
-
Defines quality/speed/cost tiers for agent execution.
- AgentVariant.Cost - Enum Class in com.tnsai.enums
-
Token cost level.
- AgentVariant.Quality - Enum Class in com.tnsai.enums
-
Quality level.
- AgentVariant.Speed - Enum Class in com.tnsai.enums
-
Execution speed.
- Agent Variants - Search tag in annotation interface com.tnsai.annotations.Variant
- Section
- agentVersion() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Returns the value of the
agentVersionrecord component. - agentWide() - Static method in record class com.tnsai.agents.validation.Location
-
Empty location — agent-wide issue, not scoped to any single role / action.
- AG-UI Interrupt Flow - Search tag in class com.tnsai.security.approval.InterruptService
- Section
- alert(String, String) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates an alert/notification component.
- alert(String, String, String) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates an alert with title.
- all() - Static method in record class com.tnsai.accountability.AuditQuery
-
No filters, no cap — match everything.
- all() - Static method in interface com.tnsai.hooks.HookMatcher
- all() - Static method in record class com.tnsai.security.audit.AuditQuery
-
Creates a query that matches all events.
- all() - Method in class com.tnsai.tools.method.ToolMethodRegistry
- All() - Constructor for record class com.tnsai.hooks.HookMatcher.All
-
Creates an instance of a
Allrecord class. - ALL - Enum constant in enum class com.tnsai.agents.variant.VariantSpec.ToolSet
-
All available tools
- ALL - Enum constant in enum class com.tnsai.protocols.annotations.MessageType
-
Accept all message types (default).
- allBeliefs() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns all beliefs (static + dynamic).
- allDesires() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns all desires (static + dynamic).
- allIntentions() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns all intentions (static + dynamic).
- allow() - Static method in interface com.tnsai.agents.execution.ToolCallAction
-
Creates an action that allows the tool call to proceed.
- Allow() - Constructor for record class com.tnsai.agents.execution.ToolCallAction.Allow
-
Creates an instance of a
Allowrecord class. - Allow() - Constructor for record class com.tnsai.hooks.HookResult.Allow
-
Creates an instance of a
Allowrecord class. - ALLOW_PATTERN_MISS - Enum constant in enum class com.tnsai.guardrails.GuardrailViolationException.Cause
-
Value did NOT match any
allowPatternsregex (allowlist). - AllowAllToolFilter - Class in com.tnsai.agents.execution
-
Pass-through
ToolCallFilterthat allows every tool call. - AllowAllToolFilter() - Constructor for class com.tnsai.agents.execution.AllowAllToolFilter
- allowDynamicMembership() - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Returns the value of the
allowDynamicMembershiprecord component. - allowDynamicMembership(boolean) - Method in class com.tnsai.agents.groups.GroupPolicy.Builder
- allowedActions() - Method in record class com.tnsai.accountability.AuthorityScope
-
Returns the value of the
allowedActionsrecord component. - allowedCallers() - Element in annotation interface com.tnsai.annotations.Security
-
Agent IDs allowed to call this action/role.
- allowedRoles() - Element in annotation interface com.tnsai.annotations.Security
-
Roles allowed to call this action.
- allowedSenders() - Element in annotation interface com.tnsai.protocols.annotations.MessageHandler
-
Sender IDs to accept messages from.
- allowedTools() - Method in record class com.tnsai.skills.Skill
-
Returns the value of the
allowedToolsrecord component. - allowedTools(List<String>) - Method in class com.tnsai.skills.Skill.Builder
- allowGoapAutoDiscover(FlagContext) - Static method in class com.tnsai.spi.FeatureFlags
-
FeatureFlag.GOAPauto-discover gate. - allowPatterns() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Regex patterns that input must match.
- allowPatterns() - Method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Returns the value of the
allowPatternsrecord component. - allowPatterns(List<String>) - Method in class com.tnsai.guardrails.InputGuardrailConfig.Builder
- AlreadySettled(String, String, Instant) - Constructor for record class com.tnsai.payment.Settlement.AlreadySettled
-
Creates an instance of a
AlreadySettledrecord class. - alternative(DecisionReasoning.Alternative) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- alternative(String, String) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- Alternative(String, String, boolean) - Constructor for record class com.tnsai.context.decision.DecisionReasoning.Alternative
-
Creates an instance of a
Alternativerecord class. - alternatives() - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Returns the value of the
alternativesrecord component. - alternatives(List<DecisionReasoning.Alternative>) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- ambiguous(List<Entity>, List<String>) - Static method in record class com.tnsai.context.entity.EntityResolutionResult
-
Creates a result where resolution was ambiguous.
- AMBIGUOUS - Enum constant in enum class com.tnsai.context.entity.EntityResolutionResult.ResolutionStatus
-
Multiple possible matches, ambiguous resolution
- ANALYTICAL - Enum constant in enum class com.tnsai.enums.agent.Tone
- ANALYTICS - Enum constant in enum class com.tnsai.context.entity.EntitySource.SourceType
-
Analytics/data warehouse
- analyze(String) - Method in class com.tnsai.agents.variant.TaskComplexityAnalyzer
-
Analyzes task complexity and returns a score between 0.0 and 1.0.
- andThen(ResilienceStrategy) - Method in interface com.tnsai.spi.ResilienceStrategy
-
Returns a composed strategy that first applies this strategy, then applies the given strategy.
- ANNOTATION_OVERRIDE - Enum constant in enum class com.tnsai.agents.variant.VariantSelector.SelectionReason
-
Selected based on @Variant annotation
- annotations() - Method in record class com.tnsai.roles.export.ExportedRole
-
Returns the value of the
annotationsrecord component. - answer() - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningResult
-
Returns the value of the
answerrecord component. - ANSWER - Enum constant in enum class com.tnsai.communication.QueryMessageType
- ANSWER - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- ANTHROPIC - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
- API - Enum constant in enum class com.tnsai.context.entity.EntitySource.SourceType
-
External API
- API_CALL - Enum constant in enum class com.tnsai.context.decision.DecisionTrigger.TriggerType
-
Decision triggered by external API call
- API_ERROR - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Generic API error
- API_KEY - Enum constant in enum class com.tnsai.enums.AuthType
-
API Key Authentication.
- apiError(String, int, String) - Static method in exception class com.tnsai.tools.spi.ToolException
-
Create an API error.
- apiKeyEnv() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
Environment variable name for API key.
- apiKeyEnv() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Environment variable for API key authentication.
- apiKeyEnv() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
apiKeyEnvrecord component. - apiKeyEnv() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns the value of the
apiKeyEnvrecord component. - apiKeyHeader() - Element in annotation interface com.tnsai.annotations.WebService
-
Header name for API key (when auth = API_KEY).
- apiKeyHeader() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
apiKeyHeaderrecord component. - apiRateLimit(String, long) - Static method in exception class com.tnsai.exceptions.RateLimitException
-
Factory method for API rate limit.
- APPEND - Enum constant in enum class com.tnsai.annotations.Effect.Operation
-
Append to list/collection state.
- Append-only contract - Search tag in class com.tnsai.accountability.RecordingLiabilitySink
- Section
- Append-only contract - Search tag in interface com.tnsai.accountability.LiabilitySink
- Section
- Append-only contract - Search tag in record class com.tnsai.accountability.AgentLiabilityRecord
- Section
- applied(String) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- apply(HookEvent) - Method in class com.tnsai.hooks.external.ExternalScriptHook
- apply(E) - Method in interface com.tnsai.hooks.spi.Hook
-
Inspect the event and return a decision.
- apply(String, List<String>, Map<String, String>) - Static method in class com.tnsai.skills.SkillSubstitution
-
Substitute placeholders in
templateusingargumentsfor$ARGUMENTS/$Nandenvfor named${VAR}values. - apply(List<Map<String, Object>>, TokenBudget) - Method in class com.tnsai.memory.strategy.HybridStrategy
- apply(List<Map<String, Object>>, TokenBudget) - Method in interface com.tnsai.memory.strategy.MemoryStrategy
-
Applies the strategy to the conversation history.
- apply(List<Map<String, Object>>, TokenBudget) - Method in class com.tnsai.memory.strategy.SlidingWindowStrategy
- apply(List<Map<String, Object>>, TokenBudget) - Method in class com.tnsai.memory.strategy.SummaryStrategy
- applyDecay(double) - Method in class com.tnsai.memory.strategy.MemoryEntry
-
Apply time-based decay.
- applyResilienceState(ResilienceExecutor, RetryPolicy, DeadLetterQueue, AgentRecoveryManager, AgentStateRecoveryManager) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- APPROVAL - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- APPROVAL_REQUIRED - Enum constant in enum class com.tnsai.security.SecurityException.ViolationType
-
Human approval required
- approvalRatio() - Method in record class com.tnsai.communication.SharedBlackboard.VoteResult
- approvalReason() - Element in annotation interface com.tnsai.annotations.Security
-
Reason for requiring approval.
- ApprovalRequestEvent - Record Class in com.tnsai.events
-
Event requesting human approval for an action.
- ApprovalRequestEvent(String, Instant, String, String, String, Map<String, Object>, long, Map<String, Object>) - Constructor for record class com.tnsai.events.ApprovalRequestEvent
-
Creates an instance of a
ApprovalRequestEventrecord class. - approvalRequired() - Element in annotation interface com.tnsai.annotations.Security
-
Whether human approval is required before execution.
- ApprovalRequired - Annotation Interface in com.tnsai.annotations
-
Marks an action as requiring human approval before execution.
- ApprovalRequiredException - Exception Class in com.tnsai.exceptions
-
Exception thrown when an action requires human approval before execution.
- ApprovalRequiredException(String, String) - Constructor for exception class com.tnsai.exceptions.ApprovalRequiredException
- approvals() - Method in record class com.tnsai.communication.SharedBlackboard.VoteResult
-
Returns the value of the
approvalsrecord component. - ApprovalToken - Class in com.tnsai.security.approval
-
Token for human-in-the-loop approval of sensitive actions.
- ApprovalToken.Builder - Class in com.tnsai.security.approval
-
Builder for ApprovalToken.
- ApprovalToken.Status - Enum Class in com.tnsai.security.approval
-
Token status.
- ApprovalTokenStore - Interface in com.tnsai.security.approval
-
Store for managing approval tokens.
- approve(String) - Method in class com.tnsai.security.approval.ApprovalToken
-
Marks token as approved.
- approve(String, String) - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Approves a token.
- approve(String, String) - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- APPROVE - Enum constant in enum class com.tnsai.communication.SharedBlackboard.VoteType
- approved(String, Map<String, Object>) - Static method in class com.tnsai.security.approval.InterruptResult
-
Creates an approved result.
- APPROVED - Enum constant in enum class com.tnsai.security.approval.ApprovalToken.Status
-
Approved by human
- APPROVED - Enum constant in enum class com.tnsai.security.approval.InterruptResult.Outcome
-
User approved the action
- approver() - Method in record class com.tnsai.security.audit.AuditEvent
-
Returns the value of the
approverrecord component. - approver(String) - Method in class com.tnsai.security.audit.AuditEvent.Builder
- Architecture - Search tag in package com.tnsai.events.handler
- Section
- Architecture - Search tag in package com.tnsai.llm
- Section
- Architecture: cross-module via SPI - Search tag in class com.tnsai.agents.validation.validators.MCPServerReachabilityValidator
- Section
- args() - Method in record class com.tnsai.hooks.events.OnCapabilityDispatch
-
Returns the value of the
argsrecord component. - Argument binding - Search tag in class com.tnsai.resilience.FallbackResolver
- Section
- argumentHint() - Method in record class com.tnsai.skills.Skill
-
Returns the value of the
argumentHintrecord component. - argumentHint(String) - Method in class com.tnsai.skills.Skill.Builder
- arguments() - Method in record class com.tnsai.agents.async.ChatEvent.ToolCall
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class com.tnsai.events.SkillActivationEvent
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class com.tnsai.events.ToolCallStartEvent
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class com.tnsai.skills.ActiveSkill
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class com.tnsai.skills.Skill
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class com.tnsai.skills.SkillManager.SlashCommand
-
Returns the value of the
argumentsrecord component. - arguments(List<String>) - Method in class com.tnsai.skills.Skill.Builder
- ArtifactEvent - Record Class in com.tnsai.events
-
Event representing the creation of an artifact by the agent.
- ArtifactEvent(String, Instant, String, ArtifactEvent.ArtifactType, String, Object, Map<String, Object>) - Constructor for record class com.tnsai.events.ArtifactEvent
-
Creates an instance of a
ArtifactEventrecord class. - ArtifactEvent.ArtifactType - Enum Class in com.tnsai.events
-
Artifact types.
- artifactId() - Method in record class com.tnsai.events.ArtifactEvent
-
Returns the value of the
artifactIdrecord component. - as(Class<T>) - Method in class com.tnsai.actions.ActionResult
-
Get value cast to specific type.
- asEventConsumer() - Method in class com.tnsai.events.handler.EventHandlerRegistry
-
Returns a consumer that maps TnsAIEvent instances to event names and dispatches them.
- asJson() - Method in class com.tnsai.actions.ActionResult
-
Get value as JsonNode for flexible JSON traversal.
- ASK - Enum constant in enum class com.tnsai.communication.QueryMessageType
- asList() - Method in class com.tnsai.actions.ActionResult
-
Get value as List.
- asList() - Method in class com.tnsai.parser.FormatAwareOutputParser.Builder
- asMap() - Method in class com.tnsai.actions.ActionResult
-
Get value as Map.
- assemble() - Method in class com.tnsai.context.assembler.UnifiedContextAssembler
-
Assembles the full context respecting the token budget.
- AssembledContext(List<Map<String, Object>>, int, int, int, int, List<String>) - Constructor for record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Creates an instance of a
AssembledContextrecord class. - ASSERTIVE - Enum constant in enum class com.tnsai.enums.agent.Tone
- ASSIGNED - Enum constant in enum class com.tnsai.agents.groups.GroupTask.Status
-
Task assigned to an agent
- assigneeId() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
assigneeIdrecord component. - assignRole(Agent, Role) - Method in class com.tnsai.roles.registry.RoleRegistry
-
Assigns a role to an agent.
- assignTask(GroupTask) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Assigns a task to a member based on the configured assignment strategy.
- assistantResponse() - Method in record class com.tnsai.hooks.events.PostChat
-
Returns the value of the
assistantResponserecord component. - asString() - Method in class com.tnsai.actions.ActionResult
-
Get value as String.
- asString() - Method in class com.tnsai.identity.DID
-
Get the DID string representation.
- assumption(String) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- ASSUMPTION - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- assumptions(List<String>) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- asSystemPromptSection() - Method in record class com.tnsai.prompt.ProjectContextLoader.ProjectContext
-
Returns a system-prompt-ready section: a labeled heading + the content.
- async() - Element in annotation interface com.tnsai.annotations.EventEmitter
-
Whether to emit event asynchronously.
- async() - Element in annotation interface com.tnsai.annotations.EventHandler
-
Whether to execute handler asynchronously.
- async() - Element in annotation interface com.tnsai.annotations.Lifecycle
-
Whether to run asynchronously.
- async() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns the value of the
asyncrecord component. - async() - Element in annotation interface com.tnsai.protocols.annotations.MessageHandler
-
Whether handler runs asynchronously.
- AsyncAgent - Interface in com.tnsai.agents.async
-
Interface for asynchronous agent execution.
- Async boundaries - Search tag in class com.tnsai.observability.events.AgentContext
- Section
- Async Execution - Search tag in annotation interface com.tnsai.annotations.EventHandler
- Section
- AsyncMsgHub - Class in com.tnsai.agents.async
-
Async message hub for multi-agent coordination.
- AsyncMsgHub(List<Agent>) - Constructor for class com.tnsai.agents.async.AsyncMsgHub
-
Creates a new AsyncMsgHub with the given participants.
- at() - Method in record class com.tnsai.observability.events.Breadcrumbs.Breadcrumb
-
Returns the value of the
atrecord component. - at() - Method in interface com.tnsai.reliability.Progress
-
Wall-clock instant the event was emitted.
- at() - Method in record class com.tnsai.reliability.Progress.CheckpointSaved
-
Returns the value of the
atrecord component. - at() - Method in record class com.tnsai.reliability.Progress.CostUpdate
-
Returns the value of the
atrecord component. - at() - Method in record class com.tnsai.reliability.Progress.Heartbeat
-
Returns the value of the
atrecord component. - at() - Method in record class com.tnsai.reliability.Progress.RunAborted
-
Returns the value of the
atrecord component. - at() - Method in record class com.tnsai.reliability.Progress.RunCompleted
-
Returns the value of the
atrecord component. - at() - Method in record class com.tnsai.reliability.Progress.RunFailed
-
Returns the value of the
atrecord component. - at() - Method in record class com.tnsai.reliability.Progress.StepCompleted
-
Returns the value of the
atrecord component. - at() - Method in record class com.tnsai.reliability.Progress.StepStarted
-
Returns the value of the
atrecord component. - atLeast(EventLevel) - Method in enum class com.tnsai.observability.events.EventLevel
- ATOM_OF_THOUGHT - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Atom of Thought (AoT) reasoning.
- Atomic writes - Search tag in class com.tnsai.reliability.S3CheckpointStore
- Section
- attempt() - Method in record class com.tnsai.hooks.events.OnActionError
-
Returns the value of the
attemptrecord component. - attestation() - Method in interface com.tnsai.identity.AgentPrincipal
-
Optional cryptographic / external-system attestation binding the identity to an outside trust root (ERC-8004 on-chain proof, KMS signed cert, signed JWT, AIUC-1 audit binding).
- Attestation - Record Class in com.tnsai.identity
-
Cryptographic / external-system proof that an
AgentPrincipalwas issued by a trusted third party (TNS-298). - Attestation(String, String, String, Instant, Optional<Instant>) - Constructor for record class com.tnsai.identity.Attestation
-
Creates an instance of a
Attestationrecord class. - attribute(EntityAttribute) - Method in class com.tnsai.context.entity.Entity.Builder
- attribute(String, Object) - Method in class com.tnsai.tools.spi.ToolException.Builder
- attribute(String, Object, String) - Method in class com.tnsai.context.entity.Entity.Builder
- attribute(String, Object, String, double) - Method in class com.tnsai.context.entity.Entity.Builder
- AttributeHistory(Object, String, Instant, String) - Constructor for record class com.tnsai.context.entity.EntityAttribute.AttributeHistory
-
Creates an instance of a
AttributeHistoryrecord class. - attributes() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
attributesrecord component. - attributes() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns the value of the
attributesrecord component. - attributes() - Method in record class com.tnsai.rag.RetrievalDiagnostics
-
Returns the value of the
attributesrecord component. - attributes(Map<String, EntityAttribute>) - Method in class com.tnsai.context.entity.Entity.Builder
- attributes(Map<String, Object>) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- attrs() - Method in record class com.tnsai.observability.events.Breadcrumbs.Breadcrumb
-
Returns the value of the
attrsrecord component. - AUDIO - Enum constant in enum class com.tnsai.llm.LLMCapabilities.Modality
- AUDIO_TOKEN_ESTIMATE - Static variable in class com.tnsai.utils.TokenUtils
-
Conservative per-audio-part token cost.
- AudioPart - Record Class in com.tnsai.models.chat
-
Represents an audio part of a message.
- AudioPart(String, String, AudioPart.AudioSource) - Constructor for record class com.tnsai.models.chat.AudioPart
-
Creates an instance of a
AudioPartrecord class. - AudioPart.AudioSource - Enum Class in com.tnsai.models.chat
-
Audio source type.
- audit() - Element in annotation interface com.tnsai.annotations.Security
-
Audit logging level.
- audit() - Method in record class com.tnsai.security.SecurityFeatures
-
Returns the value of the
auditrecord component. - audit(ActionMetadata, Role, String, Map<String, Object>, Object, long) - Method in interface com.tnsai.security.SecurityEnforcerHandle
-
Logs audit information based on audit level.
- audit(ActionMetadata, Object, String, Map<String, Object>, Object, long) - Method in interface com.tnsai.security.SecurityEnforcerHandle
-
Logs audit information based on audit level and
@AuditLog, for an action whose target is not aRole. - audited() - Method in record class com.tnsai.security.SecurityFeatures
- AuditEvent - Record Class in com.tnsai.security.audit
-
Immutable audit event recording a security-relevant decision.
- AuditEvent(String, Instant, String, String, String, String, Map<String, Object>, String) - Constructor for record class com.tnsai.security.audit.AuditEvent
-
Canonical constructor with validation.
- AuditEvent.Builder - Class in com.tnsai.security.audit
-
Builder for
AuditEvent. - auditLog(Object, Method) - Static method in record class com.tnsai.security.SecurityFeatures
-
Resolves the
@AuditLogof an action on its target: the action method's own, else the first found on a method it overrides, walking the target's class and each superclass up the chain, then the interfaces of those classes from the topmost superclass's down to the target class's own, each class's interfaces in declaration order, depth-first through the interfaces each extends, skipping an interface already walked, asSecurityFeatures.of(Object, Method)walks them. - AuditLog - Annotation Interface in com.tnsai.annotations
-
Records method invocations to an audit trail.
- AuditQuery - Record Class in com.tnsai.accountability
-
Selection criteria for
LiabilitySink.query(com.tnsai.accountability.AuditQuery)(TNS-298). - AuditQuery - Record Class in com.tnsai.security.audit
-
Query criteria for filtering audit events.
- AuditQuery(String, String, String, String, Instant, Instant, int) - Constructor for record class com.tnsai.security.audit.AuditQuery
-
Creates an instance of a
AuditQueryrecord class. - AuditQuery(Optional<String>, Optional<LiabilityClass>, Optional<Instant>, Optional<Instant>, Optional<String>, int) - Constructor for record class com.tnsai.accountability.AuditQuery
-
Creates an instance of a
AuditQueryrecord class. - AuditQuery.Builder - Class in com.tnsai.accountability
- AuditQuery.Builder - Class in com.tnsai.security.audit
-
Builder for
AuditQuery. - AuditStore - Interface in com.tnsai.security.audit
-
Persistent storage for audit events.
- auth() - Element in annotation interface com.tnsai.annotations.WebService
-
Authentication type.
- auth() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
authrecord component. - AUTH_REVOKED - Enum constant in enum class com.tnsai.hooks.events.SessionCloseReason
-
Auth token was revoked or expired mid-session.
- AUTHENTICATION - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Authentication/authorization failed
- AUTHENTICATION_FAILED - Enum constant in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Invalid API key or authentication failure
- authenticationFailed(String, String) - Static method in exception class com.tnsai.exceptions.LLMException
-
Factory method for authentication errors.
- Authentication Types - Search tag in annotation interface com.tnsai.annotations.WebService
- Section
- author() - Method in record class com.tnsai.prompt.PromptSpec
-
Returns the value of the
authorrecord component. - author(String) - Method in class com.tnsai.prompt.PromptSpec.Builder
- authorId(String) - Method in class com.tnsai.communication.SharedBlackboard.Entry.Builder
- authorities() - Method in class com.tnsai.security.InvocationContext
- authority() - Method in record class com.tnsai.security.AccessRequest
-
Returns the value of the
authorityrecord component. - authorityScope(AuthorityScope) - Method in class com.tnsai.agents.AgentBuilder
-
Pre-declared authority bounds recorded on every dispatch (TNS-298).
- AuthorityScope - Record Class in com.tnsai.accountability
-
Pre-declared bounds on what an agent is allowed to do (TNS-298).
- AuthorityScope(Set<ActionType>, Set<String>, Optional<BigDecimal>, Duration, Instant) - Constructor for record class com.tnsai.accountability.AuthorityScope
-
Creates an instance of a
AuthorityScoperecord class. - authorizeAction(ActionMetadata, Object, Map<String, Object>) - Method in class com.tnsai.actions.ActionExecutor
-
Side-effect-free authorization preflight; does not consume approval or execute hooks.
- authorizeExternalTool(String, Map<String, Object>) - Method in class com.tnsai.actions.ActionExecutor
- authorizeMcpAlias(ActionMetadata, Role, String, Map<String, Object>) - Method in class com.tnsai.actions.ActionExecutor
-
Discovered endpoint aliases need their own explicit registration in secured dispatch.
- authorizeTool(String, Map<String, Object>) - Method in class com.tnsai.tools.method.ToolMethodDispatcher
-
Preflight shares exactly the dispatch gate and does not invoke a tool or cache.
- authPassword() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
authPasswordrecord component. - authPasswordEnv() - Element in annotation interface com.tnsai.annotations.WebService
-
Environment variable for basic auth password.
- authToken() - Method in record class com.tnsai.hooks.events.SessionStart
-
Returns the value of the
authTokenrecord component. - authToken() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
authTokenrecord component. - authTokenEnv() - Element in annotation interface com.tnsai.annotations.WebService
-
Environment variable for auth token (BEARER) or API key.
- AuthType - Enum Class in com.tnsai.enums
-
HTTP authentication types for WEB_SERVICE actions.
- authUsername() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
authUsernamerecord component. - authUsernameEnv() - Element in annotation interface com.tnsai.annotations.WebService
-
Environment variable for basic auth username.
- AUTO - Enum constant in enum class com.tnsai.enums.AgentVariant
-
Automatic variant selection.
- AUTO - Enum constant in enum class com.tnsai.protocols.transport.TransportMode
-
Framework automatically decides based on configuration.
- AUTO - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
Infer each candidate independently, with content detection downstream.
- AUTO - Enum constant in enum class com.tnsai.rag.KnowledgeUnit
-
Today's hybrid, unchanged.
- AUTO - Enum constant in enum class com.tnsai.skills.SkillResolverPolicy
-
Resolver runs on every user turn; top-N candidate descriptions are appended to the system prompt and the LLM may invoke any of them via the synthetic
invoke_skilltool. - autoAck() - Element in annotation interface com.tnsai.protocols.annotations.MessageHandler
-
Whether to acknowledge message after handling.
- autoApplyEffects() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
If true, framework automatically applies @Effect annotations to state fields.
- autoApplyEffects() - Method in record class com.tnsai.metadata.ContractConfig
-
Returns the value of the
autoApplyEffectsrecord component. - autoComplete() - Element in annotation interface com.tnsai.annotations.CompletionSignal
-
Whether to automatically wrap the return value in TaskCompleteException.
- autoCreateGroups() - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Returns the value of the
autoCreateGroupsrecord component. - autoCreateGroups() - Element in annotation interface com.tnsai.annotations.GroupMember
-
Whether to create groups if they don't exist.
- Auto-Generated Agent ID - Search tag in annotation interface com.tnsai.annotations.DIDSpec
- Section
- autoJoin() - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Returns the value of the
autoJoinrecord component. - autoJoin() - Element in annotation interface com.tnsai.annotations.GroupMember
-
Whether to automatically join groups on agent start.
- Automatic Extraction - Search tag in annotation interface com.tnsai.annotations.RoleSpec
- Section
- autonomous(AccessSubject, String, AuthorityScope) - Static method in class com.tnsai.security.InvocationContext
-
Use only for the actual agent's own initiative, never for forwarded or human work.
- autoOptimize(boolean) - Method in class com.tnsai.memory.strategy.ManagedConversationMemory.Builder
-
Whether to automatically optimize when threshold is reached.
- autoResponsibilities() - Method in record class com.tnsai.roles.export.ExportedRole
-
Returns the value of the
autoResponsibilitiesrecord component. - autoStart - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- autoStart() - Method in class com.tnsai.agents.Agent
-
Returns whether the agent should auto-start (default: true).
- autoStart() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Whether agent should auto-start on creation.
- autoStart() - Element in annotation interface com.tnsai.protocols.annotations.DirectMessage
-
Whether to start server automatically on agent initialization.
- autoStart() - Element in annotation interface com.tnsai.protocols.annotations.RequestReply
-
Whether to start server automatically.
- autoStart(boolean) - Method in class com.tnsai.agents.AgentBuilder
-
Sets whether the agent auto-starts its protocols — programmatic parity for
AgentSpec.autoStart()(TNS-534). - autoStart(boolean) - Method in class com.tnsai.agents.groups.AgentGroupBuilder
-
Sets whether to auto-start after build.
- available() - Method in record class com.tnsai.spi.CheckpointerFactory.ProviderInfo
-
Returns the value of the
availablerecord component. - Available Annotations - Search tag in package com.tnsai.annotations
- Section
- Available Executors - Search tag in package com.tnsai.actions.executors
- Section
- Available Implementations - Search tag in interface com.tnsai.llm.LLMClient
- Section
- Available Implementations - Search tag in package com.tnsai.state
- Section
- availableProviders() - Method in class com.tnsai.spi.CheckpointerFactory
-
Returns the names of all available (usable) providers.
- Available SPIs - Search tag in package com.tnsai.spi
- Section
- Available Strategies - Search tag in interface com.tnsai.memory.strategy.MemoryStrategy
- Section
- availableTools() - Method in record class com.tnsai.events.StatusEvent
-
Returns the value of the
availableToolsrecord component. - average() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Returns the value of the
averagerecord component. - averageMembershipDuration() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipStats
-
Returns the value of the
averageMembershipDurationrecord component. - averageResponseTime() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns the value of the
averageResponseTimerecord component. - AWARD - Enum constant in enum class com.tnsai.communication.CNPMessageType
- AZURE_OPENAI - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
B
- backoffMs() - Element in annotation interface com.tnsai.annotations.Resilience.Retry
-
Initial backoff delay in milliseconds.
- BALANCED - Enum constant in enum class com.tnsai.agents.variant.VariantSelector.VariantPreference
-
Balanced approach
- BALANCED - Enum constant in enum class com.tnsai.enums.AgentVariant.Quality
-
Balanced quality
- BASE64 - Enum constant in enum class com.tnsai.models.chat.AudioPart.AudioSource
- BASE64 - Enum constant in enum class com.tnsai.models.chat.VideoPart.VideoSource
- baseDir(String) - Method in class com.tnsai.state.FileCheckpointer.Builder
-
Set the base directory from a string path.
- baseDir(Path) - Method in class com.tnsai.state.FileCheckpointer.Builder
-
Set the base directory for checkpoint storage.
- baseUrl() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns the value of the
baseUrlrecord component. - BASIC - Enum constant in enum class com.tnsai.annotations.Security.AuditLevel
-
Log action name and caller only
- BASIC - Enum constant in enum class com.tnsai.enums.AgentVariant.Quality
-
Basic quality, efficient models
- BASIC - Enum constant in enum class com.tnsai.enums.AuthType
-
Basic Authentication (RFC 7617).
- Basic Execution - Search tag in class com.tnsai.actions.ActionExecutor
- Section
- Basic Type Conversion - Search tag in class com.tnsai.actions.TypeConverter
- Section
- Basic Usage - Search tag in class com.tnsai.llm.ChatResponse
- Section
- Basic Usage - All Messages - Search tag in annotation interface com.tnsai.protocols.annotations.OnMessageReceived
- Section
- bdi() - Static method in interface com.tnsai.spi.CognitiveModel
-
Returns a builder for BDI cognitive model.
- bdiAdded() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
-
Returns the value of the
bdiAddedrecord component. - BDI Architecture - Search tag in package com.tnsai.agents.cognitive
- Section
- BDI Architecture Context - Search tag in class com.tnsai.models.agent.Belief
- Section
- BDI Architecture Context - Search tag in class com.tnsai.models.agent.Intention
- Section
- BDI Architecture Context - Search tag in record class com.tnsai.models.agent.Desire
- Section
- BDI Context - Search tag in class com.tnsai.models.agent.Plan
- Section
- BDI Mental States - Search tag in package com.tnsai.models.agent
- Section
- BDIModelBuilder() - Constructor for class com.tnsai.spi.CognitiveModel.BDIModelBuilder
- BDI Models (com.tnsai.models.agent) - Search tag in package com.tnsai.models
- Section
- bdiRemoved() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
-
Returns the value of the
bdiRemovedrecord component. - BDISnapshot(List<Belief>, List<Desire>, List<Intention>) - Constructor for record class com.tnsai.agents.cognitive.CognitiveEngine.BDISnapshot
-
Creates an instance of a
BDISnapshotrecord class. - BDIUpdateEvent - Record Class in com.tnsai.events
-
Event representing a change in the agent's BDI (Belief-Desire-Intention) state.
- BDIUpdateEvent(String, Instant, BDIUpdateEvent.BDIComponent, BDIUpdateEvent.Operation, int, Object, Object) - Constructor for record class com.tnsai.events.BDIUpdateEvent
-
Creates an instance of a
BDIUpdateEventrecord class. - BDIUpdateEvent.BDIComponent - Enum Class in com.tnsai.events
-
The BDI component types.
- BDIUpdateEvent.Operation - Enum Class in com.tnsai.events
-
The operation types for BDI updates.
- Bean shapes accepted - Search tag in class com.tnsai.actions.ParamBeanMapper
- Section
- BEARER - Enum constant in enum class com.tnsai.enums.AuthType
-
Bearer Token Authentication (RFC 6750).
- BEDROCK - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
- BEFORE_TASK - Enum constant in enum class com.tnsai.annotations.Lifecycle.Phase
-
Before each task execution.
- BeforeAction Method Signature - Search tag in annotation interface com.tnsai.annotations.BeforeActionSpec
- Section
- BeforeActionSpec - Annotation Interface in com.tnsai.annotations
-
Marks a method as a pre-processor for an action.
- beforeSearch() - Method in record class com.tnsai.rag.ChatKnowledgeContext.Turn
-
Returns the value of the
beforeSearchrecord component. - beforeSnapshotId() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
beforeSnapshotIdrecord component. - Behaviour matrix - Search tag in class com.tnsai.agents.validation.validators.LLMHealthcheckValidator
- Section
- Behaviour matrix - Search tag in class com.tnsai.agents.validation.validators.MCPServerReachabilityValidator
- Section
- Behaviour matrix - Search tag in class com.tnsai.agents.validation.validators.MemoryStoreReachabilityValidator
- Section
- Behaviour matrix - Search tag in class com.tnsai.agents.validation.validators.TenantScopeValidator
- Section
- belief(Belief) - Method in class com.tnsai.context.decision.DecisionInput.Builder
- belief(Belief) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- Belief - Class in com.tnsai.models.agent
-
Represents a single belief that an agent holds about the world.
- Belief(String) - Constructor for class com.tnsai.models.agent.Belief
-
Creates a belief with only content (backward compatible).
- Belief(String, double, long, Map<String, Object>) - Constructor for record class com.tnsai.spi.CognitiveModel.Belief
-
Creates an instance of a
Beliefrecord class. - Belief(String, double, String) - Constructor for class com.tnsai.models.agent.Belief
-
Creates a belief with content, confidence, and source.
- Belief(String, double, String, Instant) - Constructor for class com.tnsai.models.agent.Belief
-
Creates a fully specified belief.
- BELIEF - Enum constant in enum class com.tnsai.events.BDIUpdateEvent.BDIComponent
- BELIEF_CHANGE - Enum constant in enum class com.tnsai.context.decision.DecisionTrigger.TriggerType
-
Decision triggered by belief revision
- BELIEF_REVISION - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken when beliefs are revised.
- beliefAdded(Object) - Static method in record class com.tnsai.events.BDIUpdateEvent
-
Creates a belief add event.
- beliefChange(String, String) - Static method in record class com.tnsai.context.decision.DecisionTrigger
-
Creates a trigger from a belief change.
- beliefRemoved(int, Object) - Static method in record class com.tnsai.events.BDIUpdateEvent
-
Creates a belief remove event.
- beliefRevisionStrategy(BeliefRevisionStrategy) - Method in class com.tnsai.agents.cognitive.CognitiveEngine.Builder
-
Sets the belief revision strategy.
- BeliefRevisionStrategy - Interface in com.tnsai.models.agent
-
Strategy interface for handling conflicting beliefs.
- beliefs() - Method in record class com.tnsai.agents.cognitive.CognitiveEngine.BDISnapshot
-
Returns the value of the
beliefsrecord component. - beliefs() - Method in record class com.tnsai.spi.CognitiveModel.CognitiveState
-
Returns the value of the
beliefsrecord component. - beliefs(List<Belief>) - Method in class com.tnsai.agents.cognitive.CognitiveEngine.Builder
-
Sets the static beliefs.
- beliefs(List<Belief>) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- beliefs(List<Belief>) - Method in class com.tnsai.context.decision.DecisionInput.Builder
- beliefs(List<Belief>) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- beliefsChanged() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns true if beliefs changed.
- beliefUpdated(int, Object, Object) - Static method in record class com.tnsai.events.BDIUpdateEvent
-
Creates a belief update event.
- Best Practices - Search tag in annotation interface com.tnsai.annotations.ToolExample
- Section
- BILATERAL - Enum constant in enum class com.tnsai.annotations.Coordination.NegotiationType
-
Bilateral - two-party offer/counter-offer.
- BILLING - Enum constant in enum class com.tnsai.context.entity.EntitySource.SourceType
-
Billing/payment system
- BINDING_REVISION_FILTER - Static variable in record class com.tnsai.rag.ChatRetrievalContext
- bindingFingerprint() - Method in record class com.tnsai.security.AccessRequest
-
Returns the value of the
bindingFingerprintrecord component. - bindOwnerless(Class<?>) - Static method in class com.tnsai.annotations.ClassConfig
-
Binds a role a host dispatches with no owner agent.
- bindRole(Class<?>, Class<?>) - Static method in class com.tnsai.annotations.ClassConfig
-
Binds one role of an agent that cannot list the roles it plays, as
ClassConfig.bindRoles(java.lang.Class<?>, java.lang.String, java.util.Collection<java.lang.Class<?>>)does without checking the otherroleskeys. - bindRoles(Class<?>, String, Collection<Class<?>>) - Static method in class com.tnsai.annotations.ClassConfig
-
Binds the roles an agent plays to the
rolessections of its file. - block() - Static method in interface com.tnsai.agents.execution.ToolCallAction
-
Creates an action that blocks the tool call.
- Block() - Constructor for record class com.tnsai.agents.execution.ToolCallAction.Block
-
Creates an instance of a
Blockrecord class. - Block(String, Severity) - Constructor for record class com.tnsai.hooks.HookResult.Block
-
Creates an instance of a
Blockrecord class. - BLOCK_PATTERN_MATCH - Enum constant in enum class com.tnsai.guardrails.GuardrailViolationException.Cause
-
Value matched a
blockPatternsregex (denylist). - blockCategories() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Content categories to block.
- blockCategories() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Content categories to filter.
- blockPatterns() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Regex patterns to block (prompt injection protection).
- blockPatterns() - Method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Returns the value of the
blockPatternsrecord component. - blockPatterns(List<String>) - Method in class com.tnsai.guardrails.InputGuardrailConfig.Builder
- blocks() - Method in record class com.tnsai.rag.ExtractedDocument
-
Returns the value of the
blocksrecord component. - BM25Index - Class in com.tnsai.memory.advanced
-
BM25 (Okapi BM25) index for text-based memory retrieval.
- BM25Index() - Constructor for class com.tnsai.memory.advanced.BM25Index
- body() - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Returns the value of the
bodyrecord component. - body() - Method in record class com.tnsai.reliability.DefaultResumableRun.Step
-
Returns the value of the
bodyrecord component. - body() - Method in record class com.tnsai.skills.Skill
-
Returns the value of the
bodyrecord component. - body(String) - Method in class com.tnsai.skills.Skill.Builder
- BODY - Enum constant in enum class com.tnsai.enums.role.ParamType
- boostPriority(Desire) - Static method in interface com.tnsai.models.agent.DesireConflictResolver
-
Creates a priority-boosted desire if resolution results in tie-breaking.
- Bounded ring buffer - Search tag in class com.tnsai.observability.events.Breadcrumbs
- Section
- Breadcrumb(Instant, String, Map<String, Object>) - Constructor for record class com.tnsai.observability.events.Breadcrumbs.Breadcrumb
-
Creates an instance of a
Breadcrumbrecord class. - Breadcrumbs - Class in com.tnsai.observability.events
-
Per-thread ring buffer of recent operations leading up to a point in time — typically an exception throw.
- Breadcrumbs.Breadcrumb - Record Class in com.tnsai.observability.events
-
Single recorded operation with timestamp and attributes.
- broadcast(AgentMessage) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Broadcasts a message to all members.
- broadcast(AgentMessage) - Method in interface com.tnsai.communication.transport.CommunicationTransport
-
Broadcasts a message to all subscribed agents (optional support).
- broadcast(AgentMessage) - Method in class com.tnsai.communication.transport.LocalTransport
- broadcast(MessageBroker.Message) - Method in interface com.tnsai.spi.MessageBroker
-
Broadcasts a message to all connected agents.
- broadcast(String) - Method in class com.tnsai.agents.async.AsyncMsgHub
-
Broadcasts a message to all participants.
- broadcast(String) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Broadcasts a simple text message to all members.
- Broadcast - Annotation Interface in com.tnsai.protocols.annotations
-
Enables broadcast messaging for an Agent or Role.
- BROADCAST - Enum constant in enum class com.tnsai.annotations.Coordination.TaskDistribution
-
Broadcast to all workers
- BROADCAST - Enum constant in enum class com.tnsai.protocols.annotations.MessageType
-
Broadcast messages to all subscribers.
- BROADCAST - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- broadcastMessage(String, MessageTypeMarker, Map<String, Object>) - Method in class com.tnsai.communication.AgentCommunicationManager
-
Broadcasts a message to all agents.
- broker() - Element in annotation interface com.tnsai.protocols.annotations.Broadcast
-
Remote message broker URL.
- broker() - Element in annotation interface com.tnsai.protocols.annotations.Debate
-
Remote broker URL for distributed debates.
- broker() - Element in annotation interface com.tnsai.protocols.annotations.PubSub
-
Remote message broker URL.
- budget(String, double, double) - Static method in interface com.tnsai.agents.interrupt.InterruptEvent
-
Creates a budget interrupt.
- BUDGET_CONSTRAINT - Enum constant in enum class com.tnsai.agents.variant.VariantSelector.SelectionReason
-
Downgraded due to budget constraints
- BUDGET_EXHAUSTED - Enum constant in enum class com.tnsai.reliability.AbortReason
-
RunConfig.costCeilingUSDwas reached. - Budget Allocation - Search tag in class com.tnsai.memory.strategy.TokenBudget
- Section
- BudgetInterrupt(String, double, double) - Constructor for record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
- BudgetInterrupt(String, Instant, String, double, double) - Constructor for record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
-
Creates an instance of a
BudgetInterruptrecord class. - budgetTokens() - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Returns the value of the
budgetTokensrecord component. - budgetType() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
-
Returns the value of the
budgetTyperecord component. - budgetUtilization() - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Returns the percentage of the budget used.
- build() - Method in class com.tnsai.accountability.AuditQuery.Builder
- build() - Method in class com.tnsai.agents.AgentBuilder
-
Builds and returns the configured Agent instance.
- build() - Method in class com.tnsai.agents.async.ChatOptions.Builder
- build() - Method in class com.tnsai.agents.cognitive.CognitiveEngine.Builder
-
Builds the CognitiveEngine.
- build() - Method in class com.tnsai.agents.groups.AgentGroupBuilder
-
Builds the AgentGroup.
- build() - Method in class com.tnsai.agents.groups.GroupEvent.Builder
- build() - Method in class com.tnsai.agents.groups.GroupPolicy.Builder
- build() - Method in class com.tnsai.agents.groups.GroupTask.Builder
- build() - Method in class com.tnsai.agents.hierarchy.HierarchyBuilder
-
Builds the hierarchy and returns the communication manager.
- build() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- build() - Method in class com.tnsai.agents.resilience.AgentResilienceManager.Builder
-
Builds the AgentResilienceManager.
- build() - Method in class com.tnsai.agents.validation.ValidationIssue.Builder
- build() - Method in class com.tnsai.agents.validation.ValidationReport.Builder
- build() - Method in class com.tnsai.agents.variant.VariantSelector.Builder
-
Builds the selector.
- build() - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- build() - Method in class com.tnsai.communication.AcknowledgedMessage.Builder
-
Builds the AcknowledgedMessage.
- build() - Method in class com.tnsai.communication.SharedBlackboard.Entry.Builder
- build() - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
- build() - Method in class com.tnsai.context.decision.DecisionInput.Builder
- build() - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- build() - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- build() - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- build() - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- build() - Method in class com.tnsai.context.entity.Entity.Builder
- build() - Method in class com.tnsai.context.entity.EntitySource.Builder
- build() - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- build() - Method in class com.tnsai.exceptions.ProviderDetails.Builder
- build() - Method in class com.tnsai.guardrails.InputGuardrailConfig.Builder
- build() - Method in class com.tnsai.guardrails.OutputGuardrailConfig.Builder
- build() - Method in class com.tnsai.hooks.external.ExternalScriptHook.Builder
- build() - Method in class com.tnsai.hooks.HookContext.Builder
- build() - Method in class com.tnsai.identity.AgentDescriptor.Builder
- build() - Method in class com.tnsai.knowledge.Document.Builder
-
Builds the document.
- build() - Method in class com.tnsai.llm.ChatRequest.Builder
-
Builds an immutable ChatRequest.
- build() - Method in class com.tnsai.llm.FallbackLLMClient.Builder
-
Builds the FallbackLLMClient.
- build() - Method in class com.tnsai.llm.ModelInfo.Builder
- build() - Method in class com.tnsai.memory.MemoryConfig.Builder
- build() - Method in class com.tnsai.memory.strategy.HybridStrategy.Builder
- build() - Method in class com.tnsai.memory.strategy.ManagedConversationMemory.Builder
- build() - Method in class com.tnsai.memory.strategy.SlidingWindowStrategy.Builder
- build() - Method in class com.tnsai.memory.strategy.SummaryStrategy.Builder
- build() - Method in class com.tnsai.memory.strategy.TieredContextLoader.Builder
-
Builds the TieredContextLoader.
- build() - Method in class com.tnsai.memory.strategy.TokenBudget.Builder
- build() - Method in class com.tnsai.metadata.ContractSpec.Builder
- build() - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- build() - Method in class com.tnsai.observability.events.EventContext.Builder
- build() - Method in class com.tnsai.parser.FormatAwareOutputParser.Builder
- build() - Method in class com.tnsai.parser.JsonOutputParser.Builder
-
Builds the parser.
- build() - Method in class com.tnsai.parser.RetryableParser.Builder
-
Builds the retryable parser.
- build() - Method in class com.tnsai.prompt.PromptSpec.Builder
- build() - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Builds the PromptEnhancer.
- build() - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- build() - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
- build() - Method in class com.tnsai.rag.RetrievalConfig.Builder
- build() - Method in class com.tnsai.rag.RetrievalRequest.Builder
- build() - Method in class com.tnsai.rag.SearchSettings.Builder
- build() - Method in class com.tnsai.rag.SequentialConfig.Builder
-
Builds the validated immutable configuration.
- build() - Method in class com.tnsai.reliability.DefaultResumableRun.Builder
- build() - Method in class com.tnsai.reliability.RunConfig.Builder
- build() - Method in class com.tnsai.resilience.dlq.DeadLetterEntry.Builder
- build() - Method in class com.tnsai.resilience.recovery.AgentRestartPolicy.Builder
- build() - Method in class com.tnsai.resilience.ResilienceConfig.Builder
- build() - Method in class com.tnsai.resilience.ResilienceRequest.Builder
- build() - Method in class com.tnsai.resilience.RetryPolicy.Builder
- build() - Method in class com.tnsai.roles.RoleBuilder
-
Builds and returns the configured Role instance.
- build() - Method in class com.tnsai.security.approval.ApprovalToken.Builder
-
Builds the token.
- build() - Method in class com.tnsai.security.audit.AuditEvent.Builder
-
Builds the audit event, defaulting id and timestamp if not set.
- build() - Method in class com.tnsai.security.audit.AuditQuery.Builder
- build() - Method in class com.tnsai.skills.Skill.Builder
- build() - Method in class com.tnsai.spi.CognitiveModel.BDIModelBuilder
- build() - Method in class com.tnsai.spi.ResilienceStrategy.Builder
-
Builds the composite resilience strategy.
- build() - Method in class com.tnsai.spi.ToolRegistry.ToolRegistryEntry.Builder
- build() - Method in class com.tnsai.state.FileCheckpointer.Builder
-
Build the FileCheckpointer.
- build() - Method in class com.tnsai.timeout.TimeoutPolicy.Builder
- build() - Method in class com.tnsai.tools.method.DynamicToolMethod.Builder
- build() - Method in class com.tnsai.tools.spi.ToolException.Builder
- build() - Method in class com.tnsai.tools.ToolExample.Builder
-
Builds the tool example.
- buildConstraintsPrompt(Role) - Method in class com.tnsai.communication.CommunicationEnforcer
-
Builds a system prompt section that describes communication constraints.
- buildContextualPrompt(String, List<AgentIdentity>, Communication) - Static method in class com.tnsai.prompt.AgentPromptBuilder
-
Builds a prompt with identity and communication style only.
- builder() - Static method in record class com.tnsai.accountability.AuditQuery
- builder() - Static method in class com.tnsai.agents.async.ChatOptions
-
Creates a new builder.
- builder() - Static method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Creates a new builder for CognitiveEngine.
- builder() - Static method in interface com.tnsai.agents.groups.AgentGroup
-
Creates a new builder for AgentGroup.
- builder() - Static method in record class com.tnsai.agents.groups.GroupEvent
-
Creates a builder for custom events.
- builder() - Static method in record class com.tnsai.agents.groups.GroupPolicy
-
Creates a new builder with default values.
- builder() - Static method in record class com.tnsai.agents.groups.GroupTask
-
Creates a new builder.
- builder() - Static method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Creates a new builder for AgentCheckpoint.
- builder() - Static method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Creates a new builder for AgentResilienceManager.
- builder() - Static method in record class com.tnsai.agents.validation.ValidationReport
-
Returns a builder that bins issues by severity automatically as they're added.
- builder() - Static method in class com.tnsai.agents.variant.VariantSelector
-
Creates a new builder.
- builder() - Static method in class com.tnsai.agents.variant.VariantSpec
- builder() - Static method in class com.tnsai.communication.AcknowledgedMessage
-
Creates a new builder for AcknowledgedMessage.
- builder() - Static method in class com.tnsai.communication.SharedBlackboard.Entry
- builder() - Static method in class com.tnsai.context.assembler.UnifiedContextAssembler
- builder() - Static method in class com.tnsai.context.decision.DecisionInput
-
Creates a new builder.
- builder() - Static method in class com.tnsai.context.decision.DecisionOutcome
-
Creates a new builder.
- builder() - Static method in class com.tnsai.context.decision.DecisionPolicy
-
Creates a new builder.
- builder() - Static method in class com.tnsai.context.decision.DecisionReasoning
-
Creates a new builder.
- builder() - Static method in class com.tnsai.context.decision.DecisionTrace
-
Creates a new builder.
- builder() - Static method in class com.tnsai.context.entity.Entity
-
Creates a new builder.
- builder() - Static method in class com.tnsai.context.entity.EntitySource
-
Creates a new builder.
- builder() - Static method in class com.tnsai.context.snapshot.ContextSnapshot
-
Creates a new builder.
- builder() - Static method in record class com.tnsai.guardrails.InputGuardrailConfig
- builder() - Static method in record class com.tnsai.guardrails.OutputGuardrailConfig
- builder() - Static method in class com.tnsai.hooks.external.ExternalScriptHook
- builder() - Static method in record class com.tnsai.identity.AgentDescriptor
- builder() - Static method in class com.tnsai.knowledge.Document
-
Creates a new document builder.
- builder() - Static method in class com.tnsai.llm.ChatRequest
-
Returns a new builder instance.
- builder() - Static method in class com.tnsai.llm.FallbackLLMClient
-
Creates a new builder for FallbackLLMClient.
- builder() - Static method in class com.tnsai.llm.LLMResolver
-
Creates a new builder for advanced LLM resolution with Action support.
- builder() - Static method in record class com.tnsai.memory.MemoryConfig
- builder() - Static method in class com.tnsai.memory.strategy.HybridStrategy
- builder() - Static method in class com.tnsai.memory.strategy.ManagedConversationMemory
- builder() - Static method in class com.tnsai.memory.strategy.SlidingWindowStrategy
- builder() - Static method in class com.tnsai.memory.strategy.SummaryStrategy
- builder() - Static method in class com.tnsai.memory.strategy.TieredContextLoader
-
Creates a new builder.
- builder() - Static method in class com.tnsai.memory.strategy.TokenBudget
- builder() - Static method in record class com.tnsai.metadata.ContractSpec
- builder() - Static method in record class com.tnsai.observability.errors.ErrorReport
- builder() - Static method in record class com.tnsai.observability.events.EventContext
- builder() - Static method in record class com.tnsai.prompt.PromptSpec
-
Creates a builder for metadata.
- builder() - Static method in class com.tnsai.prompt.strategy.PromptEnhancer
-
Creates a new builder.
- builder() - Static method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns a builder with unscoped, non-cancellable defaults.
- builder() - Static method in record class com.tnsai.rag.RetrievalConfig
- builder() - Static method in class com.tnsai.rag.SearchSettings
-
Starts settings that give no member.
- builder() - Static method in record class com.tnsai.rag.SequentialConfig
-
Starts a programmatic configuration using the annotation defaults.
- builder() - Static method in class com.tnsai.reliability.DefaultResumableRun
- builder() - Static method in record class com.tnsai.reliability.RunConfig
- builder() - Static method in class com.tnsai.resilience.dlq.DeadLetterEntry
- builder() - Static method in class com.tnsai.resilience.recovery.AgentRestartPolicy
- builder() - Static method in record class com.tnsai.resilience.ResilienceConfig
- builder() - Static method in class com.tnsai.resilience.ResilienceRequest
- builder() - Static method in class com.tnsai.resilience.RetryPolicy
- builder() - Static method in class com.tnsai.security.approval.ApprovalToken
-
Creates a token builder.
- builder() - Static method in record class com.tnsai.security.audit.AuditEvent
-
Creates a builder for constructing audit events.
- builder() - Static method in record class com.tnsai.security.audit.AuditQuery
-
Creates a builder for constructing queries.
- builder() - Static method in interface com.tnsai.spi.ResilienceStrategy
-
Returns a builder for creating resilience strategies.
- builder() - Static method in record class com.tnsai.spi.ToolRegistry.ToolRegistryEntry
-
Returns a builder for ToolRegistryEntry.
- builder() - Static method in class com.tnsai.state.FileCheckpointer
-
Returns a builder for FileCheckpointer.
- builder() - Static method in record class com.tnsai.timeout.TimeoutPolicy
- builder() - Static method in record class com.tnsai.tools.ToolExample
-
Creates a tool example builder.
- builder(Class<T>) - Static method in class com.tnsai.parser.FormatAwareOutputParser
-
Creates a builder for more complex parser configurations.
- builder(Class<T>) - Static method in class com.tnsai.parser.JsonOutputParser
-
Creates a builder for customizing the parser.
- builder(String) - Static method in record class com.tnsai.exceptions.ProviderDetails
- builder(String) - Static method in record class com.tnsai.skills.Skill
-
Convenience builder for tests and programmatic registration.
- builder(String) - Static method in record class com.tnsai.tools.method.DynamicToolMethod
- builder(String) - Static method in exception class com.tnsai.tools.spi.ToolException
-
Create a builder for ToolException.
- builder(String, Knowledge.Type) - Static method in record class com.tnsai.rag.KnowledgeSourceConfig
- builder(String, RetrievalConfig) - Static method in record class com.tnsai.rag.RetrievalRequest
-
Creates a request builder.
- builder(String, String) - Static method in record class com.tnsai.llm.ModelInfo
-
Builder for creating ModelInfo with all optional fields.
- builder(String, String, String) - Static method in record class com.tnsai.hooks.HookContext
-
Returns a builder for incremental construction.
- Builder() - Constructor for class com.tnsai.agents.cognitive.CognitiveEngine.Builder
- Builder() - Constructor for class com.tnsai.agents.resilience.AgentResilienceManager.Builder
- Builder() - Constructor for class com.tnsai.agents.variant.VariantSelector.Builder
- Builder() - Constructor for class com.tnsai.agents.variant.VariantSpec.Builder
- Builder() - Constructor for class com.tnsai.communication.AcknowledgedMessage.Builder
- Builder() - Constructor for class com.tnsai.communication.SharedBlackboard.Entry.Builder
- Builder() - Constructor for class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
- Builder() - Constructor for class com.tnsai.context.decision.DecisionInput.Builder
- Builder() - Constructor for class com.tnsai.context.decision.DecisionOutcome.Builder
- Builder() - Constructor for class com.tnsai.context.decision.DecisionPolicy.Builder
- Builder() - Constructor for class com.tnsai.context.decision.DecisionReasoning.Builder
- Builder() - Constructor for class com.tnsai.context.decision.DecisionTrace.Builder
- Builder() - Constructor for class com.tnsai.context.entity.Entity.Builder
- Builder() - Constructor for class com.tnsai.context.entity.EntitySource.Builder
- Builder() - Constructor for class com.tnsai.context.snapshot.ContextSnapshot.Builder
- Builder() - Constructor for class com.tnsai.memory.MemoryConfig.Builder
- Builder() - Constructor for class com.tnsai.memory.strategy.HybridStrategy.Builder
- Builder() - Constructor for class com.tnsai.memory.strategy.ManagedConversationMemory.Builder
- Builder() - Constructor for class com.tnsai.memory.strategy.SlidingWindowStrategy.Builder
- Builder() - Constructor for class com.tnsai.memory.strategy.SummaryStrategy.Builder
- Builder() - Constructor for class com.tnsai.memory.strategy.TokenBudget.Builder
- Builder() - Constructor for class com.tnsai.metadata.ContractSpec.Builder
- Builder() - Constructor for class com.tnsai.prompt.PromptSpec.Builder
- Builder() - Constructor for class com.tnsai.prompt.strategy.PromptEnhancer.Builder
- Builder() - Constructor for class com.tnsai.rag.ChatRetrievalContext.Builder
- Builder() - Constructor for class com.tnsai.rag.RetrievalConfig.Builder
- Builder() - Constructor for class com.tnsai.rag.SequentialConfig.Builder
- Builder() - Constructor for class com.tnsai.resilience.recovery.AgentRestartPolicy.Builder
- Builder() - Constructor for class com.tnsai.resilience.ResilienceConfig.Builder
- Builder() - Constructor for class com.tnsai.security.approval.ApprovalToken.Builder
- Builder() - Constructor for class com.tnsai.spi.ResilienceStrategy.Builder
- Builder() - Constructor for class com.tnsai.spi.ToolRegistry.ToolRegistryEntry.Builder
- Builder() - Constructor for class com.tnsai.state.FileCheckpointer.Builder
- Builder() - Constructor for class com.tnsai.tools.ToolExample.Builder
- buildHash() - Method in record class com.tnsai.identity.AgentDescriptor
-
Returns the value of the
buildHashrecord component. - buildHash(String) - Method in class com.tnsai.identity.AgentDescriptor.Builder
- buildMinimalPrompt(String, List<AgentIdentity>) - Static method in class com.tnsai.prompt.AgentPromptBuilder
-
Builds a minimal prompt with just identity.
- buildMinimalRolePrompt(RoleIdentity) - Static method in class com.tnsai.prompt.RolePromptBuilder
-
Builds a minimal role prompt with just identity.
- buildRolePrompt(Role) - Static method in class com.tnsai.prompt.RolePromptBuilder
-
Builds a complete role prompt from a Role instance.
- buildSystemPrompt(String, List<AgentIdentity>, Communication, List<Plan>, List<ErrorRecoveryScenario>, List<String>) - Static method in class com.tnsai.prompt.AgentPromptBuilder
-
Builds a complete system prompt for an agent.
- buildSystemPrompt(String, List<AgentIdentity>, Communication, List<Plan>, List<ErrorRecoveryScenario>, List<String>, ModelFamily) - Static method in class com.tnsai.prompt.AgentPromptBuilder
-
Family-aware overload (issue #13).
- Built-in Implementations - Search tag in interface com.tnsai.spi.ResilienceStrategy
- Section
- Built-in PII Extensions - Search tag in annotation interface com.tnsai.annotations.InputGuardrail
- Section
- Built-in Providers - Search tag in class com.tnsai.spi.CheckpointerFactory
- Section
- Built-in Strategies - Search tag in interface com.tnsai.agents.groups.LeaderElectionStrategy
- Section
- Built-in Strategies - Search tag in interface com.tnsai.models.agent.BeliefRevisionStrategy
- Section
- Built-in Strategies - Search tag in interface com.tnsai.models.agent.DesireConflictResolver
- Section
- BuiltInTool - Enum Class in com.tnsai.enums
-
Catalog of the function-shape POJO toolkits shipped in
tnsai-tools. - BuiltInToolInstantiationException - Exception Class in com.tnsai.enums
-
Thrown by
BuiltInTool.instantiate()when the backing POJO cannot be resolved or constructed reflectively. - BuiltInToolInstantiationException(String, Throwable) - Constructor for exception class com.tnsai.enums.BuiltInToolInstantiationException
- builtInTools(BuiltInTool...) - Method in class com.tnsai.agents.AgentBuilder
-
Adds one or more shippedtoolkits to the agent.
invalid reference
BuiltInTool - Built-in Validators - Search tag in annotation interface com.tnsai.annotations.OutputGuardrail
- Section
- bulkhead() - Element in annotation interface com.tnsai.annotations.Resilience
-
Whether to enable bulkhead isolation.
- bulkhead() - Method in class com.tnsai.resilience.ResilienceRequest.Builder
-
Enables bulkhead isolation with default concurrency (10).
- bulkhead(int) - Method in class com.tnsai.resilience.ResilienceRequest.Builder
-
Enables bulkhead isolation with specified concurrency limit.
- BULLET_POINTS - Enum constant in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
- BYPASSED - Enum constant in enum class com.tnsai.rag.RetrievalDiagnostics.CacheOutcome
- byteLength() - Method in record class com.tnsai.rag.DocumentInput
-
Returns the source byte length without copying the payload.
- bytes() - Method in record class com.tnsai.rag.DocumentInput
-
Returns the value of the
bytesrecord component.
C
- cache() - Element in annotation interface com.tnsai.annotations.Search
-
Whether to enable caching of retrieval results.
- cache() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
cacherecord component. - cache() - Method in class com.tnsai.rag.SearchSettings
- cache(boolean) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- cache(boolean) - Method in class com.tnsai.rag.SearchSettings.Builder
- CachedRoleMetadata(Optional<RoleIdentity>, List<RoleSpecExtractor.ResponsibilityInfo>, List<RoleSpecExtractor.StateInfo>, List<String>, Optional<RoleSpecExtractor.LLMExportSpec>) - Constructor for record class com.tnsai.roles.metadata.RoleSpecExtractor.CachedRoleMetadata
-
Creates an instance of a
CachedRoleMetadatarecord class. - cacheFailures() - Element in annotation interface com.tnsai.idempotency.Idempotent
-
Whether to cache failures as well as successes.
- Cache-hit semantics - Search tag in class com.tnsai.idempotency.IdempotencyResolver
- Section
- Cache keys - Search tag in record class com.tnsai.rag.RetrievalRequest
- Section
- cacheOutcome() - Method in record class com.tnsai.rag.RetrievalDiagnostics
-
Returns the value of the
cacheOutcomerecord component. - cachePartition() - Method in class com.tnsai.security.InvocationContext
- cacheToolDefinitions() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Whether to cache tool definitions.
- cacheToolDefinitions() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
cacheToolDefinitionsrecord component. - cacheTTL() - Element in annotation interface com.tnsai.annotations.Search
-
Cache TTL in seconds.
- cacheTTL() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
cacheTTLrecord component. - cacheTTL() - Method in class com.tnsai.rag.SearchSettings
- cacheTTL(int) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- cacheTTL(int) - Method in class com.tnsai.rag.SearchSettings.Builder
- cacheTtlSeconds() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Cache TTL in seconds.
- cacheTtlSeconds() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
cacheTtlSecondsrecord component. - call(AccessRequest, Callable<T>) - Static method in class com.tnsai.security.AccessGate
-
Checked execution namespace for cache isolation.
- call(Callable<T>) - Method in class com.tnsai.security.InvocationContext
- CallbackInvocationException(String, Throwable) - Constructor for exception class com.tnsai.protocols.callbacks.MessageCallbackDispatcher.CallbackInvocationException
- callers() - Method in class com.tnsai.security.InvocationContext
- callId() - Method in record class com.tnsai.agents.async.ChatEvent.ToolCall
-
Returns the value of the
callIdrecord component. - callId() - Method in record class com.tnsai.agents.async.ChatEvent.ToolResult
-
Returns the value of the
callIdrecord component. - canAcceptMembers() - Method in enum class com.tnsai.agents.groups.GroupLifecycle
-
Checks if this state allows accepting new members.
- canAcceptTask() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Checks if this member can accept more tasks.
- canAcceptWork() - Method in enum class com.tnsai.agents.groups.GroupLifecycle
-
Checks if this state allows accepting new work.
- canAddMember(int) - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Checks if adding a new member would violate the policy.
- canAfford(AgentVariant) - Method in class com.tnsai.agents.variant.VariantSelector.TokenBudget
-
Checks if budget allows this variant.
- cancel() - Method in interface com.tnsai.agents.async.AsyncAgent
-
Cancels any ongoing async operation.
- cancel() - Method in interface com.tnsai.events.TnsAIEventPublisher.EventSubscription
-
Cancels this subscription.
- cancel() - Method in interface com.tnsai.reliability.ProgressSink.Subscription
- cancel(String) - Method in interface com.tnsai.cancellation.CancellationToken
-
Mark the token as cancelled and run any registered callbacks.
- cancel(String) - Method in class com.tnsai.communication.DefaultMessageAcknowledger
- cancel(String) - Method in interface com.tnsai.communication.MessageAcknowledger
-
Cancels a pending acknowledgment.
- cancel(String) - Method in class com.tnsai.security.approval.InterruptService
-
Cancels an interrupt.
- CANCEL - Enum constant in enum class com.tnsai.communication.CNPMessageType
- CANCEL - Enum constant in enum class com.tnsai.communication.TaskMessageType
- CancellationException - Exception Class in com.tnsai.cancellation
-
Thrown when code observing a
CancellationTokenaborts because the token was cancelled (issue #22). - CancellationException(String) - Constructor for exception class com.tnsai.cancellation.CancellationException
- CancellationException(String, Throwable) - Constructor for exception class com.tnsai.cancellation.CancellationException
- cancellationToken() - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns the value of the
cancellationTokenrecord component. - cancellationToken() - Method in record class com.tnsai.rag.RetrievalRequest
-
Returns the value of the
cancellationTokenrecord component. - cancellationToken(CancellationToken) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- cancellationToken(CancellationToken) - Method in class com.tnsai.rag.RetrievalRequest.Builder
- CancellationToken - Interface in com.tnsai.cancellation
-
Cooperative cancellation primitive for long-running agent operations (issue #22).
- cancelled(String) - Static method in class com.tnsai.security.approval.InterruptResult
-
Creates a cancelled result.
- cancelled(String, long) - Static method in record class com.tnsai.events.RunEndEvent
-
Creates a cancelled run end event.
- CANCELLED - Enum constant in enum class com.tnsai.agents.groups.GroupTask.Status
-
Task was cancelled
- CANCELLED - Enum constant in enum class com.tnsai.context.decision.DecisionOutcome.OutcomeStatus
-
Decision was cancelled
- CANCELLED - Enum constant in enum class com.tnsai.events.RunEndEvent.RunStatus
- CANCELLED - Enum constant in enum class com.tnsai.security.approval.InterruptResult.Outcome
-
Interrupt was cancelled programmatically
- CANCELLED - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Tool execution cancelled
- canDelegate() - Element in annotation interface com.tnsai.annotations.Coordination
-
Whether agent can delegate tasks to others.
- CANDIDATE_FILENAMES - Static variable in class com.tnsai.prompt.ProjectContextLoader
-
Filenames checked at each level, in priority order.
- candidateCount() - Method in class com.tnsai.memory.advanced.HybridMemoryRetriever
-
Returns an upper bound on the number of distinct entries this retriever can return without overflowing its internal candidate multiplier.
- candidateCount() - Method in record class com.tnsai.rag.RetrievalDiagnostics
-
Returns the value of the
candidateCountrecord component. - canInitiate() - Element in annotation interface com.tnsai.protocols.annotations.Debate
-
Whether this agent can initiate debates.
- canPublish() - Element in annotation interface com.tnsai.protocols.annotations.Broadcast
-
Whether this agent can publish to the topic.
- canPublish() - Element in annotation interface com.tnsai.protocols.annotations.PubSub
-
Whether this agent can publish to topics.
- canSubscribe() - Element in annotation interface com.tnsai.protocols.annotations.Broadcast
-
Whether this agent can subscribe to the topic.
- canSubscribe() - Element in annotation interface com.tnsai.protocols.annotations.PubSub
-
Whether this agent can subscribe to topics.
- canTransitionTo(GroupLifecycle) - Method in enum class com.tnsai.agents.groups.GroupLifecycle
-
Checks if transition to target state is valid.
- canVote() - Element in annotation interface com.tnsai.protocols.annotations.Debate
-
Whether this agent can vote.
- capabilities() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns the value of the
capabilitiesrecord component. - capabilities() - Element in annotation interface com.tnsai.annotations.Coordination
-
Agent capabilities (for capability-based routing).
- capabilities() - Method in record class com.tnsai.hooks.HookContext
-
Returns the value of the
capabilitiesrecord component. - capabilities() - Method in record class com.tnsai.llm.ModelInfo
-
Returns the value of the
capabilitiesrecord component. - capabilities() - Method in record class com.tnsai.observability.events.EventContext
-
Returns the value of the
capabilitiesrecord component. - capabilities(LLMCapabilities) - Method in class com.tnsai.llm.ModelInfo.Builder
- capabilities(List<String>) - Method in class com.tnsai.hooks.HookContext.Builder
- capabilities(List<String>) - Method in class com.tnsai.observability.events.EventContext.Builder
- capability(String, String) - Static method in class com.tnsai.models.agent.Capability
-
Static factory method for cleaner syntax.
- Capability - Class in com.tnsai.models.agent
-
Represents a capability or skill that an agent possesses within the BDI architecture.
- Capability - Annotation Interface in com.tnsai.capabilities
-
Marks an interface as a reusable capability contract whose methods are dispatched by the framework (LLM / MCP / WEB_SERVICE) rather than implemented by the developer.
- Capability(String, String) - Constructor for class com.tnsai.models.agent.Capability
- CAPABILITY_BASED - Enum constant in enum class com.tnsai.annotations.Coordination.TaskDistribution
-
Distribute based on agent capabilities
- CAPABILITY_MATCH - Enum constant in enum class com.tnsai.agents.groups.GroupPolicy.MemberSelectionStrategy
-
Select member with matching capabilities
- CAPABILITY_MISMATCH - Enum constant in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Model does not support a required capability
- CapabilityClasspathValidator - Class in com.tnsai.agents.validation.validators
-
AGENT-V007 — Verify every
@Capability-annotated interface implemented by an attached role can be fully reflected upon at build time. - CapabilityClasspathValidator() - Constructor for class com.tnsai.agents.validation.validators.CapabilityClasspathValidator
- Capability Discovery - Search tag in interface com.tnsai.llm.LLMCapabilities
- Section
- CapabilityHookEvent - Interface in com.tnsai.hooks.events
-
@Capability-dispatch hook events (issue #60). - capabilityInterface() - Method in record class com.tnsai.agents.validation.Location
-
Returns the value of the
capabilityInterfacerecord component. - capabilityInterface() - Method in record class com.tnsai.hooks.events.OnCapabilityDispatch
-
Returns the value of the
capabilityInterfacerecord component. - capacity() - Element in annotation interface com.tnsai.annotations.MemorySpec
-
Maximum number of messages/items to store.
- capacity() - Method in record class com.tnsai.memory.MemoryConfig
-
Returns the value of the
capacityrecord component. - capacity(int) - Method in class com.tnsai.memory.MemoryConfig.Builder
- capture(MemoryStore) - Method in class com.tnsai.resilience.recovery.AgentStateRecoveryManager
- captureCheckpoint() - Method in class com.tnsai.agents.execution.MemoryManager
-
Captures checkpoint with auto-generated label.
- captureCheckpoint(String) - Method in class com.tnsai.agents.execution.MemoryManager
-
Captures the current agent state as a checkpoint.
- captured() - Method in class com.tnsai.observability.errors.CapturingErrorReportPublisher
-
Immutable snapshot of every captured report so far.
- captured() - Method in class com.tnsai.observability.events.CapturingAgentEventPublisher
- Captured(TnsAIEvent, EventLevel, EventContext) - Constructor for record class com.tnsai.observability.events.CapturingAgentEventPublisher.Captured
-
Creates an instance of a
Capturedrecord class. - capturedAt() - Method in record class com.tnsai.reliability.Checkpoint
-
Returns the value of the
capturedAtrecord component. - captureSnapshot(MemoryStore) - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Captures a state snapshot from the memory store.
- CapturingAgentEventPublisher - Class in com.tnsai.observability.events
-
In-memory
AgentEventPublisherfor unit tests — records every published event so the test can assert on them. - CapturingAgentEventPublisher() - Constructor for class com.tnsai.observability.events.CapturingAgentEventPublisher
- CapturingAgentEventPublisher.Captured - Record Class in com.tnsai.observability.events
- CapturingErrorReportPublisher - Class in com.tnsai.observability.errors
-
In-memory
ErrorReportPublisherfor tests. - CapturingErrorReportPublisher() - Constructor for class com.tnsai.observability.errors.CapturingErrorReportPublisher
- card(String, String, List<Map<String, Object>>) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a card component.
- CASH_APP_PAY_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Cash App Pay merchant API.
- CASUAL - Enum constant in enum class com.tnsai.annotations.Communication.Tone
- CASUAL - Enum constant in enum class com.tnsai.enums.agent.Formality
- categorized(String, String, String) - Static method in record class com.tnsai.tools.ToolExample
-
Creates a categorized tool example.
- category() - Element in annotation interface com.tnsai.annotations.EvalMetric
-
The category of this metric.
- category() - Method in interface com.tnsai.communication.MessageTypeMarker
-
Returns the category name (e.g., "CNP", "TASK", "QUERY")
- category() - Method in record class com.tnsai.context.decision.DecisionPolicy.PolicyRule
-
Returns the value of the
categoryrecord component. - category() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
categoryrecord component. - category() - Method in record class com.tnsai.tools.ToolExample
-
Returns the value of the
categoryrecord component. - category(ErrorCategory) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- category(String) - Method in class com.tnsai.tools.ToolExample.Builder
-
Sets the example category.
- cause() - Method in record class com.tnsai.agents.async.ChatEvent.Error
-
Returns the value of the
causerecord component. - cause() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ErrorInterrupt
-
Returns the value of the
causerecord component. - cause() - Method in record class com.tnsai.hooks.events.AgentStop
-
Returns the value of the
causerecord component. - cause() - Method in record class com.tnsai.hooks.events.OnActionError
-
Returns the value of the
causerecord component. - cause() - Method in record class com.tnsai.hooks.events.SessionEnd
-
Returns the value of the
causerecord component. - cause() - Method in record class com.tnsai.reliability.Outcome.Failed
-
Returns the value of the
causerecord component. - cause(Throwable) - Method in class com.tnsai.tools.spi.ToolException.Builder
- causeChain() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
causeChainrecord component. - causeChain(List<CauseInfo>) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- CauseInfo - Record Class in com.tnsai.observability.errors
-
Compact summary of a single throwable in a flattened cause chain.
- CauseInfo(String, String, String) - Constructor for record class com.tnsai.observability.errors.CauseInfo
-
Creates an instance of a
CauseInforecord class. - CFP - Enum constant in enum class com.tnsai.communication.CNPMessageType
- CHAIN_OF_THOUGHT - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Chain-of-Thought (CoT) prompting.
- CHAIN_OF_VERIFICATION - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Chain-of-Verification (CoVe) prompting.
- changedAt() - Method in record class com.tnsai.context.entity.EntityAttribute.AttributeHistory
-
Returns the value of the
changedAtrecord component. - changeReason() - Method in record class com.tnsai.context.entity.EntityAttribute.AttributeHistory
-
Returns the value of the
changeReasonrecord component. - changeType() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.VariableChange
-
Returns the value of the
changeTyperecord component. - CHANNEL_SEND - Enum constant in enum class com.tnsai.timeout.TimeoutPolicy.Category
- channels() - Element in annotation interface com.tnsai.annotations.Communication.Messaging
-
Channels to publish to.
- channels() - Element in annotation interface com.tnsai.protocols.annotations.MessageHandler
-
Channels to listen on.
- channelSend() - Method in record class com.tnsai.timeout.TimeoutPolicy
-
Returns the value of the
channelSendrecord component. - channelSend(Duration) - Method in class com.tnsai.timeout.TimeoutPolicy.Builder
- chart(String, Object, Map<String, Object>) - Static method in record class com.tnsai.events.ArtifactEvent
-
Creates a chart artifact event.
- chart(String, List<String>, List<Map<String, Object>>) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a chart component with specific chart type.
- chart(Map<String, Object>) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a chart component.
- CHART - Enum constant in enum class com.tnsai.events.ArtifactEvent.ArtifactType
- chat(ChatRequest) - Method in class com.tnsai.llm.FallbackLLMClient
- chat(ChatRequest) - Method in interface com.tnsai.llm.LLMClient
-
Sends a chat request using the unified
ChatRequestmodel. - chat(String) - Method in class com.tnsai.agents.Agent
-
Sends a message to the agent and returns the LLM response.
- chat(String) - Method in interface com.tnsai.llm.LLMClient
-
Simplified chat without system prompt or history.
- chat(String, boolean) - Method in class com.tnsai.agents.Agent
-
Sends a message with optional conversation history.
- chat(String, boolean) - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Sends a message to the LLM and returns the response.
- chat(String, boolean, boolean) - Method in class com.tnsai.agents.Agent
-
Sends a message with full control over history and tools.
- chat(String, boolean, boolean) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chat(String, boolean, boolean, boolean) - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Sends a message with full configuration options.
- chat(String, boolean, boolean, ChatRetrievalContext) - Method in class com.tnsai.agents.Agent
-
Sends a message with request-local retrieval isolation and lifecycle context.
- chat(String, boolean, boolean, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chat(String, String) - Method in interface com.tnsai.llm.LLMClient
-
Simplified chat with system prompt.
- chat(String, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>) - Method in class com.tnsai.llm.FallbackLLMClient
- chat(String, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>) - Method in interface com.tnsai.llm.LLMClient
-
Sends a chat message and returns the response.
- chat(String, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>, float) - Method in interface com.tnsai.llm.LLMClient
-
Sends a chat message with temperature override.
- chat(List<ContentPart>, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>) - Method in interface com.tnsai.llm.LLMClient
-
Sends a multimodal chat message (text + images/files).
- CHAT - Enum constant in enum class com.tnsai.context.entity.EntitySource.SourceType
-
Chat/messaging system (Slack, Teams)
- chatAsync(String) - Method in interface com.tnsai.agents.async.AsyncAgent
-
Sends a chat message asynchronously.
- chatAsync(String, ChatOptions) - Method in interface com.tnsai.agents.async.AsyncAgent
-
Sends a chat message with options asynchronously.
- ChatChunk - Class in com.tnsai.llm
-
Represents a single chunk in a streaming LLM response.
- ChatChunk(ChatChunk.ChunkType, String, Instant, Integer, Integer, ChatChunk.FinishReason, String, String) - Constructor for class com.tnsai.llm.ChatChunk
- ChatChunk(ChatChunk.ChunkType, String, Instant, Integer, Integer, ChatChunk.FinishReason, String, String, ChatResponse.ToolCall) - Constructor for class com.tnsai.llm.ChatChunk
- ChatChunk.ChunkType - Enum Class in com.tnsai.llm
-
The type of streaming chunk.
- ChatChunk.FinishReason - Enum Class in com.tnsai.llm
-
The reason why generation stopped.
- ChatEvent - Interface in com.tnsai.agents.async
-
Typed events for async chat streaming.
- ChatEvent.Completed - Record Class in com.tnsai.agents.async
-
Chat completed event.
- ChatEvent.Error - Record Class in com.tnsai.agents.async
-
Error event.
- ChatEvent.Started - Record Class in com.tnsai.agents.async
-
Chat started event.
- ChatEvent.Token - Record Class in com.tnsai.agents.async
-
Token streamed event.
- ChatEvent.ToolCall - Record Class in com.tnsai.agents.async
-
Tool call initiated event.
- ChatEvent.ToolResult - Record Class in com.tnsai.agents.async
-
Tool execution result event.
- chatEventStream(String) - Method in interface com.tnsai.agents.async.AsyncAgent
-
Sends a chat message and streams typed events.
- ChatHookEvent - Interface in com.tnsai.hooks.events
-
Conversation-boundary hook events (issue #60).
- chatInternal(String, boolean) - Method in class com.tnsai.agents.Agent
- chatInternal(String, boolean) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Internal chat without tool execution (prevents recursion in tool calls).
- chatInternal(String, boolean) - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
Callback for follow-up chat after tool execution (tools disabled, prevents recursion)
- chatInternal(String, boolean) - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Internal chat without tool execution.
- chatInternal(String, boolean) - Method in interface com.tnsai.agents.messaging.AgentMessagingHandler.MessagingContext
-
Internal chat method for query handling.
- chatInternal(String, boolean) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatInternal(String, boolean) - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- chatInternal(String, boolean, String, ChatRetrievalContext) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Internal no-tools follow-up preserving the originating RAG turn.
- chatInternal(String, boolean, String, ChatRetrievalContext) - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
No-tools follow-up preserving the originating RAG turn.
- chatInternal(String, boolean, String, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatInternalWithTools(String, boolean) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Internal chat WITH tools enabled for multi-turn tool loops.
- chatInternalWithTools(String, boolean) - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
Callback for follow-up chat with tools enabled (for multi-turn tool loops).
- chatInternalWithTools(String, boolean) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatInternalWithTools(String, boolean, String, ChatRetrievalContext) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Internal tool-loop follow-up preserving the originating RAG turn.
- chatInternalWithTools(String, boolean, String, ChatRetrievalContext) - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
Tool-loop follow-up preserving the originating RAG turn.
- chatInternalWithTools(String, boolean, String, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- ChatKnowledgeBinding - Class in com.tnsai.rag
-
Owner-scoped binding between chat grounding and one canonical retrieval engine source.
- ChatKnowledgeBindingValidator - Class in com.tnsai.rag
-
The one rule a chat knowledge binding must meet before it grounds a conversation, whoever installs it: an agent, its builder or an integration.
- ChatKnowledgeContext - Interface in com.tnsai.rag
-
The DIRECT part of an agent's chat knowledge, given fresh on every chat turn.
- ChatKnowledgeContext.Turn - Record Class in com.tnsai.rag
-
One turn's blocks, split at the first SEARCH entry.
- ChatKnowledgeResolver - Interface in com.tnsai.rag
-
Optional bridge from a canonical source configuration to the chat-level
KnowledgeBasecontract. - Chat Models (com.tnsai.models.chat) - Search tag in package com.tnsai.models
- Section
- ChatOptions - Class in com.tnsai.agents.async
-
Options for asynchronous chat operations.
- ChatOptions.Builder - Class in com.tnsai.agents.async
-
Builder for ChatOptions.
- chatPublisher(String) - Method in interface com.tnsai.agents.async.AsyncAgent
-
Creates a reactive publisher for chat events.
- ChatRequest - Class in com.tnsai.llm
-
Unified request model for LLM chat operations.
- ChatRequest.Builder - Class in com.tnsai.llm
-
Fluent builder for ChatRequest.
- ChatResponse - Class in com.tnsai.llm
-
Represents a chat response from an LLM, potentially including tool calls.
- ChatResponse(String, List<ChatResponse.ToolCall>) - Constructor for class com.tnsai.llm.ChatResponse
- ChatResponse(String, List<ChatResponse.ToolCall>, Integer, Integer, Integer, Integer) - Constructor for class com.tnsai.llm.ChatResponse
- ChatResponse.ToolCall - Class in com.tnsai.llm
-
Represents a tool/function call from the LLM.
- ChatRetrievalContext - Record Class in com.tnsai.rag
-
Typed, request-local identity and lifecycle context for chat retrieval.
- ChatRetrievalContext(RetrievalScope, Optional<String>, Optional<String>, Optional<String>, Optional<String>, Optional<String>, CancellationToken, Optional<Instant>, Map<String, String>) - Constructor for record class com.tnsai.rag.ChatRetrievalContext
-
Validates and defensively copies the request context.
- ChatRetrievalContext.Builder - Class in com.tnsai.rag
-
Builder for optional, request-local chat context.
- chatScope(List<KnowledgeEntry>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
- chatSearchDefaults() - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
The settings a chat turn's SEARCH starts from: chat keeps every hit and lets the model judge relevance (minScore 0), caches, and grounds without evidence rather than failing the turn.
- chatStream(String) - Method in interface com.tnsai.agents.async.AsyncAgent
-
Sends a chat message and streams the response.
- CHATTERBOX_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Resemble Chatterbox text-to-speech.
- chatWithEvents(String, String) - Method in class com.tnsai.agents.Agent
-
Chat with events published to a session on the configured publisher.
- chatWithEvents(String, String) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatWithEvents(String, String) - Method in class com.tnsai.agents.streaming.AgentStreamingSupport
-
Chat with events using session-based publisher.
- chatWithEvents(String, String, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatWithEvents(String, Consumer<TnsAIEvent>) - Method in class com.tnsai.agents.Agent
-
Chat with real-time TnsAI event emission (AG-UI integration).
- chatWithEvents(String, Consumer<TnsAIEvent>) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatWithEvents(String, Consumer<TnsAIEvent>) - Method in class com.tnsai.agents.streaming.AgentStreamingSupport
-
Chat with event callbacks for AG-UI integration.
- chatWithEvents(String, Consumer<TnsAIEvent>, ChatRetrievalContext) - Method in class com.tnsai.agents.Agent
-
Emits events with request-local retrieval isolation and lifecycle context.
- chatWithEvents(String, Consumer<TnsAIEvent>, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatWithEvents(String, Consumer<TnsAIEvent>, ChatRetrievalContext) - Method in class com.tnsai.agents.streaming.AgentStreamingSupport
- chatWithFormat(String, Class<T>, int) - Method in class com.tnsai.agents.Agent
-
Chat with structured output using annotation-defined format or JSON default.
- chatWithFormat(String, Class<T>, int) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Chat with structured output using annotation-defined format or JSON default.
- chatWithFormat(String, Class<T>, int) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatWithFormat(String, Class<T>, int, ChatRetrievalContext) - Method in class com.tnsai.agents.Agent
-
Annotation-formatted chat with request-local retrieval context.
- chatWithFormat(String, Class<T>, int, ChatRetrievalContext) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Chat with annotation-defined output and retrieval context.
- chatWithFormat(String, Class<T>, int, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatWithFormat(String, Class<T>, OutputFormat, int) - Method in class com.tnsai.agents.Agent
-
Chat with structured output in a specific format.
- chatWithFormat(String, Class<T>, OutputFormat, int) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Chat with structured output in a specific format.
- chatWithFormat(String, Class<T>, OutputFormat, int) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatWithFormat(String, Class<T>, OutputFormat, int, ChatRetrievalContext) - Method in class com.tnsai.agents.Agent
-
Formatted chat with request-local retrieval isolation and lifecycle context.
- chatWithFormat(String, Class<T>, OutputFormat, int, ChatRetrievalContext) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Chat with structured output and request-local retrieval context.
- chatWithFormat(String, Class<T>, OutputFormat, int, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatWithStructure(String, OutputParser<T>, int) - Method in class com.tnsai.agents.Agent
-
Sends a message and returns a structured, validated response using guardrails pattern.
- chatWithStructure(String, OutputParser<T>, int) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Sends a message and returns a structured, validated response using guardrails pattern.
- chatWithStructure(String, OutputParser<T>, int) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- chatWithStructure(String, OutputParser<T>, int, ChatRetrievalContext) - Method in class com.tnsai.agents.Agent
-
Structured chat with request-local retrieval isolation and lifecycle context.
- chatWithStructure(String, OutputParser<T>, int, ChatRetrievalContext) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Sends a structured chat turn with request-local retrieval context.
- chatWithStructure(String, OutputParser<T>, int, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- check(String, ActionType, Object, Method, ExecutionRule, AgentPrincipal, AuthorityScope) - Method in class com.tnsai.security.AccessGate
- checkAgents(ClassConfig.RunFile) - Static method in class com.tnsai.annotations.ClassConfig
-
Checks a run file's
Agentssection asClassConfig.useBaseDirectory(RunFile)would, without starting a run: no file is read, nothing a run holds changes and noConfigResetprovider runs. - checkAndRemoveUnhealthy() - Method in interface com.tnsai.agents.groups.MembershipManager
-
Checks all members for health and removes unhealthy ones.
- checkDuration() - Method in record class com.tnsai.agents.validation.ValidationReport
-
Returns the value of the
checkDurationrecord component. - checkDuration(Duration) - Method in class com.tnsai.agents.validation.ValidationReport.Builder
- checkHallucination() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Whether to check for hallucinations (requires context).
- checkHealth(Duration) - Method in interface com.tnsai.spi.Healthcheckable
-
Probe the backing service for reachability.
- checkInvariants() - Element in annotation interface com.tnsai.invariants.InvariantCheck
-
Advisory switch for custom invariant integrations that perform general before/after checks.
- checkpoint() - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Creates a checkpoint of the current state.
- checkpoint(InterruptEvent) - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Creates a checkpoint with a specific trigger event.
- Checkpoint - Record Class in com.tnsai.reliability
-
Durable snapshot of a
ResumableRunat a step boundary (issue #82 closeout / TNS-299). - Checkpoint(String, int, Instant, byte[], Map<String, Object>, Optional<String>) - Constructor for record class com.tnsai.reliability.Checkpoint
-
Creates an instance of a
Checkpointrecord class. - CHECKPOINT - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken when agent state is checkpointed.
- Checkpointer - Interface in com.tnsai.state
-
Checkpointer interface - LangGraph-style state checkpointing.
- Checkpointer.CheckpointTuple - Record Class in com.tnsai.state
-
Checkpoint tuple container.
- Checkpointer.Write - Record Class in com.tnsai.state
-
Write operation.
- CheckpointerFactory - Class in com.tnsai.spi
-
Factory for creating Checkpointer instances using SPI discovery.
- CheckpointerFactory.ProviderInfo - Record Class in com.tnsai.spi
-
Information about a provider.
- CheckpointerProvider - Interface in com.tnsai.spi
-
Service Provider Interface for Checkpointer implementations.
- checkpointId() - Method in record class com.tnsai.reliability.Checkpoint
-
Stable identifier formed from
runIdandstepIndex. - checkpointId() - Method in record class com.tnsai.reliability.Outcome.Suspended
-
Returns the value of the
checkpointIdrecord component. - checkpointId() - Method in record class com.tnsai.reliability.Progress.CheckpointSaved
-
Returns the value of the
checkpointIdrecord component. - checkpointId() - Method in record class com.tnsai.state.Checkpointer.CheckpointTuple
-
Returns the value of the
checkpointIdrecord component. - checkpointId(String) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- Checkpointing Architecture - Search tag in package com.tnsai.state
- Section
- checkpointInterval() - Element in annotation interface com.tnsai.annotations.Memory.Persistence
-
Checkpoint interval in seconds.
- checkpointInterval() - Method in record class com.tnsai.reliability.RunConfig
-
Returns the value of the
checkpointIntervalrecord component. - checkpointInterval(Duration) - Method in class com.tnsai.reliability.RunConfig.Builder
- CheckpointSaved(Instant, String, int) - Constructor for record class com.tnsai.reliability.Progress.CheckpointSaved
-
Creates an instance of a
CheckpointSavedrecord class. - checkpointStore(CheckpointStore) - Method in class com.tnsai.reliability.DefaultResumableRun.Builder
- CheckpointStore - Interface in com.tnsai.reliability
-
SPI for persisting
Checkpoints across the lifetime of a long-running run (TNS-299). - Checkpoint System - Search tag in class com.tnsai.agents.execution.MemoryManager
- Section
- CheckpointTuple(String, Map<String, Object>, Map<String, Object>, List<Checkpointer.Write>, long) - Constructor for record class com.tnsai.state.Checkpointer.CheckpointTuple
-
Creates an instance of a
CheckpointTuplerecord class. - checkPostcondition(Method) - Method in interface com.tnsai.invariants.InvariantCheckerHandle
-
Checks the postcondition of an action.
- checkPostconditions() - Element in annotation interface com.tnsai.invariants.InvariantCheck
-
Advisory switch for custom invariant integrations that inspect this annotation.
- checkPrecondition(Method) - Method in interface com.tnsai.invariants.InvariantCheckerHandle
-
Checks the precondition of an action.
- checkPreconditions() - Element in annotation interface com.tnsai.invariants.InvariantCheck
-
Advisory switch for custom invariant integrations that inspect this annotation.
- checkStateInvariants() - Element in annotation interface com.tnsai.invariants.InvariantCheck
-
Whether to check @State field invariants after method execution.
- checkStateInvariants() - Method in interface com.tnsai.invariants.InvariantCheckerHandle
-
Checks all @State field invariants.
- checkSyntax(String) - Method in class com.tnsai.actions.contracts.ContractEvaluator
-
Parses an expression without evaluating it — used by the build-time validator (AGENT-V013) to catch syntax errors early.
- child(Agent) - Method in class com.tnsai.agents.hierarchy.HierarchyBuilder
-
Adds a child agent to the current agent.
- chunk() - Method in record class com.tnsai.hooks.events.OnChunk
-
Returns the value of the
chunkrecord component. - chunk(ExtractedDocument) - Static method in class com.tnsai.rag.NormalizedDocumentChunker
-
Chunks one extractor-normalized document.
- chunk(ExtractedDocument, KnowledgeUnit) - Static method in class com.tnsai.rag.NormalizedDocumentChunker
-
Applies an explicit ingest unit to one extractor-normalized document.
- chunk(Path, String, String) - Static method in class com.tnsai.rag.NormalizedDocumentChunker
-
Chunks a raw source file using the shared server/declarative fallback.
- Chunk(String, String, String, Map<String, Object>) - Constructor for record class com.tnsai.rag.NormalizedDocumentChunker.Chunk
-
Creates an instance of a
Chunkrecord class. - CHUNK - Enum constant in enum class com.tnsai.rag.KnowledgeUnit
-
NormalizedDocumentChunkerapplied unconditionally, including to files that would otherwise fit in one chunk. - chunkContext() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Ingest-time chunk context prepended before embedding and BM25.
- chunkContext() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
chunkContextrecord component. - chunkContext(ChunkContext) - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
- ChunkContext - Enum Class in com.tnsai.rag
-
Opt-in ingest-time transform that prepends chunk context before embedding and BM25 indexing.
- ChunkContextGenerator - Interface in com.tnsai.rag
-
SPI for LLM-written chunk context used by
ChunkContext.LLM. - ChunkContextGenerator.Request - Record Class in com.tnsai.rag
- chunkContextModel() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Model identifier for
ChunkContext.LLM. - chunkContextModel() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
chunkContextModelrecord component. - chunkContextModel(String) - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
- CHUNKER_ID - Static variable in class com.tnsai.rag.IngestionFingerprint
-
Stable identifier of
NormalizedDocumentChunker. - CHUNKER_VERSION - Static variable in class com.tnsai.rag.IngestionFingerprint
-
Version of the shared chunker contract.
- chunkIndex() - Method in record class com.tnsai.hooks.events.OnChunk
-
Returns the value of the
chunkIndexrecord component. - CHUNKING - Enum constant in enum class com.tnsai.rag.DocumentProcessingException.Stage
- Chunk Types - Search tag in class com.tnsai.llm.ChatChunk
- Section
- circuitBreaker() - Element in annotation interface com.tnsai.annotations.Resilience
-
Circuit breaker configuration.
- circuitBreaker(int, Duration) - Method in class com.tnsai.spi.ResilienceStrategy.Builder
-
Configures circuit breaker behavior.
- CircuitBreakerMeta() - Constructor for class com.tnsai.metadata.RoleSpecReader.RoleSpec.CircuitBreakerMeta
- circuitBreakerThreshold() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
Circuit breaker failure threshold.
- ClassConfig - Class in com.tnsai.annotations
-
The 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). - ClassConfig.Level - Class in com.tnsai.annotations
-
One level of a file: an agent, a role in an agent's file, or a role's own file.
- ClassConfig.RoleBinding - Class in com.tnsai.annotations
- ClassConfig.RunFile - Class in com.tnsai.annotations
-
A run file as a host passes it to
ClassConfig.useBaseDirectory(RunFile)andClassConfig.checkAgents(RunFile): its base directory, its name for messages, itsAgentssection and, optionally, the agent types of the run. - Classification per call - Search tag in class com.tnsai.agents.execution.ToolCallBatchPartitioner
- Section
- classLoader() - Method in record class com.tnsai.hooks.events.OnSPILoad
-
Returns the value of the
classLoaderrecord component. - className() - Method in record class com.tnsai.roles.export.ExportedRole
-
Returns the value of the
classNamerecord component. - CLAUDE - Enum constant in enum class com.tnsai.prompt.ModelFamily
-
Anthropic Claude lineage (haiku, sonnet, opus, all generations).
- CLAUDE_3_OPUS - Static variable in class com.tnsai.llm.ModelCapabilities
-
Anthropic Claude 3 Opus capabilities
- CLAUDE_35_SONNET - Static variable in class com.tnsai.llm.ModelCapabilities
-
Anthropic Claude 3.5 Sonnet capabilities
- CLAUDE_SONNET_4 - Static variable in class com.tnsai.llm.ModelCapabilities
-
Anthropic Claude Sonnet 4 capabilities
- cleanupExpired() - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Cleans up expired tokens.
- cleanupExpired() - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- cleanupOldSnapshots(Instant) - Method in interface com.tnsai.context.ContextManagerHandle
- cleanupOldTraces(Instant) - Method in interface com.tnsai.context.ContextManagerHandle
- clear() - Method in class com.tnsai.accountability.RecordingLiabilitySink
-
Test helper: drop every record.
- clear() - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Clears all subscriptions and event history.
- clear() - Method in class com.tnsai.agents.groups.GroupRegistry
-
Clears all registrations (for testing).
- clear() - Method in class com.tnsai.agents.lifecycle.IdleMonitor
-
Clears all monitoring (for testing).
- clear() - Method in class com.tnsai.communication.SharedBlackboard
-
Clears all entries (use with caution).
- clear() - Method in class com.tnsai.hooks.HookDispatcher
-
Reset the registration list; primarily for tests.
- clear() - Method in class com.tnsai.knowledge.InMemoryKnowledgeBase
- clear() - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Clears all documents from the knowledge base.
- clear() - Method in class com.tnsai.memory.AbstractMemoryStore
- clear() - Method in class com.tnsai.memory.advanced.BM25Index
-
Clears the entire index.
- clear() - Method in interface com.tnsai.memory.advanced.VectorIndex
-
Drops every stored entry.
- clear() - Method in class com.tnsai.memory.advanced.VectorMemoryStore
-
Clears all entries and vectors without resetting the pinned dimension.
- clear() - Method in interface com.tnsai.memory.MemoryStore
-
Clears the memory.
- clear() - Method in class com.tnsai.memory.NamespacedMemoryStore
- clear() - Method in class com.tnsai.memory.SharedMemoryRegistry
-
Clears all shared memory namespaces and recorded access grants.
- clear() - Method in class com.tnsai.memory.SharedMemoryStore
- clear() - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
- clear() - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Clears all memories.
- clear() - Method in class com.tnsai.memory.vector.VectorSearchMemoryStore
- clear() - Method in class com.tnsai.observability.errors.CapturingErrorReportPublisher
-
Empties the buffer.
- clear() - Static method in class com.tnsai.observability.events.Breadcrumbs
-
Drop everything in the current thread's buffer.
- clear() - Method in class com.tnsai.observability.events.CapturingAgentEventPublisher
-
Drop everything captured so far.
- clear() - Method in class com.tnsai.reliability.InMemoryCheckpointStore
-
Test helper: drop every entry.
- clear() - Method in class com.tnsai.resilience.recovery.AgentStateRecoveryManager
- clear() - Method in class com.tnsai.roles.registry.RoleRegistry
-
Clears all registrations (for testing).
- clear() - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
-
Clears all tokens (for testing).
- clear() - Method in class com.tnsai.skills.SkillSession
-
Drop every active skill.
- clear() - Method in interface com.tnsai.spi.ToolRegistry
-
Clears all registered tools.
- clear() - Method in class com.tnsai.state.FileCheckpointer
-
Clear all checkpoints.
- clear() - Method in class com.tnsai.state.InMemoryCheckpointer
-
Clear all checkpoints.
- clear(String) - Method in class com.tnsai.memory.NamespacedMemoryStore
-
Clears a specific namespace.
- CLEAR - Enum constant in enum class com.tnsai.annotations.Effect.Operation
-
Clear state (set to null/empty/zero).
- clearAllCache() - Static method in class com.tnsai.actions.ActionDiscovery
-
Clears the entire cache.
- clearAllDynamic() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Clears all dynamic BDI components (beliefs, desires, intentions).
- clearAllDynamicBDI() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Clears all dynamic BDI components (beliefs, desires, intentions).
- clearAttempts() - Method in class com.tnsai.parser.RetryableParser
-
Clears the attempt history.
- clearBeliefs() - Method in interface com.tnsai.spi.CognitiveModel
-
Clears all dynamic beliefs.
- clearCache() - Method in class com.tnsai.agents.lifecycle.LifecycleManager
-
Clears the method cache (for testing).
- clearCache() - Static method in class com.tnsai.events.handler.EventHandlerProcessor
-
Clears the metadata cache.
- clearCache() - Static method in class com.tnsai.prompt.PromptTemplateLoader
-
Clears the template cache.
- clearCache() - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- clearCache(Class<?>) - Static method in class com.tnsai.actions.ActionDiscovery
-
Clears the cache for a specific role class.
- clearCheckpoints() - Method in class com.tnsai.agents.execution.MemoryManager
-
Clears all stored checkpoints.
- clearConversationHistory() - Method in class com.tnsai.agents.Agent
-
Clears all stored conversation messages.
- clearConversationHistory() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- clearDynamicBeliefs() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Clears all dynamic beliefs.
- clearDynamicDesires() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Clears all dynamic desires.
- clearDynamicIntentions() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Clears all dynamic intentions.
- clearEvalContext() - Method in class com.tnsai.agents.Agent
-
Clears the current evaluation context and creates a new session.
- clearEvalContext() - Method in class com.tnsai.agents.AgentCognitiveSupport
- clearEvalContext() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- clearExpiredBeliefs() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Removes all expired beliefs from the dynamic belief list.
- clearHistory() - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Clears the conversation history.
- clearHistory() - Method in class com.tnsai.agents.execution.MemoryManager
-
Clears all conversation history.
- clearHistory() - Method in class com.tnsai.communication.AgentCommunicationManager
-
Clears all message history (useful for testing).
- clearHooks() - Method in interface com.tnsai.eval.hooks.EvalHandle
- clearInterrupt() - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Clears the interrupted state.
- clearRecoveryState() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- clearSnapshots() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Clears all snapshots.
- clearStale() - Method in class com.tnsai.memory.strategy.MemoryEntry
-
Clears the stale flag (e.g., after re-validation).
- clearTrackedEntities() - Method in interface com.tnsai.context.ContextManagerHandle
- clearVariables() - Method in interface com.tnsai.context.ContextManagerHandle
- CLIENT_DISCONNECT - Enum constant in enum class com.tnsai.hooks.events.SessionCloseReason
-
Client closed the connection normally.
- CLIENT_ERROR - Enum constant in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
-
External API errors (4xx status codes)
- clientAddress() - Method in record class com.tnsai.hooks.events.SessionStart
-
Returns the value of the
clientAddressrecord component. - CLIPBOARD_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
OS clipboard read / write.
- clock(Clock) - Method in class com.tnsai.reliability.DefaultResumableRun.Builder
- close() - Method in class com.tnsai.actions.executors.McpToolExecutor
-
Closes all cached MCP clients.
- close() - Method in class com.tnsai.agents.async.AsyncMsgHub
- close() - Method in class com.tnsai.context.TenantContext.Scope
- close() - Method in class com.tnsai.observability.events.AgentContext.Scope
- close() - Method in class com.tnsai.rag.ChatKnowledgeBinding
-
Closes the owner-scoped engine exactly once.
- close() - Method in class com.tnsai.rag.KnowledgeScope
-
Rejects new turns and releases resources after all existing leases end.
- close() - Method in class com.tnsai.rag.KnowledgeScope.Lease
- close() - Method in class com.tnsai.rag.RetrievalEngine
-
Closes engine-owned resources exactly once.
- close() - Method in class com.tnsai.reliability.SqliteCheckpointStore
- close() - Method in class com.tnsai.resilience.MeteredHandle
- close() - Method in class com.tnsai.resilience.TracedSpan
- close() - Method in interface com.tnsai.spi.MessageBroker
-
Closes the broker and releases resources.
- close() - Method in class com.tnsai.utils.Spinner
-
AutoCloseable implementation for try-with-resources.
- close(String) - Method in class com.tnsai.events.InMemoryEventPublisher
- close(String) - Method in interface com.tnsai.events.TnsAIEventPublisher
-
Removes all subscriptions for a session and cleans up resources.
- CLOSE - Enum constant in enum class com.tnsai.hooks.events.IdleAction
-
Close the session entirely.
- CLUSTER - Enum constant in enum class com.tnsai.annotations.EventEmitter.Scope
-
All agents in cluster
- CNPMessageType - Enum Class in com.tnsai.communication
-
Contract Net Protocol (CNP) message types.
- code() - Method in record class com.tnsai.agents.validation.ValidationIssue
-
Returns the value of the
coderecord component. - code() - Method in record class com.tnsai.context.decision.DecisionOutcome.OutcomeError
-
Returns the value of the
coderecord component. - code() - Method in record class com.tnsai.events.ErrorEvent
-
Returns the value of the
coderecord component. - code(String, String) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a code block component without filename.
- code(String, String, String) - Static method in record class com.tnsai.events.ArtifactEvent
-
Creates a code artifact event.
- code(String, String, String) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a code block component.
- CODE - Enum constant in enum class com.tnsai.context.assembler.TokenEstimator.ContentType
-
Source code.
- CODE - Enum constant in enum class com.tnsai.events.ArtifactEvent.ArtifactType
- CODE - Enum constant in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
- CODE_AUTHENTICATION_ERROR - Static variable in record class com.tnsai.events.ErrorEvent
- CODE_INTERNAL_ERROR - Static variable in record class com.tnsai.events.ErrorEvent
- CODE_LLM_ERROR - Static variable in record class com.tnsai.events.ErrorEvent
- CODE_PROPOSAL - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- CODE_RATE_LIMIT - Static variable in record class com.tnsai.events.ErrorEvent
- CODE_TIMEOUT - Static variable in record class com.tnsai.events.ErrorEvent
- CODE_TOOL_EXECUTION_FAILED - Static variable in record class com.tnsai.events.ErrorEvent
-
Common error codes.
- CODE_VALIDATION_ERROR - Static variable in record class com.tnsai.events.ErrorEvent
- codec(DefaultResumableRun.StateCodec<S>) - Method in class com.tnsai.reliability.DefaultResumableRun.Builder
- CODEGEEX_4 - Static variable in class com.tnsai.llm.ModelCapabilities
-
ZhipuAI CodeGeeX-4 - Code specialized
- CognitiveEngine - Class in com.tnsai.agents.cognitive
-
Manages the BDI (Belief-Desire-Intention) cognitive state of an agent.
- CognitiveEngine.BDISnapshot - Record Class in com.tnsai.agents.cognitive
-
Snapshot of BDI state for serialization.
- CognitiveEngine.Builder - Class in com.tnsai.agents.cognitive
-
Builder for CognitiveEngine.
- CognitiveModel - Interface in com.tnsai.spi
-
Abstraction for agent cognitive architectures.
- CognitiveModel.Action - Record Class in com.tnsai.spi
-
Represents an action to be executed.
- CognitiveModel.BDIModelBuilder - Class in com.tnsai.spi
-
Builder for BDI cognitive model.
- CognitiveModel.Belief - Record Class in com.tnsai.spi
-
Represents a belief in the cognitive model.
- CognitiveModel.CognitiveState - Record Class in com.tnsai.spi
-
Snapshot of cognitive state for persistence.
- CognitiveModel.Goal - Record Class in com.tnsai.spi
-
Represents a goal/desire in the cognitive model.
- CognitiveModel.GoalStatus - Enum Class in com.tnsai.spi
- CognitiveModel.Intention - Record Class in com.tnsai.spi
-
Represents an intention/plan in the cognitive model.
- CognitiveModel.IntentionStatus - Enum Class in com.tnsai.spi
- CognitiveState(List<CognitiveModel.Belief>, List<CognitiveModel.Goal>, List<CognitiveModel.Intention>, Map<String, Object>) - Constructor for record class com.tnsai.spi.CognitiveModel.CognitiveState
-
Creates an instance of a
CognitiveStaterecord class. - collection() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
The collection/table name for storing vectors.
- com.tnsai - package com.tnsai
-
TnsAI Java SDK - A multi-agent framework with BDI architecture and Gaia methodology.
- com.tnsai.accountability - package com.tnsai.accountability
- com.tnsai.actions - package com.tnsai.actions
-
Action execution framework for agent tool/function calling.
- com.tnsai.actions.contracts - package com.tnsai.actions.contracts
-
Design-by-contract support for action execution with pre/post condition validation.
- com.tnsai.actions.executors - package com.tnsai.actions.executors
-
Specialized action executors for different execution contexts.
- com.tnsai.actions.model - package com.tnsai.actions.model
-
Typed models for action execution.
- com.tnsai.agents - package com.tnsai.agents
-
Agent classes and lifecycle management for the TnsAI framework.
- com.tnsai.agents.annotations - package com.tnsai.agents.annotations
-
Agent annotations for declarative agent definition.
- com.tnsai.agents.async - package com.tnsai.agents.async
-
Asynchronous agent execution with CompletableFuture, reactive streaming, and session management.
- com.tnsai.agents.capabilities - package com.tnsai.agents.capabilities
-
Agent capability management -- planning, reasoning, evaluation, feedback, environment perception, variant selection, context graphs, and resilience.
- com.tnsai.agents.chat - package com.tnsai.agents.chat
-
Agent chat orchestration for LLM invocation, history management, and tool call handling.
- com.tnsai.agents.cognitive - package com.tnsai.agents.cognitive
-
BDI Cognitive Engine components for agent reasoning.
- com.tnsai.agents.ensemble - package com.tnsai.agents.ensemble
-
Multi-LLM ensemble execution with parallel fan-out, race patterns, and consensus voting.
- com.tnsai.agents.execution - package com.tnsai.agents.execution
-
Agent execution components including LLM orchestration, tool processing, and memory management.
- com.tnsai.agents.groups - package com.tnsai.agents.groups
-
Agent group membership management.
- com.tnsai.agents.hierarchy - package com.tnsai.agents.hierarchy
-
Hierarchical agent relationships with parent-child management and task delegation.
- com.tnsai.agents.init - package com.tnsai.agents.init
-
Agent initialization and specification extraction.
- com.tnsai.agents.interrupt - package com.tnsai.agents.interrupt
-
Agent interruption and checkpoint system.
- com.tnsai.agents.lifecycle - package com.tnsai.agents.lifecycle
-
Agent lifecycle management with annotation-based hooks, timeout enforcement, and idle monitoring.
- com.tnsai.agents.messaging - package com.tnsai.agents.messaging
-
Inter-agent messaging for task delegation, query handling, and protocol communication.
- com.tnsai.agents.orchestration - package com.tnsai.agents.orchestration
-
Agent orchestration — chat, streaming, tool execution, and knowledge base management.
- com.tnsai.agents.output - package com.tnsai.agents.output
-
Agent output formatting and serialization to various formats (JSON, YAML, XML).
- com.tnsai.agents.resilience - package com.tnsai.agents.resilience
-
Agent resilience management components.
- com.tnsai.agents.streaming - package com.tnsai.agents.streaming
-
Streaming and event-based chat operations with token-level granularity and event publishing.
- com.tnsai.agents.validation - package com.tnsai.agents.validation
- com.tnsai.agents.validation.validators - package com.tnsai.agents.validation.validators
- com.tnsai.agents.variant - package com.tnsai.agents.variant
-
Agent variants with runtime switching and automatic selection based on task complexity.
- com.tnsai.annotations - package com.tnsai.annotations
-
Custom annotations for the TnsAI framework.
- com.tnsai.cancellation - package com.tnsai.cancellation
- com.tnsai.capabilities - package com.tnsai.capabilities
-
Reusable action-dispatch contracts for
Roles. - com.tnsai.communication - package com.tnsai.communication
-
Agent messaging infrastructure for inter-agent communication.
- com.tnsai.communication.transport - package com.tnsai.communication.transport
-
Message transport layer for agent communication.
- com.tnsai.config - package com.tnsai.config
-
Configuration management and environment variable loading.
- com.tnsai.context - package com.tnsai.context
-
Context graph infrastructure for decision tracking and auditing.
- com.tnsai.context.assembler - package com.tnsai.context.assembler
-
Context assembly and token estimation for LLM interactions.
- com.tnsai.context.decision - package com.tnsai.context.decision
-
Decision tracking and auditing for agent context graphs.
- com.tnsai.context.entity - package com.tnsai.context.entity
-
Entity resolution for multi-source context graphs.
- com.tnsai.context.snapshot - package com.tnsai.context.snapshot
-
Context snapshots capturing agent state at specific moments in time.
- com.tnsai.enums - package com.tnsai.enums
-
Shared enumerations used across the TnsAI framework.
- com.tnsai.enums.agent - package com.tnsai.enums.agent
-
Agent-related enumerations for personality and behavior configuration.
- com.tnsai.enums.role - package com.tnsai.enums.role
-
Role-related enumerations for parameter and safety classification.
- com.tnsai.environment - package com.tnsai.environment
-
Environment and world model abstractions for BDI agents.
- com.tnsai.eval - package com.tnsai.eval
-
Evaluation infrastructure for agent output quality assessment.
- com.tnsai.eval.hooks - package com.tnsai.eval.hooks
-
Evaluation hooks for agent lifecycle integration.
- com.tnsai.events - package com.tnsai.events
-
Event-driven communication system for agent lifecycle and execution notifications.
- com.tnsai.events.handler - package com.tnsai.events.handler
-
Runtime processing infrastructure for
EventHandlerannotations. - com.tnsai.exceptions - package com.tnsai.exceptions
-
Custom exceptions for the TnsAI framework.
- com.tnsai.feedback - package com.tnsai.feedback
- com.tnsai.flags - package com.tnsai.flags
- com.tnsai.guardrails - package com.tnsai.guardrails
-
Runtime enforcement of
InputGuardrailandOutputGuardrailannotations declared on@ActionSpecmethods or their declaring Role classes. - com.tnsai.guardrails.pii - package com.tnsai.guardrails.pii
- com.tnsai.hooks - package com.tnsai.hooks
- com.tnsai.hooks.events - package com.tnsai.hooks.events
- com.tnsai.hooks.external - package com.tnsai.hooks.external
- com.tnsai.hooks.spi - package com.tnsai.hooks.spi
- com.tnsai.idempotency - package com.tnsai.idempotency
- com.tnsai.identity - package com.tnsai.identity
-
Decentralized identity management for agents using W3C DID standards.
- com.tnsai.invariants - package com.tnsai.invariants
-
Invariant checking framework for runtime state verification.
- com.tnsai.knowledge - package com.tnsai.knowledge
-
Knowledge base abstraction for Retrieval-Augmented Generation (RAG).
- com.tnsai.llm - package com.tnsai.llm
-
LLM (Large Language Model) client interfaces and abstractions.
- com.tnsai.memory - package com.tnsai.memory
-
Memory management and persistence for agent conversation history.
- com.tnsai.memory.advanced - package com.tnsai.memory.advanced
-
Advanced memory module: vector search, BM25 text search, Reciprocal Rank Fusion hybrid retrieval, skill memory, importance scoring, staleness detection, and session persistence.
- com.tnsai.memory.strategy - package com.tnsai.memory.strategy
-
Memory management strategies for conversation history within token budgets.
- com.tnsai.memory.vector - package com.tnsai.memory.vector
- com.tnsai.metadata - package com.tnsai.metadata
-
Metadata extraction and representation for actions, tools, and roles.
- com.tnsai.models - package com.tnsai.models
-
Data models for the TnsAI framework.
- com.tnsai.models.agent - package com.tnsai.models.agent
-
BDI (Belief-Desire-Intention) model classes for agent reasoning.
- com.tnsai.models.chat - package com.tnsai.models.chat
-
Multimodal content parts for LLM communication.
- com.tnsai.models.role - package com.tnsai.models.role
-
Gaia methodology model classes for role-based agent design.
- com.tnsai.observability.errors - package com.tnsai.observability.errors
-
Structured error reporting infrastructure.
- com.tnsai.observability.events - package com.tnsai.observability.events
-
Observability event schema + thread-local correlation context.
- com.tnsai.output - package com.tnsai.output
-
Output serialization framework for converting action results to structured formats.
- com.tnsai.output.annotations - package com.tnsai.output.annotations
-
Annotations for declarative output format configuration.
- com.tnsai.output.impl - package com.tnsai.output.impl
-
Concrete output serializer implementations for standard formats.
- com.tnsai.parser - package com.tnsai.parser
-
LLM output parsing with retry and validation support.
- com.tnsai.payment - package com.tnsai.payment
- com.tnsai.planning - package com.tnsai.planning
- com.tnsai.prompt - package com.tnsai.prompt
-
Prompt building, templating, and management framework for LLM interactions.
- com.tnsai.prompt.format - package com.tnsai.prompt.format
- com.tnsai.prompt.strategy - package com.tnsai.prompt.strategy
-
Predefined prompting strategies for enhanced LLM response quality.
- com.tnsai.protocols - package com.tnsai.protocols
-
SPI handles for agent protocol management.
- com.tnsai.protocols.annotations - package com.tnsai.protocols.annotations
-
Declarative annotations for configuring agent communication protocols.
- com.tnsai.protocols.callbacks - package com.tnsai.protocols.callbacks
-
Protocol callback handlers for annotation-driven message dispatch.
- com.tnsai.protocols.models - package com.tnsai.protocols.models
-
Protocol data models for inter-agent message exchange.
- com.tnsai.protocols.transport - package com.tnsai.protocols.transport
-
Protocol transport layer for message delivery between agents.
- com.tnsai.rag - package com.tnsai.rag
-
Canonical RAG configuration and retrieval contracts.
- com.tnsai.reasoning - package com.tnsai.reasoning
- com.tnsai.reliability - package com.tnsai.reliability
- com.tnsai.resilience - package com.tnsai.resilience
-
Resilience patterns for fault-tolerant agent and action execution.
- com.tnsai.resilience.dlq - package com.tnsai.resilience.dlq
-
Dead letter queue for capturing and replaying failed agent messages.
- com.tnsai.resilience.recovery - package com.tnsai.resilience.recovery
-
Agent failure detection, health tracking, and automated recovery.
- com.tnsai.roles - package com.tnsai.roles
-
Role definitions and capabilities for agents in the TnsAI framework.
- com.tnsai.roles.annotations - package com.tnsai.roles.annotations
-
Role annotations for declarative role definition.
- com.tnsai.roles.export - package com.tnsai.roles.export
-
Role export system for converting TnsAI roles to various formats.
- com.tnsai.roles.export.frameworks - package com.tnsai.roles.export.frameworks
-
Framework-specific role exporters.
- com.tnsai.roles.metadata - package com.tnsai.roles.metadata
-
Role metadata extraction from annotations and class definitions.
- com.tnsai.roles.registry - package com.tnsai.roles.registry
-
Centralized role registration and lookup service.
- com.tnsai.schema - package com.tnsai.schema
-
JSON Schema generation for LLM function calling tool definitions.
- com.tnsai.security - package com.tnsai.security
-
Security SPI contracts and human-in-the-loop approval for TnsAI agents.
- com.tnsai.security.approval - package com.tnsai.security.approval
-
Human-in-the-loop (HITL) approval mechanism for sensitive agent actions.
- com.tnsai.security.audit - package com.tnsai.security.audit
-
Persistent audit trail for security-relevant decisions.
- com.tnsai.skills - package com.tnsai.skills
- com.tnsai.spi - package com.tnsai.spi
-
Service Provider Interface (SPI) package for TnsAI.
- com.tnsai.state - package com.tnsai.state
-
State persistence and checkpointing for agent recovery.
- com.tnsai.timeout - package com.tnsai.timeout
- com.tnsai.tools - package com.tnsai.tools
-
Tool framework for defining, registering, and discovering agent capabilities.
- com.tnsai.tools.method - package com.tnsai.tools.method
- com.tnsai.tools.metrics - package com.tnsai.tools.metrics
-
Centralized metrics collection and reporting for tool executions.
- com.tnsai.tools.spi - package com.tnsai.tools.spi
-
Service Provider Interface for pluggable tool implementations.
- com.tnsai.utils - package com.tnsai.utils
-
General-purpose utility classes shared across the TnsAI framework.
- Common Exceptions - Search tag in package com.tnsai.exceptions
- Section
- Common Identity Types - Search tag in class com.tnsai.models.agent.AgentIdentity
- Section
- Common Sources - Search tag in class com.tnsai.models.agent.Belief
- Section
- communication - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- communication() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Default communication style (fallback).
- communication() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
Communication configuration for this role.
- communication(Communication) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the communication style for the agent.
- Communication - Record Class in com.tnsai.models.agent
-
Represents the communication style and persona of an agent.
- Communication - Annotation Interface in com.tnsai.annotations
-
Configures communication style and messaging for agents and roles.
- Communication(Tone, Formality, Verbosity) - Constructor for record class com.tnsai.models.agent.Communication
-
Creates an instance of a
Communicationrecord class. - Communication.Formality - Enum Class in com.tnsai.annotations
- Communication.Messaging - Annotation Interface in com.tnsai.annotations
-
Messaging channel configuration.
- Communication.ResponseFormat - Enum Class in com.tnsai.annotations
- Communication.Style - Annotation Interface in com.tnsai.annotations
-
Communication style settings.
- Communication.Tone - Enum Class in com.tnsai.annotations
- Communication.Verbosity - Enum Class in com.tnsai.annotations
- CommunicationEnforcer - Class in com.tnsai.communication
-
Enforces communication policies defined via @Communication annotation.
- CommunicationEnforcer() - Constructor for class com.tnsai.communication.CommunicationEnforcer
- CommunicationMeta() - Constructor for class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
- CommunicationStyle - Annotation Interface in com.tnsai.annotations
-
Annotation to define agent's communication style.
- CommunicationTransport - Interface in com.tnsai.communication.transport
-
Abstraction for the underlying message transport mechanism.
- CommunicationViolationException - Exception Class in com.tnsai.communication
-
Exception thrown when a communication policy is violated.
- CommunicationViolationException(String, CommunicationViolationException.ViolationType) - Constructor for exception class com.tnsai.communication.CommunicationViolationException
-
Creates a communication violation exception.
- CommunicationViolationException(String, Throwable, CommunicationViolationException.ViolationType) - Constructor for exception class com.tnsai.communication.CommunicationViolationException
-
Creates a communication violation exception with a cause.
- CommunicationViolationException.ViolationType - Enum Class in com.tnsai.communication
-
Types of communication violations.
- compareTo(EventHandlerMetadata) - Method in record class com.tnsai.events.handler.EventHandlerMetadata
- compareTo(SearchResult) - Method in class com.tnsai.knowledge.SearchResult
-
Compares by score in descending order (highest score first).
- compareTo(Desire) - Method in record class com.tnsai.models.agent.Desire
- COMPARISON_TABLE - Enum constant in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
- Comparison with CompletionCriteria - Search tag in exception class com.tnsai.exceptions.TaskCompleteException
- Section
- Comparison with Memory Strategies - Search tag in annotation interface com.tnsai.annotations.Ephemeral
- Section
- compile(String) - Static method in class com.tnsai.rag.IngestionPathSelector
-
Compiles one glob or throws with the offending selector.
- complete(String) - Method in class com.tnsai.eval.hooks.EvalContext
-
Marks the context as completed.
- complete(String) - Method in class com.tnsai.events.InMemoryEventPublisher
- complete(String) - Method in interface com.tnsai.events.TnsAIEventPublisher
-
Signals completion for a session (no more events will be published).
- completed(String, int, long) - Static method in interface com.tnsai.agents.async.ChatEvent
- completed(String, String, long) - Static method in record class com.tnsai.events.RunEndEvent
-
Creates a successful run end event.
- Completed(String, int, long) - Constructor for record class com.tnsai.agents.async.ChatEvent.Completed
- Completed(String, T) - Constructor for record class com.tnsai.reliability.Outcome.Completed
-
Creates an instance of a
Completedrecord class. - Completed(Instant, String, int, long) - Constructor for record class com.tnsai.agents.async.ChatEvent.Completed
-
Creates an instance of a
Completedrecord class. - COMPLETED - Enum constant in enum class com.tnsai.agents.groups.GroupTask.Status
-
Task completed successfully
- COMPLETED - Enum constant in enum class com.tnsai.events.RunEndEvent.RunStatus
- COMPLETED - Enum constant in enum class com.tnsai.spi.CognitiveModel.IntentionStatus
- completedAt() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
completedAtrecord component. - completedAt(Instant) - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- completeIntention(Intention) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Marks an intention as completed by removing it.
- completeIntention(String) - Method in interface com.tnsai.spi.CognitiveModel
-
Marks an intention as completed.
- CompletionSignal - Annotation Interface in com.tnsai.annotations
-
Marks an action as a completion signal that terminates the agent loop.
- COMPLEX - Enum constant in enum class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityLevel
-
Complex tasks: architecture, security, refactoring
- COMPLEXITY_ANALYSIS - Enum constant in enum class com.tnsai.agents.variant.VariantSelector.SelectionReason
-
Selected based on task complexity analysis
- Complexity Levels - Search tag in class com.tnsai.agents.variant.TaskComplexityAnalyzer
- Section
- ComplexityResult(double, TaskComplexityAnalyzer.ComplexityLevel, String) - Constructor for record class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityResult
-
Creates an instance of a
ComplexityResultrecord class. - component() - Method in record class com.tnsai.events.BDIUpdateEvent
-
Returns the value of the
componentrecord component. - componentType() - Method in record class com.tnsai.events.UiComponentEvent
-
Returns the value of the
componentTyperecord component. - Component Types - Search tag in record class com.tnsai.events.UiComponentEvent
- Section
- COMPOSITE - Enum constant in enum class com.tnsai.spi.ToolRegistry.ToolType
- CompositeAgentEventPublisher - Class in com.tnsai.observability.events
-
Fan-out
AgentEventPublisher— broadcasts each event to every delegate. - CompositeAgentEventPublisher(List<AgentEventPublisher>) - Constructor for class com.tnsai.observability.events.CompositeAgentEventPublisher
- CompositeEnvironment - Class in com.tnsai.environment
-
Combines multiple environments into a single view.
- CompositeEnvironment(String, Environment...) - Constructor for class com.tnsai.environment.CompositeEnvironment
- CompositeErrorReportPublisher - Class in com.tnsai.observability.errors
-
Fan-out
ErrorReportPublisher— invokes every wrapped publisher for eachCompositeErrorReportPublisher.publish(ErrorReport)call. - CompositeErrorReportPublisher(List<ErrorReportPublisher>) - Constructor for class com.tnsai.observability.errors.CompositeErrorReportPublisher
- compress() - Element in annotation interface com.tnsai.annotations.Memory.Persistence
-
Whether to compress stored data.
- compressionRatio() - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
- compute(ContextSnapshot, ContextSnapshot) - Static method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Computes the difference between two snapshots.
- compute(String, String, String, String, String, String, String, String, List<String>, List<String>, int, boolean) - Static method in class com.tnsai.rag.IngestionFingerprint
-
Computes the pipeline fingerprint for one admitted file.
- compute(String, String, String, String, String, String, String, String, List<String>, List<String>, int, boolean, ChunkContext, String, String) - Static method in class com.tnsai.rag.IngestionFingerprint
-
Computes the pipeline fingerprint including chunk-context identity.
- compute(String, String, String, String, String, String, String, String, List<String>, List<String>, KnowledgeUnit, int, boolean) - Static method in class com.tnsai.rag.IngestionFingerprint
-
Computes the pipeline fingerprint including a declared slicing unit.
- compute(String, String, String, String, String, String, String, String, List<String>, List<String>, KnowledgeUnit, int, boolean, ChunkContext, String, String) - Static method in class com.tnsai.rag.IngestionFingerprint
-
Computes the pipeline fingerprint including unit and chunk-context identity.
- compute(String, String, String, String, String, String, String, String, List<String>, List<String>, KnowledgeUnit, int, boolean, ChunkContext, String, String, String) - Static method in class com.tnsai.rag.IngestionFingerprint
-
Computes the pipeline fingerprint including the source's
select. - compute(String, List<Double>) - Static method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
- computedAt() - Method in record class com.tnsai.accountability.ReputationScore
-
Returns the value of the
computedAtrecord component. - CONCERN - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- concessionStrategy() - Element in annotation interface com.tnsai.annotations.Coordination.Negotiation
-
Concession strategy name.
- CONCISE - Enum constant in enum class com.tnsai.annotations.Communication.Verbosity
- CONCISE - Enum constant in enum class com.tnsai.enums.agent.Verbosity
- Concurrency - Search tag in class com.tnsai.accountability.RecordingLiabilitySink
- Section
- Concurrency - Search tag in class com.tnsai.hooks.HookDispatcher
- Section
- Concurrency - Search tag in class com.tnsai.idempotency.IdempotencyResolver
- Section
- Concurrency - Search tag in class com.tnsai.reliability.DefaultResumableRun
- Section
- Concurrency - Search tag in class com.tnsai.reliability.InMemoryCheckpointStore
- Section
- Concurrency - Search tag in class com.tnsai.reliability.InMemoryProgressSink
- Section
- Concurrency - Search tag in class com.tnsai.reliability.RedisCheckpointStore
- Section
- Concurrency - Search tag in class com.tnsai.reliability.S3CheckpointStore
- Section
- Concurrency - Search tag in class com.tnsai.reliability.SqliteCheckpointStore
- Section
- Concurrency - Search tag in class com.tnsai.skills.FileSystemSkillStore
- Section
- Concurrency - Search tag in class com.tnsai.skills.SkillSession
- Section
- Concurrency - Search tag in interface com.tnsai.accountability.LiabilitySink
- Section
- Concurrency - Search tag in interface com.tnsai.reliability.CheckpointStore
- Section
- Concurrency - Search tag in interface com.tnsai.reliability.ProgressSink
- Section
- Concurrency - Search tag in interface com.tnsai.skills.SkillResolver
- Section
- Concurrency - Search tag in interface com.tnsai.skills.SkillStore
- Section
- condition() - Element in annotation interface com.tnsai.annotations.Effect
-
Optional condition for conditional effects.
- condition() - Element in annotation interface com.tnsai.annotations.EventEmitter
-
Condition for emitting event (SpEL expression).
- condition() - Element in annotation interface com.tnsai.annotations.EventHandler
-
Filter condition (SpEL expression).
- condition() - Element in annotation interface com.tnsai.annotations.Goal
-
Condition that must be true for the goal to be satisfied.
- condition() - Element in annotation interface com.tnsai.annotations.Norm
-
The condition expression under which this norm is active.
- condition() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns the value of the
conditionrecord component. - Condition Syntax - Search tag in annotation interface com.tnsai.annotations.Goal
- Section
- confidence() - Method in record class com.tnsai.context.entity.EntityAttribute
-
Returns the value of the
confidencerecord component. - confidence() - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Returns the value of the
confidencerecord component. - confidence() - Method in class com.tnsai.memory.strategy.MemoryEntry
- confidence() - Method in record class com.tnsai.spi.CognitiveModel.Belief
-
Returns the value of the
confidencerecord component. - confidence(double) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- CONFIDENCE_WEIGHTED - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Confidence-weighted responses.
- Confidence Levels - Search tag in class com.tnsai.models.agent.Belief
- Section
- confidenceScore() - Method in record class com.tnsai.agents.variant.VariantSelector.SelectionResult
-
Returns the value of the
confidenceScorerecord component. - confidenceThreshold(float) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Sets confidence threshold for showing alternatives.
- config() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
The class configuration file, which can override and add to this agent's
llmandknowledgeand its roles'. - config() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
The role's own configuration file, which can override and add to this role's
llmandknowledge. - config() - Method in class com.tnsai.rag.ChatKnowledgeBinding
-
Returns the immutable chat retrieval configuration.
- config() - Method in record class com.tnsai.rag.RetrievalRequest
-
Returns the value of the
configrecord component. - config(TieredContextLoader.TierConfig) - Method in class com.tnsai.memory.strategy.TieredContextLoader.Builder
-
Sets the tier configuration.
- Config - Annotation Interface in com.tnsai.annotations
-
Points an agent or role class at its configuration file.
- CONFIG - Enum constant in enum class com.tnsai.observability.errors.ErrorCategory
-
Misconfiguration — missing LLM, wrong model name, malformed role spec.
- configFactory(Function<LLMSpecSource, LLMClient>) - Method in class com.tnsai.llm.LLMResolver.Builder
-
Sets the factory for creating LLMClient from LLM configuration.
- ConfigReset - Interface in com.tnsai.annotations
-
Drops what a module derived from class configuration files when
ClassConfig.useBaseDirectory(java.nio.file.Path)starts a new run. - ConfigurableAgent - Class in com.tnsai.agents
-
A fully configurable Agent implementation created via AgentBuilder.
- ConfigurableRole - Class in com.tnsai.roles
-
A fully configurable Role implementation created via
RoleBuilder. - Configuration - Search tag in package com.tnsai.llm
- Section
- CONFIGURATION - Enum constant in enum class com.tnsai.rag.RetrievalException.Reason
-
The retrieval declaration cannot be honoured.
- CONFIGURATION - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Missing or invalid configuration (API key, etc.)
- configurationError(String, String) - Static method in exception class com.tnsai.tools.spi.ToolException
-
Create a configuration error (e.g., missing API key).
- configure(AccessSubject, Function<Object, String>) - Method in class com.tnsai.security.AccessGate
-
Bind the actual host agent, independently of its executor principal.
- configureExecution(AgentPrincipal, AuthorityScope, AccessSubject) - Method in class com.tnsai.tools.method.ToolMethodDispatcher
- configureExecution(AccessSubject) - Method in class com.tnsai.actions.ActionExecutor
-
Bind the actual executing agent once at trusted host startup.
- configureExecution(AccessSubject, Function<Object, String>) - Method in class com.tnsai.actions.ActionExecutor
-
Optional target-system lookup supports the existing AuthorityScope system bounds.
- configureResilience(ResilienceExecutor, RetryPolicy, AgentRecoveryManager, AgentStateRecoveryManager, List<ErrorRecoveryScenario>) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Configures resilience components for the executor.
- CONFIRM - Enum constant in enum class com.tnsai.communication.CNPMessageType
- CONFIRMATION - Enum constant in enum class com.tnsai.security.approval.InterruptReason
-
Confirmation step in a multi-step process.
- CONFIRMATION_DENIED - Enum constant in enum class com.tnsai.tools.spi.ToolUserCanceledException.CancelReason
-
User saw a confirmation prompt and declined.
- CONFIRMATION_REQUIRED - Enum constant in enum class com.tnsai.hooks.events.NotificationKind
-
Agent needs explicit user approval to proceed (destructive operation, high-cost LLM call, cross-tenant action).
- conflictingValue(String, EntityAttribute) - Method in class com.tnsai.context.entity.Entity.Builder
- ConflictResolution - Enum Class in com.tnsai.context.entity
-
Strategies for resolving conflicting attribute values from different sources.
- conflictsWith(EntityAttribute) - Method in record class com.tnsai.context.entity.EntityAttribute
-
Returns true if this attribute conflicts with another (same name, different value).
- connection() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Database connection string or reference.
- connection() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
connectionrecord component. - connection(String) - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
- connectionRefused(String, int) - Static method in exception class com.tnsai.exceptions.NetworkException
-
Factory method for connection refused errors.
- connectionTimeout(String, int, long) - Static method in exception class com.tnsai.exceptions.NetworkException
-
Factory method for connection timeout.
- connectionUrl() - Element in annotation interface com.tnsai.annotations.MemorySpec
-
Redis/Database connection URL (for persistent storage).
- connectionUrl() - Method in record class com.tnsai.memory.MemoryConfig
-
Returns the value of the
connectionUrlrecord component. - connectionUrl(String) - Method in class com.tnsai.memory.MemoryConfig.Builder
- consensus() - Element in annotation interface com.tnsai.annotations.Coordination
-
Consensus configuration for group decisions.
- consensus(String, List<LLMClient>, Function<String, Double>) - Static method in class com.tnsai.llm.ParallelLLM
-
Gets responses from multiple LLMs and selects the best one using a scoring function.
- CONSENSUS - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- consensusChat(String, List<LLMClient>, Function<String, Double>) - Method in class com.tnsai.agents.ensemble.AgentEnsembleExecutor
-
Sends message to multiple LLMs and selects the best response using a scoring function.
- consensusThreshold() - Element in annotation interface com.tnsai.protocols.annotations.Debate
-
Consensus threshold (0.0 - 1.0).
- Conservative skip rules - Search tag in class com.tnsai.agents.validation.validators.LLMCapabilityValidator
- Section
- Conservative skip rules - Search tag in class com.tnsai.agents.validation.validators.ToolApprovalValidator
- Section
- Conservative skip rules (shared) - Search tag in class com.tnsai.agents.validation.validators.LLMCapabilityValidator
- Section
- considerations() - Element in annotation interface com.tnsai.annotations.Utility
-
Custom consideration class names.
- considered(String, String) - Static method in record class com.tnsai.context.decision.DecisionReasoning.Alternative
-
Creates a considered but not chosen alternative.
- consolidate() - Method in class com.tnsai.memory.MemoryConsolidationPipeline
-
Performs a consolidation pass on the memory store.
- consolidate() - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Runs the consolidation cycle: decay → promote → evict.
- consolidation() - Method in record class com.tnsai.memory.AgentMemoryResolver.MemoryResolution
-
Returns the value of the
consolidationrecord component. - Consolidation lifecycle (TAN-5049) - Search tag in annotation interface com.tnsai.annotations.Memory
- Section
- consolidationPipeline - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- ConsolidationResult(int, int, int, int) - Constructor for record class com.tnsai.memory.strategy.TieredMemoryStore.ConsolidationResult
-
Creates an instance of a
ConsolidationResultrecord class. - constraint(String) - Method in class com.tnsai.context.decision.DecisionInput.Builder
- constraint(String) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- constraint(String) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Adds a single constraint.
- CONSTRAINT_FIRST - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Constraint-first prompting.
- constraints(List<String>) - Method in class com.tnsai.context.decision.DecisionInput.Builder
- constraints(List<String>) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- constraints(List<String>) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Adds hard constraints that must be satisfied.
- Constraints - Search tag in annotation interface com.tnsai.capabilities.Capability
- Section
- consume() - Method in class com.tnsai.security.approval.ApprovalToken
-
Authorizes use of an approved token.
- consume(int) - Method in class com.tnsai.agents.variant.VariantSelector.TokenBudget
-
Consumes tokens from budget.
- CONSUMED - Enum constant in enum class com.tnsai.security.approval.ApprovalToken.Status
-
Token consumed (single-use)
- contact() - Element in annotation interface com.tnsai.agents.annotations.AgentIdentity
-
Contact or support email for this agent.
- contains(String) - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Checks if a document with the given ID exists.
- containsLoneSurrogate(String) - Static method in class com.tnsai.utils.TextSanitizer
-
Fast check: does the string contain any unpaired surrogate?
- content() - Method in record class com.tnsai.agents.async.ChatEvent.Token
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.events.ArtifactEvent
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.events.TextDeltaEvent
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.events.ThoughtEvent
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.memory.advanced.Skill
-
Returns the value of the
contentrecord component. - content() - Method in class com.tnsai.memory.strategy.MemoryEntry
- content() - Method in record class com.tnsai.prompt.ProjectContextLoader.ProjectContext
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.prompt.strategy.EnhancedResponse.ThinkingPhase
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.rag.DocumentBlock
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.rag.ExtractedDocument
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.rag.NormalizedDocumentChunker.Chunk
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.rag.RetrievalEvidence
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.spi.CognitiveModel.Belief
-
Returns the value of the
contentrecord component. - content(Object) - Method in class com.tnsai.communication.SharedBlackboard.Entry.Builder
- content(String) - Method in class com.tnsai.knowledge.Document.Builder
-
Sets the document content.
- content(String) - Static method in class com.tnsai.llm.ChatChunk
-
Creates a CONTENT chunk with text token.
- content(String, int, int) - Static method in class com.tnsai.llm.ChatChunk
-
Creates a CONTENT chunk with metadata.
- content(String, int, int, String, String) - Static method in class com.tnsai.llm.ChatChunk
-
Creates a CONTENT chunk with full metadata.
- CONTENT - Enum constant in enum class com.tnsai.llm.ChatChunk.ChunkType
-
Regular content token
- CONTENT_FILTER - Enum constant in enum class com.tnsai.llm.ChatChunk.FinishReason
-
Content filter triggered
- CONTENT_FILTERED - Enum constant in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Content policy violation
- CONTENT_VIOLATION - Enum constant in enum class com.tnsai.security.SecurityException.ViolationType
-
Unsafe or policy-violating content
- ContentExtractor - Interface in com.tnsai.rag
-
Extracts one detected document into TnsAI's normalized ingestion model.
- ContentExtractorRegistry - Class in com.tnsai.rag
-
Deterministic registry of installed
ContentExtractorproviders. - contentFiltered(String, String) - Static method in exception class com.tnsai.exceptions.LLMException
-
Factory method for content filter errors.
- ContentPart - Interface in com.tnsai.models.chat
-
Represents a part of a message content (Text or Media).
- Content Part Types - Search tag in package com.tnsai.models.chat
- Section
- Contents - Search tag in package com.tnsai.security
- Section
- contentType() - Element in annotation interface com.tnsai.annotations.WebService
-
Content type for request body.
- contentType() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
contentTyperecord component. - context() - Method in record class com.tnsai.agents.validation.ValidationIssue
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.context.decision.DecisionTrigger
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.AgentInit
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.AgentStart
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.AgentStop
-
Returns the value of the
contextrecord component. - context() - Method in interface com.tnsai.hooks.events.HookEvent
-
Surrounding context — tenant / agent / role / group / trace / etc.
- context() - Method in record class com.tnsai.hooks.events.OnActionError
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.OnCapabilityDispatch
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.OnChunk
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.OnNotification
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.OnSessionIdle
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.OnSPILoad
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.OnStateTransition
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.PostAction
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.PostChat
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.PreAction
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.PreChat
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.SessionEnd
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.hooks.events.SessionStart
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.observability.events.CapturingAgentEventPublisher.Captured
-
Returns the value of the
contextrecord component. - context() - Method in record class com.tnsai.security.audit.AuditEvent
-
Returns the value of the
contextrecord component. - context(EventContext) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- context(String) - Method in class com.tnsai.llm.LLMResolver.Builder
-
Sets context for error messages.
- context(Map<String, Object>) - Method in class com.tnsai.agents.validation.ValidationIssue.Builder
- context(Map<String, Object>) - Method in class com.tnsai.security.audit.AuditEvent.Builder
- CONTEXT_BOUNDARIES - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Context with boundaries.
- CONTEXT_TOO_LONG - Enum constant in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Context length exceeded
- contextData(Map<String, Object>) - Method in class com.tnsai.context.decision.DecisionInput.Builder
- contextFormat() - Element in annotation interface com.tnsai.annotations.Search
-
Context format template.
- contextFormat() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
contextFormatrecord component. - contextFormat() - Method in class com.tnsai.rag.SearchSettings
- contextFormat(String) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- contextFormat(String) - Method in class com.tnsai.rag.SearchSettings.Builder
- contextLength() - Method in record class com.tnsai.llm.ModelInfo
-
Returns the value of the
contextLengthrecord component. - contextLength(int) - Method in class com.tnsai.llm.ModelInfo.Builder
- contextManager(ContextManagerHandle) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets the context manager for decision precedent lookup.
- ContextManagerHandle - Interface in com.tnsai.context
-
SPI handle for context graph management.
- ContextManagerHandle.Factory - Interface in com.tnsai.context
-
Factory for creating ContextManagerHandle instances.
- contextSnapshot(ContextSnapshot) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- ContextSnapshot - Class in com.tnsai.context.snapshot
-
Captures the complete state of an agent's context at a specific moment.
- ContextSnapshot.Builder - Class in com.tnsai.context.snapshot
-
Builder for ContextSnapshot.
- contextTooLong(String, int, int) - Static method in exception class com.tnsai.exceptions.LLMException
-
Factory method for context length errors.
- ContextualWrapper - Exception Class in com.tnsai.exceptions
-
Thin
RuntimeExceptionthat wraps a non-TnsAIExceptionthrowable so itsEventContextis preserved at the catch site. - ContextualWrapper(Throwable) - Constructor for exception class com.tnsai.exceptions.ContextualWrapper
-
Wrap
originalwith the current thread'sAgentContext(which may be empty). - ContextualWrapper(Throwable, EventContext) - Constructor for exception class com.tnsai.exceptions.ContextualWrapper
-
Wrap
originalwith an explicit context (test / cross-thread scenarios where the natural thread-local lookup is wrong). - contextWindow() - Element in annotation interface com.tnsai.annotations.Search
-
Maximum context window size in tokens.
- contextWindow() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
contextWindowrecord component. - contextWindow() - Method in class com.tnsai.rag.SearchSettings
- contextWindow(int) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- contextWindow(int) - Method in class com.tnsai.rag.SearchSettings.Builder
- CONTINUE - Enum constant in enum class com.tnsai.annotations.Search.FallbackAction
-
Continue without context
- CONTINUE - Enum constant in enum class com.tnsai.protocols.callbacks.MessageCallbackDispatcher.FailureStrategy
-
Log the error and continue with other callbacks (default)
- contract() - Method in record class com.tnsai.metadata.ActionConfig
-
Returns the value of the
contractrecord component. - Contract - Annotation Interface in com.tnsai.annotations
-
Defines behavioral contracts for actions using Design by Contract principles.
- CONTRACT_NET - Enum constant in enum class com.tnsai.annotations.Coordination.NegotiationType
-
Contract Net Protocol - manager/contractor model.
- Contract.InheritanceMode - Enum Class in com.tnsai.annotations
-
Defines how contracts are inherited.
- contractConfig() - Method in class com.tnsai.metadata.ActionMetadata
-
Returns a grouped view of all contract and planning configuration.
- ContractConfig - Record Class in com.tnsai.metadata
-
Grouped configuration for action contracts and planning effects.
- ContractConfig(String, String, String[], Effect[], boolean) - Constructor for record class com.tnsai.metadata.ContractConfig
-
Creates an instance of a
ContractConfigrecord class. - ContractEvaluator - Class in com.tnsai.actions.contracts
-
Evaluates
@Contractexpressions with Apache Commons JEXL (TNS-552). - ContractEvaluator() - Constructor for class com.tnsai.actions.contracts.ContractEvaluator
- ContractExpressionValidator - Class in com.tnsai.agents.validation.validators
-
Build-time syntax check for declarative
@Contractexpressions (AGENT-V013). - ContractExpressionValidator() - Constructor for class com.tnsai.agents.validation.validators.ContractExpressionValidator
- ContractSpec - Record Class in com.tnsai.metadata
-
Programmatic form of the
@ContractDesign-by-Contract annotation (TNS-552) — the JEXL precondition / postcondition / invariant gates enforced around an action byContractValidator. - ContractSpec(List<String>, List<String>, List<String>, boolean, boolean, String) - Constructor for record class com.tnsai.metadata.ContractSpec
-
Creates an instance of a
ContractSpecrecord class. - ContractSpec.Builder - Class in com.tnsai.metadata
-
Fluent builder for the programmatic path.
- ContractValidator - Class in com.tnsai.actions.contracts
-
Enforces
@Contractclauses at action-dispatch time (TNS-552) — the declarative, JEXL-backed counterpart to the imperativeActionContractinterface. - ContractValidator() - Constructor for class com.tnsai.actions.contracts.ContractValidator
- ContractViolationException - Exception Class in com.tnsai.actions.contracts
-
Thrown when a
@Contractprecondition, postcondition, or invariant is violated at runtime (TNS-552). - ContractViolationException(String, String, String, Map<String, Object>) - Constructor for exception class com.tnsai.actions.contracts.ContractViolationException
- Convention - Search tag in annotation interface com.tnsai.annotations.Tool
- Section
- conversation() - Element in annotation interface com.tnsai.annotations.Memory
-
Conversation memory configuration.
- CONVERSATION - Enum constant in enum class com.tnsai.annotations.MemorySpec.MemoryType
-
Simple conversation history
- CONVERSATION - Enum constant in enum class com.tnsai.context.entity.EntityType
-
Conversation/chat entity
- CONVERSATION_END - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken when a conversation ends.
- CONVERSATION_START - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken when a new conversation starts.
- conversationHistory() - Method in record class com.tnsai.agents.execution.MemoryManager.AgentCheckpoint
-
Returns the value of the
conversationHistoryrecord component. - conversationHistory() - Method in class com.tnsai.resilience.recovery.AgentStateSnapshot
- conversationHistory(List<Map<String, Object>>) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- Conversation History - Search tag in interface com.tnsai.llm.LLMClient
- Section
- conversationId() - Method in record class com.tnsai.observability.events.EventContext
-
Returns the value of the
conversationIdrecord component. - conversationId(String) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- conversationId(String) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- conversationId(String) - Method in class com.tnsai.observability.events.EventContext.Builder
- ConversationMeta() - Constructor for class com.tnsai.metadata.RoleSpecReader.RoleSpec.ConversationMeta
- ConversationTracer - Class in com.tnsai.utils
-
Human-readable conversation tracer for agent communication.
- convert(Object, Class<?>) - Static method in class com.tnsai.actions.TypeConverter
-
Converts a value to the target type if needed.
- cooldown(Duration) - Method in class com.tnsai.resilience.recovery.AgentRestartPolicy.Builder
- Coordination - Annotation Interface in com.tnsai.annotations
-
Configures coordination behavior for multi-agent systems.
- COORDINATION - Enum constant in enum class com.tnsai.annotations.EvalMetric.MetricCategory
-
Multi-agent coordination metrics
- Coordination.Consensus - Annotation Interface in com.tnsai.annotations
-
Consensus mechanism configuration.
- Coordination.Consensus.Strategy - Enum Class in com.tnsai.annotations
- Coordination.CoordinationRole - Enum Class in com.tnsai.annotations
- Coordination.Negotiation - Annotation Interface in com.tnsai.annotations
-
Negotiation protocol configuration.
- Coordination.NegotiationType - Enum Class in com.tnsai.annotations
-
Negotiation protocol types.
- Coordination.TaskDistribution - Enum Class in com.tnsai.annotations
- Core Annotations - Search tag in package com.tnsai.agents.annotations
- Section
- Core Annotations - Search tag in package com.tnsai.roles.annotations
- Section
- Core Concepts - Search tag in package com.tnsai
- Section
- correlationId() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Returns the value of the
correlationIdrecord component. - correlationId() - Method in record class com.tnsai.accountability.AuditQuery
-
Returns the value of the
correlationIdrecord component. - correlationId(String) - Method in class com.tnsai.accountability.AuditQuery.Builder
- correlationId(String) - Method in class com.tnsai.communication.AcknowledgedMessage.Builder
-
Sets the correlation ID.
- COSINE - Enum constant in enum class com.tnsai.annotations.Memory.Vector.Metric
- cost() - Element in annotation interface com.tnsai.annotations.Utility
-
Cost of executing this action.
- COST - Enum constant in enum class com.tnsai.agents.variant.VariantSelector.VariantPreference
-
Prioritize cost savings
- COST - Enum constant in enum class com.tnsai.annotations.EvalMetric.MetricCategory
-
Cost and resource usage metrics
- Cost ceiling - Search tag in class com.tnsai.reliability.DefaultResumableRun
- Section
- costCeilingUSD() - Method in record class com.tnsai.reliability.RunConfig
-
Returns the value of the
costCeilingUSDrecord component. - costCeilingUSD(BigDecimal) - Method in class com.tnsai.reliability.RunConfig.Builder
- costMonitor(DefaultResumableRun.CostMonitor) - Method in class com.tnsai.reliability.DefaultResumableRun.Builder
- CostUpdate(Instant, BigDecimal, Optional<BigDecimal>) - Constructor for record class com.tnsai.reliability.Progress.CostUpdate
-
Creates an instance of a
CostUpdaterecord class. - count() - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Counts total traces in the store.
- count() - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Counts total snapshots in the store.
- count() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Returns the value of the
countrecord component. - count() - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Gets total token count.
- count() - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- count(AuditQuery) - Method in interface com.tnsai.security.audit.AuditStore
-
Counts events matching the given criteria.
- countByAgent(String) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Counts traces for an agent.
- countByAgent(String) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Counts snapshots for an agent.
- COUNTER_OFFER - Enum constant in enum class com.tnsai.communication.CNPMessageType
- Counter exposure - Search tag in class com.tnsai.observability.errors.DedupingErrorReportPublisher
- Section
- CRASHED - Enum constant in enum class com.tnsai.hooks.events.StopReason
-
Agent crashed; a throwable is attached to the
AgentStop. - Crash recovery - Search tag in class com.tnsai.reliability.DefaultResumableRun
- Section
- create() - Static method in class com.tnsai.agents.AgentBuilder
-
Creates a new AgentBuilder instance.
- create() - Static method in class com.tnsai.agents.hierarchy.HierarchyBuilder
-
Creates a new hierarchy builder.
- create() - Static method in interface com.tnsai.cancellation.CancellationToken
-
Factory for an observable cancellation token.
- create() - Method in interface com.tnsai.eval.hooks.EvalHandle.Factory
-
Creates a new eval handle.
- create() - Static method in class com.tnsai.roles.RoleBuilder
- create() - Method in interface com.tnsai.security.SecurityEnforcerHandle.Factory
-
Creates a new security enforcer handle.
- create(Agent) - Method in interface com.tnsai.protocols.ProtocolManagerHandle.Factory
-
Creates a new protocol manager handle for the given agent.
- create(Agent...) - Static method in class com.tnsai.agents.async.AsyncMsgHub
-
Creates a hub with the given agents.
- create(MemorySpec) - Static method in class com.tnsai.memory.MemoryStoreFactory
-
Creates a MemoryStore based on the given
@MemorySpecannotation. - create(MemoryConfig) - Static method in class com.tnsai.memory.MemoryStoreFactory
-
Creates a MemoryStore from a programmatic
MemoryConfig— the canonical factory both the annotation path (MemoryStoreFactory.create(MemorySpec)) andAgentBuilder.memoryConfig(...)flow through (TNS-546). - create(RetrievalEngine.Retriever) - Static method in class com.tnsai.rag.RetrievalEngine
-
Creates an engine without lifecycle resources.
- create(RetrievalEngine.Retriever, Runnable) - Static method in class com.tnsai.rag.RetrievalEngine
-
Creates an engine with an idempotently invoked close action.
- create(Class<?>) - Method in interface com.tnsai.planning.PlannerHandle.Factory
-
Creates a new planner handle for the given role class.
- create(Class<T>) - Static method in class com.tnsai.roles.Role
-
Safe factory method for creating Role instances.
- create(Object, boolean) - Method in interface com.tnsai.invariants.InvariantCheckerHandle.Factory
-
Creates a new invariant checker handle for the given target.
- create(Object, String, RetrievalEngine, RetrievalConfig) - Static method in class com.tnsai.rag.ChatKnowledgeBinding
-
Creates a binding that can verify one exact owner object by identity.
- create(String) - Method in interface com.tnsai.feedback.FeedbackCollector.Factory
-
Creates a new feedback collector for an agent.
- create(String) - Method in interface com.tnsai.reasoning.ReasoningStrategyHandle.Factory
-
Creates a reasoning strategy handle for the given strategy name.
- create(String, SnapshotStore, DecisionTraceStore) - Method in interface com.tnsai.context.ContextManagerHandle.Factory
-
Creates a new context manager handle.
- create(String, RetrievalEngine, RetrievalConfig) - Static method in class com.tnsai.rag.ChatKnowledgeBinding
-
Creates an owner-scoped binding around an existing engine.
- create(String, String) - Static method in class com.tnsai.eval.hooks.EvalContext
-
Creates a new evaluation context.
- create(String, String, float, Integer, Float) - Method in interface com.tnsai.llm.LLMClientProvider
-
Creates an LLM client from the given configuration.
- create(String, String, MessageTypeMarker, Map<String, Object>) - Static method in class com.tnsai.communication.AgentMessage
-
Creates a new message with auto-generated ID and timestamp.
- create(String, String, String, GroupPolicy) - Method in interface com.tnsai.agents.groups.AgentGroupFactory
-
Creates a new AgentGroup instance.
- create(String, String, Duration) - Static method in class com.tnsai.security.approval.ApprovalToken
-
Creates a simple token.
- create(String, Map<String, Object>) - Method in class com.tnsai.spi.CheckpointerFactory
-
Creates a Checkpointer using the named provider.
- create(List<KnowledgeSourceConfig>) - Method in interface com.tnsai.rag.RetrievalEngineProvider
-
Creates a fresh engine bound to one owner's canonical source set.
- create(Map<String, Object>) - Method in interface com.tnsai.spi.CheckpointerProvider
-
Creates a new Checkpointer instance with the given configuration.
- createBest(Map<String, Object>) - Method in class com.tnsai.spi.CheckpointerFactory
-
Creates a Checkpointer using the best available provider.
- created() - Method in record class com.tnsai.llm.ModelInfo
-
Returns the value of the
createdrecord component. - created(Instant) - Method in class com.tnsai.llm.ModelInfo.Builder
- CREATED - Enum constant in enum class com.tnsai.hooks.events.AgentState
-
Constructed but no lazy initialisation has run yet.
- createdAt() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in class com.tnsai.memory.strategy.MemoryEntry
- createdAt() - Method in record class com.tnsai.prompt.PromptSpec
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class com.tnsai.security.approval.InterruptService.InterruptRequest
-
Returns the value of the
createdAtrecord component. - createdAt(Instant) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- createdAt(Instant) - Method in class com.tnsai.context.entity.Entity.Builder
- createdAt(Instant) - Method in class com.tnsai.prompt.PromptSpec.Builder
- createDefault() - Static method in class com.tnsai.memory.MemoryStoreFactory
-
Creates a default MemoryStore (in-memory, no limits).
- createErrorReply(String) - Method in class com.tnsai.protocols.models.Message
-
Creates an error reply to this message.
- createInMemory() - Method in class com.tnsai.spi.CheckpointerFactory
-
Creates a default in-memory Checkpointer.
- createReply(AgentMessage, MessageTypeMarker, Map<String, Object>) - Static method in class com.tnsai.communication.AgentMessage
-
Creates a reply to this message (swaps sender and receiver).
- createSession() - Method in class com.tnsai.events.InMemoryEventPublisher
- createSession() - Method in interface com.tnsai.events.TnsAIEventPublisher
-
Creates a new session and returns its ID.
- createSnapshot(SnapshotTrigger) - Method in interface com.tnsai.context.ContextManagerHandle
-
Creates a snapshot with just the trigger (for minimal snapshots).
- createSnapshot(SnapshotTrigger, List<Belief>, List<Desire>, List<Intention>) - Method in interface com.tnsai.context.ContextManagerHandle
-
Creates a context snapshot capturing the current agent state.
- createSuccessReply(Object) - Method in class com.tnsai.protocols.models.Message
-
Creates a success reply to this message.
- createTableIfMissing() - Method in class com.tnsai.idempotency.PostgresIdempotencyStore
-
Idempotently create the schema if it doesn't exist.
- createToken(String, String, Duration) - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Creates a new approval token.
- createToken(String, String, Duration) - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- createToken(String, String, Map<String, Object>, Duration) - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Creates a token with parameters.
- createToken(String, String, Map<String, Object>, Duration) - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- createTrace(DecisionTrace.Builder) - Method in interface com.tnsai.context.ContextManagerHandle
-
Creates a decision trace manually.
- createWba(String, String) - Static method in class com.tnsai.identity.DID
-
Create a did:wba DID (Web-Based Agent method).
- createWeb(String) - Static method in class com.tnsai.identity.DID
-
Create a did:web DID.
- Creating an Agent - Search tag in package com.tnsai.agents
- Section
- Creating a Role - Search tag in package com.tnsai.roles
- Section
- CREATIVE - Enum constant in enum class com.tnsai.enums.agent.Tone
- CREDIT_CARD - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.PIIType
- critical() - Element in annotation interface com.tnsai.annotations.EvalMetric
-
Whether this metric is critical for pass/fail determination.
- CRITICAL - Enum constant in enum class com.tnsai.agents.groups.GroupTask.Priority
- CRITICAL - Enum constant in enum class com.tnsai.enums.agent.Priority
- CRITICAL - Enum constant in enum class com.tnsai.hooks.Severity
- CRITICAL - Enum constant in enum class com.tnsai.observability.events.EventLevel
- CRITICAL - Enum constant in enum class com.tnsai.tools.ToolRiskLevel
-
Irreversible or financially material.
- CRM - Enum constant in enum class com.tnsai.context.entity.EntitySource.SourceType
-
Customer Relationship Management system
- CSV - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.OutputFormat
- CSV - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
Comma-separated values.
- CSV_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
CSV inspection and querying.
- current() - Method in record class com.tnsai.agents.variant.VariantManager.VariantChangeEvent
-
Returns the value of the
currentrecord component. - current() - Static method in class com.tnsai.observability.events.AgentContext
- current() - Static method in class com.tnsai.rag.KnowledgeScope
-
Scope held by the innermost lease on this thread, if any.
- current() - Static method in class com.tnsai.security.InvocationContext
- CURRENT_EPISODE_FILTER - Static variable in record class com.tnsai.rag.ChatRetrievalContext
- currentAction(String) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- currentCapacity() - Static method in class com.tnsai.observability.events.Breadcrumbs
- currentCount() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipStats
-
Returns the value of the
currentCountrecord component. - currentDecisionTrace(DecisionTrace) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets the current decision trace for precedent matching.
- currentEpisode() - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns the value of the
currentEpisoderecord component. - currentEpisode(String) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- currentLease() - Static method in class com.tnsai.rag.KnowledgeScope
-
Active lease on this thread for explicit worker propagation.
- currentMessageEstimate(int) - Method in class com.tnsai.memory.strategy.TokenBudget.Builder
-
Sets estimated tokens for current user message.
- currentOptional() - Static method in class com.tnsai.observability.events.AgentContext
- currentSpendUSD() - Method in interface com.tnsai.reliability.DefaultResumableRun.CostMonitor
- currentStep() - Method in record class com.tnsai.reliability.Progress.Heartbeat
-
Returns the value of the
currentSteprecord component. - currentStep() - Method in record class com.tnsai.spi.CognitiveModel.Intention
-
Returns the value of the
currentSteprecord component. - currentTenantId() - Static method in class com.tnsai.context.TenantContext
-
Returns the tenant currently bound to this thread.
- currentUsage() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
-
Returns the value of the
currentUsagerecord component. - custom(String, Map<String, Object>) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a custom component.
- CUSTOM - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Custom event type
- CUSTOM - Enum constant in enum class com.tnsai.annotations.EvalMetric.MetricCategory
-
Custom user-defined metrics
- CUSTOM - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
- CUSTOM - Enum constant in enum class com.tnsai.context.entity.EntityType
-
Custom entity type for domain-specific use
- CUSTOM - Enum constant in enum class com.tnsai.events.ArtifactEvent.ArtifactType
- CUSTOM - Enum constant in enum class com.tnsai.security.approval.InterruptReason
-
Custom reason not covered by standard reasons.
- Custom Capabilities - Search tag in class com.tnsai.llm.ModelCapabilities
- Section
- CUSTOMER - Enum constant in enum class com.tnsai.context.entity.EntityType
-
Customer entity (from CRM, billing, etc.)
- Custom Executor Registration - Search tag in class com.tnsai.actions.ActionExecutor
- Section
- Custom Strategy Example - Search tag in interface com.tnsai.agents.groups.LeaderElectionStrategy
- Section
D
- DANGEROUS - Enum constant in enum class com.tnsai.annotations.InputGuardrail.ContentCategory
- data() - Method in record class com.tnsai.environment.Percept
-
Returns the value of the
datarecord component. - data() - Method in record class com.tnsai.models.chat.AudioPart
-
Returns the value of the
datarecord component. - data() - Method in record class com.tnsai.models.chat.ImagePart
-
Returns the value of the
datarecord component. - data() - Method in record class com.tnsai.models.chat.VideoPart
-
Returns the value of the
datarecord component. - data(String, Object) - Method in class com.tnsai.context.decision.DecisionInput.Builder
- DATABASE - Enum constant in enum class com.tnsai.annotations.Knowledge.Type
-
Rows ingested from a SQL or NoSQL database.
- DATABASE - Enum constant in enum class com.tnsai.annotations.MemorySpec.Persistence
-
SQL database
- DATABASE - Enum constant in enum class com.tnsai.tools.SideEffect
-
Reads or writes a database (SQL, NoSQL, cache, message broker).
- deactivate(String) - Method in class com.tnsai.skills.SkillSession
-
Detach an active skill — its body is no longer appended to the system prompt.
- DEAD_LETTER - Enum constant in enum class com.tnsai.protocols.annotations.MessageHandler.ErrorStrategy
-
Move message to dead letter queue
- DeadLetterEntry - Class in com.tnsai.resilience.dlq
-
Represents an operation failure that exhausted retries and fallbacks.
- DeadLetterEntry.Builder - Class in com.tnsai.resilience.dlq
- deadLetterQueue - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- deadLetterQueue(DeadLetterQueue) - Method in class com.tnsai.agents.resilience.AgentResilienceManager.Builder
-
Sets the dead letter queue.
- DeadLetterQueue - Interface in com.tnsai.resilience.dlq
-
Contract for storing failed operations that exceeded resilience policies.
- deadline() - Element in annotation interface com.tnsai.annotations.Goal
-
Deadline in ticks for achieving this goal.
- deadline() - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns the value of the
deadlinerecord component. - deadline() - Method in record class com.tnsai.rag.RetrievalRequest
-
Returns the value of the
deadlinerecord component. - deadline(Instant) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- deadline(Instant) - Method in class com.tnsai.rag.RetrievalRequest.Builder
- DEADLINE_EXCEEDED - Enum constant in enum class com.tnsai.tools.spi.ToolUserCanceledException.CancelReason
-
Confirmation prompt timed out without a response.
- Debate - Annotation Interface in com.tnsai.protocols.annotations
-
Enables multi-agent debate and consensus building for an Agent.
- DEBATE_CONSENSUS - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- DEBATE_COUNTER - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- DEBATE_DEADLOCK - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- DEBATE_OPINION - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- DEBATE_ROUND - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- DEBATE_START - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- DEBATE_VOTE - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- Debate.ConsensusStrategy - Enum Class in com.tnsai.protocols.annotations
-
Consensus strategy options.
- DEBUG - Enum constant in enum class com.tnsai.observability.events.EventLevel
- decayed() - Method in record class com.tnsai.memory.strategy.TieredMemoryStore.ConsolidationResult
-
Returns the value of the
decayedrecord component. - decayRate() - Method in enum class com.tnsai.memory.strategy.MemoryTier
-
How fast memories in this tier lose strength (higher = faster).
- decision() - Method in record class com.tnsai.security.audit.AuditEvent
-
Returns the value of the
decisionrecord component. - decision() - Method in record class com.tnsai.security.audit.AuditQuery
-
Returns the value of the
decisionrecord component. - decision(String) - Method in class com.tnsai.security.audit.AuditEvent.Builder
- decision(String) - Method in class com.tnsai.security.audit.AuditQuery.Builder
- DECISION - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- DecisionInput - Class in com.tnsai.context.decision
-
Represents what information was considered when making a decision.
- DecisionInput.Builder - Class in com.tnsai.context.decision
-
Builder for DecisionInput.
- Decision mapping - Search tag in class com.tnsai.hooks.external.ExternalScriptHook
- Section
- DecisionOutcome - Class in com.tnsai.context.decision
-
Represents the outcome of a decision and its effects.
- DecisionOutcome.Builder - Class in com.tnsai.context.decision
-
Builder for DecisionOutcome.
- DecisionOutcome.OutcomeError - Record Class in com.tnsai.context.decision
-
Represents an error in the outcome.
- DecisionOutcome.OutcomeStatus - Enum Class in com.tnsai.context.decision
-
Status of the decision outcome.
- DecisionPolicy - Class in com.tnsai.context.decision
-
Represents the rules and policies that guided a decision.
- DecisionPolicy.Builder - Class in com.tnsai.context.decision
-
Builder for DecisionPolicy.
- DecisionPolicy.PolicyRule - Record Class in com.tnsai.context.decision
-
Represents a policy rule.
- DecisionReasoning - Class in com.tnsai.context.decision
-
Represents the reasoning process behind a decision.
- DecisionReasoning.Alternative - Record Class in com.tnsai.context.decision
-
Represents an alternative that was considered.
- DecisionReasoning.Builder - Class in com.tnsai.context.decision
-
Builder for DecisionReasoning.
- DecisionReasoning.ReasoningStep - Record Class in com.tnsai.context.decision
-
Represents a step in the reasoning process.
- DecisionTrace - Class in com.tnsai.context.decision
-
Complete record of a decision for auditing and explanation.
- DecisionTrace.Builder - Class in com.tnsai.context.decision
-
Builder for DecisionTrace.
- DecisionTraceStatistics(int, int, int, int, Instant, Instant, Map<String, Integer>, Map<DecisionOutcome.OutcomeStatus, Integer>) - Constructor for record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Creates an instance of a
DecisionTraceStatisticsrecord class. - DecisionTraceStore - Interface in com.tnsai.context.decision
-
Interface for storing and retrieving decision traces.
- DecisionTraceStore.DecisionTraceStatistics - Record Class in com.tnsai.context.decision
-
Statistics about the decision trace store.
- DecisionTrigger - Record Class in com.tnsai.context.decision
-
Represents what initiated a decision.
- DecisionTrigger(DecisionTrigger.TriggerType, String, String, Instant, Map<String, Object>) - Constructor for record class com.tnsai.context.decision.DecisionTrigger
-
Compact constructor with validation.
- DecisionTrigger.TriggerType - Enum Class in com.tnsai.context.decision
-
Type of trigger that initiated the decision.
- declaration() - Method in record class com.tnsai.security.AccessRequest
-
Returns the value of the
declarationrecord component. - declared() - Method in record class com.tnsai.security.AccessDeclaration
- declared() - Method in record class com.tnsai.security.SecurityFeatures
- declared(Class<?>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Knowledge a role or agent class declares, in declaration order.
- declared(Class<?>, List<KnowledgeEntry>, String) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
The knowledge an agent class chats and acts with: what its
@AgentSpecdeclares, asKnowledgeDeclarations.declared(Class)reads it, withoverrideslayered over it by name. - declaresKnowledge(Class<?>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
- declaringClass() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns the value of the
declaringClassrecord component. - decode(byte[]) - Method in interface com.tnsai.reliability.DefaultResumableRun.StateCodec
- DECREMENT - Enum constant in enum class com.tnsai.annotations.Effect.Operation
-
Decrement numeric state by 1.
- dedupeThreshold() - Element in annotation interface com.tnsai.annotations.Search
-
Similarity threshold for deduplication.
- dedupeThreshold() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
dedupeThresholdrecord component. - dedupeThreshold() - Method in class com.tnsai.rag.SearchSettings
- dedupeThreshold(double) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- dedupeThreshold(double) - Method in class com.tnsai.rag.SearchSettings.Builder
- DedupingErrorReportPublisher - Class in com.tnsai.observability.errors
-
Decorator that suppresses repeat
ErrorReports of the sameErrorReport.fingerprint()within a configurable time window. - DedupingErrorReportPublisher(ErrorReportPublisher) - Constructor for class com.tnsai.observability.errors.DedupingErrorReportPublisher
-
Wraps
delegatewith theDedupingErrorReportPublisher.DEFAULT_WINDOWdedup interval (5 minutes). - DedupingErrorReportPublisher(ErrorReportPublisher, Duration) - Constructor for class com.tnsai.observability.errors.DedupingErrorReportPublisher
-
Wraps
delegatewith the given dedup window. - deduplicate() - Element in annotation interface com.tnsai.annotations.Search
-
Whether to deduplicate similar results.
- deduplicate() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
deduplicaterecord component. - deduplicate() - Method in class com.tnsai.rag.SearchSettings
- deduplicate(boolean) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- deduplicate(boolean) - Method in class com.tnsai.rag.SearchSettings.Builder
- DEEPSEEK - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
- DEFAULT - Static variable in record class com.tnsai.agents.groups.GroupPolicy
-
Default group policy with sensible defaults.
- DEFAULT - Static variable in record class com.tnsai.metadata.ContractConfig
-
Default configuration with no contracts.
- DEFAULT - Static variable in record class com.tnsai.metadata.MCPToolConfig
-
Default configuration matching @MCPTool annotation defaults.
- DEFAULT - Static variable in record class com.tnsai.metadata.WebServiceConfig
-
Default configuration matching @WebService annotation defaults.
- DEFAULT - Static variable in interface com.tnsai.models.agent.BeliefRevisionStrategy
-
Default strategy: prioritize newer beliefs.
- DEFAULT - Static variable in interface com.tnsai.models.agent.DesireConflictResolver
-
Default strategy: first wins.
- DEFAULT_CAPACITY - Static variable in class com.tnsai.observability.events.Breadcrumbs
-
Default ring buffer capacity.
- DEFAULT_CONFIDENCE - Static variable in record class com.tnsai.context.entity.EntityAttribute
-
Default confidence for attributes without explicit confidence.
- DEFAULT_CONFIDENCE - Static variable in class com.tnsai.models.agent.Belief
-
Default confidence level for beliefs without explicit confidence.
- DEFAULT_DIRECT_SHARE_PERCENT - Static variable in record class com.tnsai.rag.KnowledgeSelection
-
Share of the model input window DIRECT sources may fill by default.
- DEFAULT_EXTRACT_TIMEOUT_MILLIS - Static variable in class com.tnsai.rag.ContentExtractorRegistry
-
Default wall-clock bound on one provider call.
- DEFAULT_K - Static variable in class com.tnsai.memory.advanced.ReciprocalRankFusion
-
Default k constant. 60 is the standard value from the RRF paper.
- DEFAULT_KEY_PREFIX - Static variable in class com.tnsai.idempotency.RedisIdempotencyStore
-
Default key prefix; safe for sole-tenant Redis.
- DEFAULT_KEY_PREFIX - Static variable in class com.tnsai.reliability.RedisCheckpointStore
-
Default key prefix; safe for sole-tenant Redis.
- DEFAULT_KEY_PREFIX - Static variable in class com.tnsai.reliability.S3CheckpointStore
-
Default key prefix; objects land under this folder in the bucket.
- DEFAULT_MAX_BLOCK_CHARS - Static variable in record class com.tnsai.rag.ExtractionContext
-
Default maximum normalized text size per structural block.
- DEFAULT_MAX_BLOCKS - Static variable in record class com.tnsai.rag.ExtractionContext
-
Default maximum number of structural blocks per document.
- DEFAULT_MAX_BYTES - Static variable in class com.tnsai.prompt.ProjectContextLoader
-
Safety cap to avoid pulling huge files into the prompt.
- DEFAULT_MAX_CONTENT_CHARS - Static variable in record class com.tnsai.rag.ExtractionContext
-
Default maximum normalized document text size.
- DEFAULT_MAX_INPUT_BYTES - Static variable in record class com.tnsai.rag.ExtractionContext
-
Default maximum raw input size per extracted document.
- DEFAULT_MAX_STRUCTURAL_PATH_CHARS - Static variable in record class com.tnsai.rag.ExtractionContext
-
Default maximum structural path size per block.
- DEFAULT_MAX_TOTAL_BLOCK_CHARS - Static variable in record class com.tnsai.rag.ExtractionContext
-
Default maximum normalized text across all structural blocks.
- DEFAULT_MAX_TOTAL_METADATA_CHARS - Static variable in record class com.tnsai.rag.ExtractionContext
-
Default maximum scalar characters across one output's metadata.
- DEFAULT_MAX_TOTAL_METADATA_ENTRIES - Static variable in record class com.tnsai.rag.ExtractionContext
-
Default maximum metadata keys and values across one output.
- DEFAULT_MAX_TOTAL_STRUCTURAL_PATH_CHARS - Static variable in record class com.tnsai.rag.ExtractionContext
-
Default maximum path characters across all structural blocks.
- DEFAULT_PATH_KEYS - Static variable in class com.tnsai.agents.execution.ToolCallBatchPartitioner
-
Standard keys the default path extractor scans.
- DEFAULT_QUOTE_TTL - Static variable in class com.tnsai.payment.NoOpPaymentBroker
-
How long a quote stays valid by default.
- DEFAULT_REACHABILITY_TIMEOUT - Static variable in record class com.tnsai.agents.validation.ValidationContext
-
Default per-probe timeout used when callers don't supply one.
- DEFAULT_SHARED_NAMESPACE - Static variable in class com.tnsai.memory.AgentMemoryResolver
-
Global namespace used for
@Memory(shared = true)when no explicit namespace is set and the agent was not granted access to another namespace. - DEFAULT_SOURCE - Static variable in class com.tnsai.models.agent.Belief
-
Default source for beliefs without explicit source.
- DEFAULT_TABLE - Static variable in class com.tnsai.idempotency.PostgresIdempotencyStore
-
Default table name.
- DEFAULT_THRESHOLD - Static variable in class com.tnsai.memory.advanced.StalenessDetector
-
Default similarity threshold for contradiction detection.
- DEFAULT_TIMEOUT_MS - Static variable in record class com.tnsai.events.ApprovalRequestEvent
-
Default timeout for approval requests (30 seconds).
- DEFAULT_TIMEOUT_SECONDS - Static variable in class com.tnsai.utils.HttpClientFactory
-
Default timeout for connect, read, and write operations (in seconds)
- DEFAULT_WINDOW - Static variable in class com.tnsai.observability.errors.DedupingErrorReportPublisher
-
Default dedup window — matches industry-standard error trackers.
- defaultConfidence(double) - Method in class com.tnsai.context.entity.EntitySource.Builder
- DefaultMessageAcknowledger - Class in com.tnsai.communication
-
Default implementation of
MessageAcknowledger. - DefaultMessageAcknowledger(Consumer<AgentMessage>) - Constructor for class com.tnsai.communication.DefaultMessageAcknowledger
-
Creates a new acknowledger with the given message sender.
- DefaultMessageAcknowledger(Consumer<AgentMessage>, String) - Constructor for class com.tnsai.communication.DefaultMessageAcknowledger
-
Creates a new acknowledger with agent ID for tracking.
- defaultPolicy() - Static method in class com.tnsai.resilience.recovery.AgentRestartPolicy
- defaultPolicy() - Static method in class com.tnsai.resilience.RetryPolicy
- DefaultResumableRun<S> - Class in com.tnsai.reliability
-
Default
ResumableRunimplementation (TNS-299). - DefaultResumableRun.Builder<S> - Class in com.tnsai.reliability
- DefaultResumableRun.CostMonitor - Interface in com.tnsai.reliability
-
Optional cost-governance hook.
- DefaultResumableRun.StateCodec<S> - Interface in com.tnsai.reliability
-
Encodes / decodes the run's state to bytes for checkpoint persistence.
- DefaultResumableRun.Step<S> - Record Class in com.tnsai.reliability
-
One unit of work in the run.
- defaultRetryPolicy - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- defaults() - Static method in class com.tnsai.agents.async.ChatOptions
-
Creates default options.
- defaults() - Static method in class com.tnsai.agents.variant.VariantSelector
-
Creates a default selector with balanced settings.
- defaults() - Static method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Defaults matching
@InputGuardrail's field defaults (=InputGuardrailConfig.NONE). - defaults() - Static method in record class com.tnsai.guardrails.OutputGuardrailConfig
-
Defaults matching
@OutputGuardrail's field defaults (=OutputGuardrailConfig.NONE). - defaults() - Static method in record class com.tnsai.memory.MemoryConfig
-
The defaults of a bare
@MemorySpec()— conversation, capacity 100, sliding-window, in-memory. - defaults() - Static method in record class com.tnsai.memory.strategy.TieredContextLoader.TierConfig
-
Returns default configuration suitable for most use cases.
- defaults() - Static method in record class com.tnsai.prompt.PromptSpec
-
Creates default metadata.
- defaults() - Static method in record class com.tnsai.reliability.RunConfig
-
Sensible defaults for a multi-hour overnight run: 8h max, no cost ceiling (consumer wires cost-governance separately when needed), 5-minute checkpoint cap, 3 retries, 10-minute progress timeout.
- defaults() - Static method in record class com.tnsai.timeout.TimeoutPolicy
-
Sensible defaults rooted in observed production behaviour: LLM 60s (long generations), tool 30s (matches
Tool.getTimeout()default from #18), MCP 15s (interactive snappiness), channel 10s (rate-limited backoff happens above this). - defaultStyle() - Static method in record class com.tnsai.models.agent.Communication
-
Creates a default communication style.
- defaultValue() - Element in annotation interface com.tnsai.annotations.ToolParam
-
Default value as a string.
- defaultValue() - Method in record class com.tnsai.spi.ToolRegistry.ToolParameter
-
Returns the value of the
defaultValuerecord component. - defaultValue() - Method in record class com.tnsai.tools.method.ToolParameter
-
Returns the value of the
defaultValuerecord component. - Defining Actions - Search tag in package com.tnsai.actions
- Section
- degrade(String) - Static method in class com.tnsai.resilience.recovery.RecoveryDecision
- DEGRADE - Enum constant in enum class com.tnsai.resilience.recovery.RecoveryDecision.Action
- DEGRADED - Enum constant in enum class com.tnsai.agents.groups.MembershipManager.MemberHealth
- DEGRADED - Enum constant in enum class com.tnsai.resilience.recovery.AgentHealthState
- degradeThreshold(int) - Method in class com.tnsai.resilience.recovery.AgentRestartPolicy.Builder
- DELEGATE - Enum constant in enum class com.tnsai.communication.TaskMessageType
- delegates() - Method in class com.tnsai.observability.events.CompositeAgentEventPublisher
- delegateTo(AccessSubject, String, AuthorityScope) - Method in class com.tnsai.security.InvocationContext
-
Trusted host transfer to the actual recipient agent.
- delegateToChild(String, String, Map<String, Object>) - Method in class com.tnsai.agents.Agent
-
Delegates an action to a child agent.
- delegateToChild(String, String, Map<String, Object>) - Method in class com.tnsai.agents.hierarchy.AgentHierarchyManager
-
Delegates an action to a child agent.
- delete(String) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Deletes a trace by ID.
- delete(String) - Method in interface com.tnsai.context.entity.EntityResolver
-
Deletes an entity.
- delete(String) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Deletes a snapshot by ID.
- delete(String) - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Deletes a token.
- delete(String) - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- delete(String) - Method in interface com.tnsai.state.Checkpointer
-
Delete checkpoints for a thread.
- delete(String) - Method in class com.tnsai.state.FileCheckpointer
- delete(String) - Method in class com.tnsai.state.InMemoryCheckpointer
- DELETE - Enum constant in enum class com.tnsai.enums.HttpMethod
- deleteByAgent(String) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Deletes all traces for an agent.
- deleteByAgent(String) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Deletes all snapshots for an agent.
- deleteOlderThan(Instant) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Deletes traces older than a specified time.
- deleteOlderThan(Instant) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Deletes snapshots older than a specified time.
- deleteOlderThan(Instant) - Method in interface com.tnsai.security.audit.AuditStore
-
Deletes events older than the given cutoff.
- denied(String) - Static method in class com.tnsai.agents.execution.AgentToolExecutor.ToolCallResult
- DEPENDENCY_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Public package-registry lookup (no auth).
- derive(KeyStrategy, Map<String, Object>, String) - Static method in class com.tnsai.idempotency.IdempotencyKey
-
Compute the idempotency key for the given input under
strategy. - deriveKey(KeyStrategy, String, Map<String, Object>, IdempotencyKeySupplier) - Static method in class com.tnsai.idempotency.IdempotencyResolver
-
Compute the idempotency key for
(toolName, input)understrategy. - deriveNameFromClass(Class<?>) - Static method in class com.tnsai.agents.init.AgentInitializer
-
Derives a human-readable name from the agent's class name.
- deriveRoleName(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- describe(Object) - Static method in class com.tnsai.actions.ParamBeanMapper
-
Diagnostic: describe how the supplied bean would be mapped, without actually invoking accessors.
- description - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- description() - Method in record class com.tnsai.accountability.Action
-
Returns the value of the
descriptionrecord component. - description() - Method in class com.tnsai.agents.Agent
-
Returns the agent description from @AgentSpec (may be empty).
- description() - Element in annotation interface com.tnsai.agents.annotations.AgentIdentity
-
A human-readable description of the agent.
- description() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
descriptionrecord component. - description() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Description of what this action does.
- description() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Agent description.
- description() - Element in annotation interface com.tnsai.annotations.CompletionSignal
-
Description of what this completion signal indicates.
- description() - Element in annotation interface com.tnsai.annotations.EvalMetric
-
Human-readable description of what this metric measures.
- description() - Element in annotation interface com.tnsai.annotations.Goal
-
Human-readable description of this goal.
- description() - Element in annotation interface com.tnsai.annotations.Idempotent
-
Optional description explaining why this action is idempotent.
- description() - Element in annotation interface com.tnsai.annotations.Lifecycle
-
Description of what this lifecycle method does.
- description() - Element in annotation interface com.tnsai.annotations.LLMParam
-
Human-readable description for LLM.
- description() - Element in annotation interface com.tnsai.annotations.Norm
-
Human-readable description of the norm.
- description() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
Role description.
- description() - Element in annotation interface com.tnsai.annotations.SkillSpec
-
Human-readable description used for skill selection by the router.
- description() - Element in annotation interface com.tnsai.annotations.State
-
Description of what this state represents.
- description() - Element in annotation interface com.tnsai.annotations.Tool
-
Human-readable description that appears in the LLM tool catalog.
- description() - Element in annotation interface com.tnsai.annotations.ToolExample
-
Brief description of what this example demonstrates.
- description() - Element in annotation interface com.tnsai.annotations.ToolParam
-
Human-readable description surfaced to the LLM.
- description() - Method in record class com.tnsai.context.decision.DecisionPolicy.PolicyRule
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.context.decision.DecisionReasoning.ReasoningStep
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.context.decision.DecisionTrigger
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.environment.ActionOutcome
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.llm.ModelInfo
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.metadata.ActionConfig
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.prompt.PromptSpec
-
Returns the value of the
descriptionrecord component. - description() - Element in annotation interface com.tnsai.roles.annotations.RoleDeclaration
-
A longer description of the role.
- description() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.ResponsibilityInfo
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateInfo
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.skills.Skill
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.spi.CheckpointerFactory.ProviderInfo
-
Returns the value of the
descriptionrecord component. - description() - Method in interface com.tnsai.spi.CheckpointerProvider
-
Returns a human-readable description of this provider.
- description() - Method in record class com.tnsai.spi.CognitiveModel.Action
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.spi.CognitiveModel.Goal
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.spi.ToolRegistry.ToolParameter
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.spi.ToolRegistry.ToolRegistryEntry
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.tools.method.DynamicToolMethod
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.tools.method.StaticToolMethod
-
Returns the value of the
descriptionrecord component. - description() - Method in interface com.tnsai.tools.method.ToolMethod
-
Human-readable description.
- description() - Method in record class com.tnsai.tools.method.ToolParameter
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.tools.ToolExample
-
Returns the value of the
descriptionrecord component. - description(String) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the agent's human-readable description — programmatic parity for
AgentSpec.description()(TNS-534). - description(String) - Method in class com.tnsai.agents.groups.AgentGroupBuilder
-
Sets the group description.
- description(String) - Method in class com.tnsai.agents.groups.GroupTask.Builder
- description(String) - Method in class com.tnsai.llm.ModelInfo.Builder
- description(String) - Method in class com.tnsai.prompt.PromptSpec.Builder
- description(String) - Method in class com.tnsai.skills.Skill.Builder
- description(String) - Method in class com.tnsai.spi.ToolRegistry.ToolRegistryEntry.Builder
- description(String) - Method in class com.tnsai.tools.method.DynamicToolMethod.Builder
- description(String) - Method in class com.tnsai.tools.ToolExample.Builder
-
Sets the example description.
- deserialize(String, OutputFormat, Class<T>) - Method in class com.tnsai.output.OutputSerializerRegistry
-
Convenience method to deserialize data from a specific format.
- deserialize(String, Class<T>) - Method in class com.tnsai.output.impl.JsonOutputSerializer
- deserialize(String, Class<T>) - Method in class com.tnsai.output.impl.TextOutputSerializer
- deserialize(String, Class<T>) - Method in class com.tnsai.output.impl.TonlOutputSerializer
- deserialize(String, Class<T>) - Method in class com.tnsai.output.impl.ToonOutputSerializer
- deserialize(String, Class<T>) - Method in class com.tnsai.output.impl.YamlOutputSerializer
- deserialize(String, Class<T>) - Method in interface com.tnsai.output.OutputSerializer
-
Deserializes a string to an object of the specified type.
- deserializeList(String, Class<T>) - Method in class com.tnsai.output.impl.JsonOutputSerializer
- deserializeList(String, Class<T>) - Method in class com.tnsai.output.impl.TextOutputSerializer
- deserializeList(String, Class<T>) - Method in class com.tnsai.output.impl.TonlOutputSerializer
- deserializeList(String, Class<T>) - Method in class com.tnsai.output.impl.ToonOutputSerializer
- deserializeList(String, Class<T>) - Method in class com.tnsai.output.impl.YamlOutputSerializer
- deserializeList(String, Class<T>) - Method in interface com.tnsai.output.OutputSerializer
-
Deserializes a string to a list of objects.
- DESIGN_PROPOSAL - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- Design Principles - Search tag in class com.tnsai.agents.execution.LLMOrchestrator
- Section
- Design Principles - Search tag in class com.tnsai.context.entity.Entity
- Section
- Design Principles - Search tag in package com.tnsai.exceptions
- Section
- Design Principles - Search tag in package com.tnsai.models
- Section
- desire(Desire) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- Desire - Record Class in com.tnsai.models.agent
-
Represents a desire or goal that an agent wants to achieve.
- Desire(String, Priority, String) - Constructor for record class com.tnsai.models.agent.Desire
-
Creates an instance of a
Desirerecord class. - DESIRE - Enum constant in enum class com.tnsai.events.BDIUpdateEvent.BDIComponent
- desireAdded(Object) - Static method in record class com.tnsai.events.BDIUpdateEvent
-
Creates a desire add event.
- desireConflictResolver(DesireConflictResolver) - Method in class com.tnsai.agents.cognitive.CognitiveEngine.Builder
-
Sets the desire conflict resolver.
- DesireConflictResolver - Interface in com.tnsai.models.agent
-
Strategy interface for resolving conflicts between desires with the same priority.
- desireRemoved(int, Object) - Static method in record class com.tnsai.events.BDIUpdateEvent
-
Creates a desire remove event (goal achieved or abandoned).
- desires() - Method in record class com.tnsai.agents.cognitive.CognitiveEngine.BDISnapshot
-
Returns the value of the
desiresrecord component. - desires(List<Desire>) - Method in class com.tnsai.agents.cognitive.CognitiveEngine.Builder
-
Sets the static desires.
- desires(List<Desire>) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- desires(List<Desire>) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- desireUpdated(int, Object, Object) - Static method in record class com.tnsai.events.BDIUpdateEvent
-
Creates a desire update event.
- DESTROY - Enum constant in enum class com.tnsai.annotations.Lifecycle.Phase
-
Final cleanup.
- detachFromParent() - Method in class com.tnsai.agents.Agent
-
Internal: detaches from parent without triggering bidirectional updates.
- DETAILED - Enum constant in enum class com.tnsai.annotations.Communication.Verbosity
- DETAILED - Enum constant in enum class com.tnsai.annotations.Security.AuditLevel
-
Log everything including results
- DETAILED - Enum constant in enum class com.tnsai.enums.agent.Verbosity
- details() - Method in record class com.tnsai.context.decision.DecisionOutcome.OutcomeError
-
Returns the value of the
detailsrecord component. - details() - Method in record class com.tnsai.context.decision.DecisionReasoning.ReasoningStep
-
Returns the value of the
detailsrecord component. - details() - Method in record class com.tnsai.events.ErrorEvent
-
Returns the value of the
detailsrecord component. - detectAllContradictions(Collection<MemoryEntry>) - Method in class com.tnsai.memory.advanced.StalenessDetector
-
Detects all contradiction pairs within a collection.
- detectContentType(String) - Static method in class com.tnsai.context.assembler.TokenEstimator
-
Detects the content type of the text.
- detectContradictions(double) - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Detects contradictions: entries with similar content but from different sessions.
- detectContradictions(MemoryEntry, Collection<MemoryEntry>) - Method in class com.tnsai.memory.advanced.StalenessDetector
-
Detects entries in the collection that potentially contradict the given entry.
- detectInjection() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Whether to enable prompt injection detection.
- DETECTION - Enum constant in enum class com.tnsai.rag.DocumentProcessingException.Stage
- detectLanguage(String) - Static method in class com.tnsai.rag.NormalizedDocumentChunker
-
Derives the normalized language key from a file extension.
- detectOutputFormat(Class<?>) - Method in class com.tnsai.agents.output.AgentOutputFormatter
-
Detects the output format from class annotations.
- DEVELOPER_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
GitHub code-search + JShell.
- diagnostics() - Method in record class com.tnsai.rag.RetrievalResult
-
Returns the value of the
diagnosticsrecord component. - DIAGRAM_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Diagram-as-code rendering.
- did - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- did() - Method in class com.tnsai.agents.Agent
-
Returns the DID (Decentralized Identifier) for this agent.
- did() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
DID (Decentralized Identifier) configuration.
- did(DIDConfig) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the agent's decentralized identity configuration — programmatic parity for
AgentSpec.did()(TNS-534). - DID - Class in com.tnsai.identity
-
Decentralized Identifier (DID) according to W3C DID Core specification.
- DID(String) - Constructor for class com.tnsai.identity.DID
-
Constructor from DID string.
- DID(String, String) - Constructor for class com.tnsai.identity.DID
-
Constructor from components.
- DIDConfig - Record Class in com.tnsai.identity
-
Programmatic counterpart of
DIDSpec— the configuration an agent declares to derive itsDID(and, where supported, aDIDDocument). - DIDConfig(String, String, String, String, String, boolean, String) - Constructor for record class com.tnsai.identity.DIDConfig
-
Normalizes nulls to the same defaults the annotation declares so the record never carries
nullstring fields. - DIDDocument - Class in com.tnsai.identity
-
DID Document according to W3C DID Core specification.
- DIDDocument() - Constructor for class com.tnsai.identity.DIDDocument
- DIDDocument.ServiceEndpoint - Class in com.tnsai.identity
-
Service Endpoint.
- DIDDocument.VerificationMethod - Class in com.tnsai.identity
-
Verification Method.
- DID Format - Search tag in annotation interface com.tnsai.annotations.DIDSpec
- Section
- DIDResolver - Class in com.tnsai.identity
-
DID Resolver - Resolves DIDs to DID Documents.
- DIDResolver() - Constructor for class com.tnsai.identity.DIDResolver
- DIDResolver(Duration) - Constructor for class com.tnsai.identity.DIDResolver
- DIDSpec - Annotation Interface in com.tnsai.annotations
-
Configures W3C Decentralized Identifier (DID) for agent identity.
- DIDSpec.KeyType - Enum Class in com.tnsai.annotations
-
Supported key types for DID cryptography.
- diff(ContextSnapshot) - Method in class com.tnsai.context.snapshot.ContextSnapshot
-
Computes the difference between this snapshot and another.
- DiffSummary(int, int, int, int, int, Duration) - Constructor for record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
-
Creates an instance of a
DiffSummaryrecord class. - digest(Throwable) - Static method in class com.tnsai.observability.errors.StackTraceNormalizer
-
Compute a SHA-256 digest of the normalized stack trace, truncated to 16 hex chars (64 bits).
- digestOf(String) - Static method in class com.tnsai.observability.errors.StackTraceNormalizer
-
Digest of an already-normalized stack string.
- dimension() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
The embedding dimension.
- dimensions() - Element in annotation interface com.tnsai.annotations.Memory.Vector
-
Vector dimensions.
- DIRECT - Enum constant in enum class com.tnsai.annotations.Knowledge.Use
-
The whole source enters the context.
- DIRECT - Enum constant in enum class com.tnsai.protocols.annotations.MessageType
-
Direct messages between agents.
- DIRECT - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- Direct instantiation - Search tag in enum class com.tnsai.enums.BuiltInTool
- Section
- DirectMessage - Annotation Interface in com.tnsai.protocols.annotations
-
Enables direct point-to-point messaging for an Agent or Role.
- disableModelInvocation() - Method in record class com.tnsai.skills.Skill
-
Returns the value of the
disableModelInvocationrecord component. - disableModelInvocation(boolean) - Method in class com.tnsai.skills.Skill.Builder
- discover() - Static method in interface com.tnsai.agents.groups.AgentGroupFactory
-
Discovers an AgentGroupFactory via ServiceLoader.
- discover() - Static method in interface com.tnsai.context.ContextManagerHandle.Factory
-
Discovers a Factory via ServiceLoader.
- discover() - Static method in interface com.tnsai.eval.hooks.EvalHandle.Factory
-
Discovers a Factory via ServiceLoader.
- discover() - Static method in interface com.tnsai.feedback.FeedbackCollector.Factory
-
Discovers a Factory via ServiceLoader.
- discover() - Static method in interface com.tnsai.invariants.InvariantCheckerHandle.Factory
-
Discovers a Factory via ServiceLoader.
- discover() - Static method in interface com.tnsai.llm.LLMClientProvider
-
Discovers the first available LLMClientProvider via ServiceLoader.
- discover() - Static method in interface com.tnsai.planning.PlannerHandle.Factory
-
Discovers a Factory via ServiceLoader.
- discover() - Static method in interface com.tnsai.protocols.ProtocolManagerHandle.Factory
-
Discovers a Factory via ServiceLoader.
- discover() - Static method in class com.tnsai.rag.ContentExtractorRegistry
-
Discovers providers visible to the core contract's defining classloader.
- discover() - Static method in interface com.tnsai.rag.RetrievalEngineProvider
-
Discovers the first installed provider through
SpiLoader. - discover() - Static method in interface com.tnsai.reasoning.ReasoningStrategyHandle.Factory
-
Discovers a Factory via ServiceLoader.
- discover() - Static method in interface com.tnsai.security.audit.AuditStore
-
Discovers an AuditStore via ServiceLoader.
- discover() - Static method in interface com.tnsai.security.PermissionProvider
-
Discovers a PermissionProvider via ServiceLoader.
- discover() - Static method in interface com.tnsai.security.SecurityEnforcerHandle.Factory
-
Discovers a Factory via ServiceLoader.
- discoverActions(Role) - Static method in class com.tnsai.actions.ActionDiscovery
-
Discovers all actions from a Role instance.
- discoverActions(Class<?>) - Static method in class com.tnsai.actions.ActionDiscovery
-
Discovers all actions from a Role class.
- DiscoveredRoleActions - Class in com.tnsai.metadata
-
Immutable container for actions discovered from a Role class via reflection.
- DiscoveredRoleActions(Class<?>, List<ActionMetadata>) - Constructor for class com.tnsai.metadata.DiscoveredRoleActions
-
Creates a container for discovered role actions.
- discoverMcpToolsAtStartup() - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Discovers MCP tools at startup from all MCP_TOOL actions in roles.
- discoverTools(String, String) - Method in class com.tnsai.actions.executors.McpToolExecutor
-
Discovers tools from an MCP endpoint and returns them as LLM tool definitions.
- Discovery rules - Search tag in class com.tnsai.tools.method.ToolMethodRegistry
- Section
- discuss(String, int) - Method in class com.tnsai.agents.async.AsyncMsgHub
-
Runs a discussion round where each agent responds to the previous.
- dispatch(E) - Method in class com.tnsai.hooks.HookDispatcher
-
Run the hook chain for
eventand return the final decision. - dispatch(String, TnsAIEvent) - Method in class com.tnsai.events.handler.EventHandlerRegistry
-
Dispatches an event to all matching handlers.
- dispatch(String, Map<String, Object>) - Method in class com.tnsai.tools.method.ToolMethodDispatcher
-
Resolve, dispatch.
- dispatchBroadcast(AgentMessage, String) - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Dispatches a broadcast message to registered callbacks.
- DISPATCHED_MESSAGE_PREFIX - Static variable in class com.tnsai.actions.Actions
-
Stable message prefix so log greps and test assertions don't break on a rewording.
- dispatchedByFramework() - Static method in class com.tnsai.actions.Actions
-
Returns a
RuntimeExceptiondescribing the bypass. - dispatchedByFramework(String, String) - Static method in class com.tnsai.actions.Actions
-
Returns a contextualised variant that names the role + method in the message.
- dispatchMessage(AgentMessage) - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Dispatches a direct message to registered callbacks.
- dispatchProtocolMessage(Message) - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Dispatches a protocol message to registered callbacks.
- dispatchPubSub(AgentMessage, String) - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Dispatches a PubSub message to registered callbacks.
- dispatchReply(AgentMessage) - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Dispatches a reply message to registered callbacks.
- dispatchRequest(AgentMessage) - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Dispatches a request message to registered callbacks.
- dispatchType() - Method in record class com.tnsai.hooks.events.OnCapabilityDispatch
-
Returns the value of the
dispatchTyperecord component. - DISPLAY_BODY_METADATA_KEY - Static variable in enum class com.tnsai.rag.ChunkContext
-
Metadata key holding the original chunk body when a prefix is indexed.
- dissolve() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Dissolves the group permanently.
- DISSOLVED - Enum constant in enum class com.tnsai.agents.groups.GroupLifecycle
-
Group is permanently dissolved.
- DISSOLVING - Enum constant in enum class com.tnsai.agents.groups.GroupLifecycle
-
Group is being dissolved.
- Distributed Checkpointing - Search tag in package com.tnsai.state
- Section
- DIVIDE - Enum constant in enum class com.tnsai.annotations.Effect.Operation
-
Divide numeric state by value.
- dnsResolutionFailed(String, Throwable) - Static method in exception class com.tnsai.exceptions.NetworkException
-
Factory method for DNS resolution failures.
- DOB - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.PIIType
- DOCLING_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Advanced document parsing through an optional Docling runtime.
- Document - Class in com.tnsai.knowledge
-
Represents a document or document chunk in a knowledge base.
- DOCUMENT - Enum constant in enum class com.tnsai.context.entity.EntityType
-
Document entity
- DOCUMENT - Enum constant in enum class com.tnsai.rag.KnowledgeUnit
-
The whole file is one document, chunking suppressed, and a file over the chunker limits fails at ingest rather than being split behind the declaration.
- DOCUMENT_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Office document + image conversions.
- Document.Builder - Class in com.tnsai.knowledge
-
Builder for creating Document instances.
- DocumentBlock - Record Class in com.tnsai.rag
-
One structurally addressable block within an extracted document.
- DocumentBlock(String, String, Map<String, Object>) - Constructor for record class com.tnsai.rag.DocumentBlock
-
Creates an instance of a
DocumentBlockrecord class. - documentCount() - Method in record class com.tnsai.rag.KnowledgeUsage
-
Returns the value of the
documentCountrecord component. - documentFilters(Map<String, String>) - Static method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns only document predicates, excluding reserved chat lifecycle fields that exist for live-source dispatch and cache isolation.
- DocumentFormat - Enum Class in com.tnsai.rag
-
Canonical content format for a file-backed knowledge source.
- documentId() - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Returns the value of the
documentIdrecord component. - documentId() - Method in record class com.tnsai.rag.RetrievalEvidence.Provenance
-
Returns the value of the
documentIdrecord component. - DocumentInput - Record Class in com.tnsai.rag
-
Immutable byte input passed to a
ContentExtractorafter detection. - DocumentInput(String, byte[], DocumentFormat, String, URI, Map<String, Object>) - Constructor for record class com.tnsai.rag.DocumentInput
-
Creates an instance of a
DocumentInputrecord class. - documentNotFound(String) - Static method in exception class com.tnsai.knowledge.KnowledgeBaseException
-
Factory method for document not found errors.
- DocumentProcessingException - Exception Class in com.tnsai.rag
-
Typed failure for document detection, extraction, and chunking.
- DocumentProcessingException(DocumentProcessingException.Stage, String, URI, DocumentFormat, String) - Constructor for exception class com.tnsai.rag.DocumentProcessingException
-
Creates a typed document-processing failure.
- DocumentProcessingException(DocumentProcessingException.Stage, String, URI, DocumentFormat, String, Throwable) - Constructor for exception class com.tnsai.rag.DocumentProcessingException
-
Creates a typed document-processing failure with an underlying cause.
- DocumentProcessingException.Stage - Enum Class in com.tnsai.rag
-
Stable stages across the document-ingestion pipeline.
- DOCX - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
Office Open XML word-processing document.
- domain() - Element in annotation interface com.tnsai.annotations.DIDSpec
-
Domain name for web-based DIDs.
- domain() - Method in record class com.tnsai.identity.DIDConfig
-
Returns the value of the
domainrecord component. - domain() - Element in annotation interface com.tnsai.roles.annotations.RoleDeclaration
-
The domain or area of expertise for this role.
- domain(String) - Method in class com.tnsai.roles.RoleBuilder
- domains() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
Domains this role operates in.
- done(ChatChunk.FinishReason, int) - Static method in class com.tnsai.llm.ChatChunk
-
Creates a DONE chunk indicating successful completion.
- done(ChatChunk.FinishReason, int, String, String) - Static method in class com.tnsai.llm.ChatChunk
-
Creates a DONE chunk with full metadata.
- DONE - Enum constant in enum class com.tnsai.llm.ChatChunk.ChunkType
-
Stream completed successfully
- DOT_PRODUCT - Enum constant in enum class com.tnsai.annotations.Memory.Vector.Metric
- DRIVER_LICENSE - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.PIIType
- Durability - Search tag in class com.tnsai.reliability.FilesystemCheckpointStore
- Section
- Durability - Search tag in interface com.tnsai.reliability.CheckpointStore
- Section
- durationMillis() - Method in record class com.tnsai.agents.async.ChatEvent.Completed
-
Returns the value of the
durationMillisrecord component. - durationMs() - Method in record class com.tnsai.events.RunEndEvent
-
Returns the value of the
durationMsrecord component. - durationMs() - Method in record class com.tnsai.events.ToolCallEndEvent
-
Returns the value of the
durationMsrecord component. - durationMs() - Method in record class com.tnsai.llm.ParallelLLM.LLMResult
-
Returns the value of the
durationMsrecord component. - DUTCH_AUCTION - Enum constant in enum class com.tnsai.annotations.Coordination.NegotiationType
-
Dutch auction - descending price.
- dynamicBeliefs() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns the dynamic beliefs (added at runtime).
- dynamicDesires() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns the dynamic desires (added at runtime).
- dynamicIntentions() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns the dynamic intentions (added at runtime).
- Dynamic Intentions - Search tag in class com.tnsai.models.agent.Intention
- Section
- dynamicTool(DynamicToolMethod) - Method in class com.tnsai.agents.AgentBuilder
-
Adds a
DynamicToolMethod— a tool whose name, description, schema, and dispatch handler are all supplied at construction time. - DynamicToolMethod - Record Class in com.tnsai.tools.method
-
A
ToolMethodwhose name, description, JSON-Schema, and dispatch handler are all supplied at construction time — no @Toolannotation, no reflectedMethod. - DynamicToolMethod(String, String, boolean, boolean, List<String>, Map<String, Object>, DynamicToolMethod.Handler) - Constructor for record class com.tnsai.tools.method.DynamicToolMethod
-
Registrations without an execution policy retain existing security behavior.
- DynamicToolMethod(String, String, boolean, boolean, List<String>, Map<String, Object>, DynamicToolMethod.Handler, ExecutionRule) - Constructor for record class com.tnsai.tools.method.DynamicToolMethod
-
Creates an instance of a
DynamicToolMethodrecord class. - DynamicToolMethod(String, String, boolean, Map<String, Object>, DynamicToolMethod.Handler) - Constructor for record class com.tnsai.tools.method.DynamicToolMethod
-
Backward-compatible 5-arg constructor (pre-0.11.1 signature).
- DynamicToolMethod.Builder - Class in com.tnsai.tools.method
-
Fluent builder — the ergonomic way to set the safety/discovery fields (TNS-556).
- DynamicToolMethod.Handler - Interface in com.tnsai.tools.method
-
Dispatch callback for a
DynamicToolMethod. - dynamicTools(List<DynamicToolMethod>) - Method in class com.tnsai.agents.AgentBuilder
-
Adds a batch of
DynamicToolMethods.
E
- E2B_SANDBOX_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Remote sandboxed code execution via E2B.
- ED25519 - Enum constant in enum class com.tnsai.annotations.DIDSpec.KeyType
-
Ed25519 signature key (default)
- effect(String) - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- Effect - Annotation Interface in com.tnsai.annotations
-
Defines a structured effect (state modification) for planning.
- Effect.Operation - Enum Class in com.tnsai.annotations
-
Effect operations for state modification.
- effectiveToolName(String) - Method in record class com.tnsai.metadata.MCPToolConfig
-
Gets the effective tool name (falls back to action method name).
- effects() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Structured effects for fine-grained planning.
- effects() - Method in record class com.tnsai.metadata.ContractConfig
-
Returns the value of the
effectsrecord component. - effects(List<String>) - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- elapsed() - Method in record class com.tnsai.hooks.events.PostAction
-
Returns the value of the
elapsedrecord component. - elapsed() - Method in record class com.tnsai.hooks.events.PostChat
-
Returns the value of the
elapsedrecord component. - elapsed() - Method in record class com.tnsai.rag.RetrievalDiagnostics
-
Returns the value of the
elapsedrecord component. - elapsedMillis() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.TimeoutInterrupt
-
Returns the value of the
elapsedMillisrecord component. - elect(List<Agent>) - Method in interface com.tnsai.agents.groups.LeaderElectionStrategy
-
Selects a leader from the given members.
- electionStrategy() - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Returns the value of the
electionStrategyrecord component. - electionStrategy(LeaderElectionStrategy) - Method in class com.tnsai.agents.groups.GroupPolicy.Builder
- electLeader() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Elects a leader among members using the configured strategy.
- electLeader(LeaderElectionStrategy) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Elects a leader using a specific strategy.
- electOptional(List<Agent>) - Method in interface com.tnsai.agents.groups.LeaderElectionStrategy
-
Selects a leader, returning Optional.
- EMAIL - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.PIIType
- EMAIL - Enum constant in enum class com.tnsai.context.entity.EntitySource.SourceType
-
Email system
- EMAIL_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Email via SMTP and Gmail API.
- embed(String) - Method in interface com.tnsai.memory.advanced.EmbeddingFunction
-
Computes an embedding vector for the given text.
- embedding(float[]) - Method in class com.tnsai.knowledge.Document.Builder
-
Sets the document embedding.
- embeddingApiKeyEnv() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
Environment variable name for the embedding API key.
- Embedding Configuration - Search tag in annotation interface com.tnsai.annotations.VectorMemory
- Section
- embeddingDimensionMismatch(int, int) - Static method in exception class com.tnsai.knowledge.KnowledgeBaseException
-
Factory method for embedding dimension mismatch.
- EmbeddingDimensionMismatchException - Exception Class in com.tnsai.memory.advanced
-
Raised when an embedding vector does not match the dimension of its target.
- EmbeddingDimensionMismatchException(int, int) - Constructor for exception class com.tnsai.memory.advanced.EmbeddingDimensionMismatchException
-
Creates a dimension mismatch failure.
- EmbeddingFunction - Interface in com.tnsai.memory.advanced
-
Functional interface for computing text embeddings.
- EmbeddingFunctions - Class in com.tnsai.memory.advanced
-
Decorators for composing
EmbeddingFunctioninstances. - embeddingModel() - Element in annotation interface com.tnsai.annotations.Memory.Vector
-
Embedding model to use.
- embeddingModel() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
The embedding model to use.
- embeddingProvider() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
The embedding provider to use.
- EMPATHETIC - Enum constant in enum class com.tnsai.annotations.Communication.Tone
- EMPATHETIC - Enum constant in enum class com.tnsai.enums.agent.Tone
- empty() - Static method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Creates an empty configuration (no groups).
- empty() - Static method in class com.tnsai.context.decision.DecisionPolicy
-
Creates an empty policy (no rules).
- empty() - Static method in record class com.tnsai.observability.events.EventContext
-
Empty context — used when no agent is active in the current thread.
- empty() - Static method in record class com.tnsai.rag.RetrievalDiagnostics
-
Returns diagnostics for an immediate empty, uncached result.
- empty() - Static method in record class com.tnsai.rag.RetrievalResult
-
Returns a successful empty retrieval outcome.
- empty() - Static method in record class com.tnsai.spi.FlagContext
- empty(String) - Static method in record class com.tnsai.agents.groups.GroupMetrics
-
Creates empty metrics for a new group.
- empty(String) - Static method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
- EMPTY - Enum constant in enum class com.tnsai.exceptions.KnowledgeNotReadyException.Problem
-
The configured file loads no unit.
- EMPTY - Static variable in record class com.tnsai.rag.ChatKnowledgeContext.Turn
-
A turn that gives nothing.
- EMPTY - Static variable in record class com.tnsai.rag.KnowledgeSelection
-
A scope that sees no knowledge.
- enableCompression(boolean) - Method in class com.tnsai.state.FileCheckpointer.Builder
-
Enable or disable GZIP compression.
- enableContextGraph(SnapshotStore, DecisionTraceStore) - Method in class com.tnsai.agents.Agent
-
Enables context graph tracking (decision tracing + snapshots).
- enableContextGraph(SnapshotStore, DecisionTraceStore) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- enabled() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Whether this source is ingested at all.
- enabled() - Element in annotation interface com.tnsai.annotations.Memory.Conversation
-
Whether conversation memory is enabled.
- enabled() - Element in annotation interface com.tnsai.annotations.Memory.Persistence
-
Whether persistence is enabled.
- enabled() - Element in annotation interface com.tnsai.annotations.Memory.Vector
-
Whether vector memory is enabled.
- enabled() - Element in annotation interface com.tnsai.annotations.Resilience.CircuitBreaker
-
Whether circuit breaker is enabled.
- enabled() - Element in annotation interface com.tnsai.annotations.Resilience.RateLimit
-
Whether rate limiting is enabled.
- enabled() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
enabledrecord component. - enabled(boolean) - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
- enableStreaming(boolean) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- encode(S) - Method in interface com.tnsai.reliability.DefaultResumableRun.StateCodec
- ENCODING_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
QR codes + translation.
- encrypt() - Element in annotation interface com.tnsai.annotations.Memory.Persistence
-
Whether to encrypt stored data.
- encryptParams() - Element in annotation interface com.tnsai.annotations.Security
-
Whether to encrypt action parameters in transit.
- encryptParams() - Method in record class com.tnsai.security.SecurityFeatures
-
Returns the value of the
encryptParamsrecord component. - encryptResult() - Element in annotation interface com.tnsai.annotations.Security
-
Whether to encrypt action result in transit.
- encryptResult() - Method in record class com.tnsai.security.SecurityFeatures
-
Returns the value of the
encryptResultrecord component. - endConversation() - Method in interface com.tnsai.context.ContextManagerHandle
- ENDED - Enum constant in enum class com.tnsai.agents.async.SessionManager.SessionState
- endLine() - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Returns the value of the
endLinerecord component. - endpoint() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
API endpoint URL override.
- endpoint() - Element in annotation interface com.tnsai.annotations.WebService
-
The HTTP endpoint URL.
- endpoint() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
endpointrecord component. - endpoint() - Element in annotation interface com.tnsai.protocols.annotations.DirectMessage
-
Remote endpoint URL.
- endpoint() - Element in annotation interface com.tnsai.protocols.annotations.RequestReply
-
Remote endpoint URL.
- endSession(String) - Method in class com.tnsai.agents.async.SessionManager
-
Ends a session.
- enforce(ActionMetadata, Role, Object) - Static method in class com.tnsai.guardrails.OutputGuardrailEnforcer
-
Enforces the (possibly inherited) output guardrail on
result. - enforce(ActionMetadata, Role, Map<String, Object>) - Static method in class com.tnsai.guardrails.InputGuardrailEnforcer
-
Enforces the (possibly inherited) input guardrail on
params. - enforce(ActionMetadata, Role, Map<String, Object>, Map<String, Object>) - Method in interface com.tnsai.rag.RetrievalSpi
-
Resolves the knowledge the given action names (it may name none) and, if any, gives or searches it against the host's declared knowledge according to each entry's
use. - enforce(ActionMetadata, Object, Map<String, Object>, Map<String, Object>) - Method in interface com.tnsai.rag.RetrievalSpi
-
Same contract as
RetrievalSpi.enforce(ActionMetadata, Role, Map, Map)for a target that is not aRole. - enforceAccess(AccessRequest) - Method in interface com.tnsai.security.SecurityEnforcerHandle
-
Canonical role-independent access evaluation.
- enforceAccessControl(ActionMetadata, Role, String, Set<String>) - Method in interface com.tnsai.security.SecurityEnforcerHandle
-
Enforces access control based on @Security annotation.
- enforceForTarget(ActionMetadata, Object, Object) - Static method in class com.tnsai.guardrails.OutputGuardrailEnforcer
-
Enforces method- or class-level output guardrails for a generic action target.
- enforceForTarget(ActionMetadata, Object, Map<String, Object>) - Static method in class com.tnsai.guardrails.InputGuardrailEnforcer
-
Enforces method- or class-level input guardrails for a generic action target.
- ENGINE_CLOSED - Enum constant in enum class com.tnsai.rag.RetrievalException.Reason
-
Retrieval was attempted on a closed engine.
- ENGLISH_AUCTION - Enum constant in enum class com.tnsai.annotations.Coordination.NegotiationType
-
English auction - ascending price.
- enhance(String) - Method in class com.tnsai.prompt.strategy.PromptEnhancer
-
Enhances a user message with configured strategies.
- Enhanced Belief Properties (v2.0) - Search tag in class com.tnsai.models.agent.Belief
- Section
- EnhancedPrompt - Class in com.tnsai.prompt.strategy
-
Result of enhancing a prompt with strategies.
- EnhancedPrompt(String, String, List<PromptStrategy>, PromptEnhancer.OutputFormat) - Constructor for class com.tnsai.prompt.strategy.EnhancedPrompt
- EnhancedResponse - Class in com.tnsai.prompt.strategy
-
Parsed response from an enhanced prompt.
- EnhancedResponse.ThinkingPhase - Record Class in com.tnsai.prompt.strategy
-
Record for thinking phases (UNDERSTAND, ANALYZE, STRATEGIZE, EXECUTE).
- enqueue(DeadLetterEntry) - Method in interface com.tnsai.resilience.dlq.DeadLetterQueue
-
Stores a failed entry.
- enqueue(DeadLetterEntry) - Method in class com.tnsai.resilience.dlq.InMemoryDeadLetterQueue
- enrich(Throwable) - Static method in class com.tnsai.exceptions.ThrowableContextDecorator
-
Attach the current
AgentContexttotif it isn't already context-aware. - ensemble(String, List<LLMClient>, LLMClient) - Static method in class com.tnsai.llm.ParallelLLM
-
Gets responses from multiple LLMs and combines them using an aggregator LLM.
- ensembleChat(String, List<LLMClient>, LLMClient) - Method in class com.tnsai.agents.ensemble.AgentEnsembleExecutor
-
Sends message to multiple LLMs and combines responses using an aggregator LLM.
- ensureConversation() - Method in interface com.tnsai.context.ContextManagerHandle
-
Starts a conversation if none is active and returns the current ID.
- ensureEvalContext() - Method in class com.tnsai.agents.Agent
- ensureEvalContext() - Method in class com.tnsai.agents.AgentCognitiveSupport
- ensureEvalContext() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- ensureEvalContext() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- ensureLoaded() - Static method in class com.tnsai.config.EnvLoader
-
Ensure .env file is loaded.
- enter(EventContext) - Static method in class com.tnsai.observability.events.AgentContext
-
Pushes the given context for the lifetime of the returned
AgentContext.Scope. - enter(String) - Static method in class com.tnsai.context.TenantContext
-
Binds a tenant for the lifetime of the returned scope.
- entities(List<Entity>) - Method in class com.tnsai.context.decision.DecisionInput.Builder
- entities(List<Entity>) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- entitiesAdded() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
-
Returns the value of the
entitiesAddedrecord component. - entitiesBySource() - Method in record class com.tnsai.context.entity.EntityResolver.ResolverStatistics
-
Returns the value of the
entitiesBySourcerecord component. - entitiesByType() - Method in record class com.tnsai.context.entity.EntityResolver.ResolverStatistics
-
Returns the value of the
entitiesByTyperecord component. - entitiesChanged() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns true if entities changed.
- entitiesRemoved() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
-
Returns the value of the
entitiesRemovedrecord component. - entitiesWithConflicts() - Method in record class com.tnsai.context.entity.EntityResolver.ResolverStatistics
-
Returns the value of the
entitiesWithConflictsrecord component. - entity(Entity) - Method in class com.tnsai.context.decision.DecisionInput.Builder
- entity(Entity) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- Entity - Class in com.tnsai.context.entity
-
Represents a unified entity resolved from multiple sources.
- Entity.Builder - Class in com.tnsai.context.entity
-
Builder for Entity.
- EntityAttribute - Record Class in com.tnsai.context.entity
-
An entity attribute with provenance tracking.
- EntityAttribute(String, Object, String, double, Instant, List<EntityAttribute.AttributeHistory>) - Constructor for record class com.tnsai.context.entity.EntityAttribute
-
Compact constructor with validation.
- EntityAttribute.AttributeHistory - Record Class in com.tnsai.context.entity
-
Historical record of attribute changes.
- EntityResolutionResult - Record Class in com.tnsai.context.entity
-
Result of entity resolution, including confidence and alternatives.
- EntityResolutionResult(Entity, double, List<Entity>, List<String>, EntityResolutionResult.ResolutionStatus, String) - Constructor for record class com.tnsai.context.entity.EntityResolutionResult
-
Compact constructor with validation.
- EntityResolutionResult.ResolutionStatus - Enum Class in com.tnsai.context.entity
-
Resolution status enumeration.
- EntityResolver - Interface in com.tnsai.context.entity
-
Interface for resolving entities across multiple sources.
- EntityResolver.ResolverStatistics - Record Class in com.tnsai.context.entity
-
Statistics about the entity resolver.
- EntitySource - Class in com.tnsai.context.entity
-
Represents a source system that provides entity data.
- EntitySource.Builder - Class in com.tnsai.context.entity
-
Builder for EntitySource.
- EntitySource.SourceType - Enum Class in com.tnsai.context.entity
-
Source type enumeration.
- EntityType - Enum Class in com.tnsai.context.entity
-
Entity type enumeration for categorizing resolved entities.
- entries() - Method in record class com.tnsai.rag.KnowledgeSelection
-
Returns the value of the
entriesrecord component. - entries(Knowledge.Use) - Method in record class com.tnsai.rag.KnowledgeSelection
- entry() - Method in record class com.tnsai.memory.advanced.ScoredEntry
-
Returns the value of the
entryrecord component. - ENV_PREFIX - Static variable in class com.tnsai.flags.EnvFeatureFlag
- EnvFeatureFlag - Class in com.tnsai.flags
-
Env-backed
FeatureFlag(TAN-3392). - EnvFeatureFlag() - Constructor for class com.tnsai.flags.EnvFeatureFlag
- EnvFeatureFlag(Function<String, String>) - Constructor for class com.tnsai.flags.EnvFeatureFlag
- environment() - Method in record class com.tnsai.skills.ActiveSkill
-
Returns the value of the
environmentrecord component. - environment(Map<String, String>) - Method in class com.tnsai.hooks.external.ExternalScriptHook.Builder
- Environment - Search tag in class com.tnsai.hooks.external.ExternalScriptHook
- Section
- Environment - Interface in com.tnsai.environment
-
Abstraction for the agent's external environment.
- EnvLoader - Class in com.tnsai.config
-
Utility class for loading environment variables from .env file.
- EnvLoader() - Constructor for class com.tnsai.config.EnvLoader
- Ephemeral - Annotation Interface in com.tnsai.annotations
-
Marks an action as producing ephemeral outputs that should not accumulate in context.
- EPISODIC - Enum constant in enum class com.tnsai.annotations.MemorySpec.MemoryType
-
Long-term episodic memory
- EPISODIC - Enum constant in enum class com.tnsai.memory.strategy.MemoryTier
-
Compressed session summaries, key events.
- EPUB - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
EPUB publication.
- equals(Object) - Method in record class com.tnsai.accountability.Action
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.accountability.AuditQuery
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.accountability.AuthorityScope
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.accountability.ReputationScore
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.actions.model.ActionRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.actions.model.ActionResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.async.ChatEvent.Completed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.async.ChatEvent.Error
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.async.ChatEvent.Started
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.async.ChatEvent.Token
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.async.ChatEvent.ToolCall
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.async.ChatEvent.ToolResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.cognitive.CognitiveEngine.BDISnapshot
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.execution.MemoryManager.AgentCheckpoint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.execution.ToolCallAction.Allow
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.execution.ToolCallAction.Block
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.execution.ToolCallAction.Fallback
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.execution.ToolCallAction.Guide
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.groups.GroupEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.groups.GroupTask
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipHistoryEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipValidation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ErrorInterrupt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ExternalInterrupt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.interrupt.InterruptEvent.TimeoutInterrupt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.interrupt.InterruptEvent.UserInterrupt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.validation.Location
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.validation.ValidationContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.validation.ValidationIssue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.validation.ValidationReport
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.variant.VariantManager.VariantChangeEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.agents.variant.VariantSelector.SelectionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.communication.SharedBlackboard.VoteResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.decision.DecisionOutcome.OutcomeError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.decision.DecisionPolicy.PolicyRule
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.decision.DecisionReasoning.Alternative
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.decision.DecisionReasoning.ReasoningStep
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.tnsai.context.decision.DecisionTrace
- equals(Object) - Method in record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.decision.DecisionTrigger
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.tnsai.context.entity.Entity
- equals(Object) - Method in record class com.tnsai.context.entity.EntityAttribute.AttributeHistory
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.entity.EntityAttribute
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.entity.EntityResolver.ResolverStatistics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.tnsai.context.entity.EntitySource
- equals(Object) - Method in class com.tnsai.context.snapshot.ContextSnapshot
- equals(Object) - Method in record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.snapshot.SnapshotDiff.VariableChange
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.snapshot.SnapshotStore.SnapshotStoreStatistics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.environment.ActionOutcome
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.environment.Percept
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.eval.hooks.EvalContext.MetricEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.AgentHierarchyEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.ApprovalRequestEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.ArtifactEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.BDIUpdateEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.ErrorEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.RunEndEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.RunStartEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.SkillActivationEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.StatusEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.TextDeltaEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.ThoughtEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.ToolCallEndEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.ToolCallStartEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.events.UiComponentEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.exceptions.ProviderDetails
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.feedback.FeedbackCollector.ToolOutcome
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.guardrails.OutputGuardrailConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.AgentInit
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.AgentStart
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.AgentStop
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.OnActionError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.OnCapabilityDispatch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.OnChunk
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.OnNotification
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.OnSessionIdle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.OnSPILoad
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.OnStateTransition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.PostAction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.PostChat
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.PreAction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.PreChat
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.SessionEnd
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.events.SessionStart
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.HookContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.HookMatcher.All
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.HookMatcher.Predicate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.HookMatcher.Regex
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.HookResult.Allow
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.HookResult.Block
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.hooks.HookResult.Modify
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.idempotency.IdempotencyEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.idempotency.IdempotencyEntry.FailureSnapshot
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.identity.AgentDescriptor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.identity.Attestation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.identity.DIDConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.tnsai.knowledge.Document
- equals(Object) - Method in class com.tnsai.knowledge.SearchResult
- equals(Object) - Method in record class com.tnsai.llm.LLMResolver.LLMSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.llm.LLMResolver.ResolutionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.llm.ModelInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.llm.ParallelLLM.LLMResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.llm.ParallelLLM.ParallelResults
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.memory.advanced.ScoredEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.memory.advanced.Skill
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.memory.AgentMemoryResolver.MemoryResolution
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.memory.MemoryConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.memory.MemoryNamespace
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.memory.strategy.TieredContextLoader.LoadedContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.memory.strategy.TieredContextLoader.TierConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.memory.strategy.TieredMemoryStore.ConsolidationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.metadata.ActionConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.metadata.ContractConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.metadata.ContractSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.metadata.MCPToolConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.metadata.WebServiceConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.models.agent.Communication
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.models.agent.Desire
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.models.chat.AudioPart
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.models.chat.ImagePart
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.models.chat.TextPart
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.models.chat.VideoPart
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.observability.errors.CauseInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.observability.errors.ErrorReport
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.observability.events.Breadcrumbs.Breadcrumb
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.observability.events.CapturingAgentEventPublisher.Captured
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.observability.events.EventContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.tnsai.parser.ParseResult
- equals(Object) - Method in record class com.tnsai.parser.RetryableParser.ParseAttempt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.payment.Quote
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.payment.Service
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.payment.Settlement.AlreadySettled
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.payment.Settlement.Expired
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.payment.Settlement.Rejected
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.payment.Settlement.Settled
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.PlannerHandle.PlanResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.PlannerHandle.PlanStep
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.PlannerHandle.StepResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.prompt.ProjectContextLoader.ProjectContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.prompt.PromptSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.prompt.strategy.EnhancedResponse.ThinkingPhase
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.prompt.strategy.PromptEnhancer.Example
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.ChatKnowledgeContext.Turn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.DocumentBlock
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.DocumentInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.ExtractedDocument
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.ExtractionContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.KnowledgeEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.KnowledgeSelection
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.KnowledgeUsage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.NormalizedDocumentChunker.Chunk
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.RetrievalConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.RetrievalDiagnostics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.RetrievalEvidence
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.RetrievalEvidence.Provenance
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.RetrievalRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.RetrievalResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.rag.RetrievalScope
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.tnsai.rag.SearchSettings
- equals(Object) - Method in record class com.tnsai.rag.SequentialConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Checkpoint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.DefaultResumableRun.Step
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Outcome.Aborted
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Outcome.Completed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Outcome.Failed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Outcome.Suspended
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Progress.CheckpointSaved
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Progress.CostUpdate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Progress.Heartbeat
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Progress.RunAborted
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Progress.RunCompleted
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Progress.RunFailed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Progress.StepCompleted
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.Progress.StepStarted
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reliability.RunConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.resilience.ResilienceConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.resilience.ResilienceMetrics.MetricSnapshot
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.roles.export.ExportedRole
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.CachedRoleMetadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.ResponsibilityInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.security.AccessDeclaration
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.security.AccessRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.security.AccessSubject
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.tnsai.security.approval.InterruptResult
- equals(Object) - Method in record class com.tnsai.security.approval.InterruptService.InterruptRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.security.audit.AuditEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.security.audit.AuditQuery
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.security.ExecutionRule
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.security.SecurityFeatures
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.skills.ActiveSkill
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.skills.Skill
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.skills.SkillManager.SlashCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.spi.CheckpointerFactory.ProviderInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.spi.CognitiveModel.Action
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.spi.CognitiveModel.Belief
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.spi.CognitiveModel.CognitiveState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.spi.CognitiveModel.Goal
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.spi.CognitiveModel.Intention
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.spi.FlagContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.spi.Healthcheckable.HealthStatus
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.spi.MessageBroker.Message
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.spi.ToolRegistry.ToolParameter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.spi.ToolRegistry.ToolRegistryEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.state.Checkpointer.CheckpointTuple
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.state.Checkpointer.Write
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.timeout.TimeoutPolicy
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.tools.method.DynamicToolMethod
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.tools.method.StaticToolMethod
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.tools.method.ToolParameter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.tools.ToolExample
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class com.tnsai.actions.model.ActionResponse
-
Returns the value of the
errorrecord component. - error() - Method in record class com.tnsai.events.ToolCallEndEvent
-
Returns the value of the
errorrecord component. - error() - Method in record class com.tnsai.feedback.FeedbackCollector.ToolOutcome
-
Returns the value of the
errorrecord component. - error() - Method in record class com.tnsai.llm.ParallelLLM.LLMResult
-
Returns the value of the
errorrecord component. - error() - Method in record class com.tnsai.parser.RetryableParser.ParseAttempt
-
Returns the value of the
errorrecord component. - error() - Method in record class com.tnsai.planning.PlannerHandle.StepResult
-
Returns the value of the
errorrecord component. - error(DecisionOutcome.OutcomeError) - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- error(String) - Static method in record class com.tnsai.context.entity.EntityResolutionResult
-
Creates a result where resolution failed due to an error.
- error(String) - Static method in class com.tnsai.llm.ChatChunk
-
Creates an ERROR chunk.
- error(String, String) - Static method in record class com.tnsai.agents.validation.ValidationIssue
- error(String, String) - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- error(String, String) - Static method in class com.tnsai.security.approval.InterruptResult
-
Creates an error result.
- error(String, Throwable) - Method in class com.tnsai.events.InMemoryEventPublisher
- error(String, Throwable) - Method in interface com.tnsai.events.TnsAIEventPublisher
-
Signals an error for a session.
- error(String, Throwable, boolean) - Static method in interface com.tnsai.agents.async.ChatEvent
- error(String, Instant, String) - Static method in class com.tnsai.communication.AckResult
-
Creates an error result.
- error(Throwable, boolean) - Static method in interface com.tnsai.agents.interrupt.InterruptEvent
-
Creates an error interrupt.
- Error(String, Throwable, boolean) - Constructor for record class com.tnsai.agents.async.ChatEvent.Error
- Error(Instant, String, Throwable, boolean) - Constructor for record class com.tnsai.agents.async.ChatEvent.Error
-
Creates an instance of a
Errorrecord class. - ERROR - Enum constant in enum class com.tnsai.agents.validation.Severity
-
Definite misconfiguration —must reject.
invalid reference
AgentBuilder#build() - ERROR - Enum constant in enum class com.tnsai.annotations.Lifecycle.Phase
-
Error handling.
- ERROR - Enum constant in enum class com.tnsai.communication.AckResult.Status
-
Acknowledgment failed due to an error.
- ERROR - Enum constant in enum class com.tnsai.context.entity.EntityResolutionResult.ResolutionStatus
-
An error occurred during resolution
- ERROR - Enum constant in enum class com.tnsai.hooks.events.NotificationKind
-
Something went wrong that the user should know about even if the chat isn't actively focused.
- ERROR - Enum constant in enum class com.tnsai.hooks.events.SessionCloseReason
-
Unrecoverable error closed the session; cause attached.
- ERROR - Enum constant in enum class com.tnsai.llm.ChatChunk.ChunkType
-
Error occurred during streaming
- ERROR - Enum constant in enum class com.tnsai.llm.ChatChunk.FinishReason
-
Error during generation
- ERROR - Enum constant in enum class com.tnsai.observability.events.EventLevel
- ERROR - Enum constant in enum class com.tnsai.security.approval.InterruptResult.Outcome
-
An error occurred
- ERROR_HANDLING - Enum constant in enum class com.tnsai.context.decision.DecisionTrigger.TriggerType
-
Decision triggered by error condition
- ERROR_LIMIT_EXCEEDED - Enum constant in enum class com.tnsai.reliability.AbortReason
-
Per-step retry budget (
RunConfig.maxRetries) was exhausted and the orchestrator gave up rather than thrashing further. - ERROR_RECOVERY - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken during error recovery.
- ERROR_RECOVERY - Enum constant in enum class com.tnsai.security.approval.InterruptReason
-
An error occurred that needs human guidance to resolve.
- ErrorCategory - Enum Class in com.tnsai.observability.errors
-
Coarse classification of errors for routing, alerting, and budget tracking.
- errorClass() - Method in record class com.tnsai.observability.errors.CauseInfo
-
Returns the value of the
errorClassrecord component. - errorClass() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
errorClassrecord component. - errorClass(String) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- errorCode() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
errorCoderecord component. - errorCode(String) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- ErrorEmitter - Class in com.tnsai.observability.errors
-
Single emission point for
ErrorReportconstruction. - ErrorEvent - Record Class in com.tnsai.events
-
Event representing an error during agent execution.
- ErrorEvent(String, Instant, String, String, String, Map<String, Object>, boolean) - Constructor for record class com.tnsai.events.ErrorEvent
-
Creates an instance of a
ErrorEventrecord class. - ErrorFingerprint - Class in com.tnsai.observability.errors
-
Deterministic fingerprint for an error instance class.
- Error Handling - Search tag in class com.tnsai.actions.ActionExecutor
- Section
- Error Handling - Search tag in class com.tnsai.actions.TypeConverter
- Section
- Error Handling - Search tag in class com.tnsai.llm.ChatChunk
- Section
- Error Handling - Search tag in interface com.tnsai.llm.LLMClient
- Section
- Error Handling - Search tag in package com.tnsai.actions.executors
- Section
- ErrorInterrupt(String, Instant, Throwable, boolean) - Constructor for record class com.tnsai.agents.interrupt.InterruptEvent.ErrorInterrupt
-
Creates an instance of a
ErrorInterruptrecord class. - ErrorInterrupt(Throwable, boolean) - Constructor for record class com.tnsai.agents.interrupt.InterruptEvent.ErrorInterrupt
- errorMessage() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Custom error message on failure.
- errorMessage() - Method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Returns the value of the
errorMessagerecord component. - errorMessage() - Method in record class com.tnsai.spi.Healthcheckable.HealthStatus
-
Returns the value of the
errorMessagerecord component. - errorMessage(String) - Method in class com.tnsai.guardrails.InputGuardrailConfig.Builder
- errorRecoveryScenario(ErrorRecoveryScenario) - Method in class com.tnsai.agents.AgentBuilder
-
Adds an error recovery scenario to the agent.
- ErrorRecoveryScenario - Class in com.tnsai.models.agent
-
Represents an error recovery scenario with strategy.
- ErrorRecoveryScenario(String, String) - Constructor for class com.tnsai.models.agent.ErrorRecoveryScenario
- errorRecoveryScenarioMap - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- errorRecoveryScenarios - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- errorRecoveryScenarios(List<ErrorRecoveryScenario>) - Method in class com.tnsai.agents.AgentBuilder
-
Adds multiple error recovery scenarios to the agent.
- ErrorReport - Record Class in com.tnsai.observability.errors
-
Structured observability record for an error event.
- ErrorReport(String, Instant, String, String, String, String, List<CauseInfo>, ErrorCategory, boolean, Optional<Duration>, String, Optional<String>, Optional<EventContext>, Optional<String>, int, Map<String, Object>, List<String>) - Constructor for record class com.tnsai.observability.errors.ErrorReport
-
Creates an instance of a
ErrorReportrecord class. - ErrorReport.Builder - Class in com.tnsai.observability.errors
- ErrorReportPublisher - Interface in com.tnsai.observability.errors
-
Service-side fan-out point for
ErrorReportemissions. - ErrorReports - Class in com.tnsai.observability.errors
-
Static facade for publishing
ErrorReports. - errors() - Method in record class com.tnsai.agents.validation.ValidationReport
-
Returns the value of the
errorsrecord component. - Error semantics - Search tag in class com.tnsai.tools.method.ToolMethodDispatcher
- Section
- escalateToParent(String, Map<String, Object>) - Method in class com.tnsai.agents.Agent
-
Escalates an action to the parent agent.
- escalateToParent(String, Map<String, Object>) - Method in class com.tnsai.agents.hierarchy.AgentHierarchyManager
-
Escalates an action to the parent agent.
- Escaping - Search tag in class com.tnsai.skills.SkillSubstitution
- Section
- estimate(String) - Static method in class com.tnsai.context.assembler.TokenEstimator
-
Estimates token count for text using content-aware heuristics.
- estimate(String, String) - Static method in class com.tnsai.context.assembler.TokenEstimator
-
Estimates token count with model-aware adjustment.
- estimatedTokens() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.LoadedContext
-
Returns the value of the
estimatedTokensrecord component. - estimateHistoryTokens(List<Map<String, Object>>) - Static method in class com.tnsai.utils.TokenUtils
-
Estimates total tokens in a conversation history (rough estimate).
- estimateMessage(Map<String, Object>, String) - Static method in class com.tnsai.context.assembler.TokenEstimator
-
Estimates tokens for a single chat message.
- estimateMessages(List<Map<String, Object>>) - Static method in class com.tnsai.context.assembler.TokenEstimator
-
Estimates tokens for a list of chat messages.
- estimateMessages(List<Map<String, Object>>, String) - Static method in class com.tnsai.context.assembler.TokenEstimator
-
Estimates tokens for a list of chat messages with model awareness.
- estimateMessageTokens(Map<String, Object>) - Static method in class com.tnsai.utils.TokenUtils
-
Estimates tokens for a single message map.
- estimateTokens(String) - Static method in class com.tnsai.utils.TokenUtils
-
Estimates the number of tokens in a text string.
- estimateTokens(List<Map<String, Object>>) - Method in interface com.tnsai.memory.strategy.MemoryStrategy
-
Estimates the token count for the given history.
- estimateTokens(Map<String, Object>) - Method in interface com.tnsai.memory.strategy.MemoryStrategy
-
Estimates the token count for a single message's content.
- Estimation Strategy - Search tag in class com.tnsai.context.assembler.TokenEstimator
- Section
- ETSY_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Etsy Open API v3.
- EUCLIDEAN - Enum constant in enum class com.tnsai.annotations.Memory.Vector.Metric
- EvalContext - Class in com.tnsai.eval.hooks
-
Context for collecting and managing evaluation metrics during agent execution.
- EvalContext.MetricEvent - Record Class in com.tnsai.eval.hooks
-
Represents a single metric event.
- EvalContext.MetricStats - Record Class in com.tnsai.eval.hooks
-
Statistics for a metric.
- EvalHandle - Interface in com.tnsai.eval.hooks
-
SPI handle for evaluation hook management.
- EvalHandle.Factory - Interface in com.tnsai.eval.hooks
-
Factory for creating EvalHandle instances.
- EvalHook - Interface in com.tnsai.eval.hooks
-
Hook interface for integrating evaluation metrics into agent lifecycle.
- EvalMetric - Annotation Interface in com.tnsai.annotations
-
Marks a method or class for evaluation metric collection.
- EvalMetric.MetricCategory - Enum Class in com.tnsai.annotations
-
Categories for evaluation metrics.
- evaluate(String, Map<String, Object>) - Method in interface com.tnsai.agents.execution.ToolCallFilter
-
Evaluates a tool call and returns a steering action.
- evaluate(String, Map<String, Object>) - Method in class com.tnsai.skills.SkillScopedToolCallFilter
- evaluateBoolean(String, Map<String, Object>) - Method in class com.tnsai.actions.contracts.ContractEvaluator
-
Evaluates a boolean contract expression against the given bindings.
- evaluateValue(String, Map<String, Object>) - Method in class com.tnsai.actions.contracts.ContractEvaluator
-
Evaluates an arbitrary expression to its value (used for
old(...)snapshots). - evaluator() - Method in class com.tnsai.actions.contracts.ContractValidator
- evaluator() - Element in annotation interface com.tnsai.annotations.QualityGate
-
Evaluator name (resolved via SPI, e.g., "relevance", "factuality", "toxicity").
- event() - Element in annotation interface com.tnsai.annotations.EventEmitter
-
Event name to emit on successful execution.
- event() - Element in annotation interface com.tnsai.annotations.EventHandler
-
Event name or pattern to handle.
- event() - Method in record class com.tnsai.observability.events.CapturingAgentEventPublisher.Captured
-
Returns the value of the
eventrecord component. - EventContext - Record Class in com.tnsai.observability.events
-
Correlation context attached to every observability event.
- EventContext(String, String, String, String, String, String, String, List<String>, Optional<String>, Optional<String>, Map<String, String>) - Constructor for record class com.tnsai.observability.events.EventContext
-
Creates an instance of a
EventContextrecord class. - EventContext.Builder - Class in com.tnsai.observability.events
- EventEmitter - Annotation Interface in com.tnsai.annotations
-
Marks a method to automatically emit an event after execution.
- EventEmitter.Scope - Enum Class in com.tnsai.annotations
-
Event scope definitions.
- EventHandler - Annotation Interface in com.tnsai.annotations
-
Marks a method as an event handler for agent events.
- EventHandlerMetadata - Record Class in com.tnsai.events.handler
-
Metadata extracted from an
EventHandlerannotation. - EventHandlerMetadata(String, boolean, boolean, int, boolean, String, int, int, int, Method, Class<?>) - Constructor for record class com.tnsai.events.handler.EventHandlerMetadata
-
Creates an instance of a
EventHandlerMetadatarecord class. - EventHandlerProcessor - Class in com.tnsai.events.handler
-
Extracts
EventHandlermetadata from annotated classes. - EventHandlerRegistry - Class in com.tnsai.events.handler
-
Runtime registry for
EventHandlerannotated methods. - EventHandlerRegistry(String) - Constructor for class com.tnsai.events.handler.EventHandlerRegistry
-
Creates a registry for the given agent.
- eventId() - Method in record class com.tnsai.events.AgentHierarchyEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.ApprovalRequestEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.ArtifactEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.BDIUpdateEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.ErrorEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.RunEndEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.RunStartEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.SkillActivationEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.StatusEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.TextDeltaEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.ThoughtEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in interface com.tnsai.events.TnsAIEvent
-
Returns the unique identifier of this event.
- eventId() - Method in record class com.tnsai.events.ToolCallEndEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.ToolCallStartEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.events.UiComponentEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.AgentInit
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.AgentStart
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.AgentStop
-
Returns the value of the
eventIdrecord component. - eventId() - Method in interface com.tnsai.hooks.events.HookEvent
-
Stable per-event id (ULID-shaped) for correlation across logs.
- eventId() - Method in record class com.tnsai.hooks.events.OnActionError
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.OnCapabilityDispatch
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.OnChunk
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.OnNotification
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.OnSessionIdle
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.OnSPILoad
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.OnStateTransition
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.PostAction
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.PostChat
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.PreAction
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.PreChat
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.SessionEnd
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class com.tnsai.hooks.events.SessionStart
-
Returns the value of the
eventIdrecord component. - EventLevel - Enum Class in com.tnsai.observability.events
-
Severity level for an
TnsAIEventwhen published as an observability log record. - eventName() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns the value of the
eventNamerecord component. - eventNameFor(TnsAIEvent) - Static method in class com.tnsai.events.handler.EventHandlerRegistry
-
Maps a TnsAIEvent to its dot-notation event name.
- Event Payload - Search tag in annotation interface com.tnsai.annotations.EventEmitter
- Section
- events() - Method in class com.tnsai.observability.events.CapturingAgentEventPublisher
- eventType() - Method in interface com.tnsai.events.TnsAIEvent
-
Returns the type of this event as a string.
- eventType() - Method in record class com.tnsai.hooks.events.AgentInit
- eventType() - Method in record class com.tnsai.hooks.events.AgentStart
- eventType() - Method in record class com.tnsai.hooks.events.AgentStop
- eventType() - Method in interface com.tnsai.hooks.events.HookEvent
-
Short stable string identifier of the event kind, e.g.
- eventType() - Method in record class com.tnsai.hooks.events.OnActionError
- eventType() - Method in record class com.tnsai.hooks.events.OnCapabilityDispatch
- eventType() - Method in record class com.tnsai.hooks.events.OnChunk
- eventType() - Method in record class com.tnsai.hooks.events.OnNotification
- eventType() - Method in record class com.tnsai.hooks.events.OnSessionIdle
- eventType() - Method in record class com.tnsai.hooks.events.OnSPILoad
- eventType() - Method in record class com.tnsai.hooks.events.OnStateTransition
- eventType() - Method in record class com.tnsai.hooks.events.PostAction
- eventType() - Method in record class com.tnsai.hooks.events.PostChat
- eventType() - Method in record class com.tnsai.hooks.events.PreAction
- eventType() - Method in record class com.tnsai.hooks.events.PreChat
- eventType() - Method in record class com.tnsai.hooks.events.SessionEnd
- eventType() - Method in record class com.tnsai.hooks.events.SessionStart
- eventType() - Method in class com.tnsai.hooks.external.ExternalScriptHook
- eventType() - Method in interface com.tnsai.hooks.spi.Hook
-
The event class this hook observes.
- eventType(Class<? extends HookEvent>) - Method in class com.tnsai.hooks.external.ExternalScriptHook.Builder
- Event Types - Search tag in annotation interface com.tnsai.annotations.EventHandler
- Section
- Event Types - Search tag in record class com.tnsai.agents.groups.GroupEvent
- Section
- evicted() - Method in record class com.tnsai.memory.strategy.TieredMemoryStore.ConsolidationResult
-
Returns the value of the
evictedrecord component. - evictForTesting(Class<?>) - Static method in class com.tnsai.resilience.FallbackResolver
-
Test hook — drops the cached fallback table for the given role class.
- evidence() - Method in record class com.tnsai.rag.RetrievalResult
-
Returns the value of the
evidencerecord component. - Example - Search tag in annotation interface com.tnsai.annotations.LLMParam
- Section
- Example - Search tag in annotation interface com.tnsai.idempotency.Idempotent
- Section
- Example - Search tag in class com.tnsai.llm.LLMResolver.Builder
- Section
- Example - Search tag in com.tnsai.llm.LLMResolver.Builder.configFactory(Function<LLMSpecSource, LLMClient>)
- Section
- Example - Search tag in interface com.tnsai.idempotency.IdempotencyKeySupplier
- Section
- Example - Search tag in package com.tnsai.spi
- Section
- Example(String, String) - Constructor for record class com.tnsai.prompt.strategy.PromptEnhancer.Example
- Example(String, String, String) - Constructor for record class com.tnsai.prompt.strategy.PromptEnhancer.Example
-
Creates an instance of a
Examplerecord class. - Example — OpenAI error body - Search tag in record class com.tnsai.exceptions.ProviderDetails
- Section
- Example Output - Search tag in class com.tnsai.roles.export.JsonRoleExporter
- Section
- Example Output - Search tag in class com.tnsai.roles.export.YamlRoleExporter
- Section
- Example Output - Search tag in class com.tnsai.roles.export.frameworks.JasonExporter
- Section
- examples() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Examples demonstrating how to use this action/tool.
- examples() - Element in annotation interface com.tnsai.annotations.LLMParam
-
Example values for the parameter.
- Examples of Idempotent Operations - Search tag in annotation interface com.tnsai.annotations.Idempotent
- Section
- Examples of NON-Idempotent Operations - Search tag in annotation interface com.tnsai.annotations.Idempotent
- Section
- Example Usage - Search tag in com.tnsai.llm.LLMClient.getCapabilities()
- Section
- Example Usage - Search tag in com.tnsai.llm.LLMClient.listModels()
- Section
- Example Usage - Search tag in com.tnsai.llm.LLMClient.streamChatWithSpec(String, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>)
- Section
- Example Usage - Search tag in record class com.tnsai.llm.ModelInfo
- Section
- exceptionClass() - Method in record class com.tnsai.idempotency.IdempotencyEntry.FailureSnapshot
-
Returns the value of the
exceptionClassrecord component. - Exception Hierarchy - Search tag in package com.tnsai.exceptions
- Section
- exceptionMessage(String) - Method in class com.tnsai.resilience.dlq.DeadLetterEntry.Builder
- exceptionType(String) - Method in class com.tnsai.resilience.dlq.DeadLetterEntry.Builder
- exclude() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Exclude globs for a
Knowledge.Type.FILEsource. - exclude() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
excluderecord component. - exclude(List<String>) - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
- excludeFromLLM() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
If true, this action will NOT be exposed to the LLM as a tool.
- executablePath() - Method in class com.tnsai.hooks.external.ExternalScriptHook
- executablePath(Path) - Method in class com.tnsai.hooks.external.ExternalScriptHook.Builder
- execute() - Element in annotation interface com.tnsai.annotations.ExecutionPolicy
- execute() - Method in record class com.tnsai.security.ExecutionRule
-
Returns the value of the
executerecord component. - execute(Idempotent, IdempotencyStore, String, Map<String, Object>, IdempotencyKeySupplier, Callable<Object>) - Static method in class com.tnsai.idempotency.IdempotencyResolver
-
Run
bodyunder the protection described byannotation, routing throughstore. - execute(Idempotent, IdempotencyStore, String, Map<String, Object>, IdempotencyKeySupplier, Callable<Object>, boolean) - Static method in class com.tnsai.idempotency.IdempotencyResolver
-
Same as
IdempotencyResolver.execute(Idempotent, IdempotencyStore, String, Map, IdempotencyKeySupplier, Callable), with strict store-write semantics. - execute(ChatResponse, boolean) - Method in interface com.tnsai.agents.execution.LLMOrchestrator.ToolCallHandler
-
Executes tool calls from a ChatResponse.
- execute(ActionMetadata, Role, Map<String, Object>) - Method in class com.tnsai.actions.ActionExecutor
-
Executes an action without additional context.
- execute(ActionMetadata, Role, Map<String, Object>, Map<String, Object>) - Method in class com.tnsai.actions.ActionExecutor
-
Executes an action with the given parameters and context.
- execute(ActionMetadata, Role, Map<String, Object>, Map<String, Object>) - Method in class com.tnsai.actions.executors.LLMRoleExecutor
- execute(ActionMetadata, Role, Map<String, Object>, Map<String, Object>) - Method in class com.tnsai.actions.executors.McpToolExecutor
- execute(ActionMetadata, Role, Map<String, Object>, Map<String, Object>) - Method in interface com.tnsai.actions.executors.TypedActionExecutor
-
Executes an action with the given parameters and context.
- execute(ActionMetadata, Role, Map<String, Object>, Map<String, Object>) - Method in class com.tnsai.actions.executors.WebServiceExecutor
- execute(ActionMetadata, Object, Map<String, Object>, Map<String, Object>) - Method in class com.tnsai.actions.ActionExecutor
-
Executes an action on a generic Object target.
- execute(ResilienceRequest<T>) - Method in class com.tnsai.resilience.ResilienceExecutor
-
Executes a request with the full resilience pipeline: Rate Limit -> Bulkhead -> Circuit Breaker -> Retry -> Operation
- execute(I, RunConfig) - Method in interface com.tnsai.reliability.ResumableRun
-
Start a new run.
- execute(Runnable) - Method in interface com.tnsai.spi.ResilienceStrategy
-
Executes the given runnable with resilience protection.
- execute(String, Callable<T>) - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Executes an operation with full resilience (retry + circuit breaker + fallback).
- execute(String, Callable<T>, RetryPolicy) - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Executes an operation with custom retry policy.
- execute(String, Callable<T>, RetryPolicy, FallbackStrategy<T>) - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Executes an operation with full resilience configuration.
- execute(Callable<T>) - Method in interface com.tnsai.spi.ResilienceStrategy
-
Executes the given operation with resilience protection.
- execute(List<PlannerHandle.PlanStep>, Object) - Method in interface com.tnsai.planning.PlannerHandle
-
Executes a plan on a role instance.
- execute(S, RunConfig) - Method in class com.tnsai.reliability.DefaultResumableRun
- executeAction(ActionRequest) - Method in class com.tnsai.agents.Agent
-
Executes an action using a typed request.
- executeAction(ActionRequest, ChatRetrievalContext) - Method in class com.tnsai.agents.Agent
-
Executes a typed action request with request-local retrieval context.
- executeAction(String, Object) - Method in class com.tnsai.agents.Agent
-
Executes a named action with a typed input bean — Java
record, POJO withgetX/isXaccessors, or class with public fields. - executeAction(String, Map<String, Object>) - Method in class com.tnsai.agents.Agent
-
Executes a named action (untyped).
- executeAction(String, Map<String, Object>) - Method in class com.tnsai.agents.execution.AgentToolExecutor
- executeAction(String, Map<String, Object>) - Method in interface com.tnsai.agents.messaging.AgentMessagingHandler.MessagingContext
-
Executes an action by name with parameters.
- executeAction(String, Map<String, Object>) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeAction(String, Map<String, Object>) - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- executeAction(String, Map<String, Object>, ChatRetrievalContext) - Method in class com.tnsai.agents.Agent
-
Executes an action with request-local retrieval isolation and lifecycle context.
- executeAction(String, Map<String, Object>, ChatRetrievalContext) - Method in class com.tnsai.agents.execution.AgentToolExecutor
- executeAction(String, Map<String, Object>, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeAction(String, Map<String, Object>, ChatRetrievalContext) - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- executeActionOnRole(String, ActionRequest) - Method in class com.tnsai.agents.Agent
-
Executes a typed action on a specific role.
- executeActionOnRole(String, ActionRequest, ChatRetrievalContext) - Method in class com.tnsai.agents.Agent
-
Executes a typed role action with request-local retrieval context.
- executeActionOnRole(String, String, Object) - Method in class com.tnsai.agents.Agent
-
Executes an action on a specific role with a typed input bean.
- executeActionOnRole(String, String, Map<String, Object>) - Method in class com.tnsai.agents.Agent
-
Executes an action on a specific role (untyped).
- executeActionOnRole(String, String, Map<String, Object>) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Executes an action on a specific role.
- executeActionOnRole(String, String, Map<String, Object>) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeActionOnRole(String, String, Map<String, Object>, ChatRetrievalContext) - Method in class com.tnsai.agents.Agent
-
Executes a role action with request-local retrieval context.
- executeActionOnRole(String, String, Map<String, Object>, ChatRetrievalContext) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Executes an action on a role with request-local retrieval context.
- executeActionOnRole(String, String, Map<String, Object>, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeActionOnRoleTyped(String, ActionRequest) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeActionOnRoleTyped(String, ActionRequest, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeActionPublic(String, Map<String, Object>) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeActionPublic(String, Map<String, Object>, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeActionTyped(ActionRequest) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeActionTyped(ActionRequest, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executed() - Method in record class com.tnsai.planning.PlannerHandle.StepResult
-
Returns the value of the
executedrecord component. - executedCount() - Method in record class com.tnsai.planning.PlannerHandle.PlanResult
-
Returns the number of successfully executed steps.
- executeErrorPhase(Agent, Throwable) - Method in class com.tnsai.agents.lifecycle.LifecycleManager
-
Executes the ERROR phase with the given error.
- executeExternalTool(String, Map<String, Object>) - Method in class com.tnsai.actions.ActionExecutor
-
Executes an external tool by name through the
ToolMethodDispatcher. - executePhase(Agent, Lifecycle.Phase) - Method in class com.tnsai.agents.lifecycle.LifecycleManager
-
Executes all lifecycle methods for a given phase.
- executePlan(List<PlannerHandle.PlanStep>) - Method in class com.tnsai.agents.Agent
-
Executes a plan on the first role.
- executePlan(List<PlannerHandle.PlanStep>) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- executePlan(List<PlannerHandle.PlanStep>, List<Role>) - Method in class com.tnsai.agents.AgentCognitiveSupport
- executeToolCalls(ChatResponse, boolean) - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Executes tool calls from a ChatResponse
- executeToolCalls(ChatResponse, boolean) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Executes tool calls from an LLM response.
- executeToolCalls(ChatResponse, boolean) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeToolCalls(ChatResponse, boolean, String, ChatRetrievalContext) - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Executes tool calls while preserving the originating RAG turn.
- executeToolCalls(ChatResponse, boolean, String, ChatRetrievalContext) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Executes a tool loop while preserving the originating RAG turn.
- executeToolCalls(ChatResponse, boolean, String, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeToolCallSingle(ChatResponse.ToolCall) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Executes a single tool call with permission check, listener notification, and eval hooks.
- executeToolCallSingle(ChatResponse.ToolCall, ChatRetrievalContext) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Executes one streaming tool call with its originating retrieval turn.
- executeToolCallWithHooks(ChatResponse.ToolCall) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeToolCallWithHooks(ChatResponse.ToolCall) - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
-
Executes a tool call with permission check and listener notification.
- executeToolCallWithHooks(ChatResponse.ToolCall, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeToolCallWithHooks(ChatResponse.ToolCall, ChatRetrievalContext) - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- executeUnchecked(Supplier<T>) - Method in interface com.tnsai.spi.ResilienceStrategy
-
Executes the given operation with resilience protection.
- executeWithRetry(Callable<T>, int, Duration) - Static method in class com.tnsai.utils.RetryUtils
-
Retries an operation with exponential backoff.
- executeWithRetry(Callable<T>, int, Duration, Predicate<Exception>, String) - Static method in class com.tnsai.utils.RetryUtils
-
Retries an operation with exponential backoff.
- executeWithRetry(Callable<T>, RetryPolicy, String) - Static method in class com.tnsai.utils.RetryUtils
-
Retries an operation using a
RetryPolicy. - executeWithSpinner(Supplier<T>) - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Executes an operation with a spinner (for non-LLM operations)
- executeWithSpinner(Supplier<T>) - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
Callback for executing spinner-wrapped operations
- executeWithSpinner(Supplier<T>) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- executeWithTimeout(ActionMetadata, Role, Callable<T>) - Method in interface com.tnsai.security.SecurityEnforcerHandle
-
Executes an action with security timeout enforcement.
- executeWithTimeout(ActionMetadata, Object, Callable<T>) - Method in interface com.tnsai.security.SecurityEnforcerHandle
-
Executes an action with security timeout enforcement, for an action whose target is not a
Role. - executeWithTrace(String, Supplier<T>) - Method in interface com.tnsai.context.ContextManagerHandle
-
Simplified traced execution without BDI suppliers.
- executeWithTrace(String, Supplier<T>, Supplier<List<Belief>>, Supplier<List<Desire>>, Supplier<List<Intention>>) - Method in interface com.tnsai.context.ContextManagerHandle
-
Executes an operation with full decision tracing.
- EXECUTING - Enum constant in enum class com.tnsai.spi.CognitiveModel.IntentionStatus
- executingAgent() - Method in record class com.tnsai.security.AccessRequest
-
Returns the value of the
executingAgentrecord component. - executingAgent() - Method in class com.tnsai.security.InvocationContext
- execution() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Optional access policy.
- execution() - Element in annotation interface com.tnsai.annotations.Tool
-
Same runtime access policy as ActionSpec; not a side-effect hint.
- execution() - Method in record class com.tnsai.tools.method.DynamicToolMethod
-
Returns the value of the
executionrecord component. - execution(ExecutionRule) - Method in class com.tnsai.tools.method.DynamicToolMethod.Builder
- EXECUTION - Enum constant in enum class com.tnsai.rag.RetrievalException.Reason
-
The retrieval backend threw or returned no result, including a backend that is unreachable at this moment.
- ExecutionCaller - Enum Class in com.tnsai.enums
-
Trusted origin of an execution request, never selected from model arguments.
- Execution Flow - Search tag in annotation interface com.tnsai.annotations.BeforeActionSpec
- Section
- Execution Flow - Search tag in class com.tnsai.actions.ActionExecutor
- Section
- Execution model - Search tag in interface com.tnsai.reliability.ResumableRun
- Section
- ExecutionPolicy - Annotation Interface in com.tnsai.annotations
-
Optional action execution restriction.
- ExecutionRule - Record Class in com.tnsai.security
-
Immutable execution restriction for reflected and dynamically registered tools.
- ExecutionRule(Set<ExecutionCaller>) - Constructor for record class com.tnsai.security.ExecutionRule
-
Creates an instance of a
ExecutionRulerecord class. - executionStep(int) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- executionTime(Duration) - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- executor() - Method in record class com.tnsai.security.AccessRequest
-
Returns the value of the
executorrecord component. - executorId() - Method in class com.tnsai.security.InvocationContext
- exists(String) - Method in class com.tnsai.agents.groups.GroupRegistry
-
Checks if a group exists.
- Exit codes - Search tag in class com.tnsai.hooks.external.ExternalScriptHook
- Section
- expandedQueries() - Element in annotation interface com.tnsai.annotations.Search
-
Maximum number of generated query variations.
- expandedQueries() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
expandedQueriesrecord component. - expandedQueries() - Method in class com.tnsai.rag.SearchSettings
- expandedQueries(int) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- expandedQueries(int) - Method in class com.tnsai.rag.SearchSettings.Builder
- expectedDimension() - Method in exception class com.tnsai.memory.advanced.EmbeddingDimensionMismatchException
-
Returns the dimension required by the target.
- expectedOutput() - Method in record class com.tnsai.tools.ToolExample
-
Returns the value of the
expectedOutputrecord component. - expectedOutput(String) - Method in class com.tnsai.tools.ToolExample.Builder
-
Sets the expected output.
- expectedPriceUSD() - Method in record class com.tnsai.payment.Service
-
Returns the value of the
expectedPriceUSDrecord component. - expectedWait() - Method in record class com.tnsai.hooks.events.OnNotification
-
Returns the value of the
expectedWaitrecord component. - expectsConfidenceScore() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Returns true if confidence scoring is expected in the response.
- expectsStructuredThinking() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Returns true if structured thinking sections are expected.
- expectsVerification() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Returns true if verification questions are expected.
- Expired(String, Instant) - Constructor for record class com.tnsai.payment.Settlement.Expired
-
Creates an instance of a
Expiredrecord class. - EXPIRED - Enum constant in enum class com.tnsai.security.approval.ApprovalToken.Status
-
Token expired
- expiresAt() - Method in record class com.tnsai.accountability.AuthorityScope
-
Wall-clock instant the scope ceases to be valid, or
Instant.MAXfor aAuthorityScope.permanent()(no-expiry) scope. - expiresAt() - Method in record class com.tnsai.payment.Quote
-
Returns the value of the
expiresAtrecord component. - Expiry - Search tag in class com.tnsai.idempotency.PostgresIdempotencyStore
- Section
- explain() - Method in class com.tnsai.context.decision.DecisionReasoning
-
Generates a human-readable explanation.
- explainDecision(String) - Method in interface com.tnsai.context.ContextManagerHandle
- explainWhy() - Method in class com.tnsai.context.decision.DecisionTrace
-
Generates a human-readable explanation of why this decision was made.
- explanation() - Method in record class com.tnsai.prompt.strategy.PromptEnhancer.Example
-
Returns the value of the
explanationrecord component. - EXPLICIT - Enum constant in enum class com.tnsai.idempotency.KeyStrategy
-
The tool supplies its own key via
idempotencyKeyFor(input). - EXPLICIT_ABORT - Enum constant in enum class com.tnsai.tools.spi.ToolUserCanceledException.CancelReason
-
Explicit cancel signal from the host (Ctrl-C, abort button, etc.).
- export(ExportedRole) - Method in class com.tnsai.roles.export.frameworks.JADEExporter
- export(ExportedRole) - Method in class com.tnsai.roles.export.frameworks.JasonExporter
- export(ExportedRole) - Method in class com.tnsai.roles.export.frameworks.SCOPExporter
- export(ExportedRole) - Method in class com.tnsai.roles.export.JsonRoleExporter
- export(ExportedRole) - Method in interface com.tnsai.roles.export.RoleExporter
-
Exports role metadata to the target format.
- export(ExportedRole) - Method in class com.tnsai.roles.export.YamlRoleExporter
- export(Role) - Method in class com.tnsai.roles.export.frameworks.JADEExporter
- export(Role) - Method in class com.tnsai.roles.export.frameworks.JasonExporter
- export(Role) - Method in class com.tnsai.roles.export.frameworks.SCOPExporter
- export(Role) - Method in class com.tnsai.roles.export.JsonRoleExporter
- export(Role) - Method in interface com.tnsai.roles.export.RoleExporter
-
Exports a Role instance to the target format.
- export(Role) - Method in class com.tnsai.roles.export.YamlRoleExporter
- ExportedRole - Record Class in com.tnsai.roles.export
-
Immutable data class representing exported role metadata.
- ExportedRole(RoleIdentity, List<RoleSpecExtractor.ResponsibilityInfo>, List<ActionMetadata>, List<RoleSpecExtractor.StateInfo>, List<String>, RoleSpecExtractor.LLMExportSpec, Map<String, Object>, String, String) - Constructor for record class com.tnsai.roles.export.ExportedRole
-
Creates an instance of a
ExportedRolerecord class. - exportFromClass(Class<? extends Role>) - Method in class com.tnsai.roles.export.frameworks.JADEExporter
- exportFromClass(Class<? extends Role>) - Method in class com.tnsai.roles.export.frameworks.JasonExporter
- exportFromClass(Class<? extends Role>) - Method in class com.tnsai.roles.export.frameworks.SCOPExporter
- exportFromClass(Class<? extends Role>) - Method in class com.tnsai.roles.export.JsonRoleExporter
- exportFromClass(Class<? extends Role>) - Method in interface com.tnsai.roles.export.RoleExporter
-
Exports a Role class (using annotations) to the target format.
- exportFromClass(Class<? extends Role>) - Method in class com.tnsai.roles.export.YamlRoleExporter
- Expression Language - Search tag in annotation interface com.tnsai.annotations.Contract
- Section
- extendTTL(Duration) - Method in class com.tnsai.models.agent.Belief
-
Creates a new belief with extended TTL.
- extensions() - Method in record class com.tnsai.observability.events.EventContext
-
Returns the value of the
extensionsrecord component. - extensions() - Method in enum class com.tnsai.rag.DocumentFormat
-
Returns the registered lowercase extensions, without a leading dot.
- extensions(Map<String, String>) - Method in class com.tnsai.observability.events.EventContext.Builder
- external(String, String) - Static method in interface com.tnsai.agents.interrupt.InterruptEvent
-
Creates an external interrupt.
- EXTERNAL - Enum constant in enum class com.tnsai.annotations.EventEmitter.Scope
-
External systems (webhooks, etc.)
- EXTERNAL - Enum constant in enum class com.tnsai.annotations.SideEffect
-
Calls a third-party system whose effect we cannot reverse.
- EXTERNAL - Enum constant in enum class com.tnsai.observability.errors.ErrorCategory
-
Third-party system failure — MCP server down, webhook 5xx, DB unavailable.
- ExternalInterrupt(String, String) - Constructor for record class com.tnsai.agents.interrupt.InterruptEvent.ExternalInterrupt
- ExternalInterrupt(String, Instant, String, String) - Constructor for record class com.tnsai.agents.interrupt.InterruptEvent.ExternalInterrupt
-
Creates an instance of a
ExternalInterruptrecord class. - External Providers - Search tag in class com.tnsai.spi.CheckpointerFactory
- Section
- ExternalScriptHook - Class in com.tnsai.hooks.external
-
Invokes an external process as a hook (issue #64).
- ExternalScriptHook.Builder - Class in com.tnsai.hooks.external
- extra() - Method in record class com.tnsai.prompt.PromptSpec
-
Returns the value of the
extrarecord component. - extra(Map<String, String>) - Method in class com.tnsai.prompt.PromptSpec.Builder
- extract(DocumentInput, ExtractionContext) - Method in interface com.tnsai.rag.ContentExtractor
-
Extracts a normalized document from the detected input.
- extract(DocumentInput, ExtractionContext) - Method in class com.tnsai.rag.ContentExtractorRegistry
-
Resolves and invokes the extractor for one detected document.
- EXTRACT_TIMEOUT_ATTRIBUTE - Static variable in class com.tnsai.rag.ContentExtractorRegistry
-
ExtractionContext.attributes()key for a per-call timeout. - extractAll(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- extractCurrentState() - Method in class com.tnsai.agents.Agent
-
Extracts current @State from all roles.
- extractCurrentState() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- extractCurrentState(List<Role>) - Method in class com.tnsai.agents.AgentCognitiveSupport
- ExtractedDocument - Record Class in com.tnsai.rag
-
Normalized, provenance-preserving output of a
ContentExtractor. - ExtractedDocument(String, String, DocumentFormat, String, URI, Map<String, Object>, List<DocumentBlock>) - Constructor for record class com.tnsai.rag.ExtractedDocument
-
Creates an instance of a
ExtractedDocumentrecord class. - extractGroupSpec(Class<?>) - Static method in class com.tnsai.agents.init.AgentSpecExtractor
-
Static method to extract group configuration from an agent class.
- extractHandlers(Class<?>) - Static method in class com.tnsai.events.handler.EventHandlerProcessor
-
Extracts all
EventHandlermetadata from the given class. - extractIdentity(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- extractIntentionsFromActions(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- EXTRACTION - Enum constant in enum class com.tnsai.rag.DocumentProcessingException.Stage
- ExtractionContext - Record Class in com.tnsai.rag
-
Immutable declaration context supplied to document extractors.
- ExtractionContext(String, Map<String, Object>) - Constructor for record class com.tnsai.rag.ExtractionContext
-
Creates a context with the framework's bounded extraction defaults.
- ExtractionContext(String, Map<String, Object>, int, int, int, int, int, int, int, int, int) - Constructor for record class com.tnsai.rag.ExtractionContext
-
Creates an instance of a
ExtractionContextrecord class. - extractiveSummarizer() - Static method in class com.tnsai.memory.strategy.SummaryStrategy
-
Creates an extractive summarizer that picks key sentences.
- extractKnowledgeSources(Class<?>) - Static method in class com.tnsai.agents.init.AgentSpecExtractor
-
Static accessor for
AgentSpecExtractor.getKnowledgeSources(). - extractLLMSpec(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- extractMaxContextTokens(Class<?>) - Static method in class com.tnsai.agents.init.AgentSpecExtractor
-
Static accessor for the agent-level context-token budget from
@AgentSpec.maxContextTokens(TNS-609). - extractMemorySpec(Class<?>) - Static method in class com.tnsai.agents.init.AgentSpecExtractor
-
Static method to extract memory configuration from an agent class.
- extractorId(DocumentFormat) - Method in class com.tnsai.rag.ContentExtractorRegistry
-
Returns the registered extractor implementation name for a concrete format.
- extractResponsibilitiesFromActions(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
-
Extracts responsibilities from
@ActionSpecannotated methods. - extractRetrieval(Class<?>) - Static method in class com.tnsai.agents.init.AgentSpecExtractor
-
Static accessor for
AgentSpecExtractor.getRetrieval(). - extractStateFromFields(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- extractStateValues(Object) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- extractToolCallFilter(Class<?>) - Static method in class com.tnsai.agents.init.AgentSpecExtractor
-
Static accessor for the declarative
ToolCallFilterfrom@AgentSpec.toolCallFilter(TNS-611). - extractVariables(String) - Method in interface com.tnsai.prompt.TemplateEngine
-
Extracts variable names from a template.
F
- 2. Flow.Subscriber for Advanced Control - Search tag in interface com.tnsai.events.TnsAIEventPublisher
- Section
- FACT - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- Factory Methods - Search tag in class com.tnsai.llm.ChatResponse
- Section
- FAIL - Enum constant in enum class com.tnsai.annotations.Search.FallbackAction
-
Throw exception
- FAIL_CLOSED - Enum constant in enum class com.tnsai.hooks.external.ScriptFailurePolicy
-
On failure, behave as
Block— chain stops. - FAIL_CLOSED - Enum constant in enum class com.tnsai.hooks.HookFailurePolicy
-
Treat a failed hook as
HookResult.Blockwith reason"hook-failure". - FAIL_FAST - Enum constant in enum class com.tnsai.idempotency.RetryBehavior
-
A retry hitting the cache is a hard error — throw
IdempotencyException. - FAIL_FAST - Enum constant in enum class com.tnsai.protocols.callbacks.MessageCallbackDispatcher.FailureStrategy
-
Throw an exception on the first callback failure
- FAIL_FAST_HIT - Enum constant in enum class com.tnsai.idempotency.IdempotencyException.IdempotencyConflict
-
Cache hit under
RetryBehavior.FAIL_FAST. - FAIL_OPEN - Enum constant in enum class com.tnsai.hooks.external.ScriptFailurePolicy
-
On failure, behave as
Allow— chain continues. - FAIL_OPEN - Enum constant in enum class com.tnsai.hooks.HookFailurePolicy
-
Treat a failed hook as
HookResult.Allowand continue the chain. - failed() - Method in record class com.tnsai.llm.ParallelLLM.ParallelResults
- failed(String, long) - Static method in record class com.tnsai.events.RunEndEvent
-
Creates a failed run end event.
- failed(String, String) - Static method in exception class com.tnsai.exceptions.TaskCompleteException
-
Creates a failed completion.
- Failed(String, String, Throwable) - Constructor for record class com.tnsai.reliability.Outcome.Failed
-
Creates an instance of a
Failedrecord class. - FAILED - Enum constant in enum class com.tnsai.agents.groups.GroupTask.Status
-
Task failed
- FAILED - Enum constant in enum class com.tnsai.context.decision.DecisionOutcome.OutcomeStatus
-
Decision execution failed
- FAILED - Enum constant in enum class com.tnsai.events.RunEndEvent.RunStatus
- FAILED - Enum constant in enum class com.tnsai.hooks.events.AgentState
-
Unrecoverable error during initialisation or execution.
- FAILED - Enum constant in enum class com.tnsai.spi.CognitiveModel.GoalStatus
- FAILED - Enum constant in enum class com.tnsai.spi.CognitiveModel.IntentionStatus
- failedCount() - Method in record class com.tnsai.planning.PlannerHandle.PlanResult
-
Returns the number of failed steps.
- failedDecisions() - Method in record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Returns the value of the
failedDecisionsrecord component. - failure() - Static method in class com.tnsai.context.decision.DecisionOutcome
-
Creates a builder for a failed outcome.
- failure() - Method in record class com.tnsai.idempotency.IdempotencyEntry
-
Returns the value of the
failurerecord component. - failure() - Method in record class com.tnsai.resilience.ResilienceMetrics.MetricSnapshot
-
Returns the value of the
failurerecord component. - failure(String) - Static method in record class com.tnsai.actions.model.ActionResponse
-
Creates a failure response with the given error message.
- failure(String) - Static method in record class com.tnsai.agents.groups.MembershipManager.MembershipValidation
- failure(String) - Static method in record class com.tnsai.environment.ActionOutcome
- failure(String) - Static method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningResult
-
Creates a failed result.
- failure(String, long, String) - Static method in record class com.tnsai.feedback.FeedbackCollector.ToolOutcome
- failure(String, Exception) - Static method in class com.tnsai.agents.execution.AgentToolExecutor.ToolCallResult
- failure(String, Object) - Static method in record class com.tnsai.actions.model.ActionResponse
-
Creates a failure response with the given error message and partial value.
- failure(String, String) - Static method in class com.tnsai.parser.ParseResult
-
Creates a failed parse result.
- failure(String, String) - Static method in record class com.tnsai.planning.PlannerHandle.StepResult
-
Creates a failed step result.
- failure(String, String, long) - Static method in record class com.tnsai.llm.ParallelLLM.LLMResult
- failure(String, String, String, long) - Static method in record class com.tnsai.events.ToolCallEndEvent
-
Creates a failed tool call end event.
- failure(String, Map<String, Object>) - Static method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningResult
-
Creates a failed result with metadata.
- FAILURE - Enum constant in enum class com.tnsai.communication.CNPMessageType
- Failure caching - Search tag in class com.tnsai.idempotency.IdempotencyResolver
- Section
- Failure mode - Search tag in class com.tnsai.skills.LLMSkillResolver
- Section
- failurePolicy() - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Returns the value of the
failurePolicyrecord component. - failurePolicy(GroupPolicy.FailurePolicy) - Method in class com.tnsai.agents.groups.GroupPolicy.Builder
- failureRateThreshold() - Element in annotation interface com.tnsai.annotations.Resilience.CircuitBreaker
-
Failure rate percentage to trip circuit (0-100).
- FailureSnapshot(String, String) - Constructor for record class com.tnsai.idempotency.IdempotencyEntry.FailureSnapshot
-
Creates an instance of a
FailureSnapshotrecord class. - Failure surface - Search tag in package com.tnsai.guardrails
- Section
- failureThreshold() - Element in annotation interface com.tnsai.annotations.Resilience.CircuitBreaker
-
Number of failures before opening circuit.
- failureWindowMs() - Element in annotation interface com.tnsai.annotations.Resilience.CircuitBreaker
-
Time window for counting failures in milliseconds.
- fallback() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Fallback value if all retries fail.
- fallback() - Element in annotation interface com.tnsai.annotations.Resilience
-
Fallback method name to call on failure.
- fallback() - Element in annotation interface com.tnsai.annotations.Variant
-
Fallback variant if the primary variant is unavailable.
- fallback() - Method in record class com.tnsai.guardrails.OutputGuardrailConfig
-
Returns the value of the
fallbackrecord component. - fallback(LLMClient) - Method in class com.tnsai.llm.FallbackLLMClient.Builder
-
Adds a fallback LLM client.
- fallback(Exception) - Method in interface com.tnsai.resilience.FallbackStrategy
-
Produces a fallback value for the given exception.
- fallback(Object, String) - Static method in class com.tnsai.resilience.recovery.RecoveryDecision
- fallback(String) - Static method in interface com.tnsai.agents.execution.ToolCallAction
-
Creates an action that suggests an alternative tool or approach.
- fallback(String) - Method in class com.tnsai.guardrails.OutputGuardrailConfig.Builder
- fallback(Supplier<T>) - Method in class com.tnsai.spi.ResilienceStrategy.Builder
-
Configures fallback behavior.
- Fallback - Annotation Interface in com.tnsai.annotations
-
Fallback handler invoked when the primary agent or tool fails.
- Fallback(String) - Constructor for record class com.tnsai.agents.execution.ToolCallAction.Fallback
-
Creates an instance of a
Fallbackrecord class. - FALLBACK - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.FailureAction
-
Return fallback value
- FALLBACK - Enum constant in enum class com.tnsai.resilience.recovery.RecoveryDecision.Action
- FALLBACK_NOT_FOUND - Static variable in class com.tnsai.resilience.FallbackResolver
-
Sentinel returned by
FallbackResolver.tryRecover(com.tnsai.metadata.ActionMetadata, com.tnsai.roles.Role, java.util.Map<java.lang.String, java.lang.Object>, java.lang.Throwable, com.tnsai.resilience.FallbackResolver.RetryCallback)to distinguish "no fallback found, rethrow" from "fallback returned null intentionally". - FallbackLLMClient - Class in com.tnsai.llm
-
LLM client with automatic fallback support.
- FallbackLLMClient.Builder - Class in com.tnsai.llm
-
Builder for FallbackLLMClient.
- fallbackModel() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
Fallback model if primary fails.
- fallbackModels(List<String>) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- FallbackResolver - Class in com.tnsai.resilience
-
Resolves the
@Fallbackannotation on a Role's methods and invokes the matching handler when an action's primary execution fails. - FallbackResolver.RetryCallback - Interface in com.tnsai.resilience
-
Callback for re-invoking the primary action during retry.
- fallbackResponse() - Method in class com.tnsai.resilience.recovery.RecoveryDecision
- fallbackStrategy(FallbackStrategy<T>) - Method in class com.tnsai.resilience.ResilienceRequest.Builder
- FallbackStrategy<T> - Interface in com.tnsai.resilience
-
Functional contract for providing fallback values when an operation ultimately fails.
- family() - Method in record class com.tnsai.llm.ModelInfo
-
Returns the value of the
familyrecord component. - family(String) - Method in class com.tnsai.llm.ModelInfo.Builder
- fanOut(String, List<LLMClient>) - Static method in class com.tnsai.llm.ParallelLLM
-
Sends the same prompt to multiple LLMs in parallel and collects all responses.
- fanOut(String, List<LLMClient>, long, TimeUnit) - Static method in class com.tnsai.llm.ParallelLLM
-
Sends the same prompt to multiple LLMs in parallel with timeout.
- FAST - Enum constant in enum class com.tnsai.enums.AgentVariant.Speed
-
Fast processing
- fastest() - Method in record class com.tnsai.llm.ParallelLLM.ParallelResults
- FeatureFlag - Interface in com.tnsai.spi
-
SPI for gradual feature rollout (TAN-3392).
- FeatureFlags - Class in com.tnsai.spi
-
Locator for the process-wide
FeatureFlag(TAN-3392). - Features - Search tag in class com.tnsai.eval.hooks.EvalContext
- Section
- Features - Search tag in class com.tnsai.memory.strategy.ManagedConversationMemory
- Section
- Features - Search tag in class com.tnsai.memory.strategy.SlidingWindowStrategy
- Section
- Features - Search tag in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- Section
- Features - Search tag in interface com.tnsai.agents.groups.MembershipManager
- Section
- Features - Search tag in interface com.tnsai.spi.ToolRegistry
- Section
- Features - Search tag in package com.tnsai
- Section
- feedback() - Method in record class com.tnsai.agents.execution.ToolCallAction.Guide
-
Returns the value of the
feedbackrecord component. - feedback(String) - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- FeedbackCollector - Interface in com.tnsai.feedback
-
SPI for collecting and learning from tool execution feedback.
- FeedbackCollector.Factory - Interface in com.tnsai.feedback
-
Factory for creating FeedbackCollector instances.
- FeedbackCollector.ToolOutcome - Record Class in com.tnsai.feedback
-
Immutable record of a tool execution outcome.
- fence(String) - Static method in class com.tnsai.rag.RetrievedContextRenderer
-
Fences an already assembled action context as untrusted data.
- FEW_SHOT_EXAMPLES - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Few-shot with examples.
- field() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateInfo
-
Returns the value of the
fieldrecord component. - Field semantics - Search tag in record class com.tnsai.observability.events.EventContext
- Section
- file(String, String) - Static method in record class com.tnsai.rag.KnowledgeSourceConfig
- file(String, String, Object) - Static method in record class com.tnsai.events.ArtifactEvent
-
Creates a file artifact event.
- FILE - Enum constant in enum class com.tnsai.annotations.Knowledge.Type
-
Documents on disk.
- FILE - Enum constant in enum class com.tnsai.annotations.MemorySpec.Persistence
-
File-based persistence
- FILE - Enum constant in enum class com.tnsai.events.ArtifactEvent.ArtifactType
- FILE - Enum constant in enum class com.tnsai.llm.LLMCapabilities.Modality
- FILE - Enum constant in enum class com.tnsai.models.chat.AudioPart.AudioSource
- FILE - Enum constant in enum class com.tnsai.models.chat.VideoPart.VideoSource
- FILE_IO_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Generic file I/O — sandboxed by Role policy.
- FileCheckpointer - Class in com.tnsai.state
-
File-based Checkpointer with JSON serialization.
- FileCheckpointer(Path) - Constructor for class com.tnsai.state.FileCheckpointer
-
Creates a FileCheckpointer with default settings.
- FileCheckpointer(Path, boolean, int, boolean) - Constructor for class com.tnsai.state.FileCheckpointer
-
Creates a FileCheckpointer with custom settings.
- FileCheckpointer.Builder - Class in com.tnsai.state
-
Builder for FileCheckpointer.
- fileFor(String) - Method in class com.tnsai.memory.advanced.SessionSerializer
-
Returns the file path for the given agent's session file.
- File layout - Search tag in class com.tnsai.reliability.SqliteCheckpointStore
- Section
- FileMemoryStore - Class in com.tnsai.memory
-
File-based persistent memory store.
- FileMemoryStore() - Constructor for class com.tnsai.memory.FileMemoryStore
- FileMemoryStore(String) - Constructor for class com.tnsai.memory.FileMemoryStore
- FILESYSTEM - Enum constant in enum class com.tnsai.tools.SideEffect
-
Reads or writes the local filesystem (paths inside or outside the workspace).
- FilesystemCheckpointStore - Class in com.tnsai.reliability
-
Filesystem-backed
CheckpointStore(TNS-299). - FilesystemCheckpointStore(Path) - Constructor for class com.tnsai.reliability.FilesystemCheckpointStore
- FileSystemSkillStore - Class in com.tnsai.skills
-
Disk-backed
SkillStorereading the Claude Code-compatible<root>/<skill-name>/SKILL.mdlayout (TNS-289). - FileSystemSkillStore(Path) - Constructor for class com.tnsai.skills.FileSystemSkillStore
-
Construct a store rooted at
root. - filter() - Element in annotation interface com.tnsai.protocols.annotations.MessageHandler
-
Message content filter (regex pattern).
- filter() - Element in annotation interface com.tnsai.protocols.annotations.PubSub
-
Message filter expression (optional).
- Filter by Message Type - Search tag in annotation interface com.tnsai.protocols.annotations.OnMessageReceived
- Section
- Filter by Sender - Search tag in annotation interface com.tnsai.protocols.annotations.OnMessageReceived
- Section
- finalChunk(String, String) - Static method in record class com.tnsai.events.TextDeltaEvent
-
Creates a final text delta event.
- finalState() - Method in record class com.tnsai.planning.PlannerHandle.PlanResult
-
Returns the value of the
finalStaterecord component. - FINANCE_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Borsa Istanbul (BIST) market data.
- find() - Static method in interface com.tnsai.rag.ChatKnowledgeResolver
-
Discovers the optional runtime bridge.
- find() - Static method in interface com.tnsai.rag.RetrievalSpi
-
Discovers the registered
RetrievalSpiviaSpiLoader. - find(String) - Method in class com.tnsai.memory.SharedMemoryRegistry
-
Looks up an existing shared memory store by namespace.
- find(String) - Static method in class com.tnsai.memory.vector.VectorStoreProviderRegistry
-
Finds the provider registered for
name. - find(Predicate<SharedBlackboard.Entry>) - Method in class com.tnsai.communication.SharedBlackboard
-
Finds entries matching a predicate.
- find(Predicate<ToolRegistry.ToolRegistryEntry>) - Method in interface com.tnsai.spi.ToolRegistry
-
Finds tools matching a predicate.
- findAction(String) - Method in class com.tnsai.metadata.DiscoveredRoleActions
-
Finds an action by name.
- findByAction(String) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Finds traces by action.
- findByAgent(String) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Finds all traces for an agent.
- findByAgent(String) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Finds all snapshots for an agent.
- findByAgentAndTimeRange(String, Instant, Instant) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Finds snapshots for an agent within a time range.
- findByCapability(String) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Finds members with a specific capability.
- findByConversation(String) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Finds traces for a conversation.
- findByConversation(String) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Finds snapshots for a conversation.
- findById(String) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Finds a trace by ID.
- findById(String) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Finds a snapshot by ID.
- findByName(String) - Method in class com.tnsai.skills.FileSystemSkillStore
- findByName(String) - Method in class com.tnsai.skills.InMemorySkillStore
- findByName(String) - Method in interface com.tnsai.skills.SkillStore
-
Look up a skill by its declared
name. - findByOutcome(DecisionOutcome.OutcomeStatus) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Finds traces by outcome status.
- findByTag(String) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Finds traces with a specific tag.
- findByTag(String) - Method in interface com.tnsai.spi.ToolRegistry
-
Finds tools by tag.
- findByTags(Collection<String>) - Method in class com.tnsai.memory.advanced.SkillMemoryStore
-
Finds skills matching any of the given tags.
- findByTimeRange(Instant, Instant) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Finds traces within a time range.
- findByTimeRange(Instant, Instant) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Finds snapshots within a time range.
- findByTrigger(SnapshotTrigger) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Finds snapshots by trigger type.
- findByTriggerType(DecisionTrigger.TriggerType) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Finds traces by trigger type.
- findChildById(String) - Method in class com.tnsai.agents.Agent
- findChildById(String) - Method in interface com.tnsai.agents.hierarchy.AgentHierarchyManager.HierarchyContext
-
Finds a child by ID.
- findChildren(String) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Finds child traces of a parent trace.
- findConflictingDesires() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Finds desires that might conflict with each other.
- findDecisionsByAction(String) - Method in interface com.tnsai.context.ContextManagerHandle
- findDecisionsInCurrentConversation() - Method in interface com.tnsai.context.ContextManagerHandle
- findExternalTool(String) - Method in class com.tnsai.actions.ActionExecutor
-
Returns the
ToolMethodregistered under the given name, oremptyif none exists. - findFailedDecisions() - Method in interface com.tnsai.context.ContextManagerHandle
- findFirst(Class<T>) - Static method in class com.tnsai.spi.SpiLoader
-
Returns the first provider visible to the effective thread context classloader without constructing later providers.
- findFirst(Class<T>, ClassLoader) - Static method in class com.tnsai.spi.SpiLoader
-
Returns the first provider visible to
classLoaderwithout constructing later providers. - findLatestByAgent(String) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Finds the most recent snapshot for an agent.
- findMembers(Predicate<Agent>) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Finds members matching a predicate.
- findPotentialDuplicates(Entity, double) - Method in interface com.tnsai.context.entity.EntityResolver
-
Finds potential duplicates for an entity.
- findPrecedents(DecisionTrace, double) - Method in interface com.tnsai.context.ContextManagerHandle
- findRecentByAgent(String, int) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Finds recent traces for an agent.
- findSimilar(DecisionTrace, double) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Finds similar traces (precedents) based on input similarity.
- findSnapshot(String) - Method in interface com.tnsai.context.ContextManagerHandle
- findSuccessfulDecisions() - Method in interface com.tnsai.context.ContextManagerHandle
- findTrace(String) - Method in interface com.tnsai.context.ContextManagerHandle
- fingerprint() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
fingerprintrecord component. - fingerprint(String) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- Fingerprint inputs - Search tag in class com.tnsai.observability.errors.ErrorFingerprint
- Section
- fireOnAfterChat(EvalContext, String, long) - Method in interface com.tnsai.eval.hooks.EvalHandle
- fireOnAfterChat(String, long) - Method in class com.tnsai.agents.Agent
- fireOnAfterChat(String, long) - Method in class com.tnsai.agents.AgentCognitiveSupport
- fireOnAfterChat(String, long) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- fireOnAfterChat(String, long) - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- fireOnAfterToolCall(EvalContext, String, Object, boolean, long) - Method in interface com.tnsai.eval.hooks.EvalHandle
- fireOnAfterToolCall(String, Object, boolean, long) - Method in class com.tnsai.agents.Agent
- fireOnAfterToolCall(String, Object, boolean, long) - Method in class com.tnsai.agents.AgentCognitiveSupport
- fireOnAfterToolCall(String, Object, boolean, long) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- fireOnAfterToolCall(String, Object, boolean, long) - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
Fires onAfterToolCall hook
- fireOnAfterToolCall(String, Object, boolean, long) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- fireOnAfterToolCall(String, Object, boolean, long) - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- fireOnAgentCommunication(EvalContext, String, String, String, long) - Method in interface com.tnsai.eval.hooks.EvalHandle
- fireOnAgentStart(EvalContext, String, String) - Method in interface com.tnsai.eval.hooks.EvalHandle
- fireOnAgentStop(EvalContext, String) - Method in interface com.tnsai.eval.hooks.EvalHandle
- fireOnAgentStop(String) - Method in class com.tnsai.agents.AgentCognitiveSupport
- fireOnAgentStop(String) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- fireOnBeforeChat(EvalContext, String) - Method in interface com.tnsai.eval.hooks.EvalHandle
- fireOnBeforeChat(String) - Method in class com.tnsai.agents.Agent
- fireOnBeforeChat(String) - Method in class com.tnsai.agents.AgentCognitiveSupport
- fireOnBeforeChat(String) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- fireOnBeforeChat(String) - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- fireOnBeforeToolCall(EvalContext, String, Map<String, Object>) - Method in interface com.tnsai.eval.hooks.EvalHandle
- fireOnBeforeToolCall(String, Map<String, Object>) - Method in class com.tnsai.agents.Agent
- fireOnBeforeToolCall(String, Map<String, Object>) - Method in class com.tnsai.agents.AgentCognitiveSupport
- fireOnBeforeToolCall(String, Map<String, Object>) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- fireOnBeforeToolCall(String, Map<String, Object>) - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
Fires onBeforeToolCall hook
- fireOnBeforeToolCall(String, Map<String, Object>) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- fireOnBeforeToolCall(String, Map<String, Object>) - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- fireOnError(EvalContext, Throwable, String) - Method in interface com.tnsai.eval.hooks.EvalHandle
- fireOnError(Exception, String) - Method in class com.tnsai.agents.Agent
- fireOnError(Exception, String) - Method in class com.tnsai.agents.AgentCognitiveSupport
- fireOnError(Exception, String) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- fireOnError(Exception, String) - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- fireOnGoalCompleted(EvalContext, String, boolean, Map<String, Object>) - Method in interface com.tnsai.eval.hooks.EvalHandle
- fireOnMemoryAccess(EvalContext, String, String, int, long) - Method in interface com.tnsai.eval.hooks.EvalHandle
- FIRST_AVAILABLE - Enum constant in enum class com.tnsai.annotations.Coordination.TaskDistribution
-
First available worker
- FIRST_JOINED - Static variable in interface com.tnsai.agents.groups.LeaderElectionStrategy
-
First joined member becomes leader.
- FIRST_RESPONSE - Enum constant in enum class com.tnsai.annotations.Coordination.Consensus.Strategy
-
First response wins
- FIRST_WINS - Static variable in interface com.tnsai.models.agent.DesireConflictResolver
-
Strategy that keeps the first desire in the list.
- firstAttemptId() - Method in record class com.tnsai.idempotency.IdempotencyEntry
-
Returns the value of the
firstAttemptIdrecord component. - firstStringValueInDeclarationOrder(ActionMetadata, Map<String, Object>) - Static method in class com.tnsai.metadata.ActionParams
-
Returns the value of the first
String-typed parameter in declaration order whose entry inparametersis a non-blank String. - fix() - Method in record class com.tnsai.agents.validation.ValidationIssue
-
Returns the value of the
fixrecord component. - fix(String) - Method in class com.tnsai.agents.validation.ValidationIssue.Builder
- FIXED_WINDOW - Enum constant in enum class com.tnsai.annotations.Resilience.RateLimit.Strategy
-
Fixed time window
- FlagContext - Record Class in com.tnsai.spi
-
Evaluation context for
FeatureFlag.isEnabled(String, FlagContext). - FlagContext(String, String) - Constructor for record class com.tnsai.spi.FlagContext
-
Creates an instance of a
FlagContextrecord class. - flatMap(Function<? super T, ParseResult<U>>) - Method in class com.tnsai.parser.ParseResult
-
Flat maps the successful value to a new ParseResult.
- followRedirects() - Element in annotation interface com.tnsai.annotations.WebService
-
Whether to follow redirects.
- followRedirects() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
followRedirectsrecord component. - forAction() - Element in annotation interface com.tnsai.annotations.Fallback
-
Action or method name this fallback covers.
- forAction(Method, List<KnowledgeEntry>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
The knowledge an action sees: the sources its
ActionSpec.knowledge()names, with the action's values applied. - forAction(Method, List<KnowledgeEntry>, Map<String, List<String>>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Like
KnowledgeDeclarations.forAction(Method, List), but an action the agent gives its knowledge by name, keyed by action name inactionKnowledge, sees those entries as declared instead of itsActionSpec.knowledge(). - forActionIfResolvable(Method, List<KnowledgeEntry>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Like
KnowledgeDeclarations.forAction(Method, List), but leaves an action that names knowledge outsideavailableunresolved instead of failing. - forActionIfResolvable(Method, List<KnowledgeEntry>, Map<String, List<String>>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Like
KnowledgeDeclarations.forActionIfResolvable(Method, List), with the action's knowledge given by name asKnowledgeDeclarations.forAction(Method, List, Map)takes it. - forCloudModel(String, String, String, Instant, int) - Static method in record class com.tnsai.llm.ModelInfo
-
Creates a ModelInfo for cloud models with context length.
- forFailure(Throwable, String) - Static method in record class com.tnsai.idempotency.IdempotencyEntry
-
Build a failure entry.
- forFormat(Class<T>, OutputFormat) - Static method in class com.tnsai.parser.FormatAwareOutputParser
- forGoal(String, String) - Static method in record class com.tnsai.spi.CognitiveModel.Intention
- fork() - Method in class com.tnsai.rag.KnowledgeScope.Lease
-
Extends this already active turn onto the calling worker thread.
- forLocalModel(String, String, long, Instant, String) - Static method in record class com.tnsai.llm.ModelInfo
-
Creates a ModelInfo with full details for local models (Ollama).
- form(String, List<Map<String, Object>>, String) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a form component.
- FORMAL - Enum constant in enum class com.tnsai.annotations.Communication.Formality
- FORMAL - Enum constant in enum class com.tnsai.annotations.Communication.Tone
- FORMAL - Enum constant in enum class com.tnsai.enums.agent.Formality
- formality() - Element in annotation interface com.tnsai.annotations.Communication.Style
-
Formality level.
- formality() - Element in annotation interface com.tnsai.annotations.CommunicationStyle
-
The formality level of communication.
- formality() - Method in record class com.tnsai.models.agent.Communication
-
Returns the value of the
formalityrecord component. - Formality - Enum Class in com.tnsai.enums.agent
-
Represents the formality level of agent communication.
- format() - Element in annotation interface com.tnsai.annotations.Config
-
The file format:
DocumentFormat.JSON,DocumentFormat.YAML, orDocumentFormat.AUTOto tell them apart by extension (.yamland.ymlread as YAML, anything else as JSON). - format() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Content format for a FILE or HTTP/HTTPS URL source.
- format() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Expected output format.
- format() - Method in record class com.tnsai.rag.DocumentInput
-
Returns the value of the
formatrecord component. - format() - Method in exception class com.tnsai.rag.DocumentProcessingException
-
Returns the effective format, or AUTO when detection failed.
- format() - Method in record class com.tnsai.rag.ExtractedDocument
-
Returns the value of the
formatrecord component. - format() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
formatrecord component. - format() - Method in record class com.tnsai.tools.ToolExample
-
Formats this example for LLM consumption.
- format(OutputFormat) - Method in class com.tnsai.parser.FormatAwareOutputParser.Builder
- format(DocumentFormat) - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
- FORMAT - Enum constant in enum class com.tnsai.communication.CommunicationViolationException.ViolationType
-
Response format doesn't match expected format
- FormatAwareOutputParser<T> - Class in com.tnsai.parser
-
Output parser that supports multiple formats (JSON, YAML, TOON, TONL).
- FormatAwareOutputParser(Class<T>, OutputFormat) - Constructor for class com.tnsai.parser.FormatAwareOutputParser
-
Creates a parser for single object output.
- FormatAwareOutputParser(Class<T>, OutputFormat, boolean) - Constructor for class com.tnsai.parser.FormatAwareOutputParser
-
Creates a parser with list output option.
- FormatAwareOutputParser.Builder<T> - Class in com.tnsai.parser
-
Builder for FormatAwareOutputParser with fluent API.
- formatCompact() - Method in record class com.tnsai.tools.ToolExample
-
Formats this example in a compact single-line format.
- formatForLLM() - Method in class com.tnsai.agents.execution.AgentToolExecutor.ToolCallResult
- Formatted - Annotation Interface in com.tnsai.output.annotations
-
Annotation to specify the output format for a class.
- FORMED - Enum constant in enum class com.tnsai.agents.groups.GroupLifecycle
-
Group has minimum members and is ready to start.
- FORMING - Enum constant in enum class com.tnsai.agents.groups.GroupLifecycle
-
Group is being formed, members are joining.
- forModel(int) - Static method in class com.tnsai.memory.strategy.TokenBudget
-
Creates a default budget for common models.
- forModel(String) - Static method in class com.tnsai.llm.ModelCapabilities
-
Returns the capabilities for a known model by name.
- forSource(String) - Static method in record class com.tnsai.rag.ExtractionContext
-
Creates a context without optional attributes.
- forSuccess(Object, String) - Static method in record class com.tnsai.idempotency.IdempotencyEntry
-
Build a success entry.
- forTask(String) - Static method in enum class com.tnsai.enums.AgentVariant
-
Suggests a variant based on task description keywords.
- forType(Class<?>, Method, ExecutionRule) - Static method in record class com.tnsai.security.AccessDeclaration
- forType(Class<T>) - Static method in class com.tnsai.parser.JsonOutputParser
-
Creates a parser for the given type with default settings.
- forVariant(AgentVariant) - Static method in class com.tnsai.agents.variant.VariantSpec
-
Returns a predefined configuration for the given variant.
- frameworkDefault() - Method in interface com.tnsai.rag.ContentExtractor
-
Framework-bundled fallback extractor.
- Framework Export - Search tag in annotation interface com.tnsai.agents.annotations.AgentIdentity
- Section
- Framework Export - Search tag in annotation interface com.tnsai.annotations.WebService
- Section
- Framework Interoperability - Search tag in annotation interface com.tnsai.roles.annotations.RoleDeclaration
- Section
- frequencyPenalty() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
Frequency penalty (-2.0 to 2.0).
- frequencyPenalty() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns the value of the
frequencyPenaltyrecord component. - frequencyWeight() - Method in class com.tnsai.memory.advanced.MemoryImportanceScorer
-
Returns the frequency weight.
- FRIENDLY - Enum constant in enum class com.tnsai.annotations.Communication.Tone
- FRIENDLY - Enum constant in enum class com.tnsai.enums.agent.Tone
- from() - Method in record class com.tnsai.accountability.AuditQuery
-
Returns the value of the
fromrecord component. - from() - Method in record class com.tnsai.hooks.events.OnStateTransition
-
Returns the value of the
fromrecord component. - from() - Method in record class com.tnsai.security.audit.AuditQuery
-
Returns the value of the
fromrecord component. - from() - Method in record class com.tnsai.spi.MessageBroker.Message
-
Returns the value of the
fromrecord component. - from(Agent) - Static method in class com.tnsai.agents.hierarchy.HierarchyBuilder
-
Creates a communication manager from an existing agent hierarchy.
- from(Contract) - Static method in record class com.tnsai.metadata.ContractSpec
-
Adapts a
@Contractannotation into aContractSpec. - from(DIDSpec) - Static method in record class com.tnsai.identity.DIDConfig
-
Builds a config from a
DIDSpecannotation (1:1 field mapping). - from(ExecutionPolicy) - Static method in record class com.tnsai.security.ExecutionRule
- from(GroupMember) - Static method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Creates a GroupMemberSpec from a
GroupMemberannotation. - from(InputGuardrail) - Static method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Adapts the annotation's scalar/pattern fields into the programmatic config.
- from(Knowledge) - Static method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Converts a
Knowledgedeclaration's source members to the canonical runtime model. - from(LLMParam) - Static method in class com.tnsai.metadata.LLMParamSpec
-
Creates metadata from @LLMParam annotation.
- from(MemorySpec) - Static method in record class com.tnsai.memory.MemoryConfig
-
Adapts a
@MemorySpecannotation into a config (the annotation path). - from(OutputGuardrail) - Static method in record class com.tnsai.guardrails.OutputGuardrailConfig
-
Adapts an
@OutputGuardrailannotation into the config (the annotation enforcement path). - from(Resilience) - Static method in record class com.tnsai.resilience.ResilienceConfig
-
Adapts the enforced subset of a
@Resilienceannotation (retry + timeout). - from(Resilience.Retry) - Static method in class com.tnsai.resilience.RetryPolicy
-
Builds a
RetryPolicyfrom aResilience.Retryannotation, mapping its millisecond fields toDurations and itsjitterflag to a jitter factor. - from(ToolExample) - Static method in class com.tnsai.metadata.ToolExampleSpec
-
Factory method to create from annotation.
- from(KnowledgeEntry) - Static method in record class com.tnsai.rag.SequentialConfig
-
Converts a declared
use = SEQUENTIALknowledge entry to the canonical runtime model. - from(Role) - Static method in record class com.tnsai.roles.export.ExportedRole
- from(String, Object) - Static method in record class com.tnsai.spi.MessageBroker.Message
-
Creates a message with sender and payload.
- from(Throwable) - Static method in class com.tnsai.observability.errors.ErrorEmitter
-
Begin building an
ErrorReportfrom a throwable. - from(Instant) - Method in class com.tnsai.accountability.AuditQuery.Builder
- from(Instant) - Method in class com.tnsai.security.audit.AuditQuery.Builder
- fromAgent() - Element in annotation interface com.tnsai.protocols.annotations.OnMessageReceived
-
Filter by sender agent ID.
- fromApiError(String, ActionType, int, String, Throwable) - Static method in exception class com.tnsai.exceptions.ActionExecutionException
-
Factory method to create exception from API errors (with HTTP status code).
- fromBase64(String, String) - Static method in record class com.tnsai.models.chat.AudioPart
-
Creates an AudioPart from Base64 encoded data.
- fromBase64(String, String) - Static method in record class com.tnsai.models.chat.ImagePart
-
Creates an ImagePart from Base64 data.
- fromBase64(String, String) - Static method in record class com.tnsai.models.chat.VideoPart
-
Creates a VideoPart from Base64 encoded data.
- fromBytes(byte[]) - Static method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Deserializes a checkpoint from bytes.
- fromBytes(byte[], String) - Static method in record class com.tnsai.models.chat.AudioPart
-
Creates an AudioPart from a byte array.
- fromBytes(byte[], String) - Static method in record class com.tnsai.models.chat.VideoPart
-
Creates a VideoPart from a byte array.
- fromClass(Class<? extends Role>) - Static method in record class com.tnsai.roles.export.ExportedRole
- fromException(String, Exception) - Static method in record class com.tnsai.events.ErrorEvent
-
Creates an error event from an exception.
- fromException(Throwable) - Static method in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Infer error type from exception.
- fromFile(File) - Static method in record class com.tnsai.models.chat.AudioPart
-
Creates an AudioPart from a file.
- fromFile(File) - Static method in record class com.tnsai.models.chat.VideoPart
-
Creates a VideoPart from a file.
- fromFileName(String) - Static method in enum class com.tnsai.rag.DocumentFormat
-
Resolves a registered format from a file name, if one is known.
- fromHttp429(String, String) - Static method in exception class com.tnsai.exceptions.RateLimitException
-
Factory method for HTTP 429 responses.
- fromInvocationError(String, ActionType, Exception) - Static method in exception class com.tnsai.exceptions.ActionExecutionException
-
Factory method to create exception from invocation errors (reflection, etc.).
- fromKey(String) - Static method in record class com.tnsai.memory.MemoryNamespace
-
Parses a colon-delimited key back into a MemoryNamespace.
- fromLLM(String, double) - Static method in class com.tnsai.models.agent.Belief
-
Creates a belief from LLM inference.
- fromLLMError(String, ActionType, Exception) - Static method in exception class com.tnsai.exceptions.ActionExecutionException
-
Factory method to create exception from LLM errors.
- fromMCPError(String, Exception) - Static method in exception class com.tnsai.exceptions.ActionExecutionException
-
Factory method to create exception from MCP tool errors.
- fromMemory(String, double) - Static method in class com.tnsai.models.agent.Belief
-
Creates a belief from memory retrieval.
- fromModelId(String) - Static method in enum class com.tnsai.prompt.ModelFamily
-
Best-effort map from a model identifier string to a family.
- fromNetworkError(String, ActionType, Exception) - Static method in exception class com.tnsai.exceptions.ActionExecutionException
-
Factory method to create exception from IOException (network errors).
- fromParameterError(String, ActionType, String, Throwable) - Static method in exception class com.tnsai.exceptions.ActionExecutionException
-
Factory method to create exception from parameter validation errors.
- fromSensor(String, double, Duration) - Static method in class com.tnsai.models.agent.Belief
-
Creates a belief from sensor/API data.
- fromString(String) - Static method in enum class com.tnsai.output.OutputFormat
-
Parses a format from string (case-insensitive).
- fromUrl(String) - Static method in record class com.tnsai.models.chat.AudioPart
-
Creates an AudioPart from a URL.
- fromUrl(String) - Static method in record class com.tnsai.models.chat.VideoPart
-
Creates a VideoPart from a URL.
- fromUser(String, double) - Static method in class com.tnsai.models.agent.Belief
-
Creates a belief from user input.
- fromValue(int) - Static method in enum class com.tnsai.enums.agent.Priority
- fromValue(String) - Static method in enum class com.tnsai.security.approval.InterruptReason
-
Parses a reason from its string value.
- fulfills() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Goals that this action helps achieve.
- fulfills() - Method in record class com.tnsai.metadata.ContractConfig
-
Returns the value of the
fulfillsrecord component. - fulfills() - Method in record class com.tnsai.planning.PlannerHandle.PlanStep
-
Returns the value of the
fulfillsrecord component. - full(String, Object, String, double, Instant) - Static method in record class com.tnsai.context.entity.EntityAttribute
-
Creates an attribute with full specification.
- FULL - Enum constant in enum class com.tnsai.annotations.Memory.Conversation.Strategy
-
Keep all messages (no limit)
- FULL - Enum constant in enum class com.tnsai.annotations.Security.AuditLevel
-
Full audit with timing and stack traces
- fullName() - Method in interface com.tnsai.communication.MessageTypeMarker
-
Returns full qualified name: CATEGORY.TYPE (e.g., "CNP.CFP")
- fullResponse() - Method in record class com.tnsai.agents.async.ChatEvent.Completed
-
Returns the value of the
fullResponserecord component. - fullStackTrace() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
fullStackTracerecord component. - fullStackTrace(String) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- FUNCTION - Enum constant in enum class com.tnsai.spi.ToolRegistry.ToolType
- fuse(int, List<ScoredEntry>...) - Method in class com.tnsai.memory.advanced.ReciprocalRankFusion
-
Fuses multiple ranked lists into a single ranked list.
- fuseNormalized(int, List<ScoredEntry>...) - Method in class com.tnsai.memory.advanced.ReciprocalRankFusion
-
Fuses ranked lists and normalizes the fused scores to
0.0..1.0.
G
- Gaia Methodology Context - Search tag in class com.tnsai.models.role.RoleIdentity
- Section
- Gaia Models (com.tnsai.models.role) - Search tag in package com.tnsai.models
- Section
- Gaia Role Model - Search tag in package com.tnsai.models.role
- Section
- Gaia Role Model - Search tag in package com.tnsai.roles
- Section
- GEMINI - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
- GEMINI - Enum constant in enum class com.tnsai.prompt.ModelFamily
-
Google Gemini lineage (gemini-pro, gemini-flash, gemini 2.x).
- GEMINI_15_PRO - Static variable in class com.tnsai.llm.ModelCapabilities
-
Google Gemini 1.5 Pro capabilities
- GEMINI_25_FLASH - Static variable in class com.tnsai.llm.ModelCapabilities
-
Google Gemini 2.5 Flash capabilities
- GENERAL - Enum constant in enum class com.tnsai.security.SecurityException.ViolationType
-
General security violation
- generate(ChunkContextGenerator.Request) - Method in interface com.tnsai.rag.ChunkContextGenerator
-
Writes a short (about 50–100 tokens) description of the chunk's place in its parent document.
- generateDID(String) - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Generates the full DID string for the agent, delegating the default substitution to
DIDConfig.toDid(String)so the annotation and builder paths produce identical DIDs. - generateDocument() - Element in annotation interface com.tnsai.annotations.DIDSpec
-
Whether to auto-generate DID document.
- generateDocument() - Method in record class com.tnsai.identity.DIDConfig
-
Returns the value of the
generateDocumentrecord component. - generateEventId() - Static method in interface com.tnsai.events.TnsAIEvent
-
Generates a new unique event ID.
- generatePromptSection() - Method in record class com.tnsai.models.agent.Communication
-
Generates a prompt section for LLM.
- generatePromptSection() - Method in class com.tnsai.models.role.RoleIdentity
-
Generates a prompt section for LLM.
- generateSystemPrompt(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
-
Generates a system prompt for LLM usage.
- generateToolSchema(ActionMetadata) - Method in class com.tnsai.schema.ToolSchemaGenerator
-
Generates tool schema for a single action.
- generateToolSchemas(List<Role>) - Method in class com.tnsai.schema.ToolSchemaGenerator
-
Generates tool schemas for all roles' actions.
- generateToolsDescription(List<Role>) - Method in class com.tnsai.schema.ToolSchemaGenerator
-
Generates a human-readable description of available tools.
- get() - Method in class com.tnsai.parser.ParseResult
-
Gets the parsed value.
- get() - Static method in class com.tnsai.spi.FeatureFlags
- get(TimeoutPolicy.Category) - Method in record class com.tnsai.timeout.TimeoutPolicy
-
Generic accessor for the duration of a given category.
- get(String) - Method in class com.tnsai.actions.ActionParams
-
Gets a parameter value.
- get(String) - Method in class com.tnsai.agents.groups.GroupRegistry
-
Gets a group by ID.
- get(String) - Static method in class com.tnsai.config.EnvLoader
-
Get environment variable value.
- get(String) - Method in record class com.tnsai.environment.Percept
-
Gets a typed value from the percept data.
- get(String) - Method in interface com.tnsai.idempotency.IdempotencyStore
-
Look up a cached entry.
- get(String) - Method in class com.tnsai.idempotency.InMemoryIdempotencyStore
- get(String) - Method in class com.tnsai.idempotency.PostgresIdempotencyStore
- get(String) - Method in class com.tnsai.idempotency.RedisIdempotencyStore
- get(String) - Method in class com.tnsai.memory.advanced.SkillMemoryStore
-
Retrieves a skill by name and updates its lastUsed timestamp.
- get(String) - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Retrieves a memory by ID and records an access (reinforces strength).
- get(String) - Method in interface com.tnsai.spi.ToolRegistry
-
Gets a tool by name.
- get(String, Class<T>) - Method in class com.tnsai.actions.ActionParams
-
Gets a parameter value with type conversion.
- get(String, String) - Static method in class com.tnsai.config.EnvLoader
-
Get environment variable value with default.
- GET - Enum constant in enum class com.tnsai.enums.HttpMethod
- getAccept() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the accept header value.
- getAckMessage() - Method in class com.tnsai.communication.AckResult
-
Returns the acknowledgment message if available.
- getAckSpec() - Method in class com.tnsai.communication.AcknowledgedMessage
-
Returns additional acknowledgment metadata.
- getAction() - Method in class com.tnsai.context.decision.DecisionTrace
- getAction(String) - Method in class com.tnsai.roles.Role
- getActionCount() - Method in class com.tnsai.metadata.DiscoveredRoleActions
-
Gets the number of actions in this role.
- getActionCount() - Method in class com.tnsai.roles.Role
- getActionName() - Method in class com.tnsai.actions.ActionParams
-
Gets the action name this params belong to.
- getActionName() - Method in exception class com.tnsai.exceptions.ActionExecutionException
-
Gets the name of the action that failed.
- getActionName() - Method in exception class com.tnsai.exceptions.ApprovalRequiredException
- getActionName() - Method in exception class com.tnsai.invariants.InvariantViolationException
- getActionName() - Method in class com.tnsai.security.approval.ApprovalToken
- getActionName() - Method in exception class com.tnsai.security.SecurityException
-
Gets the action name involved in the violation.
- getActionNames() - Method in class com.tnsai.metadata.DiscoveredRoleActions
-
Gets all action names.
- getActions() - Method in class com.tnsai.metadata.DiscoveredRoleActions
-
Gets all discovered actions as an immutable list.
- getActions() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getActions() - Method in class com.tnsai.roles.Role
-
Gets all discovered actions.
- getActionType() - Method in exception class com.tnsai.exceptions.ActionExecutionException
-
Gets the type of the action that failed.
- getActive(int) - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Retrieves only active (non-stale, non-superseded) memories.
- getActiveIntentions() - Method in interface com.tnsai.spi.CognitiveModel
-
Returns all active intentions.
- getActiveSessionCount() - Method in class com.tnsai.agents.async.SessionManager
-
Gets the number of active sessions.
- getActiveSessionCount() - Method in class com.tnsai.events.InMemoryEventPublisher
-
Returns the number of active sessions.
- getActualValue() - Method in exception class com.tnsai.invariants.InvariantViolationException
- getAdditionalCapabilities() - Method in interface com.tnsai.llm.LLMCapabilities
-
Returns additional provider-specific capabilities.
- getAdditionalCapabilities() - Method in class com.tnsai.llm.ModelCapabilities
- getAdditionalSettings() - Method in class com.tnsai.agents.variant.VariantSpec
- getAge() - Method in class com.tnsai.models.agent.Belief
-
Returns the age of this belief.
- getAgent() - Method in interface com.tnsai.protocols.ProtocolManagerHandle
-
Gets the agent managed by this protocol manager.
- getAgentActionExecutor() - Method in class com.tnsai.agents.Agent
- getAgentActionExecutor() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
- getAgentActionExecutor() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentActionExecutor() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAgentActionKnowledge() - Method in class com.tnsai.agents.Agent
-
The
Agent.getActionKnowledge()names, copied. - getAgentActionKnowledge() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
The knowledge some actions use instead of what their
@ActionSpecnames: entry names by action name. - getAgentActionKnowledge() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentActionKnowledge() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAgentClass() - Method in class com.tnsai.agents.Agent
- getAgentClass() - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Returns the agent's concrete class (for annotation inspection)
- getAgentClass() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
-
Returns the agent's class for reflection
- getAgentClass() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentClass() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAgentClassName() - Method in interface com.tnsai.agents.capabilities.AgentCapabilities.CapabilitiesContext
- getAgentFile() - Method in class com.tnsai.memory.FileMemoryStore
-
Returns the path to the agent's memory file.
- getAgentId() - Method in class com.tnsai.agents.Agent
- getAgentId() - Method in class com.tnsai.agents.async.SessionManager.SessionInfo
- getAgentId() - Method in interface com.tnsai.agents.capabilities.AgentCapabilities.CapabilitiesContext
- getAgentId() - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Returns the agent's unique identifier
- getAgentId() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
- getAgentId() - Method in class com.tnsai.agents.execution.MemoryManager
-
Returns the agent ID.
- getAgentId() - Method in interface com.tnsai.agents.groups.AgentGroupManager.GroupContext
-
Returns the agent's unique ID.
- getAgentId() - Method in interface com.tnsai.agents.hierarchy.AgentHierarchyManager.HierarchyContext
-
Returns the agent's unique identifier.
- getAgentId() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
-
Returns the agent's unique identifier
- getAgentId() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets the agent identifier.
- getAgentId() - Method in interface com.tnsai.agents.messaging.AgentMessagingHandler.MessagingContext
-
Returns the agent's unique identifier.
- getAgentId() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentId() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAgentId() - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- getAgentId() - Method in interface com.tnsai.context.ContextManagerHandle
- getAgentId() - Method in class com.tnsai.context.decision.DecisionTrace
- getAgentId() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getAgentId() - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets agent ID.
- getAgentId() - Method in class com.tnsai.security.approval.ApprovalToken
- getAgentId() - Method in exception class com.tnsai.security.SecurityException
-
Gets the agent ID involved in the violation.
- getAgentKnowledgeEntries() - Method in class com.tnsai.agents.Agent
-
The agent's knowledge with each entry's
use: what its@AgentSpecdeclares, with theAgent.getKnowledge()entries layered over it by name. - getAgentKnowledgeEntries() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
The agent's action-level knowledge with each entry's
use. - getAgentKnowledgeEntries() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentKnowledgeEntries() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAgentKnowledgeScope() - Method in class com.tnsai.agents.Agent
- getAgentKnowledgeScope() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
- getAgentKnowledgeScope() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentKnowledgeScope() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAgentKnowledgeScope() - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- getAgentKnowledgeSources() - Method in class com.tnsai.agents.Agent
- getAgentKnowledgeSources() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
The sources of the agent's action-level knowledge.
- getAgentKnowledgeSources() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentKnowledgeSources() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAgentLLM() - Method in class com.tnsai.agents.Agent
- getAgentLLM() - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Returns the LLM client for chat operations
- getAgentLLM() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
- getAgentLLM() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentLLM() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAgentLLM() - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- getAgentMemoryStore() - Method in class com.tnsai.agents.Agent
- getAgentMemoryStore() - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Returns the memory store for conversation history
- getAgentMemoryStore() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
- getAgentMemoryStore() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentMemoryStore() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAgentMemoryStore() - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- getAgentName() - Method in class com.tnsai.agents.Agent
- getAgentName() - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Returns the agent's display name
- getAgentName() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
- getAgentName() - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Returns the agent name.
- getAgentName() - Method in interface com.tnsai.agents.messaging.AgentMessagingHandler.MessagingContext
-
Returns the agent's name for logging.
- getAgentName() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentName() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAgentName() - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- getAgentRecoveryManager() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getAgentRef() - Method in class com.tnsai.agents.Agent
- getAgentRef() - Method in interface com.tnsai.agents.groups.AgentGroupManager.GroupContext
-
Returns the agent instance for group membership.
- getAgentRef() - Method in interface com.tnsai.agents.hierarchy.AgentHierarchyManager.HierarchyContext
-
Returns the agent reference itself.
- getAgentRestartPolicyTemplate() - Method in class com.tnsai.agents.Agent
- getAgentRestartPolicyTemplate() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getAgentRoles() - Method in class com.tnsai.agents.Agent
- getAgentRoles() - Method in interface com.tnsai.agents.capabilities.AgentCapabilities.CapabilitiesContext
- getAgentRoles() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
- getAgentRoles() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentRoles() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAgentSchemaGenerator() - Method in class com.tnsai.agents.Agent
- getAgentSchemaGenerator() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
- getAgentSchemaGenerator() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getAgentSchemaGenerator() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getAll() - Method in class com.tnsai.memory.advanced.SkillMemoryStore
-
Returns all stored skills.
- getAll() - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
-
Gets all tokens (for testing/debugging).
- getAll() - Method in interface com.tnsai.spi.ToolRegistry
-
Returns all registered tools.
- getAllConflicts() - Method in class com.tnsai.context.entity.Entity
-
Gets all attributes that have conflicts.
- getAllDecisions() - Method in interface com.tnsai.context.ContextManagerHandle
- getAllEntries() - Method in class com.tnsai.communication.SharedBlackboard
-
Gets all entries.
- getAllGroups() - Method in class com.tnsai.agents.groups.GroupRegistry
-
Gets all registered groups.
- getAllStats() - Method in class com.tnsai.agents.variant.VariantManager
-
Gets all statistics.
- getAllStats() - Method in class com.tnsai.agents.variant.VariantSelector
-
Gets all variant statistics.
- getAlternatives() - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Gets the list of alternative answers.
- getApiKeyHeader() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the API key header name for API_KEY auth.
- getAppliedRules() - Method in class com.tnsai.context.decision.DecisionPolicy
- getApprovalReason() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.SecurityMeta
- getApprovedAt() - Method in class com.tnsai.security.approval.ApprovalToken
- getApprovedBy() - Method in class com.tnsai.security.approval.ApprovalToken
- getApprover() - Method in class com.tnsai.security.approval.InterruptResult
-
Gets the approver from payload if available.
- getArguments() - Method in class com.tnsai.agents.execution.AgentToolExecutor.ToolCallResult
- getAssumptions() - Method in class com.tnsai.context.decision.DecisionReasoning
- getAssumptions() - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Gets the list of key assumptions.
- getAttemptCount() - Method in class com.tnsai.parser.RetryableParser
-
Gets the number of parse attempts made.
- getAttempts() - Method in class com.tnsai.communication.AckResult
-
Returns the number of attempts made.
- getAttempts() - Method in class com.tnsai.parser.RetryableParser
-
Gets all parse attempts made.
- getAttribute(String) - Method in class com.tnsai.context.entity.Entity
-
Gets an attribute by name.
- getAttribute(String) - Method in exception class com.tnsai.tools.spi.ToolException
- getAttributeNames() - Method in class com.tnsai.context.entity.Entity
-
Gets all attribute names.
- getAttributes() - Method in exception class com.tnsai.tools.spi.ToolException
- getAttributeValue(String) - Method in class com.tnsai.context.entity.Entity
-
Gets an attribute value by name.
- getAttributeValue(String, Class<T>) - Method in class com.tnsai.context.entity.Entity
-
Gets an attribute value as a specific type.
- getAuditLevel() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.SecurityMeta
- getAuthorId() - Method in class com.tnsai.communication.SharedBlackboard.Entry
- getAutoStartOverride() - Method in class com.tnsai.agents.ConfigurableAgent
- getAutoStartOverride() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getAvailableMembers() - Method in interface com.tnsai.agents.groups.MembershipManager
-
Gets members available for task assignment.
- getAvailableMembersWithCapability(String) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Gets members available for task assignment with specific capability.
- getAverageDurationMs() - Method in class com.tnsai.agents.variant.VariantManager.VariantStats
- getAverageLatency() - Method in interface com.tnsai.communication.MessageAcknowledger.AckStatistics
-
Average acknowledgment latency.
- getAverageTokens() - Method in class com.tnsai.agents.variant.VariantSelector.VariantStats
- getBackoffMs() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- getBDICount() - Method in class com.tnsai.context.snapshot.ContextSnapshot
-
Gets the total number of BDI elements.
- getBeliefRevisionStrategy() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns the current belief revision strategy.
- getBeliefs() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets the beliefs at checkpoint time.
- getBeliefs() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getBeliefs() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getBeliefs() - Method in class com.tnsai.protocols.models.Message
-
Returns immutable copy of beliefs.
- getBeliefs() - Method in interface com.tnsai.spi.CognitiveModel
-
Returns all current beliefs.
- getBeliefsBySource(String) - Method in class com.tnsai.context.decision.DecisionInput
-
Finds beliefs by source.
- getBeliefsBySource(String) - Method in class com.tnsai.context.snapshot.ContextSnapshot
-
Finds beliefs matching a predicate.
- getBindings() - Method in exception class com.tnsai.actions.contracts.ContractViolationException
- getBoolean(String) - Method in class com.tnsai.actions.ActionParams
-
Gets a parameter value as boolean.
- getBudget() - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
-
Returns the token budget configuration.
- getBulkhead(String, int) - Method in class com.tnsai.resilience.ResilienceExecutor
-
Gets or creates a bulkhead with the specified configuration.
- getByAuthor(String) - Method in class com.tnsai.communication.SharedBlackboard
-
Gets entries by author.
- getById(String) - Method in class com.tnsai.communication.SharedBlackboard
-
Gets an entry by ID.
- getBytes() - Method in record class com.tnsai.models.chat.AudioPart
-
Gets the raw bytes if this is a Base64 audio part.
- getBytes() - Method in record class com.tnsai.models.chat.VideoPart
-
Gets the raw bytes if this is a Base64 video part.
- getByTier(MemoryTier) - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Retrieves all memories at a given tier, sorted by strength descending.
- getByType(SharedBlackboard.EntryType) - Method in class com.tnsai.communication.SharedBlackboard
-
Gets entries by type.
- getCacheCreationInputTokens() - Method in class com.tnsai.llm.ChatResponse
-
Gets cache creation input tokens if available.
- getCacheReadInputTokens() - Method in class com.tnsai.llm.ChatResponse
-
Gets cache read input tokens if available.
- getCacheSize() - Static method in class com.tnsai.actions.ActionDiscovery
-
Gets the current cache size.
- getCallbackDispatcher() - Method in class com.tnsai.agents.Agent
- getCallbackDispatcher() - Method in interface com.tnsai.agents.messaging.AgentMessagingHandler.MessagingContext
-
Returns the callback dispatcher for @OnMessageReceived callbacks.
- getCapabilities() - Method in interface com.tnsai.llm.LLMClient
-
Returns the capabilities of this LLM client/model.
- getCapabilities() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getCapability() - Method in exception class com.tnsai.exceptions.LLMCapabilityException
-
Returns the missing capability identifier.
- getCapturedAt() - Method in exception class com.tnsai.exceptions.ContextualWrapper
- getCategory() - Method in exception class com.tnsai.exceptions.ActionExecutionException
-
Gets the error category.
- getChatKnowledgeBinding() - Method in class com.tnsai.agents.Agent
-
Returns the owner-scoped canonical chat binding, if configured.
- getChatKnowledgeBinding() - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Returns the canonical chat retrieval binding, if configured.
- getChatKnowledgeBinding() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getChatKnowledgeContext() - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Returns the DIRECT and SEQUENTIAL knowledge each chat turn gives, if the agent declares any.
- getChatKnowledgeContext() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getCheckpointCount() - Method in class com.tnsai.agents.execution.MemoryManager
-
Returns the number of stored checkpoints.
- getCheckpointCount() - Method in class com.tnsai.state.FileCheckpointer
-
Get the total number of checkpoint files.
- getCheckpointCount() - Method in class com.tnsai.state.InMemoryCheckpointer
-
Get checkpoint count.
- getCheckpointHistory() - Method in class com.tnsai.agents.execution.MemoryManager
-
Returns all stored checkpoints.
- getCheckpointId() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets the checkpoint identifier.
- getChildren() - Method in class com.tnsai.agents.Agent
-
Returns the child agents (unmodifiable).
- getChildren() - Method in class com.tnsai.agents.hierarchy.AgentHierarchyManager
-
Returns the child agents in a hierarchical structure.
- getChildrenSnapshot() - Method in class com.tnsai.agents.Agent
- getChildrenSnapshot() - Method in interface com.tnsai.agents.hierarchy.AgentHierarchyManager.HierarchyContext
-
Returns an unmodifiable snapshot of the children list.
- getChunkIndex() - Method in class com.tnsai.llm.ChatChunk
-
Gets the chunk index if available.
- getCircuitBreaker() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- getClassName() - Method in enum class com.tnsai.enums.BuiltInTool
-
Fully-qualified class name of the backing POJO in
tnsai-tools. - getCognitiveSupport() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getCombinedPrompt() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Combines system prompt and user message into a single prompt.
- getCommunication() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Extracts communication configuration as runtime model.
- getCommunication() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getCommunicationManager() - Method in class com.tnsai.agents.Agent
- getCommunicationManager() - Method in interface com.tnsai.agents.hierarchy.AgentHierarchyManager.HierarchyContext
-
Returns the communication manager for inter-agent messaging.
- getCommunicationManager() - Method in interface com.tnsai.agents.messaging.AgentMessagingHandler.MessagingContext
-
Returns the communication manager for sending replies.
- getCommunicationTemplate() - Method in class com.tnsai.agents.Agent
- getCommunicationTemplate() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getCompletedAt() - Method in class com.tnsai.context.decision.DecisionOutcome
- getConcerns(String) - Method in class com.tnsai.communication.SharedBlackboard
-
Gets concerns for an entry.
- getConfidence() - Method in class com.tnsai.context.decision.DecisionReasoning
- getConfidence() - Method in class com.tnsai.context.decision.DecisionTrace
-
Gets the confidence level from reasoning.
- getConfidence() - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Gets the confidence score if present.
- getConfigKey() - Method in exception class com.tnsai.tools.spi.ToolConfigurationException
- getConflict() - Method in exception class com.tnsai.idempotency.IdempotencyException
- getConflictingValues(String) - Method in class com.tnsai.context.entity.Entity
-
Gets all conflicting values for an attribute.
- getConsideredAlternatives() - Method in class com.tnsai.context.decision.DecisionReasoning
- getConsolidationPipeline() - Method in class com.tnsai.agents.Agent
-
Returns the memory consolidation pipeline resolved from
@Memory(TAN-5049), ornullwhen the agent has no@Memoryannotation or conversation memory is disabled. - getConstraints() - Method in class com.tnsai.context.decision.DecisionInput
- getConstraints() - Method in class com.tnsai.context.decision.DecisionPolicy
- getContent() - Method in class com.tnsai.communication.SharedBlackboard.Entry
- getContent() - Method in class com.tnsai.knowledge.Document
-
Gets the document content.
- getContent() - Method in class com.tnsai.knowledge.SearchResult
-
Convenience method to get the document content.
- getContent() - Method in interface com.tnsai.prompt.PromptTemplate
-
Gets the raw template content before variable substitution.
- getContentAs(Class<T>) - Method in class com.tnsai.communication.SharedBlackboard.Entry
- getContentType() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the content type for web service requests.
- getContext() - Method in exception class com.tnsai.exceptions.ContextualWrapper
- getContext() - Method in exception class com.tnsai.exceptions.TnsAIException
-
Framework
EventContextcaptured at construction time, if any. - getContextData() - Method in class com.tnsai.context.decision.DecisionInput
- getContextManager() - Method in class com.tnsai.agents.Agent
-
Returns the context manager if context graph is enabled.
- getContextManager() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getContextManagerDirect() - Method in class com.tnsai.agents.Agent
- getContextManagerDirect() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getContextManagerDirect() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getContextSnapshot() - Method in class com.tnsai.context.decision.DecisionTrace
- getContextTokenLimit() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getContextTokenLimit() - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- getContextWindow() - Method in interface com.tnsai.llm.LLMCapabilities
-
Total context window (usually same as maxInputTokens for most models).
- getContractKind() - Method in exception class com.tnsai.actions.contracts.ContractViolationException
- getConversation() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.MemoryMeta
- getConversation(String, String) - Method in class com.tnsai.communication.AgentCommunicationManager
-
Gets the conversation between two agents.
- getConversationHistory() - Method in class com.tnsai.agents.Agent
-
Returns an immutable copy of the conversation history.
- getConversationHistory() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets the conversation history.
- getConversationHistory() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getConversationId() - Method in class com.tnsai.context.decision.DecisionTrace
- getConversationId() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getConversationSize() - Method in class com.tnsai.agents.Agent
-
Returns the number of messages in conversation history.
- getConversationSize() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getCooldown() - Method in class com.tnsai.resilience.recovery.AgentRestartPolicy
- getCorrectionPrompt(String, String) - Method in class com.tnsai.parser.RetryableParser
-
Gets a correction prompt to send to the LLM when parsing fails.
- getCorrelationId() - Method in class com.tnsai.communication.AcknowledgedMessage
-
Returns the correlation ID for tracking this acknowledgment.
- getCorrelationId() - Method in class com.tnsai.communication.AckResult
-
Returns the correlation ID.
- getCost() - Method in enum class com.tnsai.enums.AgentVariant
- getCounter(String) - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets counter value.
- getCounterNames() - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets all counter names.
- getCreatedAt() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets the creation timestamp.
- getCreatedAt() - Method in class com.tnsai.communication.AcknowledgedMessage
-
Returns when this message was created.
- getCreatedAt() - Method in class com.tnsai.context.entity.Entity
- getCreatedAt() - Method in class com.tnsai.security.approval.ApprovalToken
- getCurrentAction() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets the current action being executed (if any).
- getCurrentConversationId() - Method in interface com.tnsai.context.ContextManagerHandle
- getCurrentIntention() - Method in interface com.tnsai.spi.CognitiveModel
-
Returns the current intention being executed.
- getCurrentInterrupt() - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Gets the current interrupt event, if any.
- getCurrentMessageEstimate() - Method in class com.tnsai.memory.strategy.TokenBudget
- getCurrentSpec() - Method in class com.tnsai.agents.variant.VariantManager
-
Gets the current variant configuration.
- getCurrentVariant() - Method in class com.tnsai.agents.variant.VariantManager
-
Gets the current variant.
- getData(String) - Method in class com.tnsai.context.decision.DecisionInput
-
Gets a context data value.
- getData(String, Class<T>) - Method in class com.tnsai.context.decision.DecisionInput
-
Gets a typed context data value.
- getDeadLetterQueue() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getDeadLetterQueue() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Returns the dead letter queue for failed operations.
- getDeadLetterQueue() - Method in class com.tnsai.resilience.ResilienceExecutor
- getDeadline() - Method in exception class com.tnsai.tools.spi.ToolTimeoutException
- getDecisionCount() - Method in interface com.tnsai.context.ContextManagerHandle
- getDefaultConfidence() - Method in class com.tnsai.context.entity.EntitySource
- getDefaultContext() - Static method in class com.tnsai.identity.DIDDocument
-
Get default context for DID documents.
- getDefaultRetryPolicy() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getDefaultRetryPolicy() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Returns the default retry policy.
- getDefaultRetryPolicyTemplate() - Method in class com.tnsai.agents.Agent
- getDefaultRetryPolicyTemplate() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getDegradeThreshold() - Method in class com.tnsai.resilience.recovery.AgentRestartPolicy
- getDescription() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Returns optional description of this group's purpose.
- getDescription() - Method in enum class com.tnsai.agents.groups.GroupLifecycle
-
Returns a human-readable description of this state.
- getDescription() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Returns the agent description.
- getDescription() - Method in enum class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityLevel
- getDescription() - Method in enum class com.tnsai.agents.variant.VariantSelector.VariantPreference
- getDescription() - Method in enum class com.tnsai.agents.variant.VariantSpec.ToolSet
- getDescription() - Method in enum class com.tnsai.enums.AgentVariant
- getDescription() - Method in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
- getDescription() - Method in interface com.tnsai.llm.LLMCapabilities
-
Returns a human-readable description of the model.
- getDescription() - Method in class com.tnsai.llm.ModelCapabilities
- getDescription() - Method in class com.tnsai.memory.strategy.HybridStrategy
- getDescription() - Method in interface com.tnsai.memory.strategy.MemoryStrategy
-
Returns a description of what this strategy does.
- getDescription() - Method in class com.tnsai.memory.strategy.SlidingWindowStrategy
- getDescription() - Method in class com.tnsai.memory.strategy.SummaryStrategy
- getDescription() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- getDescription() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getDescription() - Method in record class com.tnsai.models.agent.Communication
-
Gets a description of the communication style.
- getDescription() - Method in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Gets a short description of this strategy.
- getDescription(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- getDescriptionOverride() - Method in class com.tnsai.agents.ConfigurableAgent
- getDescriptionOverride() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getDesireConflictResolver() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns the current desire conflict resolver.
- getDesires() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets the desires at checkpoint time.
- getDesires() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getDesires() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getDetailedMessage() - Method in exception class com.tnsai.exceptions.ActionExecutionException
-
Gets a detailed error message suitable for logging or LLM consumption.
- getDetailedMessage() - Method in exception class com.tnsai.tools.spi.ToolException
-
Get a detailed error message including all context.
- getDetails() - Method in exception class com.tnsai.security.SecurityException
-
Gets additional details about the violation.
- getDidConfigOverride() - Method in class com.tnsai.agents.ConfigurableAgent
- getDidConfigOverride() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getDocument() - Method in class com.tnsai.knowledge.SearchResult
-
Gets the matched document.
- getDocument(String) - Method in class com.tnsai.knowledge.InMemoryKnowledgeBase
- getDocument(String) - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Retrieves a document by its ID.
- getDocumentId() - Method in class com.tnsai.knowledge.SearchResult
-
Convenience method to get the document ID.
- getDomain() - Method in class com.tnsai.roles.Role
- getDomains() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getDouble(String) - Method in class com.tnsai.actions.ActionParams
-
Gets a parameter value as double.
- getDuration() - Method in class com.tnsai.agents.async.SessionManager.SessionInfo
- getDurationMs() - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets duration in milliseconds.
- getEffectiveModel(Set<String>) - Method in class com.tnsai.agents.variant.VariantSpec
-
Returns the first available model (preferred or fallback).
- getEffects() - Method in class com.tnsai.context.decision.DecisionOutcome
- getEffects() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the effects defined for this action.
- getEmbedding() - Method in class com.tnsai.knowledge.Document
-
Gets the document embedding (vector representation).
- getEmbeddingDimension() - Method in class com.tnsai.knowledge.Document
-
Gets the embedding dimension.
- getEndedAt() - Method in class com.tnsai.agents.async.SessionManager.SessionInfo
- getEndpoint() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the endpoint URL for WEB_SERVICE or MCP_TOOL actions.
- getEndpointForTool(String) - Method in class com.tnsai.actions.executors.McpToolExecutor
-
Checks if this executor handles a specific tool name.
- getEndTime() - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets end time.
- getEnsembleExecutor() - Method in class com.tnsai.agents.Agent
-
Returns the ensemble executor for parallel LLM operations.
- getEnsembleExecutor() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getEntities() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getEntries() - Method in interface com.tnsai.resilience.dlq.DeadLetterQueue
-
Returns all entries in the queue.
- getEntries() - Method in class com.tnsai.resilience.dlq.InMemoryDeadLetterQueue
- getEntries(String) - Method in interface com.tnsai.resilience.dlq.DeadLetterQueue
-
Returns entries filtered by operation ID.
- getEntries(String) - Method in class com.tnsai.resilience.dlq.InMemoryDeadLetterQueue
- getEnvironment() - Method in class com.tnsai.agents.Agent
-
Returns the environment if configured.
- getEnvironment() - Method in class com.tnsai.agents.AgentCognitiveSupport
- getEnvironment() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getError() - Method in class com.tnsai.context.decision.DecisionOutcome
- getError() - Method in class com.tnsai.parser.ParseResult
-
Gets the error message if parsing failed.
- getErrorCode() - Method in exception class com.tnsai.exceptions.TnsAIException
-
Gets the error code for this exception type.
- getErrorCode() - Method in exception class com.tnsai.idempotency.IdempotencyException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolAuthenticationException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolAuthorizationException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolConfigurationException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolConflictException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolExternalServiceException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolInputException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolNotFoundException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolRateLimitException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolResultSerializationException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolTimeoutException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolUnexpectedException
- getErrorCode() - Method in exception class com.tnsai.tools.spi.ToolUserCanceledException
- getErrorCorrectionPrompt(String, String) - Method in interface com.tnsai.parser.OutputParser
-
Generates an error correction prompt when parsing fails.
- getErrorMessage() - Method in class com.tnsai.security.approval.InterruptResult
-
Gets error message if outcome is ERROR.
- getErrorReason() - Method in class com.tnsai.communication.AckResult
-
Returns the error reason if any.
- getErrorRecoveryScenariosDirect() - Method in class com.tnsai.agents.Agent
- getErrorRecoveryScenariosDirect() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getErrorRecoveryScenariosTemplate() - Method in class com.tnsai.agents.Agent
- getErrorRecoveryScenariosTemplate() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getErrorType() - Method in exception class com.tnsai.exceptions.LLMException
- getErrorType() - Method in exception class com.tnsai.tools.spi.ToolException
- getEstimatedLatencyMs() - Method in interface com.tnsai.llm.LLMCapabilities
-
Estimated average latency for first token (TTFT) in milliseconds.
- getEstimatedLatencyMs() - Method in class com.tnsai.llm.ModelCapabilities
- getEstimatedOverhead() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Gets the estimated additional token overhead from enhancement.
- getEvalContext() - Method in class com.tnsai.agents.Agent
- getEvalContext() - Method in class com.tnsai.agents.AgentCognitiveSupport
- getEvalContext() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getEvalContext() - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
Gets the evaluation context for metric collection
- getEvalContext() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getEvalContext() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getEvalHookManager() - Method in class com.tnsai.agents.AgentCognitiveSupport
- getEventBus() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Returns the event bus for intra-group communication.
- getEventHandlerRegistry() - Method in class com.tnsai.agents.Agent
- getEventHandlerRegistry() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getEventPublisher() - Method in class com.tnsai.agents.Agent
- getEventPublisher() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getEventPublisher() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getEventPublisher() - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- getEvents() - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets all events.
- getExamples() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets all usage examples (positive and negative) in declaration order.
- getExceptionMessage() - Method in class com.tnsai.resilience.dlq.DeadLetterEntry
- getExceptionType() - Method in class com.tnsai.resilience.dlq.DeadLetterEntry
- getExecutionDuration() - Method in class com.tnsai.context.decision.DecisionTrace
-
Gets the execution duration if outcome has execution time.
- getExecutionStep() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets the execution step number.
- getExecutionTime() - Method in class com.tnsai.context.decision.DecisionOutcome
- getExpectedFormat() - Method in exception class com.tnsai.parser.ParseException
-
Gets the expected format description if available.
- getExpiredBeliefsCount() - Method in class com.tnsai.context.snapshot.ContextSnapshot
-
Gets the count of expired beliefs.
- getExpiresAt() - Method in class com.tnsai.communication.AcknowledgedMessage
-
Returns when this message expires (createdAt + timeout).
- getExpiresAt() - Method in class com.tnsai.security.approval.ApprovalToken
- getExtension() - Method in enum class com.tnsai.output.OutputFormat
-
Gets the file extension for this format.
- getExtra(String) - Method in record class com.tnsai.prompt.PromptSpec
-
Gets an extra metadata value.
- getExtraCondition() - Method in class com.tnsai.resilience.RetryPolicy
- getFactor() - Method in enum class com.tnsai.enums.AgentVariant.Speed
- getFailedCallbackCount() - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Gets the total count of failed callback invocations.
- getFailedOperationCount() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Returns the count of failed operations in DLQ.
- getFailureCount() - Method in class com.tnsai.agents.variant.VariantSelector.VariantStats
- getFailureStrategy() - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Gets the current failure strategy.
- getFailureThreshold() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CircuitBreakerMeta
- getFallbackMethod() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- getFallbackModels() - Method in class com.tnsai.agents.variant.VariantSpec
- getFallbacks() - Method in class com.tnsai.llm.FallbackLLMClient
-
Gets the fallback clients.
- getFallbackStrategy() - Method in class com.tnsai.resilience.ResilienceRequest
- getFeedback() - Method in class com.tnsai.context.decision.DecisionOutcome
- getFeedbackCollector() - Method in class com.tnsai.agents.Agent
-
Returns the feedback collector (never null; no-op if tnsai-intelligence absent).
- getFeedbackCollector() - Method in class com.tnsai.agents.AgentCognitiveSupport
- getFeedbackCollector() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getFeedbackCount() - Method in interface com.tnsai.feedback.FeedbackCollector
-
Returns the number of recorded feedback items.
- getFileExtension() - Method in class com.tnsai.roles.export.frameworks.JADEExporter
- getFileExtension() - Method in class com.tnsai.roles.export.frameworks.JasonExporter
- getFileExtension() - Method in class com.tnsai.roles.export.frameworks.SCOPExporter
- getFileExtension() - Method in class com.tnsai.roles.export.JsonRoleExporter
- getFileExtension() - Method in interface com.tnsai.roles.export.RoleExporter
-
Returns the file extension for this export format.
- getFileExtension() - Method in class com.tnsai.roles.export.YamlRoleExporter
- getFinishReason() - Method in class com.tnsai.llm.ChatChunk
-
Gets the finish reason if available.
- getFormality() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
- getFormat() - Method in class com.tnsai.output.AbstractOutputSerializer
- getFormat() - Method in exception class com.tnsai.output.OutputSerializationException
- getFormat() - Method in interface com.tnsai.output.OutputSerializer
-
Gets the output format this serializer handles.
- getFormat() - Method in class com.tnsai.parser.FormatAwareOutputParser
-
Gets the output format this parser uses.
- getFormatInstruction() - Method in class com.tnsai.parser.FormatAwareOutputParser
- getFormatInstruction() - Method in class com.tnsai.parser.JsonOutputParser
- getFormatInstruction() - Method in interface com.tnsai.parser.OutputParser
-
Returns a format instruction string to include in the LLM prompt.
- getFormatInstruction() - Method in class com.tnsai.parser.RetryableParser
- getFormatInstructions(OutputFormat, Class<?>) - Method in class com.tnsai.output.OutputSerializerRegistry
-
Gets format instructions for LLM prompts.
- getFormatInstructions(Class<?>) - Method in class com.tnsai.output.impl.JsonOutputSerializer
- getFormatInstructions(Class<?>) - Method in class com.tnsai.output.impl.TextOutputSerializer
- getFormatInstructions(Class<?>) - Method in class com.tnsai.output.impl.TonlOutputSerializer
- getFormatInstructions(Class<?>) - Method in class com.tnsai.output.impl.ToonOutputSerializer
- getFormatInstructions(Class<?>) - Method in class com.tnsai.output.impl.YamlOutputSerializer
- getFormatInstructions(Class<?>) - Method in interface com.tnsai.output.OutputSerializer
-
Generates format instructions for LLM to produce output in this format.
- getFormatName() - Method in class com.tnsai.roles.export.frameworks.JADEExporter
- getFormatName() - Method in class com.tnsai.roles.export.frameworks.JasonExporter
- getFormatName() - Method in class com.tnsai.roles.export.frameworks.SCOPExporter
- getFormatName() - Method in class com.tnsai.roles.export.JsonRoleExporter
- getFormatName() - Method in interface com.tnsai.roles.export.RoleExporter
-
Returns the format name.
- getFormatName() - Method in class com.tnsai.roles.export.YamlRoleExporter
- getFulfills() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the goals that this action fulfills.
- getFulfills() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- getFullClassName() - Method in class com.tnsai.metadata.DiscoveredRoleActions
-
Gets the fully qualified class name.
- getFullTypeName() - Method in class com.tnsai.metadata.ParamSpec
-
Gets the fully qualified type name.
- getGoal() - Method in record class com.tnsai.roles.export.ExportedRole
- getGoal() - Method in class com.tnsai.roles.Role
- getGoals() - Method in interface com.tnsai.spi.CognitiveModel
-
Returns all current goals.
- getGroupCount() - Method in class com.tnsai.agents.groups.GroupRegistry
-
Gets the number of registered groups.
- getGroupId() - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Returns the group ID this bus belongs to.
- getGroupId() - Method in exception class com.tnsai.agents.groups.GroupPolicyViolationException
- getGroups() - Method in class com.tnsai.agents.Agent
-
Returns all groups this agent is a member of.
- getGroups() - Method in class com.tnsai.agents.groups.AgentGroupManager
-
Returns all groups this agent is a member of.
- getGroupsFor(Agent) - Method in class com.tnsai.agents.groups.GroupRegistry
-
Gets all groups that an agent is a member of.
- getGroupSpec() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Extracts group membership configuration from @AgentSpec.groups.
- getGroupSpecOverride() - Method in class com.tnsai.agents.ConfigurableAgent
- getGroupSpecOverride() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getGuidelines() - Method in class com.tnsai.context.decision.DecisionPolicy
- getHandlerCount() - Method in class com.tnsai.events.handler.EventHandlerRegistry
-
Returns the number of registered handlers.
- getHealth(String) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Gets health status of a member.
- getHealthState() - Method in class com.tnsai.agents.Agent
-
Returns the current resilience health state.
- getHealthState() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getHealthState() - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Returns the current health state.
- getHealthState() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Returns the current health state.
- getHealthyPercentage() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Gets healthy member percentage.
- getHighConfidenceBeliefs() - Method in class com.tnsai.context.decision.DecisionInput
-
Finds high-confidence beliefs.
- getHighConfidenceBeliefs() - Method in class com.tnsai.context.snapshot.ContextSnapshot
-
Finds high-confidence beliefs.
- getHistory() - Method in class com.tnsai.agents.async.ChatOptions
-
Gets the optional conversation history.
- getHistory() - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Returns the current conversation history.
- getHistory() - Method in class com.tnsai.agents.execution.MemoryManager
-
Returns the full conversation history.
- getHistory() - Method in class com.tnsai.llm.ChatRequest
-
Conversation history (null if not set).
- getHistory() - Method in class com.tnsai.memory.AbstractMemoryStore
- getHistory() - Method in interface com.tnsai.memory.MemoryStore
-
Retrieves the full conversation history.
- getHistory() - Method in class com.tnsai.memory.NamespacedMemoryStore
- getHistory() - Method in class com.tnsai.memory.SharedMemoryStore
- getHistory() - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
- getHistory() - Method in class com.tnsai.memory.vector.VectorSearchMemoryStore
- getHistory(int) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Gets membership history.
- getHistory(String) - Method in class com.tnsai.memory.NamespacedMemoryStore
-
Retrieves the full history from a specific namespace.
- getHistoryBudget() - Method in class com.tnsai.memory.strategy.TokenBudget
-
Returns the token budget available for conversation history.
- getHost() - Method in exception class com.tnsai.exceptions.NetworkException
- getHttpStatusCode() - Method in exception class com.tnsai.tools.spi.ToolException
- getId() - Method in class com.tnsai.agents.Agent
-
Alias for
Agent.getAgentId(). - getId() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Returns the unique identifier of this group.
- getId() - Method in class com.tnsai.communication.SharedBlackboard.Entry
- getId() - Method in class com.tnsai.context.entity.Entity
- getId() - Method in class com.tnsai.context.entity.EntitySource
- getId() - Method in class com.tnsai.knowledge.Document
-
Gets the unique document ID.
- getId() - Method in class com.tnsai.resilience.dlq.DeadLetterEntry
- getIdentitiesTemplate() - Method in class com.tnsai.agents.Agent
- getIdentitiesTemplate() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getIdentity() - Method in class com.tnsai.roles.ConfigurableRole
- getIdentity() - Method in class com.tnsai.roles.Role
-
Template method: Define the role's identity.
- getIdleTime() - Method in class com.tnsai.agents.Agent
-
Returns milliseconds since last activity, or -1 if not monitored.
- getIdleTime(Agent) - Method in class com.tnsai.agents.lifecycle.IdleMonitor
-
Gets the time since last activity for an agent.
- getIdleTimeoutMs() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Returns idle timeout in milliseconds.
- getIdleTimeoutMsOverride() - Method in class com.tnsai.agents.ConfigurableAgent
- getIdleTimeoutMsOverride() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getInitialBackoff() - Method in class com.tnsai.resilience.RetryPolicy
- getInjectedActionExecutor() - Method in class com.tnsai.agents.Agent
- getInjectedActionExecutor() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getInjectedLLM() - Method in class com.tnsai.agents.Agent
- getInjectedLLM() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getInjectedMemoryStore() - Method in class com.tnsai.agents.Agent
- getInjectedMemoryStore() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getInput() - Method in class com.tnsai.context.decision.DecisionTrace
- getInputCostPer1KTokens() - Method in interface com.tnsai.llm.LLMCapabilities
-
Cost per 1000 input tokens in USD.
- getInputCostPer1KTokens() - Method in class com.tnsai.llm.ModelCapabilities
- getInputCount() - Method in class com.tnsai.context.decision.DecisionInput
-
Returns the total number of input elements.
- getInputGuardrailConfig() - Method in class com.tnsai.roles.ConfigurableRole
- getInputGuardrailConfig() - Method in class com.tnsai.roles.Role
-
Programmatic input-guardrail config for this role's actions (TNS-561) — the builder-path counterpart of a class-level
@InputGuardrail. - getInputTokens() - Method in class com.tnsai.llm.ChatResponse
-
Gets input token count if available.
- getInstance() - Static method in class com.tnsai.agents.groups.GroupRegistry
-
Returns the singleton instance.
- getInstance() - Static method in class com.tnsai.agents.lifecycle.IdleMonitor
-
Returns the singleton instance.
- getInstance() - Static method in class com.tnsai.agents.lifecycle.LifecycleManager
-
Returns the singleton instance.
- getInstance() - Static method in class com.tnsai.memory.SharedMemoryRegistry
-
Returns the singleton instance.
- getInstance() - Static method in class com.tnsai.output.OutputSerializerRegistry
-
Gets the singleton instance of the registry.
- getInstance() - Static method in class com.tnsai.resilience.ResilienceMetrics
-
Singleton — Phase 1 has no SPI fan-out, one registry per JVM.
- getInstance() - Static method in class com.tnsai.roles.registry.RoleRegistry
-
Returns the singleton instance.
- getInstance() - Static method in class com.tnsai.spi.CheckpointerFactory
-
Returns the singleton factory instance.
- getInstance() - Static method in class com.tnsai.utils.ConversationTracer
- getInstruction() - Method in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
- getInt(String) - Method in class com.tnsai.actions.ActionParams
-
Gets a parameter value as int.
- getIntentions() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets the intentions at checkpoint time.
- getIntentions() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getIntentions() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getIntentions() - Method in class com.tnsai.protocols.models.Message
-
Returns immutable copy of intentions.
- getInterruptId() - Method in class com.tnsai.security.approval.InterruptResult
-
Gets the interrupt ID.
- getInvariant() - Method in exception class com.tnsai.invariants.InvariantViolationException
- getJitterFactor() - Method in class com.tnsai.resilience.RetryPolicy
- getKey() - Method in exception class com.tnsai.idempotency.IdempotencyException
- getKnowledgeEntries() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Knowledge declared on
@AgentSpec.knowledge(), each entry with its resolveduse, budget and search settings. - getKnowledgeSource(String) - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Resolves a named knowledge source declared on the Agent class and normalizes it to the canonical runtime model.
- getKnowledgeSources() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Action-level sources declared on
@AgentSpec.knowledge(). - getLanguages() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
- getLastAttempt() - Method in class com.tnsai.parser.RetryableParser
-
Gets the last parse attempt.
- getLastCheckpoint() - Method in class com.tnsai.agents.execution.MemoryManager
-
Returns the most recent checkpoint if available.
- getLastCheckpoint() - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Gets the most recent checkpoint, if any.
- getLastConsolidationTime() - Method in class com.tnsai.memory.MemoryConsolidationPipeline
-
Returns the timestamp of the last successful consolidation.
- getLastReasoningResult() - Method in class com.tnsai.agents.Agent
-
Returns the last reasoning result, or empty.
- getLastReasoningResult() - Method in class com.tnsai.agents.AgentCognitiveSupport
- getLastReasoningResult() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getLastSync() - Method in class com.tnsai.context.entity.EntitySource
- getLastUpdatedAt() - Method in class com.tnsai.context.entity.Entity
- getLatency() - Method in class com.tnsai.communication.AckResult
-
Returns the latency (time between send and receive).
- getLeader() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Returns the current leader if one has been elected.
- getLearnedPreferences() - Method in interface com.tnsai.feedback.FeedbackCollector
-
Returns learned preferences from accumulated feedback.
- getLevel() - Method in enum class com.tnsai.agents.groups.GroupTask.Priority
- getLifecycle() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Returns the current lifecycle state of this group.
- getListFormatInstructions(OutputFormat, Class<?>) - Method in class com.tnsai.output.OutputSerializerRegistry
-
Gets format instructions for list output.
- getListFormatInstructions(Class<?>) - Method in class com.tnsai.output.impl.JsonOutputSerializer
- getListFormatInstructions(Class<?>) - Method in class com.tnsai.output.impl.TextOutputSerializer
- getListFormatInstructions(Class<?>) - Method in class com.tnsai.output.impl.TonlOutputSerializer
- getListFormatInstructions(Class<?>) - Method in class com.tnsai.output.impl.ToonOutputSerializer
- getListFormatInstructions(Class<?>) - Method in class com.tnsai.output.impl.YamlOutputSerializer
- getListFormatInstructions(Class<?>) - Method in interface com.tnsai.output.OutputSerializer
-
Generates format instructions for list output.
- getLLM() - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Returns the configured LLM client.
- getLLM() - Method in class com.tnsai.roles.Role
-
Gets the LLM client for this role.
- getLLMClient() - Static method in class com.tnsai.utils.HttpClientFactory
-
Returns the shared HTTP client optimized for LLM operations.
- getLlmMaxTokens() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getLlmModel() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getLlmProvider() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getLlmSystemPrompt() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the per-action LLM system-prompt override.
- getLlmSystemPrompt() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getLlmTemperature() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the per-action LLM temperature override.
- getLlmTemperature() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getLLMTemplate() - Method in class com.tnsai.agents.Agent
- getLLMTemplate() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getLlmTopP() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getMainContent() - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Gets the main content with metadata sections removed.
- getMaxAttempts() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- getMaxAttempts() - Method in class com.tnsai.resilience.RetryPolicy
- getMaxBackoff() - Method in class com.tnsai.resilience.RetryPolicy
- getMaxBackoffMs() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- getMaxConcurrent() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- getMaxConcurrent() - Method in class com.tnsai.resilience.ResilienceRequest
-
Maximum concurrent calls allowed when bulkhead is enabled.
- getMaxContextTokens() - Method in class com.tnsai.agents.execution.MemoryManager
-
Returns the configured max context tokens.
- getMaxContextTokens() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Returns the agent-level context-token budget from
@AgentSpec.maxContextTokens(TNS-609). - getMaxContextTokensDirect() - Method in class com.tnsai.agents.Agent
- getMaxContextTokensDirect() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getMaxContextTokensTemplate() - Method in class com.tnsai.agents.Agent
- getMaxContextTokensTemplate() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getMaxDurationMs() - Method in class com.tnsai.agents.variant.VariantManager.VariantStats
- getMaxInputTokens() - Method in class com.tnsai.agents.variant.VariantSpec
- getMaxInputTokens() - Method in interface com.tnsai.llm.LLMCapabilities
-
Maximum input tokens (context window).
- getMaxInputTokens() - Method in class com.tnsai.llm.ModelCapabilities
- getMaxMessages() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ConversationMeta
- getMaxOutputTokens() - Method in class com.tnsai.agents.variant.VariantSpec
- getMaxOutputTokens() - Method in interface com.tnsai.llm.LLMCapabilities
-
Maximum output tokens the model can generate.
- getMaxOutputTokens() - Method in class com.tnsai.llm.ModelCapabilities
- getMaxRequests() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RateLimitMeta
- getMaxRetries() - Method in class com.tnsai.agents.variant.VariantSpec
- getMaxRetries() - Method in class com.tnsai.communication.AcknowledgedMessage
-
Returns the maximum number of retries on timeout.
- getMaxRetries() - Method in class com.tnsai.parser.RetryableParser
-
Gets the maximum number of retries configured.
- getMaxRetryAttempts() - Method in exception class com.tnsai.exceptions.NetworkException
- getMaxRetryAttempts() - Method in exception class com.tnsai.exceptions.RateLimitException
- getMaxRetryAttempts() - Method in exception class com.tnsai.exceptions.TimeoutException
- getMaxRetryAttempts() - Method in exception class com.tnsai.exceptions.TnsAIException
-
Gets maximum recommended retry attempts.
- getMaxRetryAttempts() - Method in exception class com.tnsai.state.StateException
-
Maximum retry attempts for state operations.
- getMaxTokens() - Method in class com.tnsai.agents.async.ChatOptions
-
Gets the optional max tokens override.
- getMaxTokens() - Method in class com.tnsai.llm.FallbackLLMClient
- getMaxTokens() - Method in interface com.tnsai.llm.LLMClient
-
Gets the maximum tokens setting.
- getMaxTokens() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ConversationMeta
- getMaxToolIterations() - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Returns the current maximum tool call iterations limit.
- getMcpApiKeyEnv() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the MCP API key environment variable name.
- getMcpCacheTtlSeconds() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the MCP cache TTL in seconds.
- getMcpHeaders() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the MCP custom headers.
- getMcpRetryBackoffMs() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the MCP retry backoff.
- getMcpRetryCount() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the MCP retry count.
- getMcpServerUrl() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the MCP server URL for MCP_TOOL actions.
- getMcpStdioArgs() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the MCP stdio arguments.
- getMcpStdioCommand() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the MCP stdio command.
- getMcpStdioEnv() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the MCP stdio environment variables.
- getMcpTimeout() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the MCP request timeout.
- getMcpToolExecutor() - Method in class com.tnsai.actions.ActionExecutor
-
Gets the McpToolExecutor if registered.
- getMcpToolName() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the specific MCP tool name.
- getMember(String) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Gets a member by ID.
- getMember(String) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Gets a member by ID.
- getMemberCount() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Returns the number of current members.
- getMemberCount() - Method in interface com.tnsai.agents.groups.MembershipManager
-
Gets current member count.
- getMembers() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Returns the current members of this group.
- getMembers() - Method in interface com.tnsai.agents.groups.MembershipManager
-
Gets all current members.
- getMembershipDuration() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
- getMembershipManager() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Returns the membership manager for advanced membership operations.
- getMemory() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getMemorySpec() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Extracts memory configuration from @AgentSpec.memory.
- getMemoryStore() - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Returns the memory store.
- getMemoryStore() - Method in class com.tnsai.agents.execution.MemoryManager
-
Returns the underlying memory store.
- getMemoryStoreTemplate() - Method in class com.tnsai.agents.Agent
- getMemoryStoreTemplate() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getMergedHistory(String...) - Method in class com.tnsai.memory.NamespacedMemoryStore
-
Retrieves history merged from multiple namespaces, in the order provided.
- getMessage() - Method in class com.tnsai.communication.AcknowledgedMessage
-
Returns the underlying agent message.
- getMessage() - Method in exception class com.tnsai.exceptions.ContextualWrapper
- getMessage() - Method in exception class com.tnsai.exceptions.TnsAIException
-
Returns the message with the captured
EventContextappended in a compact, operator-readable form: - getMessage() - Method in class com.tnsai.llm.ChatRequest
-
The text message (null for multimodal-only requests).
- getMessage() - Method in exception class com.tnsai.output.OutputSerializationException
- getMessageCount() - Method in class com.tnsai.communication.AgentCommunicationManager
-
Gets the total number of messages in history.
- getMessageCount() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getMessageHistory(String) - Method in class com.tnsai.communication.AgentCommunicationManager
-
Gets all messages involving a specific agent (sent or received).
- getMessageParts() - Method in class com.tnsai.llm.ChatRequest
-
Multimodal content parts (null for text-only requests).
- getMetadata() - Method in exception class com.tnsai.exceptions.TaskCompleteException
-
Gets the metadata map.
- getMetadata() - Method in class com.tnsai.llm.ChatRequest
-
Arbitrary metadata for provider-specific extensions.
- getMetadataValue(String) - Method in exception class com.tnsai.exceptions.TaskCompleteException
-
Gets a specific metadata value.
- getMethod() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- getMetric(String) - Method in class com.tnsai.context.decision.DecisionOutcome
-
Gets a metric value.
- getMetric(String, Class<T>) - Method in class com.tnsai.context.decision.DecisionOutcome
-
Gets a typed metric value.
- getMetricNames() - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets all metric names.
- getMetrics() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Returns group metrics snapshot.
- getMetrics() - Method in class com.tnsai.context.decision.DecisionOutcome
- getMetricValues(String) - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets all values for a metric.
- getMimeType() - Method in enum class com.tnsai.output.OutputFormat
-
Gets the MIME type for this format.
- getMimeType() - Method in class com.tnsai.roles.export.frameworks.JADEExporter
- getMimeType() - Method in class com.tnsai.roles.export.frameworks.JasonExporter
- getMimeType() - Method in class com.tnsai.roles.export.frameworks.SCOPExporter
- getMimeType() - Method in class com.tnsai.roles.export.JsonRoleExporter
- getMimeType() - Method in interface com.tnsai.roles.export.RoleExporter
-
Returns the MIME type for this export format.
- getMimeType() - Method in class com.tnsai.roles.export.YamlRoleExporter
- getMinDurationMs() - Method in class com.tnsai.agents.variant.VariantManager.VariantStats
- getMinimalPrompt() - Method in class com.tnsai.roles.Role
-
Generates a minimal prompt (identity only, without actions).
- getMinMessagesToKeep() - Method in class com.tnsai.memory.strategy.TokenBudget
- getMissingEnvVar() - Method in exception class com.tnsai.tools.spi.ToolConfigurationException
- getModel() - Method in exception class com.tnsai.exceptions.LLMException
- getModel() - Method in class com.tnsai.llm.ChatChunk
-
Gets the model if available.
- getModel() - Method in class com.tnsai.llm.FallbackLLMClient
- getModel() - Method in interface com.tnsai.llm.LLMClient
-
Gets the model name being used.
- getModelId() - Method in interface com.tnsai.llm.LLMCapabilities
-
The model identifier.
- getModelId() - Method in class com.tnsai.llm.ModelCapabilities
- getModelType() - Method in interface com.tnsai.spi.CognitiveModel
-
Returns the type of cognitive model.
- getModelVersion() - Method in interface com.tnsai.llm.LLMCapabilities
-
Model version if applicable.
- getModelVersion() - Method in class com.tnsai.llm.ModelCapabilities
- getMonitoredCount() - Method in class com.tnsai.agents.lifecycle.IdleMonitor
-
Gets the number of agents being monitored.
- getMultiplier() - Method in enum class com.tnsai.enums.AgentVariant.Cost
- getMultiplier() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- getMultiplier() - Method in class com.tnsai.resilience.RetryPolicy
- getMustAlways() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the mustAlways liveness guarantees for this action.
- getMustAlways() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- getMustNever() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the mustNever safety constraints for this action.
- getMustNever() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- getName() - Method in class com.tnsai.agents.Agent
-
Alias for
Agent.getAgentName(). - getName() - Method in class com.tnsai.agents.execution.AgentToolExecutor.ToolCallResult
- getName() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Returns the human-readable name of this group.
- getName() - Method in class com.tnsai.context.entity.EntitySource
- getName() - Method in class com.tnsai.environment.CompositeEnvironment
- getName() - Method in interface com.tnsai.environment.Environment
-
Gets the environment name/type.
- getName() - Method in class com.tnsai.environment.InMemoryEnvironment
- getName() - Method in class com.tnsai.memory.strategy.HybridStrategy
- getName() - Method in interface com.tnsai.memory.strategy.MemoryStrategy
-
Returns the name of this strategy.
- getName() - Method in class com.tnsai.memory.strategy.SlidingWindowStrategy
- getName() - Method in class com.tnsai.memory.strategy.SummaryStrategy
- getName() - Method in class com.tnsai.metadata.DiscoveredRoleActions
-
Gets the role name (derived from class simple name).
- getName() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- getName() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getName() - Method in interface com.tnsai.prompt.PromptTemplate
-
Gets the template name/identifier.
- getName() - Method in interface com.tnsai.prompt.TemplateEngine
-
Gets the engine name.
- getName() - Method in record class com.tnsai.roles.export.ExportedRole
- getName() - Method in class com.tnsai.roles.Role
- getNamespace() - Method in class com.tnsai.memory.SharedMemoryStore
-
Returns the namespace of this shared memory.
- getNamespace() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.MemoryMeta
- getNamespaceKeys() - Method in class com.tnsai.memory.NamespacedMemoryStore
-
Returns all active namespace keys.
- getNegativeExamples() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the negative (bad) examples.
- getOpenQuestions() - Method in class com.tnsai.communication.SharedBlackboard
-
Gets open questions (questions without answers).
- getOperation() - Method in exception class com.tnsai.exceptions.TimeoutException
- getOperation() - Method in class com.tnsai.resilience.ResilienceRequest
- getOperationId() - Method in class com.tnsai.resilience.dlq.DeadLetterEntry
- getOperationId() - Method in class com.tnsai.resilience.ResilienceRequest
- getOrCreate(String) - Method in class com.tnsai.agents.groups.GroupRegistry
-
Gets an existing group or creates a new one if it doesn't exist.
- getOrCreate(String) - Method in class com.tnsai.memory.SharedMemoryRegistry
-
Gets or creates a shared memory store for the given namespace.
- getOrCreate(String, Supplier<MemoryStore>) - Method in class com.tnsai.memory.SharedMemoryRegistry
-
Gets or creates a shared memory store wrapping a base store from the given supplier.
- getOrDefault(String, T) - Method in class com.tnsai.actions.ActionParams
-
Gets a parameter value with default.
- getOrElse(T) - Method in class com.tnsai.parser.ParseResult
-
Gets the parsed value or a default if parsing failed.
- getOutcome() - Method in class com.tnsai.context.decision.DecisionTrace
- getOutcome() - Method in class com.tnsai.security.approval.InterruptResult
-
Gets the outcome.
- getOutputCostPer1KTokens() - Method in interface com.tnsai.llm.LLMCapabilities
-
Cost per 1000 output tokens in USD.
- getOutputCostPer1KTokens() - Method in class com.tnsai.llm.ModelCapabilities
- getOutputFormat() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Gets the output format if specified.
- getOutputFormatter() - Method in class com.tnsai.agents.Agent
-
Returns the output formatter for serialization.
- getOutputFormatter() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getOutputGuardrailConfig() - Method in class com.tnsai.roles.ConfigurableRole
- getOutputGuardrailConfig() - Method in class com.tnsai.roles.Role
-
Programmatic output-guardrail config for this role's actions (TNS-561) — the builder-path counterpart of a class-level
@OutputGuardrail. - getOutputTokens() - Method in class com.tnsai.llm.ChatResponse
-
Gets output token count if available.
- getOverriddenRules() - Method in class com.tnsai.context.decision.DecisionPolicy
- getOwner(Class<? extends Role>) - Method in class com.tnsai.roles.registry.RoleRegistry
-
Gets the current owner of an exclusive role.
- getParadigms() - Method in interface com.tnsai.protocols.ProtocolManagerHandle
-
Gets all configured paradigm names.
- getParameter(int) - Method in class com.tnsai.metadata.ActionMetadata
-
Gets a parameter by position.
- getParameter(String) - Method in class com.tnsai.context.decision.DecisionPolicy
-
Gets a parameter value.
- getParameterCount() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the parameter count.
- getParameters() - Method in class com.tnsai.context.decision.DecisionPolicy
- getParameters() - Method in class com.tnsai.protocols.models.Message
-
Returns immutable copy of parameters.
- getParameters() - Method in class com.tnsai.security.approval.ApprovalToken
- getParametersForLLM() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the parameters to expose to LLM.
- getParent() - Method in class com.tnsai.agents.Agent
-
Returns the parent agent, or null if root.
- getParent() - Method in class com.tnsai.agents.hierarchy.AgentHierarchyManager
-
Returns the parent agent in a hierarchical structure.
- getParentId() - Method in class com.tnsai.communication.SharedBlackboard.Entry
- getParentRef() - Method in class com.tnsai.agents.Agent
- getParentRef() - Method in interface com.tnsai.agents.hierarchy.AgentHierarchyManager.HierarchyContext
-
Returns the current parent agent.
- getParentTraceId() - Method in class com.tnsai.context.decision.DecisionTrace
- getParseTimeMs() - Method in class com.tnsai.parser.ParseResult
-
Gets the time taken to parse in milliseconds.
- getParticipants() - Method in class com.tnsai.agents.async.AsyncMsgHub
-
Gets the current participants.
- getPausedAt() - Method in class com.tnsai.agents.async.SessionManager.SessionInfo
- getPayload() - Method in class com.tnsai.security.approval.InterruptResult
-
Gets the response payload from user.
- getPayloadAs(Class<T>) - Method in record class com.tnsai.agents.groups.GroupEvent
-
Gets payload as specific type.
- getPaymentBroker() - Method in class com.tnsai.agents.Agent
-
Returns the payment broker (never null; defaults to
PaymentBroker.noOp()). - getPaymentBroker() - Method in class com.tnsai.agents.AgentCognitiveSupport
-
Returns the configured payment broker; never null.
- getPaymentBroker() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getPendingCount() - Method in class com.tnsai.communication.DefaultMessageAcknowledger
- getPendingCount() - Method in interface com.tnsai.communication.MessageAcknowledger.AckStatistics
-
Current pending acknowledgments count.
- getPendingCount() - Method in interface com.tnsai.communication.MessageAcknowledger
-
Returns the number of pending acknowledgments.
- getPendingCount() - Method in class com.tnsai.security.approval.InterruptService
-
Gets count of pending interrupts.
- getPendingInterrupt(String) - Method in class com.tnsai.security.approval.InterruptService
-
Gets details of a pending interrupt.
- getPendingPrompt() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets the pending prompt (if execution was interrupted mid-prompt).
- getPendingProposals() - Method in class com.tnsai.communication.SharedBlackboard
-
Gets pending proposals (proposals without decisions).
- getPermissions(String) - Method in interface com.tnsai.security.PermissionProvider
-
Returns all permissions granted to an agent.
- getPhase() - Method in exception class com.tnsai.agents.lifecycle.LifecycleManager.LifecycleException
- getPhase(String) - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Gets content of a specific thinking phase.
- getPlannerHandle() - Method in class com.tnsai.agents.Agent
-
Returns the planner handle if configured.
- getPlannerHandle() - Method in class com.tnsai.agents.AgentCognitiveSupport
- getPlannerHandle() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getPlansTemplate() - Method in class com.tnsai.agents.Agent
- getPlansTemplate() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getPolicy() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Returns the policy governing this group's behavior.
- getPolicy() - Method in class com.tnsai.context.decision.DecisionTrace
- getPolicyCount() - Method in class com.tnsai.context.decision.DecisionPolicy
-
Returns the total policy element count.
- getPort() - Method in exception class com.tnsai.exceptions.NetworkException
- getPositiveExamples() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the positive (good) examples.
- getPostcondition() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the postcondition expression.
- getPostcondition() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- getPrecedents() - Method in class com.tnsai.context.decision.DecisionInput
- getPrecondition() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the precondition expression.
- getPrecondition() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- getPreferredModel() - Method in class com.tnsai.agents.variant.VariantSpec
- getPrimary() - Method in class com.tnsai.llm.FallbackLLMClient
-
Gets the primary client.
- getPrimaryLanguage() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
-
Gets the primary (first) language.
- getPriority() - Method in class com.tnsai.communication.SharedBlackboard.Entry
- getPriority() - Method in class com.tnsai.context.entity.EntitySource
- getProgress() - Method in interface com.tnsai.agents.async.AsyncAgent
-
Gets the current async execution progress (0.0 - 1.0).
- getPromptAdjustments() - Method in interface com.tnsai.feedback.FeedbackCollector
-
Returns prompt adjustments derived from corrections and negative feedback.
- getProtocolManager() - Method in class com.tnsai.agents.Agent
-
Returns the protocol manager (null if no protocol annotations).
- getProvider() - Method in exception class com.tnsai.exceptions.LLMCapabilityException
-
Returns the provider name.
- getProviderDetails() - Method in exception class com.tnsai.exceptions.LLMException
-
Native error envelope from the upstream provider, when surfaced.
- getProviderInfo(String) - Method in class com.tnsai.spi.CheckpointerFactory
-
Gets information about a provider.
- getProviderName() - Method in interface com.tnsai.llm.LLMCapabilities
-
The provider name (OpenAI, Anthropic, Google, etc.).
- getProviderName() - Method in interface com.tnsai.llm.LLMClient
-
Gets the provider name for this client.
- getProviderName() - Method in class com.tnsai.llm.ModelCapabilities
- getPublisher(String) - Method in class com.tnsai.events.InMemoryEventPublisher
- getPublisher(String) - Method in interface com.tnsai.events.TnsAIEventPublisher
-
Gets a Flow.Publisher for the specified session.
- getQuality() - Method in enum class com.tnsai.enums.AgentVariant
- getQuery() - Method in class com.tnsai.context.decision.DecisionInput
- getQuery() - Method in exception class com.tnsai.tools.spi.ToolException
- getRateLimit() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- getRateLimiter(String, int, int) - Method in class com.tnsai.resilience.ResilienceExecutor
-
Gets or creates a rate limiter with the specified configuration.
- getRateLimitMaxRequests() - Method in class com.tnsai.resilience.ResilienceRequest
-
Maximum requests allowed in the rate limit window.
- getRateLimitWindowMs() - Method in class com.tnsai.resilience.ResilienceRequest
-
Rate limit time window in milliseconds.
- getRationale() - Method in class com.tnsai.context.decision.DecisionReasoning
- getRawContent() - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Gets the raw, unparsed response content.
- getRawHistory() - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
-
Returns the raw (unoptimized) history.
- getRawOutput() - Method in exception class com.tnsai.parser.ParseException
-
Gets the raw output that failed to parse.
- getRawOutput() - Method in class com.tnsai.parser.ParseResult
-
Gets the original raw output that was parsed.
- getReason() - Method in exception class com.tnsai.exceptions.ApprovalRequiredException
- getReason() - Method in class com.tnsai.security.approval.ApprovalToken
- getReason() - Method in exception class com.tnsai.tools.spi.ToolUserCanceledException
- getReasoning() - Method in class com.tnsai.context.decision.DecisionTrace
- getReasoningStrategy() - Method in class com.tnsai.agents.Agent
-
Returns the reasoning strategy if configured.
- getReasoningStrategy() - Method in class com.tnsai.agents.AgentCognitiveSupport
- getReasoningStrategy() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getReasoningStrategyRaw() - Method in class com.tnsai.agents.Agent
- getReasoningStrategyRaw() - Method in class com.tnsai.agents.AgentCognitiveSupport
- getReasoningStrategyRaw() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getReasoningStrategyRaw() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getReceivedAt() - Method in class com.tnsai.communication.AckResult
-
Returns the time when the acknowledgment was received.
- getRecent(int) - Method in class com.tnsai.communication.SharedBlackboard
-
Gets recent entries.
- getRecentDecisions(int) - Method in interface com.tnsai.context.ContextManagerHandle
- getRecentEvents(int) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Gets recent events.
- getRecentEvents(GroupEvent.Type, int) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Gets recent events of a specific type.
- getRecentHistory(int) - Method in class com.tnsai.agents.execution.MemoryManager
-
Returns recent messages from the history.
- getRecentHistory(int) - Method in class com.tnsai.memory.AbstractMemoryStore
- getRecentHistory(int) - Method in interface com.tnsai.memory.MemoryStore
-
Retrieves the last N messages.
- getRecentHistory(int) - Method in class com.tnsai.memory.NamespacedMemoryStore
- getRecentHistory(int) - Method in class com.tnsai.memory.SharedMemoryStore
- getRecentHistory(int) - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
- getRecentHistory(int) - Method in class com.tnsai.memory.vector.VectorSearchMemoryStore
- getRecentHistory(String, int) - Method in class com.tnsai.memory.NamespacedMemoryStore
-
Retrieves the last N messages from a specific namespace.
- getRecentSnapshots(int) - Method in interface com.tnsai.context.ContextManagerHandle
- getRecoveryManager() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Returns the recovery manager.
- getRegisteredAgents() - Method in class com.tnsai.communication.AgentCommunicationManager
-
Gets all locally known registered agent IDs.
- getRegisteredGoals() - Method in interface com.tnsai.planning.PlannerHandle
-
Returns all registered goal names.
- getRejectedBy() - Method in class com.tnsai.security.approval.ApprovalToken
-
Returns who rejected the token, or null if it was never rejected.
- getRejectionReason() - Method in class com.tnsai.security.approval.ApprovalToken
- getRejectionReason() - Method in class com.tnsai.security.approval.InterruptResult
-
Gets the rejection reason from payload if available.
- getRelevantBeliefs() - Method in class com.tnsai.context.decision.DecisionInput
- getRelevantEntities() - Method in class com.tnsai.context.decision.DecisionInput
- getRemaining() - Method in class com.tnsai.agents.variant.VariantSelector.TokenBudget
-
Gets remaining budget.
- getRemainingBudget() - Method in class com.tnsai.agents.variant.VariantSelector
-
Gets remaining budget.
- getRemainingBudget() - Method in exception class com.tnsai.tools.spi.ToolRateLimitException
- getRemainingQuota() - Method in exception class com.tnsai.exceptions.RateLimitException
- getRemainingTime() - Method in class com.tnsai.communication.AcknowledgedMessage
-
Returns remaining time before timeout.
- getRemainingTime() - Method in class com.tnsai.models.agent.Belief
-
Returns the remaining time before expiration.
- getRemainingTime() - Method in class com.tnsai.security.approval.ApprovalToken
-
Gets remaining time until expiry.
- getReplies(String) - Method in class com.tnsai.communication.SharedBlackboard
-
Gets replies to an entry.
- getReport() - Method in exception class com.tnsai.agents.validation.AgentValidationException
-
Full report of all issues — errors, warnings, and infos.
- getRequestedBy() - Method in class com.tnsai.security.approval.ApprovalToken
- getRequestId() - Method in class com.tnsai.llm.ChatChunk
-
Gets the request ID if available.
- getRequiredPermission() - Method in exception class com.tnsai.tools.spi.ToolAuthorizationException
- getRequiredPermissions() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.SecurityMeta
- getResetTimeoutMs() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CircuitBreakerMeta
- getResilience() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getResilienceConfig() - Method in class com.tnsai.roles.ConfigurableRole
- getResilienceConfig() - Method in class com.tnsai.roles.Role
-
Programmatic resilience policy for this role's actions (TNS-567) — the builder-path counterpart of a class-level
@Resilience. - getResilienceExecutor() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getResilienceExecutor() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Returns the resilience executor.
- getResilienceManager() - Method in class com.tnsai.agents.Agent
-
Returns the resilience manager.
- getResilienceManager() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getResourceIdentifier() - Method in exception class com.tnsai.tools.spi.ToolConflictException
- getResourceIdentifier() - Method in exception class com.tnsai.tools.spi.ToolNotFoundException
- getResponseFormat() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
- getResponseReserve() - Method in class com.tnsai.memory.strategy.TokenBudget
- getRestartThreshold() - Method in class com.tnsai.resilience.recovery.AgentRestartPolicy
- getResult() - Method in class com.tnsai.agents.execution.AgentToolExecutor.ToolCallResult
- getResult() - Method in class com.tnsai.context.decision.DecisionOutcome
- getResult() - Method in exception class com.tnsai.exceptions.TaskCompleteException
-
Gets the result data.
- getResultAs(Class<T>) - Method in exception class com.tnsai.exceptions.TaskCompleteException
-
Gets the result as a specific type.
- getResultingPercept() - Method in record class com.tnsai.environment.ActionOutcome
- getResumeCount() - Method in class com.tnsai.agents.async.SessionManager.SessionInfo
- getResumedAt() - Method in class com.tnsai.agents.async.SessionManager.SessionInfo
- getRetrieval() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Search settings of the
@AgentSpec.knowledge()entries searched together, merged field by field. - getRetrievalConfig() - Method in class com.tnsai.agents.Agent
-
The settings a chat turn searches with: the chat defaults under the merged search of the SEARCH entries in the chat scope of
Agent.getAgentKnowledgeEntries(). - getRetry() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- getRetryAfter() - Method in exception class com.tnsai.tools.spi.ToolRateLimitException
- getRetryAfterMs() - Method in exception class com.tnsai.exceptions.RateLimitException
- getRetryBackoffMs() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the retry backoff time in ms.
- getRetryCount() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the retry count for web service.
- getRetryPolicy() - Method in class com.tnsai.resilience.ResilienceRequest
- getReturnType() - Method in exception class com.tnsai.tools.spi.ToolResultSerializationException
- getRole() - Method in class com.tnsai.agents.Agent
-
Returns the primary (first) role, or null.
- getRoles() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Instantiates the role classes declared in
@AgentSpec.roles(TNS-536) — the annotation counterpart ofAgentBuilder.role(...). - getRoles(Agent) - Method in class com.tnsai.roles.registry.RoleRegistry
-
Gets all role classes assigned to an agent.
- getRolesTemplate() - Method in class com.tnsai.agents.Agent
- getRolesTemplate() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getRules() - Method in class com.tnsai.context.decision.DecisionPolicy
- getRulesByCategory(String) - Method in class com.tnsai.context.decision.DecisionPolicy
-
Finds rules by category.
- getSchemaDescription() - Method in class com.tnsai.parser.FormatAwareOutputParser
- getSchemaDescription() - Method in class com.tnsai.parser.JsonOutputParser
- getSchemaDescription() - Method in interface com.tnsai.parser.OutputParser
-
Returns a schema description of the expected output format.
- getSchemaDescription() - Method in class com.tnsai.parser.RetryableParser
- getScore() - Method in enum class com.tnsai.enums.AgentVariant.Quality
- getScore() - Method in class com.tnsai.knowledge.SearchResult
-
Gets the relevance score.
- getSecurity() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getSentAt() - Method in class com.tnsai.communication.AckResult
-
Returns the time when the message was sent.
- getSerializer(OutputFormat) - Method in class com.tnsai.output.OutputSerializerRegistry
-
Gets the serializer for a specific format.
- getService() - Method in exception class com.tnsai.exceptions.RateLimitException
- getSessionId() - Method in class com.tnsai.agents.async.SessionManager.SessionInfo
- getSessionId() - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets session ID.
- getSessionInfo(String) - Method in class com.tnsai.agents.async.SessionManager
-
Gets session info.
- getSharedClient() - Static method in class com.tnsai.utils.HttpClientFactory
-
Returns the shared HTTP client with default timeout settings.
- getSimpleReturnTypeName() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the simple return type name (without package).
- getSimpleTypeName() - Method in class com.tnsai.metadata.ParamSpec
-
Gets the simple type name (without package).
- getSkillManager() - Method in class com.tnsai.agents.Agent
- getSnapshotCount() - Method in interface com.tnsai.context.ContextManagerHandle
- getSnapshotId() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getSnapshotStatistics() - Method in interface com.tnsai.context.ContextManagerHandle
- getSource(String) - Method in interface com.tnsai.context.entity.EntityResolver
-
Gets a specific source by ID.
- getSources() - Method in class com.tnsai.context.entity.Entity
- getSources() - Method in interface com.tnsai.context.entity.EntityResolver
-
Gets all registered sources.
- getSpec() - Method in class com.tnsai.communication.AgentMessage
-
Gets the message spec (metadata).
- getSpec() - Method in class com.tnsai.communication.SharedBlackboard.Entry
- getSpec() - Method in class com.tnsai.context.decision.DecisionTrace
- getSpec() - Method in class com.tnsai.context.entity.Entity
- getSpec() - Method in class com.tnsai.context.entity.EntitySource
- getSpec() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getSpec() - Method in class com.tnsai.knowledge.Document
-
Gets the document metadata.
- getSpec() - Method in interface com.tnsai.prompt.PromptTemplate
-
Gets the template metadata.
- getSpec() - Method in class com.tnsai.protocols.models.Message
-
Returns immutable copy of metadata.
- getSpec() - Method in class com.tnsai.resilience.dlq.DeadLetterEntry
- getSpec() - Method in class com.tnsai.resilience.ResilienceRequest
- getSpec() - Method in class com.tnsai.roles.Role
-
Gets the role metadata (including discovered actions).
- getSpec(String) - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets metadata.
- getSpec(String) - Method in class com.tnsai.knowledge.Document
-
Gets a specific metadata value.
- getSpec(String, Class<T>) - Method in class com.tnsai.knowledge.Document
-
Gets a metadata value with type casting.
- getSpecValue(String) - Method in class com.tnsai.communication.SharedBlackboard.Entry
- getSpeed() - Method in enum class com.tnsai.enums.AgentVariant
- getStartedAt() - Method in class com.tnsai.agents.async.SessionManager.SessionInfo
- getStartTime() - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets start time.
- getState() - Method in class com.tnsai.agents.Agent
-
Returns the agent's current lifecycle state.
- getState() - Method in class com.tnsai.agents.async.SessionManager.SessionInfo
- getState() - Method in class com.tnsai.environment.InMemoryEnvironment
-
Gets the current state directly (for testing).
- getStateRecoveryManager() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getStateRecoveryManager() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Returns the state recovery manager.
- getStatistics() - Method in class com.tnsai.communication.DefaultMessageAcknowledger
- getStatistics() - Method in interface com.tnsai.communication.MessageAcknowledger
-
Returns statistics about acknowledgments.
- getStatistics() - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Gets store statistics.
- getStatistics() - Method in interface com.tnsai.context.entity.EntityResolver
-
Gets statistics about the resolver.
- getStatistics() - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Gets store statistics.
- getStats() - Method in interface com.tnsai.agents.groups.MembershipManager
-
Gets membership statistics.
- getStats() - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
-
Returns memory statistics.
- getStats(AgentVariant) - Method in class com.tnsai.agents.variant.VariantManager
-
Gets statistics for a variant.
- getStats(AgentVariant) - Method in class com.tnsai.agents.variant.VariantSelector
-
Gets statistics for a specific variant.
- getStats(String) - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets statistics for a metric.
- getStatus() - Method in class com.tnsai.communication.AckResult
-
Returns the acknowledgment status.
- getStatus() - Method in class com.tnsai.context.decision.DecisionOutcome
- getStatus() - Method in class com.tnsai.eval.hooks.EvalContext
-
Gets status.
- getStatus() - Method in class com.tnsai.security.approval.ApprovalToken
- getStepCount() - Method in class com.tnsai.context.decision.DecisionReasoning
-
Gets the number of reasoning steps.
- getSteps() - Method in class com.tnsai.context.decision.DecisionReasoning
- getStrategies() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Gets the list of applied strategies.
- getStrategies() - Method in class com.tnsai.prompt.strategy.PromptEnhancer
-
Gets the configured strategies.
- getStrategy() - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
-
Returns the current memory strategy.
- getStrategy() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ConversationMeta
- getStrategy() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RateLimitMeta
- getString(String) - Method in class com.tnsai.actions.ActionParams
-
Gets a parameter value as String.
- getSubscriberCount(String) - Method in class com.tnsai.events.InMemoryEventPublisher
-
Returns the number of subscribers for a session.
- getSubscriptionCount() - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Returns count of active subscriptions.
- getSuccessCount() - Method in class com.tnsai.agents.variant.VariantManager.VariantStats
- getSuccessCount() - Method in class com.tnsai.agents.variant.VariantSelector.VariantStats
- getSuccessRate() - Method in class com.tnsai.agents.variant.VariantManager.VariantStats
- getSuccessRate() - Method in class com.tnsai.agents.variant.VariantSelector.VariantStats
- getSuggestedRetryDelayMs() - Method in exception class com.tnsai.exceptions.LLMException
- getSuggestedRetryDelayMs() - Method in exception class com.tnsai.exceptions.NetworkException
- getSuggestedRetryDelayMs() - Method in exception class com.tnsai.exceptions.RateLimitException
- getSuggestedRetryDelayMs() - Method in exception class com.tnsai.exceptions.TimeoutException
- getSuggestedRetryDelayMs() - Method in exception class com.tnsai.exceptions.TnsAIException
-
Gets suggested retry delay in milliseconds.
- getSuggestedRetryDelayMs() - Method in exception class com.tnsai.security.SecurityException
- getSuggestedRetryDelayMs() - Method in exception class com.tnsai.state.StateException
-
Suggested retry delay for state operations.
- getSuggestedRetryDelayMs() - Method in exception class com.tnsai.tools.spi.ToolRateLimitException
- getSuggestion() - Method in exception class com.tnsai.exceptions.ToolCallNotSupportedException
-
Returns the suggestion text for compatible models.
- getSummary() - Method in class com.tnsai.communication.SharedBlackboard
-
Gets summary statistics.
- getSummary() - Method in class com.tnsai.context.decision.DecisionReasoning
- getSummary() - Method in exception class com.tnsai.exceptions.TaskCompleteException
-
Gets the completion summary.
- getSupportedModalities() - Method in interface com.tnsai.llm.LLMCapabilities
-
Returns the list of supported input modalities.
- getSupportedModalities() - Method in class com.tnsai.llm.ModelCapabilities
- getSuppressedCount(String) - Method in class com.tnsai.observability.errors.DedupingErrorReportPublisher
-
Number of reports for
fingerprintsuppressed since the last emit. - getSystemInstruction() - Method in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Gets the system instruction to inject for this strategy.
- getSystemPrompt() - Method in class com.tnsai.agents.Agent
-
Returns the complete system prompt (identity + roles + learned behavior).
- getSystemPrompt() - Method in class com.tnsai.agents.async.ChatOptions
-
Gets the optional system prompt.
- getSystemPrompt() - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Returns the system prompt for the agent
- getSystemPrompt() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getSystemPrompt() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- getSystemPrompt() - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- getSystemPrompt() - Method in class com.tnsai.llm.ChatRequest
-
The system prompt (null if not set).
- getSystemPrompt() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Gets the enhanced system prompt with strategy instructions.
- getSystemPrompt() - Method in class com.tnsai.roles.Role
-
Generates a complete system prompt for this role.
- getSystemPromptForMessage(String) - Method in class com.tnsai.agents.Agent
-
System prompt rendered for a specific user message — used by the chat orchestrator so the
SkillResolversees the latest turn and can surface the most-relevant descriptions for that turn (TNS-289). - getSystemPromptOptional() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Gets the system prompt as an Optional for convenience with LLMClient.
- getSystemPromptReserve() - Method in class com.tnsai.memory.strategy.TokenBudget
- getTags() - Method in class com.tnsai.context.decision.DecisionTrace
- getTargetType() - Method in exception class com.tnsai.output.OutputSerializationException
- getTargetType() - Method in class com.tnsai.parser.FormatAwareOutputParser
- getTargetType() - Method in class com.tnsai.parser.JsonOutputParser
- getTargetType() - Method in interface com.tnsai.parser.OutputParser
-
Returns the target class this parser produces.
- getTargetType() - Method in class com.tnsai.parser.RetryableParser
- getTaskCount() - Method in class com.tnsai.agents.variant.VariantManager.VariantStats
- getTaskSuccessRate() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Gets task success rate.
- getTemperature() - Method in class com.tnsai.agents.async.ChatOptions
-
Gets the optional temperature override.
- getTemperature() - Method in class com.tnsai.agents.variant.VariantSpec
- getTemperature() - Method in class com.tnsai.llm.ChatRequest
-
Temperature override (null to use client default).
- getTemperature() - Method in class com.tnsai.llm.FallbackLLMClient
- getTemperature() - Method in interface com.tnsai.llm.LLMClient
-
Gets the temperature setting.
- getThinkingPhases() - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Gets the thinking phases if using structured thinking.
- getThread(String) - Method in class com.tnsai.communication.AgentCommunicationManager
-
Gets a message thread (original message and all replies).
- getThrownAt() - Method in exception class com.tnsai.exceptions.TnsAIException
-
Wall-clock instant the exception was constructed.
- getTimeout() - Method in class com.tnsai.agents.async.ChatOptions
-
Gets the timeout duration.
- getTimeout() - Method in class com.tnsai.agents.variant.VariantSpec
- getTimeout() - Method in class com.tnsai.communication.AcknowledgedMessage
-
Returns the acknowledgment timeout duration.
- getTimeout() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- getTimeout(Agent) - Method in class com.tnsai.agents.lifecycle.IdleMonitor
-
Gets the configured timeout for an agent.
- getTimeoutMs() - Method in exception class com.tnsai.exceptions.TimeoutException
- getTimeoutMs() - Method in class com.tnsai.resilience.ResilienceRequest
-
Timeout in milliseconds.
- getTimestamp() - Method in class com.tnsai.communication.SharedBlackboard.Entry
- getTimestamp() - Method in class com.tnsai.context.decision.DecisionTrace
- getTimestamp() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getTimestamp() - Method in class com.tnsai.resilience.dlq.DeadLetterEntry
- getTimestamp() - Method in exception class com.tnsai.tools.spi.ToolException
- getTitle() - Method in class com.tnsai.communication.SharedBlackboard.Entry
- getToken(String) - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Gets a token by ID.
- getToken(String) - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- getTokenCount() - Method in class com.tnsai.llm.ChatChunk
-
Gets the token count if available.
- getTokenId() - Method in class com.tnsai.security.approval.ApprovalToken
- getTone() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
- getToolCall() - Method in class com.tnsai.llm.ChatChunk
-
Gets the structured ToolCall data if this is a TOOL_CALL chunk.
- getToolCallFilter() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Instantiates the declarative
ToolCallFilterfrom@AgentSpec.toolCallFilter(TNS-611). - getToolDefinitionEstimate() - Method in class com.tnsai.memory.strategy.TokenBudget
- getToolDispatcher() - Method in class com.tnsai.actions.ActionExecutor
-
Returns the
ToolMethodDispatcherbacking external tool dispatch. - getToolName() - Method in enum class com.tnsai.enums.BuiltInTool
-
Stable identifier used in role-binding APIs and SCOP serialisation.
- getToolName() - Method in exception class com.tnsai.tools.spi.ToolException
- getTools() - Method in class com.tnsai.llm.ChatRequest
-
Tool catalog as JSON-Schema fragments (null if not set).
- getToolsDescription() - Method in class com.tnsai.agents.Agent
-
Returns a human-readable description of all available tools/actions.
- getToolsDescription() - Method in class com.tnsai.agents.execution.AgentToolExecutor
- getToolsDescription() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getToolSet() - Method in class com.tnsai.agents.variant.VariantSpec
- getToolsForLLM() - Method in class com.tnsai.agents.Agent
-
Returns tool catalog as JSON-Schema fragments for LLM binding (
List<Map<String, Object>>per Anthropic-style tool-use). - getToolsForLLM() - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Returns the tools available for LLM function calling (
List<Map<String, Object>>JSON-Schema fragments). - getToolsForLLM() - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Returns tool schemas for the LLM as JSON-Schema fragments (
List<Map<String, Object>>). - getToolsForLLM() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- getToolsForLLM() - Method in interface com.tnsai.agents.streaming.AgentStreamingSupport.StreamingContext
- getTopGoal() - Method in interface com.tnsai.spi.CognitiveModel
-
Returns the highest priority active goal.
- getTopK(int) - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Retrieves the top-K strongest memories across all tiers.
- getTopP() - Method in interface com.tnsai.llm.LLMClient
-
Gets the top-p (nucleus sampling) setting.
- getTotalAcknowledged() - Method in interface com.tnsai.communication.MessageAcknowledger.AckStatistics
-
Total positive acknowledgments received.
- getTotalCalls() - Method in class com.tnsai.agents.variant.VariantSelector.VariantStats
- getTotalChanges() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Gets the total number of changes.
- getTotalContextWindow() - Method in class com.tnsai.memory.strategy.TokenBudget
- getTotalNegativeAcks() - Method in interface com.tnsai.communication.MessageAcknowledger.AckStatistics
-
Total negative acknowledgments received.
- getTotalSent() - Method in interface com.tnsai.communication.MessageAcknowledger.AckStatistics
-
Total messages sent with ack requirement.
- getTotalSize() - Method in class com.tnsai.state.FileCheckpointer
-
Get the total size of all checkpoint files in bytes.
- getTotalTimeouts() - Method in interface com.tnsai.communication.MessageAcknowledger.AckStatistics
-
Total acknowledgments that timed out.
- getTotalTokenLimit() - Method in class com.tnsai.agents.variant.VariantSpec
-
Returns total token limit (input + output).
- getTotalTokens() - Method in class com.tnsai.agents.variant.VariantSelector.VariantStats
- getTraceId() - Method in class com.tnsai.context.decision.DecisionTrace
- getTraceStatistics() - Method in interface com.tnsai.context.ContextManagerHandle
- getTrackedEntities() - Method in interface com.tnsai.context.ContextManagerHandle
- getTrigger() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets the trigger event that caused this checkpoint.
- getTrigger() - Method in class com.tnsai.context.decision.DecisionTrace
- getTrigger() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getTruncatedRawOutput(int) - Method in exception class com.tnsai.parser.ParseException
-
Creates a truncated version of the raw output for logging.
- getTuple(String, String) - Method in interface com.tnsai.state.Checkpointer
-
Fetch a checkpoint.
- getTuple(String, String) - Method in class com.tnsai.state.FileCheckpointer
- getTuple(String, String) - Method in class com.tnsai.state.InMemoryCheckpointer
- getType() - Method in class com.tnsai.communication.SharedBlackboard.Entry
- getType() - Method in class com.tnsai.context.entity.Entity
- getType() - Method in class com.tnsai.context.entity.EntitySource
- getType() - Method in exception class com.tnsai.invariants.InvariantViolationException
- getType() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- getType() - Method in record class com.tnsai.models.chat.AudioPart
- getType() - Method in interface com.tnsai.models.chat.ContentPart
- getType() - Method in record class com.tnsai.models.chat.ImagePart
- getType() - Method in record class com.tnsai.models.chat.TextPart
- getType() - Method in record class com.tnsai.models.chat.VideoPart
- getUncertainties() - Method in class com.tnsai.context.decision.DecisionReasoning
- getUnhealthyMembers() - Method in interface com.tnsai.agents.groups.MembershipManager
-
Gets all unhealthy members.
- getUnsatisfiedGoals(Map<String, Object>) - Method in interface com.tnsai.planning.PlannerHandle
-
Returns names of all unsatisfied goals in the given state.
- getUpstreamService() - Method in exception class com.tnsai.tools.spi.ToolExternalServiceException
- getUsagePercent() - Method in class com.tnsai.agents.variant.VariantSelector.TokenBudget
-
Gets usage percentage.
- getUserMessage() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Gets the original user message.
- getValidationErrors() - Method in class com.tnsai.parser.ParseResult
-
Gets the list of validation errors if any.
- getValidationErrors() - Method in exception class com.tnsai.tools.spi.ToolInputException
- getValue() - Method in class com.tnsai.actions.ActionResult
-
Get the raw value.
- getValue() - Method in enum class com.tnsai.security.approval.InterruptReason
-
Gets the AG-UI protocol value.
- getVariable(String) - Method in interface com.tnsai.context.ContextManagerHandle
- getVariable(String) - Method in class com.tnsai.context.snapshot.ContextSnapshot
-
Gets a variable value by name.
- getVariable(String, Class<T>) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets a specific variable.
- getVariable(String, Class<T>) - Method in interface com.tnsai.context.ContextManagerHandle
- getVariable(String, Class<T>) - Method in class com.tnsai.context.snapshot.ContextSnapshot
-
Gets a typed variable value.
- getVariables() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Gets custom variables.
- getVariables() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- getVariables() - Method in interface com.tnsai.prompt.PromptTemplate
-
Gets the set of variable names used in this template.
- getVariant() - Method in class com.tnsai.agents.Agent
-
Gets the current agent variant (quality/speed/cost tier).
- getVariant() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getVariant() - Method in class com.tnsai.agents.variant.VariantManager.VariantStats
- getVariant() - Method in class com.tnsai.agents.variant.VariantSpec
- getVariantFallback() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the fallback variant for this action.
- getVariantOverride() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the variant override for this action, if specified.
- getVariantReason() - Method in class com.tnsai.metadata.ActionMetadata
-
Gets the reason for the variant override.
- getVariantSelector() - Method in class com.tnsai.agents.Agent
-
Gets the configured variant selector.
- getVariantSelector() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- getVerbosity() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
- getVerificationQuestions() - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Gets the verification questions if using CoVe strategy.
- getVersion() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Returns the agent version.
- getVersion() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- getVersion(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- getVersionOverride() - Method in class com.tnsai.agents.ConfigurableAgent
- getVersionOverride() - Method in interface com.tnsai.agents.init.AgentInitializer.InitializerContext
- getViolatedExpression() - Method in exception class com.tnsai.actions.contracts.ContractViolationException
- getViolation() - Method in exception class com.tnsai.agents.groups.GroupPolicyViolationException
- getViolationType() - Method in exception class com.tnsai.communication.CommunicationViolationException
-
Gets the type of communication violation.
- getViolationType() - Method in exception class com.tnsai.security.SecurityException
-
Gets the type of security violation.
- getVoteResult(String) - Method in class com.tnsai.communication.SharedBlackboard
-
Gets the vote result for an entry.
- getWindowMs() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RateLimitMeta
- GIT - Enum constant in enum class com.tnsai.tools.SideEffect
-
Invokes git plumbing or porcelain commands locally.
- GLM_4_FLASH - Static variable in class com.tnsai.llm.ModelCapabilities
-
ZhipuAI GLM-4-Flash - Fast and efficient
- GLM_4_PLUS - Static variable in class com.tnsai.llm.ModelCapabilities
-
ZhipuAI GLM-4-Plus - Most capable ZhipuAI model
- GLM_4V_PLUS - Static variable in class com.tnsai.llm.ModelCapabilities
-
ZhipuAI GLM-4V-Plus - Vision capable model
- GLOBAL - Static variable in record class com.tnsai.memory.MemoryNamespace
-
Global namespace shared across all workspaces and sessions.
- goal() - Element in annotation interface com.tnsai.roles.annotations.RoleDeclaration
-
The primary goal or objective of this role.
- goal(String) - Method in class com.tnsai.roles.RoleBuilder
- Goal - Annotation Interface in com.tnsai.annotations
-
Defines a goal for planning.
- Goal(String, String, int, CognitiveModel.GoalStatus, Map<String, Object>) - Constructor for record class com.tnsai.spi.CognitiveModel.Goal
-
Creates an instance of a
Goalrecord class. - GOAL - Enum constant in enum class com.tnsai.annotations.EvalMetric.MetricCategory
-
Goal completion metrics
- GOAL_ACTIVATION - Enum constant in enum class com.tnsai.context.decision.DecisionTrigger.TriggerType
-
Decision triggered by goal activation in BDI
- GOAL_CHANGE - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken when agent goals change.
- goalActivation(String) - Static method in record class com.tnsai.context.decision.DecisionTrigger
-
Creates a trigger from a goal activation.
- goalId() - Method in record class com.tnsai.spi.CognitiveModel.Intention
-
Returns the value of the
goalIdrecord component. - goals() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
Goals this role wants to achieve.
- goals() - Method in record class com.tnsai.spi.CognitiveModel.CognitiveState
-
Returns the value of the
goalsrecord component. - Goal Satisfaction - Search tag in annotation interface com.tnsai.annotations.Goal
- Section
- GOAP - Static variable in interface com.tnsai.spi.FeatureFlag
-
Planner auto-discovery / GOAP selection.
- GOOGLE_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Google Calendar + Drive.
- GOOSE_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Local git repo + screenshot + system info.
- GPT - Enum constant in enum class com.tnsai.prompt.ModelFamily
-
OpenAI GPT lineage (gpt-3.5, gpt-4, gpt-4o, o1, ...).
- GPT_4_TURBO - Static variable in class com.tnsai.llm.ModelCapabilities
-
OpenAI GPT-4-turbo capabilities
- GPT_4O - Static variable in class com.tnsai.llm.ModelCapabilities
-
OpenAI GPT-4o capabilities
- GPT_4O_MINI - Static variable in class com.tnsai.llm.ModelCapabilities
-
OpenAI GPT-4o-mini capabilities
- GRACEFUL - Enum constant in enum class com.tnsai.hooks.events.StopReason
-
Normal shutdown — caller invoked
agent.stop()/close(). - Graceful degradation - Search tag in interface com.tnsai.spi.McpClientFactory
- Section
- grantAccess(String) - Method in class com.tnsai.memory.SharedMemoryStore
-
Grants access to an agent ID.
- grantAccess(String, String) - Method in class com.tnsai.memory.SharedMemoryRegistry
-
Grants an agent access to a namespace and records the grant in the agent index.
- GRAPH - Enum constant in enum class com.tnsai.annotations.Knowledge.Type
-
A handle to a graph store, not a corpus.
- GRAPH - Enum constant in enum class com.tnsai.annotations.Search.Strategy
-
Knowledge graph traversal
- GROQ - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
- GROQ_LLAMA_33_70B - Static variable in class com.tnsai.llm.ModelCapabilities
-
Groq Llama 3.3 70B capabilities
- Group Discovery - Search tag in annotation interface com.tnsai.annotations.GroupMember
- Section
- GroupEvent - Record Class in com.tnsai.agents.groups
-
Event occurring within an AgentGroup.
- GroupEvent(String, GroupEvent.Type, String, String, String, Object, Map<String, Object>, Instant) - Constructor for record class com.tnsai.agents.groups.GroupEvent
-
Creates a GroupEvent with validation.
- GroupEvent.Builder - Class in com.tnsai.agents.groups
-
Builder for GroupEvent.
- GroupEvent.Type - Enum Class in com.tnsai.agents.groups
-
Event types for group events.
- GroupEventBus - Interface in com.tnsai.agents.groups
-
Event bus for intra-group communication.
- groupId() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Returns the value of the
groupIdrecord component. - groupId() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns the value of the
groupIdrecord component. - groupId() - Method in record class com.tnsai.hooks.HookContext
-
Returns the value of the
groupIdrecord component. - groupId() - Method in record class com.tnsai.observability.events.EventContext
-
Returns the value of the
groupIdrecord component. - groupId(String) - Method in class com.tnsai.agents.groups.GroupEvent.Builder
- groupId(String) - Method in class com.tnsai.hooks.HookContext.Builder
- groupId(String) - Method in class com.tnsai.observability.events.EventContext.Builder
- GroupLifecycle - Enum Class in com.tnsai.agents.groups
-
Lifecycle states for an AgentGroup.
- GroupLifecycleListener - Interface in com.tnsai.agents.groups
-
Listener for group lifecycle events.
- GroupMember - Annotation Interface in com.tnsai.annotations
-
Declares agent group memberships.
- groupMembership(GroupMemberSpec) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the agent's group membership configuration — programmatic parity for
AgentSpec.groups()(TNS-534). - GroupMemberSpec - Record Class in com.tnsai.agents.groups
-
Configuration record for group membership extracted from
GroupMemberannotation. - GroupMemberSpec(List<String>, boolean, boolean, String, int, int) - Constructor for record class com.tnsai.agents.groups.GroupMemberSpec
-
Creates an instance of a
GroupMemberSpecrecord class. - GroupMetrics - Record Class in com.tnsai.agents.groups
-
Metrics snapshot for an AgentGroup.
- GroupMetrics(String, int, int, GroupLifecycle, long, long, long, Duration, Duration, int, Instant) - Constructor for record class com.tnsai.agents.groups.GroupMetrics
-
Creates an instance of a
GroupMetricsrecord class. - GroupPolicy - Record Class in com.tnsai.agents.groups
-
Configuration policy for an AgentGroup.
- GroupPolicy(int, int, Duration, Duration, boolean, GroupPolicy.FailurePolicy, GroupPolicy.MemberSelectionStrategy, LeaderElectionStrategy) - Constructor for record class com.tnsai.agents.groups.GroupPolicy
-
Creates a GroupPolicy with validation.
- GroupPolicy.Builder - Class in com.tnsai.agents.groups
-
Builder for GroupPolicy.
- GroupPolicy.FailurePolicy - Enum Class in com.tnsai.agents.groups
-
Policy for handling member failures.
- GroupPolicy.MemberSelectionStrategy - Enum Class in com.tnsai.agents.groups
-
Strategy for selecting members for task assignment.
- GroupPolicyViolationException - Exception Class in com.tnsai.agents.groups
-
Exception thrown when a group policy is violated.
- GroupPolicyViolationException(String, String) - Constructor for exception class com.tnsai.agents.groups.GroupPolicyViolationException
- GroupPolicyViolationException(String, String, Throwable) - Constructor for exception class com.tnsai.agents.groups.GroupPolicyViolationException
- GroupRegistry - Class in com.tnsai.agents.groups
-
Central registry for managing AgentGroups.
- groups() - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Returns the value of the
groupsrecord component. - groups() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Group membership configuration.
- groups() - Element in annotation interface com.tnsai.annotations.Communication.Messaging
-
Broadcast group memberships.
- groups() - Element in annotation interface com.tnsai.annotations.GroupMember
-
Group IDs this agent belongs to.
- groupSpec - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- GroupTask - Record Class in com.tnsai.agents.groups
-
A task to be executed by group members.
- GroupTask(String, String, String, GroupTask.Priority, Duration, List<String>, Map<String, Object>, GroupTask.Status, String, Instant, Instant, Instant, Object) - Constructor for record class com.tnsai.agents.groups.GroupTask
-
Creates a GroupTask with validation.
- GroupTask.Builder - Class in com.tnsai.agents.groups
-
Builder for GroupTask.
- GroupTask.Priority - Enum Class in com.tnsai.agents.groups
-
Task priority levels.
- GroupTask.Status - Enum Class in com.tnsai.agents.groups
-
Task execution status.
- groupTopology() - Method in record class com.tnsai.hooks.HookContext
-
Returns the value of the
groupTopologyrecord component. - groupTopology(String) - Method in class com.tnsai.hooks.HookContext.Builder
- guardrailCause() - Method in exception class com.tnsai.guardrails.GuardrailViolationException
- GuardrailViolationException - Exception Class in com.tnsai.guardrails
-
Thrown by
InputGuardrailEnforcerorOutputGuardrailEnforcerwhen an action's declared guardrail is breached and theonFailurepolicy requires aborting the action. - GuardrailViolationException(GuardrailViolationException.Stage, GuardrailViolationException.Cause, String, String, String) - Constructor for exception class com.tnsai.guardrails.GuardrailViolationException
- GuardrailViolationException.Cause - Enum Class in com.tnsai.guardrails
-
Why the value was rejected.
- GuardrailViolationException.Stage - Enum Class in com.tnsai.guardrails
-
Whether the violation occurred before or after action execution.
- guide(String) - Static method in interface com.tnsai.agents.execution.ToolCallAction
-
Creates an action that provides guidance to the agent for self-correction.
- Guide(String) - Constructor for record class com.tnsai.agents.execution.ToolCallAction.Guide
-
Creates an instance of a
Guiderecord class. - guided(String, String) - Static method in class com.tnsai.agents.execution.AgentToolExecutor.ToolCallResult
- guideline(String) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- guidelines(List<String>) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
H
- hallucinationThreshold() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Confidence threshold for hallucination detection.
- handleCNPMessageHook(AgentMessage, CNPMessageType) - Method in class com.tnsai.agents.Agent
- handleCNPMessageHook(AgentMessage, CNPMessageType) - Method in interface com.tnsai.agents.messaging.AgentMessagingHandler.MessagingContext
-
Hook for CNP message handling (delegated back to Agent for override support).
- handleFailure(String, Exception) - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Handles a failed operation and determines recovery action.
- handleFailure(String, String, Exception) - Method in class com.tnsai.resilience.recovery.AgentRecoveryManager
- handleMessage(AgentMessage) - Method in class com.tnsai.agents.Agent
-
Handles an incoming agent message.
- handler() - Method in record class com.tnsai.metadata.ActionConfig
-
Returns the value of the
handlerrecord component. - handler() - Method in record class com.tnsai.tools.method.DynamicToolMethod
-
Returns the value of the
handlerrecord component. - handler(DynamicToolMethod.Handler) - Method in class com.tnsai.tools.method.DynamicToolMethod.Builder
- Handling in Agent Loop - Search tag in exception class com.tnsai.exceptions.TaskCompleteException
- Section
- Handling Tool Calls - Search tag in class com.tnsai.llm.ChatResponse
- Section
- HARASSMENT - Enum constant in enum class com.tnsai.annotations.InputGuardrail.ContentCategory
- has(String) - Method in class com.tnsai.actions.ActionParams
-
Checks if a parameter exists.
- has(String) - Static method in class com.tnsai.config.EnvLoader
-
Check if environment variable is set and non-empty.
- has(String) - Method in record class com.tnsai.environment.Percept
-
Returns true if the percept contains the given key.
- hasAccess(String) - Method in class com.tnsai.memory.SharedMemoryStore
-
Checks whether the given agent has access.
- hasAction(String) - Method in class com.tnsai.metadata.DiscoveredRoleActions
-
Checks if this role has a specific action.
- hasAction(String) - Method in class com.tnsai.roles.Role
- hasActions() - Method in class com.tnsai.metadata.DiscoveredRoleActions
-
Checks if this role has any actions.
- hasActions() - Method in record class com.tnsai.roles.export.ExportedRole
- hasAllVariables(Map<String, Object>) - Method in interface com.tnsai.prompt.PromptTemplate
-
Returns whether all required variables are provided.
- hasAlternatives() - Method in class com.tnsai.context.decision.DecisionReasoning
-
Returns true if alternatives were considered.
- hasAlternatives() - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Returns true if there are alternatives to consider.
- hasAlternatives() - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Returns true if the response has alternatives.
- hasAnyConflicts() - Method in class com.tnsai.context.entity.Entity
-
Returns true if this entity has any conflicts.
- hasAnyContract() - Method in record class com.tnsai.metadata.ContractConfig
-
Checks if any contract element is defined.
- hasApiKey() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Checks if API key authentication is configured.
- hasAuth() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Checks if authentication is configured.
- hasAutoResponsibilities() - Method in record class com.tnsai.roles.export.ExportedRole
-
Checks if this role has any auto-extracted responsibilities from
@ActionSpecmethods (descriptions, invariants, mustNever/mustAlways). - hasBDIContext() - Method in class com.tnsai.protocols.models.Message
-
Checks if this message has BDI context (beliefs or intentions).
- hasBeliefs() - Method in class com.tnsai.context.decision.DecisionInput
-
Returns true if there are any beliefs.
- hasBeliefs() - Method in class com.tnsai.context.snapshot.ContextSnapshot
-
Returns true if this snapshot has any beliefs.
- hasCacheUsage() - Method in class com.tnsai.llm.ChatResponse
-
Checks if this response has cache usage information.
- hasCallbacks() - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Returns true if any callbacks are registered.
- hasChanges() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns true if there are any changes.
- hasChild(Agent) - Method in class com.tnsai.agents.Agent
- hasChild(Agent) - Method in interface com.tnsai.agents.hierarchy.AgentHierarchyManager.HierarchyContext
-
Checks if the given agent is a child.
- hasConfirmationRequiredTool() - Method in record class com.tnsai.agents.validation.ValidationContext
-
Returns the value of the
hasConfirmationRequiredToolrecord component. - hasConflict(String) - Method in class com.tnsai.context.entity.Entity
-
Returns true if this entity has conflicting values for an attribute.
- hasConsensus(String, int, double) - Method in class com.tnsai.communication.SharedBlackboard
-
Checks if an entry has consensus.
- hasConstraints() - Method in class com.tnsai.context.decision.DecisionInput
-
Returns true if there are any constraints.
- hasConstraints() - Method in class com.tnsai.context.decision.DecisionPolicy
-
Returns true if there are any constraints.
- hasContextSnapshot() - Method in class com.tnsai.context.decision.DecisionTrace
-
Returns true if this trace has a context snapshot.
- hasDefaultValue() - Method in class com.tnsai.metadata.ParamSpec
-
Checks if this parameter has a default value.
- hasDescription() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action has a description.
- hasDescription() - Method in class com.tnsai.metadata.ParamSpec
-
Checks if this parameter has a description.
- hasDescription() - Method in class com.tnsai.metadata.ToolExampleSpec
-
Checks if this example has a description.
- hasEffects() - Method in class com.tnsai.context.decision.DecisionOutcome
-
Returns true if there are any effects.
- hasEffects() - Method in record class com.tnsai.metadata.ContractConfig
-
Checks if effects are defined.
- hasEmbedding() - Method in class com.tnsai.knowledge.Document
-
Checks if the document has an embedding.
- hasEndpoint() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Checks if an endpoint is configured.
- hasEntities() - Method in class com.tnsai.context.decision.DecisionInput
-
Returns true if there are any entities.
- hasEntities() - Method in class com.tnsai.context.snapshot.ContextSnapshot
-
Returns true if this snapshot has any entities.
- hasError() - Method in class com.tnsai.context.decision.DecisionOutcome
-
Returns true if there was an error.
- hasErrors() - Method in record class com.tnsai.agents.validation.ValidationReport
- hasEventHandlers(Class<?>) - Static method in class com.tnsai.events.handler.EventHandlerProcessor
-
Checks whether a class has any
@EventHandlerannotated methods. - hasEvidence() - Method in record class com.tnsai.rag.RetrievalResult
-
Returns whether this result contains evidence.
- hasExamples() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action has usage examples defined.
- hasExternalTool(String) - Method in class com.tnsai.actions.ActionExecutor
-
Checks whether the dispatcher knows a tool with the given name.
- hasExternalTools() - Method in record class com.tnsai.agents.validation.ValidationContext
-
Returns the value of the
hasExternalToolsrecord component. - hasFulfills() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action fulfills any goals.
- hasFulfills() - Method in record class com.tnsai.metadata.ContractConfig
-
Checks if this action fulfills any goals.
- hasGroups() - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Checks if this configuration has any groups defined.
- hasGroupSpec() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Checks if the agent has group membership configured.
- HASH_INPUT - Enum constant in enum class com.tnsai.idempotency.KeyStrategy
-
SHA-256 over canonical JSON of the call's input map.
- hashCode() - Method in record class com.tnsai.accountability.Action
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.accountability.AuditQuery
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.accountability.AuthorityScope
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.accountability.ReputationScore
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.actions.model.ActionRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.actions.model.ActionResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.async.ChatEvent.Completed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.async.ChatEvent.Error
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.async.ChatEvent.Started
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.async.ChatEvent.Token
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.async.ChatEvent.ToolCall
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.async.ChatEvent.ToolResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.cognitive.CognitiveEngine.BDISnapshot
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.execution.MemoryManager.AgentCheckpoint
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.execution.ToolCallAction.Allow
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.execution.ToolCallAction.Block
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.execution.ToolCallAction.Fallback
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.execution.ToolCallAction.Guide
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipHistoryEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipStats
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipValidation
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ErrorInterrupt
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ExternalInterrupt
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.TimeoutInterrupt
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.UserInterrupt
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.validation.Location
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.validation.ValidationContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.validation.ValidationIssue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.validation.ValidationReport
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.variant.VariantManager.VariantChangeEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.agents.variant.VariantSelector.SelectionResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.communication.SharedBlackboard.VoteResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.decision.DecisionOutcome.OutcomeError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.decision.DecisionPolicy.PolicyRule
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.decision.DecisionReasoning.Alternative
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.decision.DecisionReasoning.ReasoningStep
-
Returns a hash code value for this object.
- hashCode() - Method in class com.tnsai.context.decision.DecisionTrace
- hashCode() - Method in record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.decision.DecisionTrigger
-
Returns a hash code value for this object.
- hashCode() - Method in class com.tnsai.context.entity.Entity
- hashCode() - Method in record class com.tnsai.context.entity.EntityAttribute.AttributeHistory
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.entity.EntityAttribute
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.entity.EntityResolver.ResolverStatistics
-
Returns a hash code value for this object.
- hashCode() - Method in class com.tnsai.context.entity.EntitySource
- hashCode() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- hashCode() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.VariableChange
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.snapshot.SnapshotStore.SnapshotStoreStatistics
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.environment.ActionOutcome
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.environment.Percept
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.AgentHierarchyEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.ApprovalRequestEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.ArtifactEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.BDIUpdateEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.ErrorEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.RunEndEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.RunStartEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.SkillActivationEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.StatusEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.TextDeltaEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.ThoughtEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.ToolCallEndEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.ToolCallStartEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.events.UiComponentEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.exceptions.ProviderDetails
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.feedback.FeedbackCollector.ToolOutcome
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.guardrails.OutputGuardrailConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.AgentInit
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.AgentStart
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.AgentStop
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.OnActionError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.OnCapabilityDispatch
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.OnChunk
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.OnNotification
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.OnSessionIdle
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.OnSPILoad
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.OnStateTransition
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.PostAction
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.PostChat
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.PreAction
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.PreChat
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.SessionEnd
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.events.SessionStart
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.HookContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.HookMatcher.All
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.HookMatcher.Predicate
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.HookMatcher.Regex
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.HookResult.Allow
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.HookResult.Block
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.hooks.HookResult.Modify
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.idempotency.IdempotencyEntry.FailureSnapshot
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.idempotency.IdempotencyEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.identity.AgentDescriptor
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.identity.Attestation
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.identity.DIDConfig
-
Returns a hash code value for this object.
- hashCode() - Method in class com.tnsai.knowledge.Document
- hashCode() - Method in class com.tnsai.knowledge.SearchResult
- hashCode() - Method in record class com.tnsai.llm.LLMResolver.LLMSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.llm.LLMResolver.ResolutionResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.llm.ModelInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.llm.ParallelLLM.LLMResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.llm.ParallelLLM.ParallelResults
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.memory.advanced.ScoredEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.memory.advanced.Skill
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.memory.AgentMemoryResolver.MemoryResolution
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.memory.MemoryConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.memory.MemoryNamespace
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.LoadedContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.TierConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.memory.strategy.TieredMemoryStore.ConsolidationResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.metadata.ActionConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.metadata.ContractConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.metadata.ContractSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.models.agent.Communication
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.models.agent.Desire
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.models.chat.AudioPart
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.models.chat.ImagePart
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.models.chat.TextPart
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.models.chat.VideoPart
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.observability.errors.CauseInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.observability.events.Breadcrumbs.Breadcrumb
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.observability.events.CapturingAgentEventPublisher.Captured
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.observability.events.EventContext
-
Returns a hash code value for this object.
- hashCode() - Method in class com.tnsai.parser.ParseResult
- hashCode() - Method in record class com.tnsai.parser.RetryableParser.ParseAttempt
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.payment.Quote
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.payment.Service
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.payment.Settlement.AlreadySettled
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.payment.Settlement.Expired
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.payment.Settlement.Rejected
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.payment.Settlement.Settled
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.PlannerHandle.PlanResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.PlannerHandle.PlanStep
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.PlannerHandle.StepResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.prompt.ProjectContextLoader.ProjectContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.prompt.PromptSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.prompt.strategy.EnhancedResponse.ThinkingPhase
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.prompt.strategy.PromptEnhancer.Example
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.ChatKnowledgeContext.Turn
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.DocumentBlock
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.DocumentInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.ExtractedDocument
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.KnowledgeEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.KnowledgeSelection
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.KnowledgeUsage
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.NormalizedDocumentChunker.Chunk
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.RetrievalDiagnostics
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.RetrievalEvidence
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.RetrievalEvidence.Provenance
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.RetrievalRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.RetrievalResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.rag.RetrievalScope
-
Returns a hash code value for this object.
- hashCode() - Method in class com.tnsai.rag.SearchSettings
- hashCode() - Method in record class com.tnsai.rag.SequentialConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Checkpoint
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.DefaultResumableRun.Step
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Outcome.Aborted
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Outcome.Completed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Outcome.Failed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Outcome.Suspended
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Progress.CheckpointSaved
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Progress.CostUpdate
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Progress.Heartbeat
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Progress.RunAborted
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Progress.RunCompleted
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Progress.RunFailed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Progress.StepCompleted
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.Progress.StepStarted
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reliability.RunConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.resilience.ResilienceConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.resilience.ResilienceMetrics.MetricSnapshot
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.roles.export.ExportedRole
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.CachedRoleMetadata
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.ResponsibilityInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.security.AccessDeclaration
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.security.AccessRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.security.AccessSubject
-
Returns a hash code value for this object.
- hashCode() - Method in class com.tnsai.security.approval.InterruptResult
- hashCode() - Method in record class com.tnsai.security.approval.InterruptService.InterruptRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.security.audit.AuditEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.security.audit.AuditQuery
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.security.ExecutionRule
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.security.SecurityFeatures
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.skills.ActiveSkill
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.skills.Skill
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.skills.SkillManager.SlashCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.spi.CheckpointerFactory.ProviderInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.spi.CognitiveModel.Action
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.spi.CognitiveModel.Belief
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.spi.CognitiveModel.CognitiveState
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.spi.CognitiveModel.Goal
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.spi.CognitiveModel.Intention
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.spi.FlagContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.spi.Healthcheckable.HealthStatus
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.spi.MessageBroker.Message
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.spi.ToolRegistry.ToolParameter
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.spi.ToolRegistry.ToolRegistryEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.state.Checkpointer.CheckpointTuple
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.state.Checkpointer.Write
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.timeout.TimeoutPolicy
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.tools.method.DynamicToolMethod
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.tools.method.StaticToolMethod
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.tools.method.ToolParameter
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.tools.ToolExample
-
Returns a hash code value for this object.
- hasHeaders() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Checks if custom headers are configured.
- hasHeaders() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Checks if custom headers are configured.
- hasHigherPriorityThan(EntitySource) - Method in class com.tnsai.context.entity.EntitySource
-
Returns true if this source has higher priority than another.
- hasHistory() - Method in class com.tnsai.llm.ChatRequest
-
Returns true if conversation history is provided.
- hasIdempotencyKey() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action has an idempotency key defined.
- hasIntentions() - Method in class com.tnsai.context.snapshot.ContextSnapshot
-
Returns true if this snapshot has any intentions.
- hasIntentions() - Method in record class com.tnsai.roles.export.ExportedRole
- hasKnowledge() - Method in class com.tnsai.annotations.ClassConfig.Level
- hasKnowledge(Method) - Static method in class com.tnsai.rag.KnowledgeDeclarations
- hasKnowledge(Method, Map<String, List<String>>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Like
KnowledgeDeclarations.hasKnowledge(Method), with the knowledge of some actions given by name: an action given names has knowledge when it is given at least one, whatever itsActionSpec.knowledge()declares. - hasLLM() - Method in class com.tnsai.roles.Role
- hasLLM(Agent, Role) - Static method in class com.tnsai.llm.LLMResolver
-
Checks if the given agent-role combination has an LLM configured.
- hasLLMConfig(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- hasLLMParameters() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action has custom LLM parameters defined.
- hasLlmSpec() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
-
Checks if LLM is configured.
- hasLLMSpec() - Method in record class com.tnsai.roles.export.ExportedRole
- hasLlmSystemPrompt() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks whether a per-action LLM system-prompt override is present.
- hasLlmTemperatureOverride() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks whether a per-action LLM temperature override is present.
- hasMember(String) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Checks if an agent is a member of this group.
- hasMemoryAnnotations(Class<?>) - Static method in class com.tnsai.memory.AgentMemoryResolver
-
Checks if the given class has @Memory or @VectorMemory annotation.
- hasMemorySpec() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Checks if the agent has memory configuration.
- hasMinimumMembers(int) - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Checks if the group has enough members to start.
- hasMustAlways() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action has any mustAlways constraints.
- hasMustNever() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action has any mustNever constraints.
- hasOutput() - Method in class com.tnsai.metadata.ToolExampleSpec
-
Checks if this example has output.
- hasOverrides() - Method in class com.tnsai.context.decision.DecisionPolicy
-
Returns true if any rules were overridden.
- hasParadigm(String) - Method in interface com.tnsai.protocols.ProtocolManagerHandle
-
Checks if a paradigm is configured.
- hasParameters() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action has parameters.
- hasPermission(String, String) - Method in interface com.tnsai.security.PermissionProvider
-
Checks whether an agent has a specific permission.
- hasPostcondition() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action has a postcondition defined.
- hasPostcondition() - Method in record class com.tnsai.metadata.ContractConfig
-
Checks if a postcondition is defined.
- hasPrecedents() - Method in class com.tnsai.context.decision.DecisionInput
-
Returns true if there are any precedents.
- hasPrecondition() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action has a precondition defined.
- hasPrecondition() - Method in record class com.tnsai.metadata.ContractConfig
-
Checks if a precondition is defined.
- hasProtocolAnnotations(Class<?>) - Static method in class com.tnsai.agents.init.AgentInitializer
-
Checks if the agent class has protocol annotations.
- hasProvider(String) - Method in class com.tnsai.spi.CheckpointerFactory
-
Checks if a provider is registered.
- hasRequirements() - Method in record class com.tnsai.agents.groups.GroupTask
-
Checks if task requires specific capabilities.
- hasResult() - Method in exception class com.tnsai.exceptions.TaskCompleteException
-
Checks if result is present.
- hasRetry() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Checks if retry is configured.
- hasRole() - Method in class com.tnsai.protocols.models.AgentEndpoint
-
Returns true if this endpoint has a role specified.
- hasRole(Agent, Class<? extends Role>) - Method in class com.tnsai.roles.registry.RoleRegistry
-
Checks if an agent has a specific role assigned.
- hasRoleIdentityAnnotation(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- hasSerializer(OutputFormat) - Method in class com.tnsai.output.OutputSerializerRegistry
-
Checks if a serializer is registered for a format.
- hasServerUrl() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Checks if a server URL is configured.
- hasSession(String) - Method in class com.tnsai.agents.async.SessionManager
-
Checks if a session exists.
- hasSession(String) - Method in class com.tnsai.events.InMemoryEventPublisher
- hasSession(String) - Method in interface com.tnsai.events.TnsAIEventPublisher
-
Checks if a session exists.
- hasSession(String) - Method in class com.tnsai.memory.advanced.SessionRestorer
-
Checks whether a session file exists for the given agent.
- hasSpec() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Checks if the class has @AgentSpec annotation.
- hasState() - Method in record class com.tnsai.roles.export.ExportedRole
- hasStateFields(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- hasStructuredThinking() - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Returns true if the response contains structured thinking phases.
- hasSystemPrompt() - Method in class com.tnsai.llm.ChatRequest
-
Returns true if a system prompt is set.
- hasTag(String) - Method in class com.tnsai.context.decision.DecisionTrace
-
Checks if the trace has a specific tag.
- hasTag(String) - Method in record class com.tnsai.prompt.PromptSpec
-
Returns whether this prompt has a specific tag.
- hasTemperature() - Method in class com.tnsai.llm.ChatRequest
-
Returns true if a temperature override is set.
- hasTemperature() - Method in record class com.tnsai.llm.LLMResolver.LLMSpec
- hasTemperature() - Method in interface com.tnsai.llm.LLMSpecSource
-
Checks if temperature is specified.
- hasToolCalls() - Method in class com.tnsai.llm.ChatResponse
- hasTools() - Method in class com.tnsai.llm.ChatRequest
-
Returns true if tools are specified.
- hasTTL() - Method in class com.tnsai.models.agent.Belief
-
Checks if this belief has a TTL set.
- hasUncertainties() - Method in class com.tnsai.context.decision.DecisionReasoning
-
Returns true if there are uncertainties.
- hasVariantOverride() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action has a variant override.
- hasVerification() - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Returns true if the response has verification questions.
- hasWarnings() - Method in record class com.tnsai.agents.validation.ValidationReport
- HATE - Enum constant in enum class com.tnsai.annotations.InputGuardrail.ContentCategory
- HEAD - Enum constant in enum class com.tnsai.enums.HttpMethod
- Header - Annotation Interface in com.tnsai.annotations
-
Defines a custom HTTP header for WEB_SERVICE actions.
- headers() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Custom headers for HTTP transport.
- headers() - Element in annotation interface com.tnsai.annotations.WebService
-
Custom headers to include in request.
- headers() - Method in record class com.tnsai.hooks.events.SessionStart
-
Returns the value of the
headersrecord component. - headers() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
headersrecord component. - headers() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
headersrecord component. - headers() - Method in record class com.tnsai.spi.MessageBroker.Message
-
Returns the value of the
headersrecord component. - HEADING - Enum constant in enum class com.tnsai.rag.KnowledgeUnit
-
Markdown heading sections (
#{1,6}). - health() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns the value of the
healthrecord component. - Healthcheckable - Interface in com.tnsai.spi
-
Opt-in marker for components whose backing service can be reached over the network or another out-of-process boundary, and that can answer a lightweight reachability probe in bounded time.
- Healthcheckable.HealthStatus - Record Class in com.tnsai.spi
-
Outcome of a reachability probe.
- HealthStatus(boolean, Optional<String>, Duration) - Constructor for record class com.tnsai.spi.Healthcheckable.HealthStatus
-
Creates an instance of a
HealthStatusrecord class. - healthy(Duration) - Static method in record class com.tnsai.spi.Healthcheckable.HealthStatus
-
The service answered the probe within the timeout.
- HEALTHY - Enum constant in enum class com.tnsai.agents.groups.MembershipManager.MemberHealth
- HEALTHY - Enum constant in enum class com.tnsai.resilience.recovery.AgentHealthState
- healthyCount() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipStats
-
Returns the value of the
healthyCountrecord component. - healthyMemberCount() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns the value of the
healthyMemberCountrecord component. - heartbeat(String) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Records a heartbeat from a member.
- Heartbeat(Instant, String) - Constructor for record class com.tnsai.reliability.Progress.Heartbeat
-
Creates an instance of a
Heartbeatrecord class. - HEARTBEAT - Enum constant in enum class com.tnsai.annotations.Lifecycle.Phase
-
Periodic heartbeat.
- HIERARCHICAL - Enum constant in enum class com.tnsai.annotations.Search.Strategy
-
Parent-child document retrieval
- HierarchyBuilder - Class in com.tnsai.agents.hierarchy
-
Utility class for building agent hierarchies with a fluent API.
- HIGH - Enum constant in enum class com.tnsai.accountability.LiabilityClass
-
External-system mutation with material consequence.
- HIGH - Enum constant in enum class com.tnsai.agents.groups.GroupTask.Priority
- HIGH - Enum constant in enum class com.tnsai.enums.agent.Priority
- HIGH - Enum constant in enum class com.tnsai.enums.AgentVariant.Cost
-
High cost, premium models
- HIGH - Enum constant in enum class com.tnsai.enums.AgentVariant
-
Maximum quality variant.
- HIGH - Enum constant in enum class com.tnsai.hooks.Severity
- HIGH - Enum constant in enum class com.tnsai.tools.ToolRiskLevel
-
Mutates external state but reversibly.
- HIGHEST_CONFIDENCE - Enum constant in enum class com.tnsai.context.entity.ConflictResolution
-
Use the value with the highest confidence score.
- highSpec() - Static method in class com.tnsai.agents.variant.VariantSpec
-
HIGH variant: Maximum quality configuration.
- histogram() - Element in annotation interface com.tnsai.annotations.Metered
-
Whether to record a latency histogram in addition to counters.
- history() - Method in record class com.tnsai.context.entity.EntityAttribute
-
Returns the value of the
historyrecord component. - history() - Method in record class com.tnsai.hooks.events.PreChat
-
Returns the value of the
historyrecord component. - history() - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningContext
-
Returns the value of the
historyrecord component. - history(String) - Method in interface com.tnsai.reliability.CheckpointStore
- history(String) - Method in class com.tnsai.reliability.FilesystemCheckpointStore
- history(String) - Method in class com.tnsai.reliability.InMemoryCheckpointStore
- history(String) - Method in class com.tnsai.reliability.RedisCheckpointStore
- history(String) - Method in class com.tnsai.reliability.S3CheckpointStore
- history(String) - Method in class com.tnsai.reliability.SqliteCheckpointStore
- history(List<Map<String, Object>>) - Method in class com.tnsai.agents.async.ChatOptions.Builder
- history(List<Map<String, Object>>) - Method in class com.tnsai.llm.ChatRequest.Builder
-
Sets conversation history.
- historyOf(String, Duration) - Method in class com.tnsai.accountability.InMemoryReputationLedger
- historyOf(String, Duration) - Method in interface com.tnsai.accountability.ReputationLedger
-
Records that contributed to
ReputationLedger.scoreOf(java.lang.String), scoped to the trailingwindow. - historyOpt() - Method in class com.tnsai.llm.ChatRequest
-
History as Optional (for bridging to existing LLMClient methods).
- historySize() - Method in record class com.tnsai.agents.execution.MemoryManager.AgentCheckpoint
-
Returns the size of the conversation history at this checkpoint.
- historyTokens() - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Returns the value of the
historyTokensrecord component. - HIT - Enum constant in enum class com.tnsai.rag.RetrievalDiagnostics.CacheOutcome
- HOLDER - Static variable in interface com.tnsai.rag.RetrievalSpi
-
Cache for
RetrievalSpi.find()— null until first lookup, then immutable. - Hook<E> - Interface in com.tnsai.hooks.spi
-
Pluggable intercept point in the framework's event chain (issue #58).
- HookContext - Record Class in com.tnsai.hooks
-
Per-event context attached to every
HookEventso a hook implementation has the full surrounding scope without having to fish it out of thread-local state (issue #58). - HookContext(String, String, String, List<String>, Optional<String>, Optional<String>, Optional<String>, Optional<String>, Optional<String>, Optional<String>, Optional<Path>) - Constructor for record class com.tnsai.hooks.HookContext
-
Creates an instance of a
HookContextrecord class. - HookContext.Builder - Class in com.tnsai.hooks
- hookCount() - Method in interface com.tnsai.eval.hooks.EvalHandle
- HookDispatcher - Class in com.tnsai.hooks
- HookDispatcher() - Constructor for class com.tnsai.hooks.HookDispatcher
-
Default: 5s timeout + fail-open (observability-first, not enforcement-first).
- HookDispatcher(Duration, HookFailurePolicy) - Constructor for class com.tnsai.hooks.HookDispatcher
- HookEvent - Interface in com.tnsai.hooks.events
-
Root of the hook event hierarchy (issue #58).
- HookFailurePolicy - Enum Class in com.tnsai.hooks
-
How the
HookDispatcherhandles a hook that throws or times out duringapply(issue #58). - HookMatcher<E> - Interface in com.tnsai.hooks
-
Filters whether a
Hookfires for a given event (issue #58). - HookMatcher.All<E> - Record Class in com.tnsai.hooks
-
Unconditional match.
- HookMatcher.Predicate<E> - Record Class in com.tnsai.hooks
-
Arbitrary typed predicate — use when regex-on-eventType isn't enough (payload field inspection, cross-field rules).
- HookMatcher.Regex<E> - Record Class in com.tnsai.hooks
-
Pattern applied to
HookEvent.eventType(). - HookResult<E> - Interface in com.tnsai.hooks
-
Decision returned by a
Hookafter observing an event (issue #58). - HookResult.Allow<E> - Record Class in com.tnsai.hooks
-
Pass-through.
- HookResult.Block<E> - Record Class in com.tnsai.hooks
-
Refuse the operation.
- HookResult.Modify<E> - Record Class in com.tnsai.hooks
-
Replace the event for the rest of the chain.
- host() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
The host for the vector store (for remote providers).
- host() - Method in exception class com.tnsai.exceptions.KnowledgeNotReadyException
-
Returns the class whose knowledge declares the source.
- hostEnv() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
Environment variable name for the host.
- How @Fallback works in this codebase - Search tag in class com.tnsai.resilience.FallbackResolver
- Section
- How It Works - Search tag in class com.tnsai.memory.strategy.HybridStrategy
- Section
- How It Works - Search tag in class com.tnsai.memory.strategy.SlidingWindowStrategy
- Section
- How It Works - Search tag in class com.tnsai.memory.strategy.SummaryStrategy
- Section
- HTML - Enum constant in enum class com.tnsai.annotations.Communication.ResponseFormat
- HTML - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.OutputFormat
- HTML - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
HTML text.
- HTTP - Enum constant in enum class com.tnsai.protocols.transport.TransportMode
-
HTTP/REST based communication across network.
- HTTP_POLLING - Enum constant in enum class com.tnsai.hooks.events.SessionProtocol
-
HTTP polling — request/response per turn.
- HTTP_SSE - Enum constant in enum class com.tnsai.hooks.events.SessionProtocol
-
HTTP Server-Sent Events — server push, client poll-out.
- HttpClientFactory - Class in com.tnsai.utils
-
Centralized factory for OkHttpClient instances.
- httpMethod() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
httpMethodrecord component. - HttpMethod - Enum Class in com.tnsai.enums
-
HTTP method types for WebService actions.
- httpStatus() - Method in record class com.tnsai.exceptions.ProviderDetails
-
Returns the value of the
httpStatusrecord component. - httpStatus(Integer) - Method in class com.tnsai.exceptions.ProviderDetails.Builder
- httpStatusCode(int) - Method in class com.tnsai.tools.spi.ToolException.Builder
- httpTimeout(String, long) - Static method in exception class com.tnsai.exceptions.TimeoutException
-
Factory method for HTTP request timeout.
- HUBSPOT_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
HubSpot CRM v3 API.
- HUGGINGFACE - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
- HUMAN - Enum constant in enum class com.tnsai.security.AccessSubject.Kind
- HUMAN_APPROVAL - Enum constant in enum class com.tnsai.security.approval.InterruptReason
-
Requires human approval before executing a sensitive action.
- HYBRID - Enum constant in enum class com.tnsai.annotations.Memory.Conversation.Strategy
-
Hybrid: window + summary
- HYBRID - Enum constant in enum class com.tnsai.annotations.MemorySpec.MemoryType
-
Combined conversation + vector
- HYBRID - Enum constant in enum class com.tnsai.annotations.Search.Strategy
-
Combined semantic + keyword, plus knowledge-graph hits when a
GraphStoreis available. - HybridMemoryRetriever - Class in com.tnsai.memory.advanced
-
Combines BM25 text search and vector semantic search via Reciprocal Rank Fusion.
- HybridMemoryRetriever(BM25Index, VectorMemoryStore) - Constructor for class com.tnsai.memory.advanced.HybridMemoryRetriever
-
Creates a hybrid retriever with default RRF (k=60).
- HybridMemoryRetriever(BM25Index, VectorMemoryStore, ReciprocalRankFusion) - Constructor for class com.tnsai.memory.advanced.HybridMemoryRetriever
-
Creates a hybrid retriever with a custom RRF combiner.
- HybridStrategy - Class in com.tnsai.memory.strategy
-
Hybrid memory strategy combining sliding window and summarization.
- HybridStrategy.Builder - Class in com.tnsai.memory.strategy
-
Builder for HybridStrategy.
- HYDE - Enum constant in enum class com.tnsai.annotations.Search.QueryExpansion
-
Hypothetical document generation (HyDE)
I
- 3. Integration with AG-UI - Search tag in interface com.tnsai.events.TnsAIEventPublisher
- Section
- id() - Method in class com.tnsai.agents.Agent
-
Returns the agent ID (never null, no init required).
- id() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
idrecord component. - id() - Method in interface com.tnsai.agents.validation.Validator
-
Short, stable id for logging and test assertions (e.g.
- id() - Method in class com.tnsai.agents.validation.validators.ActionNameCollisionValidator
- id() - Method in class com.tnsai.agents.validation.validators.CapabilityClasspathValidator
- id() - Method in class com.tnsai.agents.validation.validators.ContractExpressionValidator
- id() - Method in class com.tnsai.agents.validation.validators.LLMCapabilityValidator
- id() - Method in class com.tnsai.agents.validation.validators.LLMHealthcheckValidator
- id() - Method in class com.tnsai.agents.validation.validators.LlmPresenceValidator
- id() - Method in class com.tnsai.agents.validation.validators.MCPServerReachabilityValidator
- id() - Method in class com.tnsai.agents.validation.validators.MemoryStoreReachabilityValidator
- id() - Method in class com.tnsai.agents.validation.validators.ResilienceConfigValidator
- id() - Method in class com.tnsai.agents.validation.validators.RolesPresentValidator
- id() - Method in class com.tnsai.agents.validation.validators.TenantScopeValidator
- id() - Method in class com.tnsai.agents.validation.validators.ToolApprovalValidator
- id() - Method in interface com.tnsai.communication.AgentCommunicationManager.MessageReceiver
- id() - Method in record class com.tnsai.context.decision.DecisionPolicy.PolicyRule
-
Returns the value of the
idrecord component. - id() - Method in class com.tnsai.hooks.external.ExternalScriptHook
- id() - Method in interface com.tnsai.hooks.spi.Hook
-
Short stable identifier for logs / audit trail.
- id() - Method in interface com.tnsai.identity.AgentPrincipal
-
Stable identifier — same across every dispatch from the same logical agent instance.
- id() - Method in record class com.tnsai.llm.ModelInfo
-
Returns the value of the
idrecord component. - id() - Method in class com.tnsai.memory.strategy.MemoryEntry
- id() - Method in record class com.tnsai.rag.DocumentInput
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.rag.ExtractedDocument
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.rag.NormalizedDocumentChunker.Chunk
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.security.AccessSubject
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.security.audit.AuditEvent
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.spi.CognitiveModel.Goal
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.spi.CognitiveModel.Intention
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.spi.MessageBroker.Message
-
Returns the value of the
idrecord component. - id(String) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the agent ID.
- id(String) - Method in class com.tnsai.agents.groups.AgentGroupBuilder
-
Sets the group ID.
- id(String) - Method in class com.tnsai.agents.groups.GroupEvent.Builder
- id(String) - Method in class com.tnsai.agents.groups.GroupTask.Builder
- id(String) - Method in class com.tnsai.communication.SharedBlackboard.Entry.Builder
- id(String) - Method in class com.tnsai.context.entity.Entity.Builder
- id(String) - Method in class com.tnsai.context.entity.EntitySource.Builder
- id(String) - Method in class com.tnsai.knowledge.Document.Builder
-
Sets the document ID.
- id(String) - Method in class com.tnsai.resilience.dlq.DeadLetterEntry.Builder
- id(String) - Method in class com.tnsai.security.audit.AuditEvent.Builder
- Idempotency - Search tag in interface com.tnsai.payment.PaymentBroker
- Section
- Idempotency (issue #91 phase 2) - Search tag in class com.tnsai.actions.executors.WebServiceExecutor
- Section
- Idempotency contract - Search tag in interface com.tnsai.reliability.ResumableRun
- Section
- IdempotencyEntry - Record Class in com.tnsai.idempotency
-
Stored record of a previous tool / action call's outcome, keyed by its idempotency key in an
IdempotencyStore(issue #91). - IdempotencyEntry(Optional<Object>, Optional<IdempotencyEntry.FailureSnapshot>, Instant, String) - Constructor for record class com.tnsai.idempotency.IdempotencyEntry
-
Creates an instance of a
IdempotencyEntryrecord class. - IdempotencyEntry.FailureSnapshot - Record Class in com.tnsai.idempotency
-
Lightweight snapshot of a stored failure.
- IdempotencyException - Exception Class in com.tnsai.idempotency
-
Thrown when an idempotency-protected call produces an outcome the framework cannot resolve safely (issue #91): a hard cache hit under
RetryBehavior.FAIL_FAST, a hash collision against a different input, or the configuredIdempotencyStorebeing unreachable mid-call. - IdempotencyException(String, IdempotencyException.IdempotencyConflict, String) - Constructor for exception class com.tnsai.idempotency.IdempotencyException
- IdempotencyException(String, IdempotencyException.IdempotencyConflict, String, Throwable) - Constructor for exception class com.tnsai.idempotency.IdempotencyException
- IdempotencyException.IdempotencyConflict - Enum Class in com.tnsai.idempotency
-
Why the idempotency-protected call could not be resolved.
- idempotencyHint() - Element in annotation interface com.tnsai.annotations.Tool
-
Declares whether runtime dispatch requires an active, stable
Idempotentpolicy for this tool (TNS-299). - IdempotencyHint - Enum Class in com.tnsai.annotations
-
Declares the runtime dispatcher's expectation about idempotency-key tracking for a
Toolmethod (TNS-299). - idempotencyKey() - Method in record class com.tnsai.payment.Quote
-
Returns the value of the
idempotencyKeyrecord component. - IdempotencyKey - Class in com.tnsai.idempotency
-
Derives stable idempotency keys from tool / action input maps per
KeyStrategy(issue #91). - idempotencyKeyFor(Map<String, Object>) - Method in interface com.tnsai.idempotency.IdempotencyKeySupplier
-
Compute the per-call idempotency key for the given LLM argument map.
- Idempotency Keys - Search tag in annotation interface com.tnsai.annotations.Idempotent
- Section
- IdempotencyKeySupplier - Interface in com.tnsai.idempotency
-
Opt-in interface a tool POJO implements to supply its own idempotency key under
KeyStrategy.EXPLICIT(issue #91). - Idempotency protection (issue #91) - Search tag in class com.tnsai.tools.method.ToolMethodDispatcher
- Section
- IdempotencyResolver - Class in com.tnsai.idempotency
-
Orchestrates a single tool / action call under
Idempotentprotection (issue #91): derives the key, consults theIdempotencyStore, decides between returning the cached outcome and re-running the call body, then writes the new outcome back to the store on a cache miss. - idempotencyStore() - Method in class com.tnsai.actions.executors.WebServiceExecutor
- idempotencyStore() - Method in class com.tnsai.tools.method.ToolMethodDispatcher
- idempotencyStore(IdempotencyStore) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the
IdempotencyStoreconsulted for tools guarded by@Idempotent. - idempotencyStore(IdempotencyStore) - Method in class com.tnsai.reliability.DefaultResumableRun.Builder
- IdempotencyStore - Interface in com.tnsai.idempotency
-
SPI for persisting
IdempotencyEntrys keyed by their idempotency key (issue #91). - idempotencyTtl(Duration) - Method in class com.tnsai.reliability.DefaultResumableRun.Builder
- idempotent() - Element in annotation interface com.tnsai.annotations.Security
-
Whether action can be replayed (idempotent).
- idempotent() - Element in annotation interface com.tnsai.annotations.Tool
-
Whether this tool's effect is idempotent (calling twice with the same arguments has the same observable effect as calling once).
- idempotent() - Method in record class com.tnsai.tools.method.DynamicToolMethod
-
Returns the value of the
idempotentrecord component. - idempotent() - Method in record class com.tnsai.tools.method.StaticToolMethod
-
Returns the value of the
idempotentrecord component. - idempotent() - Method in interface com.tnsai.tools.method.ToolMethod
-
Whether the tool is idempotent (safe to retry on failure, safe to cache, safe to run in parallel duplicates).
- idempotent(boolean) - Method in class com.tnsai.tools.method.DynamicToolMethod.Builder
- Idempotent - Annotation Interface in com.tnsai.annotations
-
Marks an action as idempotent, meaning it can be safely retried without causing duplicate side effects.
- Idempotent - Annotation Interface in com.tnsai.idempotency
-
Marks a
Tool(or action method) as side-effecting and therefore requiring idempotency protection on retry (issue #91). - identities - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- identities(List<AgentIdentity>) - Method in class com.tnsai.agents.AgentBuilder
-
Adds multiple identities to the agent.
- identity() - Method in record class com.tnsai.roles.export.ExportedRole
-
Returns the value of the
identityrecord component. - identity() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.CachedRoleMetadata
-
Returns the value of the
identityrecord component. - identity() - Method in class com.tnsai.roles.Role
-
Gets the role identity.
- identity(AgentIdentity) - Method in class com.tnsai.agents.AgentBuilder
-
Adds an identity to the agent.
- Identity - Search tag in record class com.tnsai.reliability.Checkpoint
- Section
- IDENTITY - Enum constant in enum class com.tnsai.context.entity.EntitySource.SourceType
-
Identity/authentication system
- IdentityIssueException(String) - Constructor for exception class com.tnsai.identity.AgentPrincipalProvider.IdentityIssueException
- IdentityIssueException(String, Throwable) - Constructor for exception class com.tnsai.identity.AgentPrincipalProvider.IdentityIssueException
- Identity vs. observability - Search tag in interface com.tnsai.identity.AgentPrincipal
- Section
- Identity vs. observability - Search tag in record class com.tnsai.accountability.AgentLiabilityRecord
- Section
- IDLE - Enum constant in enum class com.tnsai.hooks.events.NotificationKind
-
The agent is idle / waiting; use for "still here?"
- IDLE_TIMEOUT - Enum constant in enum class com.tnsai.hooks.events.SessionCloseReason
-
Idle-timer fired and the policy was to close.
- IdleAction - Enum Class in com.tnsai.hooks.events
-
Suggested action carried by
OnSessionIdle(issue #63). - idleFor() - Method in record class com.tnsai.hooks.events.OnSessionIdle
-
Returns the value of the
idleForrecord component. - IdleMonitor - Class in com.tnsai.agents.lifecycle
-
Monitors agent idle time and triggers callbacks when timeout is reached.
- idleTimeoutMs - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- idleTimeoutMs() - Method in class com.tnsai.agents.Agent
-
Returns the idle timeout in milliseconds (0 = never suspend).
- idleTimeoutMs() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Maximum idle time before agent suspension (milliseconds).
- idleTimeoutMs(int) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the idle timeout before the agent may suspend — programmatic parity for
AgentSpec.idleTimeoutMs()(TNS-534). - ifFailure(Consumer<String>) - Method in class com.tnsai.parser.ParseResult
-
Performs the given action if this is a failure result.
- ifSuccess(Consumer<? super T>) - Method in class com.tnsai.parser.ParseResult
-
Performs the given action if this is a success result.
- ifSuccessOrElse(Consumer<? super T>, Consumer<String>) - Method in class com.tnsai.parser.ParseResult
-
Performs one of two actions depending on success/failure.
- IGNORE - Enum constant in enum class com.tnsai.agents.groups.GroupPolicy.FailurePolicy
-
Ignore failures, let member recover
- ILLEGAL - Enum constant in enum class com.tnsai.annotations.InputGuardrail.ContentCategory
- image(String, String, String) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates an image component.
- IMAGE - Enum constant in enum class com.tnsai.events.ArtifactEvent.ArtifactType
- IMAGE - Enum constant in enum class com.tnsai.llm.LLMCapabilities.Modality
- IMAGE_GEN_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Text-to-image generation across the three most common providers.
- IMAGE_TOKEN_ESTIMATE - Static variable in class com.tnsai.utils.TokenUtils
-
Conservative per-image token cost.
- ImagePart - Record Class in com.tnsai.models.chat
-
Represents an image part of a message.
- ImagePart(String, String) - Constructor for record class com.tnsai.models.chat.ImagePart
-
Creates an instance of a
ImagePartrecord class. - Image Part Creation - Search tag in package com.tnsai.models.chat
- Section
- Immutability - Search tag in class com.tnsai.llm.ChatResponse
- Section
- Immutability - Search tag in class com.tnsai.protocols.models.Message
- Section
- Implementation contract - Search tag in interface com.tnsai.observability.errors.ErrorReportPublisher
- Section
- Implementations - Search tag in interface com.tnsai.accountability.LiabilitySink
- Section
- Implementations - Search tag in interface com.tnsai.accountability.ReputationLedger
- Section
- Implementations - Search tag in interface com.tnsai.identity.AgentPrincipal
- Section
- Implementations - Search tag in interface com.tnsai.identity.AgentPrincipalProvider
- Section
- Implementations - Search tag in interface com.tnsai.llm.LLMSpecSource
- Section
- Implementations - Search tag in interface com.tnsai.payment.PaymentBroker
- Section
- Implementations - Search tag in interface com.tnsai.security.approval.ApprovalTokenStore
- Section
- Implementations - Search tag in interface com.tnsai.security.audit.AuditStore
- Section
- Implementations - Search tag in interface com.tnsai.skills.SkillResolver
- Section
- Implementations - Search tag in interface com.tnsai.skills.SkillStore
- Section
- Implementations shipped - Search tag in interface com.tnsai.observability.errors.ErrorReportPublisher
- Section
- Implementations shipped - Search tag in interface com.tnsai.observability.events.AgentEventPublisher
- Section
- Implementing - Search tag in interface com.tnsai.spi.Healthcheckable
- Section
- Implementing - Search tag in interface com.tnsai.spi.McpClientFactory
- Section
- Implementing - Search tag in interface com.tnsai.spi.TenantAware
- Section
- Implementing an SPI - Search tag in package com.tnsai.spi
- Section
- Implementing a Provider - Search tag in interface com.tnsai.security.PermissionProvider
- Section
- Implementing a Provider - Search tag in interface com.tnsai.spi.CheckpointerProvider
- Section
- IN_MEMORY - Enum constant in enum class com.tnsai.annotations.MemorySpec.Persistence
-
In-memory only (lost on restart)
- include() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Include globs for a
Knowledge.Type.FILEsource. - include() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
includerecord component. - include(List<String>) - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
- includeArgs() - Element in annotation interface com.tnsai.annotations.AuditLog
-
Whether to include method arguments in the audit record.
- includeArgs() - Element in annotation interface com.tnsai.annotations.Traced
-
Whether to include method arguments in the trace span attributes.
- includedSections() - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Returns the value of the
includedSectionsrecord component. - includeParams() - Element in annotation interface com.tnsai.annotations.EventEmitter
-
Whether to include method parameters in event payload.
- includeResult() - Element in annotation interface com.tnsai.annotations.AuditLog
-
Whether to include the return value in the audit record.
- includeResult() - Element in annotation interface com.tnsai.annotations.Traced
-
Whether to include the return value in the trace span.
- includeSources() - Element in annotation interface com.tnsai.annotations.Communication
-
Whether to include citations/sources in responses.
- includeSpec() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Whether to include validation metadata in response.
- includeSpec() - Element in annotation interface com.tnsai.annotations.Search
-
Whether to include source metadata in context.
- includeSpec() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
includeSpecrecord component. - includeSpec() - Method in class com.tnsai.rag.SearchSettings
- includeSpec(boolean) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- includeSpec(boolean) - Method in class com.tnsai.rag.SearchSettings.Builder
- includeSystem() - Element in annotation interface com.tnsai.annotations.Memory.Conversation
-
Whether to include system messages.
- includeSystemMessages() - Element in annotation interface com.tnsai.annotations.MemorySpec
-
Whether to include system messages in history.
- includeSystemMessages() - Method in record class com.tnsai.memory.MemoryConfig
-
Returns the value of the
includeSystemMessagesrecord component. - includeSystemMessages(boolean) - Method in class com.tnsai.memory.MemoryConfig.Builder
- INCREMENT - Enum constant in enum class com.tnsai.annotations.Effect.Operation
-
Increment numeric state by 1.
- incrementCounter(String) - Method in class com.tnsai.eval.hooks.EvalContext
-
Increments a counter by 1.
- incrementCounter(String, long) - Method in class com.tnsai.eval.hooks.EvalContext
-
Increments a counter by a specific amount.
- index() - Method in record class com.tnsai.agents.async.ChatEvent.Token
-
Returns the value of the
indexrecord component. - index() - Element in annotation interface com.tnsai.annotations.Memory.Vector
-
Index/collection name.
- index() - Method in record class com.tnsai.events.BDIUpdateEvent
-
Returns the value of the
indexrecord component. - index(int) - Static method in class com.tnsai.rag.StructuralPath
-
The step for an array element.
- info(String, String) - Static method in record class com.tnsai.agents.validation.ValidationIssue
- INFO - Enum constant in enum class com.tnsai.agents.validation.Severity
-
Diagnostic information — build proceeds silently.
- INFO - Enum constant in enum class com.tnsai.observability.events.EventLevel
- INFORM - Enum constant in enum class com.tnsai.communication.QueryMessageType
- INFORMAL - Enum constant in enum class com.tnsai.annotations.Communication.Formality
- infos() - Method in record class com.tnsai.agents.validation.ValidationReport
-
Returns the value of the
infosrecord component. - IngestionFingerprint - Class in com.tnsai.rag
-
Stable SHA-256 of the ingestion pipeline that produced one indexed file.
- IngestionPathSelector - Class in com.tnsai.rag
-
Portable include/exclude globs for FILE knowledge-source candidates.
- inheritance() - Element in annotation interface com.tnsai.annotations.Contract
-
Contract inheritance mode.
- Inheritance - Search tag in annotation interface com.tnsai.annotations.Variant
- Section
- init(String) - Method in class com.tnsai.memory.AbstractMemoryStore
- init(String) - Method in class com.tnsai.memory.FileMemoryStore
- init(String) - Method in interface com.tnsai.memory.MemoryStore
-
Initializes the memory store for a specific agent.
- init(String) - Method in class com.tnsai.memory.SharedMemoryStore
- init(String) - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
- init(String) - Method in class com.tnsai.memory.vector.VectorSearchMemoryStore
- INIT - Enum constant in enum class com.tnsai.annotations.Lifecycle.Phase
-
Agent instantiation and configuration.
- initialBackoff(Duration) - Method in class com.tnsai.resilience.RetryPolicy.Builder
- initialize() - Method in class com.tnsai.agents.init.AgentInitializer
-
Performs the initialization and returns the result.
- initialOffer() - Element in annotation interface com.tnsai.annotations.Coordination.Negotiation
-
Starting offer value (-1 = auto).
- injectionThreshold() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Injection detection sensitivity (0.0 - 1.0).
- inMemory() - Static method in interface com.tnsai.spi.MessageBroker
-
Returns an in-memory message broker.
- inMemory() - Static method in interface com.tnsai.spi.ToolRegistry
-
Returns an in-memory tool registry.
- InMemoryApprovalTokenStore - Class in com.tnsai.security.approval
-
In-memory implementation of ApprovalTokenStore.
- InMemoryApprovalTokenStore() - Constructor for class com.tnsai.security.approval.InMemoryApprovalTokenStore
- InMemoryCheckpointer - Class in com.tnsai.state
-
In-Memory Checkpointer - For development/testing.
- InMemoryCheckpointer() - Constructor for class com.tnsai.state.InMemoryCheckpointer
- InMemoryCheckpointStore - Class in com.tnsai.reliability
-
Process-local
CheckpointStore(TNS-299). - InMemoryCheckpointStore() - Constructor for class com.tnsai.reliability.InMemoryCheckpointStore
- InMemoryDeadLetterQueue - Class in com.tnsai.resilience.dlq
-
Thread-safe in-memory implementation of
DeadLetterQueue. - InMemoryDeadLetterQueue() - Constructor for class com.tnsai.resilience.dlq.InMemoryDeadLetterQueue
- InMemoryDeadLetterQueue(int) - Constructor for class com.tnsai.resilience.dlq.InMemoryDeadLetterQueue
- InMemoryEnvironment - Class in com.tnsai.environment
-
Simple in-memory environment for testing and basic scenarios.
- InMemoryEnvironment(String) - Constructor for class com.tnsai.environment.InMemoryEnvironment
- InMemoryEnvironment(String, Map<String, Object>) - Constructor for class com.tnsai.environment.InMemoryEnvironment
- InMemoryEventPublisher - Class in com.tnsai.events
-
In-memory implementation of TnsAIEventPublisher.
- InMemoryEventPublisher() - Constructor for class com.tnsai.events.InMemoryEventPublisher
-
Creates a new in-memory event publisher.
- InMemoryIdempotencyStore - Class in com.tnsai.idempotency
-
Default
IdempotencyStore— process-local, ephemeral, no external dependencies (issue #91). - InMemoryIdempotencyStore() - Constructor for class com.tnsai.idempotency.InMemoryIdempotencyStore
- InMemoryKnowledgeBase - Class in com.tnsai.knowledge
-
In-memory implementation of KnowledgeBase for testing and small datasets.
- InMemoryKnowledgeBase() - Constructor for class com.tnsai.knowledge.InMemoryKnowledgeBase
- InMemoryProgressSink - Class in com.tnsai.reliability
-
Process-local
ProgressSink(TNS-299). - InMemoryProgressSink() - Constructor for class com.tnsai.reliability.InMemoryProgressSink
- InMemoryReputationLedger - Class in com.tnsai.accountability
-
Default
ReputationLedger(TNS-298) — derives scores directly from a backingLiabilitySinkon every query. - InMemoryReputationLedger(LiabilitySink) - Constructor for class com.tnsai.accountability.InMemoryReputationLedger
- InMemorySkillStore - Class in com.tnsai.skills
-
In-memory
SkillStorebacked by a thread-safe map. - InMemorySkillStore() - Constructor for class com.tnsai.skills.InMemorySkillStore
- InMemorySkillStore(List<Skill>) - Constructor for class com.tnsai.skills.InMemorySkillStore
- InMemoryStore - Class in com.tnsai.memory
-
In-memory implementation of MemoryStore.
- InMemoryStore() - Constructor for class com.tnsai.memory.InMemoryStore
- InMemoryVectorStoreProvider - Class in com.tnsai.memory.vector
-
Built-in
inmemoryVectorStoreProvider. - InMemoryVectorStoreProvider() - Constructor for class com.tnsai.memory.vector.InMemoryVectorStoreProvider
- input() - Element in annotation interface com.tnsai.annotations.ToolExample
-
Example input as JSON string.
- input() - Method in record class com.tnsai.events.RunStartEvent
-
Returns the value of the
inputrecord component. - input() - Method in record class com.tnsai.prompt.strategy.PromptEnhancer.Example
-
Returns the value of the
inputrecord component. - input() - Method in record class com.tnsai.tools.ToolExample
-
Returns the value of the
inputrecord component. - input(DecisionInput) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- input(String) - Method in class com.tnsai.tools.ToolExample.Builder
-
Sets the example input.
- INPUT - Enum constant in enum class com.tnsai.guardrails.GuardrailViolationException.Stage
-
Caught by
InputGuardrailEnforcerbefore the action body runs. - INPUT_VALIDATOR_REJECTED - Enum constant in enum class com.tnsai.guardrails.GuardrailViolationException.Cause
-
A declared
InputValidatorrejected the value. - inputGuardrail() - Method in record class com.tnsai.metadata.ActionConfig
-
Returns the value of the
inputGuardrailrecord component. - inputGuardrail(InputGuardrailConfig) - Method in class com.tnsai.roles.RoleBuilder
-
Sets this role's class-level input guardrail (TNS-561) — the programmatic equivalent of a class-level
@InputGuardrail. - InputGuardrail - Annotation Interface in com.tnsai.annotations
-
Configures input validation and sanitization for actions.
- InputGuardrail.ContentCategory - Enum Class in com.tnsai.annotations
-
Content categories for moderation.
- InputGuardrail.FailureAction - Enum Class in com.tnsai.annotations
-
Actions on guardrail failure.
- InputGuardrailConfig - Record Class in com.tnsai.guardrails
-
Programmatic counterpart of
@InputGuardrail(TNS-561) — lets a builder-builtRole(which has no annotation to read) opt into input guardrails viaRoleBuilder.inputGuardrail(...). - InputGuardrailConfig(int, int, List<String>, List<String>, InputGuardrail.FailureAction, String, boolean) - Constructor for record class com.tnsai.guardrails.InputGuardrailConfig
-
Creates an instance of a
InputGuardrailConfigrecord class. - InputGuardrailConfig.Builder - Class in com.tnsai.guardrails
-
Fluent builder; unset fields take the
@InputGuardraildefaults. - InputGuardrailEnforcer - Class in com.tnsai.guardrails
-
Resolves the active input guardrail for an action and enforces it against the working-parameter map immediately before the action body runs.
- Input guardrails - Search tag in class com.tnsai.tools.method.ToolMethodDispatcher
- Section
- InputSanitizer - Interface in com.tnsai.guardrails
-
Rewrites one string-valued action parameter before dispatch.
- InputValidator - Interface in com.tnsai.guardrails
-
Validates one string-valued action parameter before dispatch.
- Inspired by Mastra - Search tag in class com.tnsai.llm.FallbackLLMClient
- Section
- install(FeatureFlag) - Static method in class com.tnsai.spi.FeatureFlags
-
Process-wide override for tests.
- instance() - Static method in record class com.tnsai.hooks.HookResult.Allow
- instantiate() - Method in enum class com.tnsai.enums.BuiltInTool
-
Reflectively instantiate the backing POJO via its public no-arg constructor.
- Integration with @GroupMember - Search tag in class com.tnsai.agents.groups.GroupRegistry
- Section
- Integration with @RoleSpec - Search tag in class com.tnsai.roles.registry.RoleRegistry
- Section
- Integration with Agent Lifecycle - Search tag in class com.tnsai.agents.lifecycle.IdleMonitor
- Section
- Integration with Agents - Search tag in package com.tnsai.eval.hooks
- Section
- Integration with RefinementLoop - Search tag in annotation interface com.tnsai.annotations.CompletionSignal
- Section
- intention(Intention) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- Intention - Class in com.tnsai.models.agent
-
Represents an intention - a committed task that the agent is actively working on.
- Intention(String, String) - Constructor for class com.tnsai.models.agent.Intention
- Intention(String, String, String, CognitiveModel.IntentionStatus, List<String>, int) - Constructor for record class com.tnsai.spi.CognitiveModel.Intention
-
Creates an instance of a
Intentionrecord class. - INTENTION - Enum constant in enum class com.tnsai.events.BDIUpdateEvent.BDIComponent
- intentionAdded(Object) - Static method in record class com.tnsai.events.BDIUpdateEvent
-
Creates an intention add event.
- intentionRemoved(int, Object) - Static method in record class com.tnsai.events.BDIUpdateEvent
-
Creates an intention remove event (completed or dropped).
- intentions() - Method in record class com.tnsai.agents.cognitive.CognitiveEngine.BDISnapshot
-
Returns the value of the
intentionsrecord component. - intentions() - Method in record class com.tnsai.roles.export.ExportedRole
-
Returns the value of the
intentionsrecord component. - intentions() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.CachedRoleMetadata
-
Returns the value of the
intentionsrecord component. - intentions() - Method in record class com.tnsai.spi.CognitiveModel.CognitiveState
-
Returns the value of the
intentionsrecord component. - intentions(List<Intention>) - Method in class com.tnsai.agents.cognitive.CognitiveEngine.Builder
-
Sets the static intentions.
- intentions(List<Intention>) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- intentions(List<Intention>) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- intentionsChanged() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns true if intentions changed.
- intentionUpdated(int, Object, Object) - Static method in record class com.tnsai.events.BDIUpdateEvent
-
Creates an intention update event.
- Intention vs Desire - Search tag in class com.tnsai.models.agent.Intention
- Section
- INTERNAL - Enum constant in enum class com.tnsai.observability.errors.ErrorCategory
-
Framework-internal bug — should not happen in production.
- INTERNAL - Enum constant in enum class com.tnsai.protocols.transport.TransportMode
-
In-memory communication within the same JVM.
- interrupt() - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Interrupts the current execution gracefully.
- interrupt(InterruptEvent) - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Interrupts with a specific event.
- interrupt(String) - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Interrupts with a specific reason.
- InterruptEvent - Interface in com.tnsai.agents.interrupt
-
Sealed hierarchy of interrupt events for agent execution control.
- InterruptEvent.BudgetInterrupt - Record Class in com.tnsai.agents.interrupt
-
Budget interrupt when token/cost limits are hit.
- InterruptEvent.ErrorInterrupt - Record Class in com.tnsai.agents.interrupt
-
Error interrupt for recoverable errors.
- InterruptEvent.ExternalInterrupt - Record Class in com.tnsai.agents.interrupt
-
External system interrupt (e.g., shutdown signal, orchestrator command).
- InterruptEvent.TimeoutInterrupt - Record Class in com.tnsai.agents.interrupt
-
Timeout interrupt when execution exceeds time limit.
- InterruptEvent.UserInterrupt - Record Class in com.tnsai.agents.interrupt
-
User-initiated interrupt (e.g., cancel button, Ctrl+C).
- Interrupt Event Types - Search tag in package com.tnsai.agents.interrupt
- Section
- InterruptibleAgent - Interface in com.tnsai.agents.interrupt
-
Interface for agents that support graceful interruption and state preservation.
- interruptId() - Method in record class com.tnsai.security.approval.InterruptService.InterruptRequest
-
Returns the value of the
interruptIdrecord component. - InterruptReason - Enum Class in com.tnsai.security.approval
-
Reasons for requesting an interrupt in AG-UI protocol.
- InterruptRequest(String, InterruptReason, Map<String, Object>, Duration, Instant) - Constructor for record class com.tnsai.security.approval.InterruptService.InterruptRequest
-
Creates an instance of a
InterruptRequestrecord class. - InterruptResult - Class in com.tnsai.security.approval
-
Result of an interrupt request.
- InterruptResult.Outcome - Enum Class in com.tnsai.security.approval
-
Possible outcomes of an interrupt.
- InterruptService - Class in com.tnsai.security.approval
-
Service for AG-UI interrupt pattern - blocking agent execution for human approval.
- InterruptService() - Constructor for class com.tnsai.security.approval.InterruptService
-
Creates an InterruptService with default 5 minute timeout.
- InterruptService(Consumer<InterruptService.InterruptRequest>) - Constructor for class com.tnsai.security.approval.InterruptService
-
Creates an InterruptService with a listener for interrupt events.
- InterruptService(Consumer<InterruptService.InterruptRequest>, Duration) - Constructor for class com.tnsai.security.approval.InterruptService
-
Creates an InterruptService with custom timeout.
- InterruptService.InterruptRequest - Record Class in com.tnsai.security.approval
-
Interrupt request details for listeners.
- INVALID_REQUEST - Enum constant in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Invalid request format
- invalidate() - Method in class com.tnsai.rag.ChatKnowledgeBinding
-
Advances the owner-local source revision used by subsequent cache keys.
- invalidate(Class<T>) - Static method in class com.tnsai.spi.SpiLoader
-
Invalidates every classloader-scoped snapshot for
serviceType. - invalidate(String) - Method in interface com.tnsai.idempotency.IdempotencyStore
-
Remove the entry for
keyif any. - invalidate(String) - Method in class com.tnsai.idempotency.InMemoryIdempotencyStore
- invalidate(String) - Method in class com.tnsai.idempotency.PostgresIdempotencyStore
- invalidate(String) - Method in class com.tnsai.idempotency.RedisIdempotencyStore
- invalidateAll() - Static method in class com.tnsai.spi.SpiLoader
-
Clears every cached provider snapshot.
- invalidateChatKnowledge() - Method in class com.tnsai.agents.Agent
-
Advances the chat source revision used by subsequent retrievals.
- invariant(String...) - Method in class com.tnsai.metadata.ContractSpec.Builder
- INVARIANT - Enum constant in enum class com.tnsai.invariants.InvariantViolationException.ViolationType
- InvariantCheck - Annotation Interface in com.tnsai.invariants
-
Enables automatic invariant checking on a class or method.
- InvariantCheckerHandle - Interface in com.tnsai.invariants
-
SPI handle for invariant checking.
- InvariantCheckerHandle.Factory - Interface in com.tnsai.invariants
-
Factory for creating InvariantCheckerHandle instances.
- invariants() - Element in annotation interface com.tnsai.annotations.Contract
-
Invariants that must hold before and after execution.
- invariants() - Element in annotation interface com.tnsai.annotations.State
-
Invariants that must always hold for this state.
- invariants() - Method in record class com.tnsai.metadata.ContractSpec
-
Returns the value of the
invariantsrecord component. - invariants() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateInfo
-
Returns the value of the
invariantsrecord component. - InvariantViolationException - Exception Class in com.tnsai.invariants
-
Exception thrown when an invariant condition is violated.
- InvariantViolationException(String, String, InvariantViolationException.ViolationType) - Constructor for exception class com.tnsai.invariants.InvariantViolationException
- InvariantViolationException(String, String, InvariantViolationException.ViolationType, Object) - Constructor for exception class com.tnsai.invariants.InvariantViolationException
- InvariantViolationException.ViolationType - Enum Class in com.tnsai.invariants
- invocation() - Method in record class com.tnsai.security.AccessRequest
-
Returns the value of the
invocationrecord component. - INVOCATION - Enum constant in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
-
Action invocation errors (reflection, method not found, etc.)
- InvocationContext - Class in com.tnsai.security
-
Trusted interaction provenance, separate from executing agent and executor principal.
- invoke() - Method in interface com.tnsai.resilience.FallbackResolver.RetryCallback
- invoke(String, List<String>, Map<String, String>, SkillActivationEvent.Source, Consumer<TnsAIEvent>) - Method in class com.tnsai.skills.SkillManager
-
Invoke a skill by name with the supplied arguments.
- invoke(Map<String, Object>) - Method in interface com.tnsai.metadata.ActionHandler
-
Executes the action body.
- invoke(Map<String, Object>) - Method in interface com.tnsai.tools.method.DynamicToolMethod.Handler
- invoke(Map<String, Object>, ObjectMapper) - Method in record class com.tnsai.tools.method.DynamicToolMethod
- invoke(Map<String, Object>, ObjectMapper) - Method in record class com.tnsai.tools.method.StaticToolMethod
- invoke(Map<String, Object>, ObjectMapper) - Method in interface com.tnsai.tools.method.ToolMethod
-
Dispatch a tool call.
- invokedAt() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Returns the value of the
invokedAtrecord component. - invokeLLM(String, boolean) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Invokes the LLM with the given message.
- invokeLLM(String, boolean, boolean) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Invokes the LLM with the given message and tool settings.
- invokeLLM(String, boolean, boolean, boolean) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Invokes the LLM with full control over all settings.
- invokeLLM(String, boolean, boolean, boolean, ChatRetrievalContext) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Invokes the LLM with request-local retrieval identity and lifecycle context.
- invokeLLM(String, boolean, boolean, boolean, String, ChatRetrievalContext) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Invokes the LLM while retrieving against the originating turn query.
- invokeReasoning(ReasoningStrategyHandle, String, ChatRetrievalContext, List<Map<String, Object>>, List<Map<String, Object>>) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Invokes a reasoning strategy through canonical chat grounding.
- invokeSkill(String, List<String>, Map<String, String>) - Method in class com.tnsai.agents.Agent
-
Programmatically activate a skill by name (TNS-289).
- IP_ADDRESS - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.PIIType
- isAcknowledged() - Method in class com.tnsai.communication.AckResult
-
Checks if the message was acknowledged positively.
- isActionRequest() - Method in class com.tnsai.protocols.models.Message
-
Checks if this message is an action execution request.
- isActive() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Checks if the group is active and accepting work.
- isActive() - Method in class com.tnsai.memory.strategy.MemoryEntry
- isActive(String) - Method in class com.tnsai.skills.SkillSession
-
True if a skill with the given (case-insensitive) name is active.
- isAllowed(String, Map<String, Object>) - Method in class com.tnsai.agents.execution.AllowAllToolFilter
- isAllowed(String, Map<String, Object>) - Method in interface com.tnsai.agents.execution.ToolCallFilter
-
Checks whether a tool call is allowed to execute.
- isAllowed(String, Map<String, Object>) - Method in class com.tnsai.skills.SkillScopedToolCallFilter
- isApprovalRequired() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.SecurityMeta
- isApproved() - Method in class com.tnsai.security.approval.ApprovalToken
-
Checks if token is approved.
- isApproved() - Method in class com.tnsai.security.approval.InterruptResult
-
Checks if the interrupt was approved.
- isAssigned() - Method in record class com.tnsai.agents.groups.GroupTask
-
Checks if task is assigned.
- isAuthoritative() - Method in class com.tnsai.context.entity.EntitySource
-
Returns true if this source is authoritative (priority invalid input: '<'= 1).
- isAutoApplyEffects() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if effects should be automatically applied after action execution.
- isAutoConsolidationActive() - Method in class com.tnsai.memory.MemoryConsolidationPipeline
-
Returns whether auto-consolidation is currently active.
- isAutoMode() - Method in class com.tnsai.agents.variant.VariantManager
-
Returns true if auto mode is enabled.
- isAutoStart() - Method in class com.tnsai.agents.init.AgentSpecExtractor
-
Returns whether agent should auto-start.
- isAvailable() - Method in interface com.tnsai.spi.CheckpointerProvider
-
Checks if this provider's dependencies are available.
- isAvailable(String) - Method in class com.tnsai.spi.CheckpointerFactory
-
Checks if a provider is available (registered and dependencies met).
- isBase64() - Method in record class com.tnsai.models.chat.AudioPart
-
Returns true if this is a Base64-based audio part.
- isBase64() - Method in record class com.tnsai.models.chat.VideoPart
-
Returns true if this is a Base64-based video part.
- isBroadcast() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Checks if this event is a broadcast.
- isBulkheadEnabled() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- isBulkheadEnabled() - Method in class com.tnsai.resilience.ResilienceRequest
-
Whether bulkhead isolation is enabled for this operation.
- isCached(Class<?>) - Static method in class com.tnsai.actions.ActionDiscovery
-
Checks if a role class is cached.
- isCancelled() - Method in interface com.tnsai.cancellation.CancellationToken
-
True after the token has been cancelled.
- isCancelled() - Method in interface com.tnsai.events.TnsAIEventPublisher.EventSubscription
-
Checks if this subscription is cancelled.
- isCancelled() - Method in interface com.tnsai.reliability.ProgressSink.Subscription
-
trueafterProgressSink.Subscription.cancel(); useful for sanity checks. - isCancelled() - Method in class com.tnsai.security.approval.InterruptResult
-
Checks if the interrupt was cancelled.
- isCategory(String) - Method in class com.tnsai.communication.AgentMessage
-
Check if message belongs to a specific category (CNP, TASK, etc.)
- isChildDecision() - Method in class com.tnsai.context.decision.DecisionTrace
-
Returns true if this is a child decision.
- isClosed() - Method in class com.tnsai.rag.KnowledgeScope
-
Whether this scope has received a close request.
- isComplex() - Method in record class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityResult
-
Returns true if this is a complex task.
- isConfident(float) - Method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Returns true if confidence is above the given threshold.
- isConsolidating() - Method in class com.tnsai.memory.MemoryConsolidationPipeline
-
Returns whether a consolidation is currently in progress.
- isConsumed() - Method in class com.tnsai.security.approval.ApprovalToken
-
Checks if token is consumed.
- isContent() - Method in class com.tnsai.llm.ChatChunk
-
Checks if this is a content chunk.
- isContextGraphEnabled() - Method in class com.tnsai.agents.Agent
- isContextGraphEnabled() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- isContextGraphEnabled() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- isCostOptimized() - Method in enum class com.tnsai.enums.AgentVariant
-
Returns true if this variant prioritizes cost savings.
- isDefaultRetryable() - Method in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
- isDegraded() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Checks if the agent is in degraded mode.
- isDirectCode() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this is a direct code action.
- isDissolved() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Checks if the group is dissolved and cannot be used.
- isDone() - Method in class com.tnsai.llm.ChatChunk
-
Checks if this is a done chunk.
- isEmpty() - Method in class com.tnsai.actions.ActionResult
-
Check if value is empty (null, empty string, empty collection).
- isEmpty() - Method in class com.tnsai.agents.async.AsyncMsgHub
-
Checks if the hub is empty.
- isEmpty() - Method in class com.tnsai.communication.SharedBlackboard
-
Checks if blackboard is empty.
- isEmpty() - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Checks if the knowledge base is empty.
- isEmpty() - Method in record class com.tnsai.metadata.ContractSpec
-
True when there are no gates to enforce.
- isEmpty() - Method in record class com.tnsai.rag.ChatKnowledgeContext.Turn
- isEmpty() - Method in record class com.tnsai.rag.KnowledgeSelection
- isEmpty() - Method in record class com.tnsai.resilience.ResilienceConfig
-
True when neither retry nor timeout is configured.
- isEnabled() - Method in interface com.tnsai.eval.hooks.EvalHandle
- isEnabled() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CircuitBreakerMeta
- isEnabled() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ConversationMeta
- isEnabled() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RateLimitMeta
- isEnabled() - Method in class com.tnsai.utils.ConversationTracer
- isEnabled(EventLevel) - Method in interface com.tnsai.observability.events.AgentEventPublisher
-
Should this publisher emit at the given level?
- isEnabled(EventLevel) - Method in class com.tnsai.observability.events.CompositeAgentEventPublisher
- isEnabled(EventLevel) - Method in class com.tnsai.observability.events.Slf4jAgentEventPublisher
- isEnabled(String, FlagContext) - Method in class com.tnsai.flags.EnvFeatureFlag
- isEnabled(String, FlagContext) - Method in interface com.tnsai.spi.FeatureFlag
- isEnabled(String, FlagContext, boolean) - Method in class com.tnsai.flags.EnvFeatureFlag
- isEnableStreaming() - Method in class com.tnsai.agents.variant.VariantSpec
- isEnvironmentEnabled() - Method in class com.tnsai.agents.Agent
-
Returns true if an environment is attached.
- isEnvironmentEnabled() - Method in class com.tnsai.agents.AgentCognitiveSupport
- isEnvironmentEnabled() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- isError() - Method in class com.tnsai.communication.AckResult
-
Checks if there was an error.
- isError() - Method in class com.tnsai.llm.ChatChunk
-
Checks if this is an error chunk.
- isError() - Method in class com.tnsai.security.approval.InterruptResult
-
Checks if there was an error.
- isEvalEnabled() - Method in class com.tnsai.agents.Agent
-
Checks if evaluation hooks are enabled.
- isEvalEnabled() - Method in class com.tnsai.agents.AgentCognitiveSupport
- isEvalEnabled() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- isExcludedFromLLM() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action is excluded from LLM tool list.
- isExcludedFromLLM() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- isExpired() - Method in class com.tnsai.communication.AcknowledgedMessage
-
Checks if this message has expired (timeout exceeded).
- isExpired() - Method in class com.tnsai.models.agent.Belief
-
Checks if this belief has expired.
- isExpired() - Method in class com.tnsai.security.approval.ApprovalToken
-
Checks if token is expired.
- isExpired(Instant) - Method in record class com.tnsai.accountability.AuthorityScope
- isExpired(Instant) - Method in record class com.tnsai.identity.Attestation
- isExpired(Instant) - Method in record class com.tnsai.payment.Quote
-
truewhennowfalls strictly pastQuote.expiresAt. - isExposedToLLM() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action should be exposed to LLM as a callable tool.
- isFailed() - Method in class com.tnsai.context.decision.DecisionOutcome
-
Returns true if the outcome failed.
- isFailed() - Method in class com.tnsai.context.decision.DecisionTrace
-
Returns true if the decision failed.
- isFailure() - Method in record class com.tnsai.idempotency.IdempotencyEntry
-
trueif this entry represents a stored failure. - isFailure() - Method in class com.tnsai.parser.ParseResult
-
Returns true if parsing failed.
- isFinal() - Method in record class com.tnsai.events.TextDeltaEvent
-
Returns the value of the
isFinalrecord component. - isFollowRedirects() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if redirects should be followed.
- isFullyHealthy() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Checks if group is fully healthy.
- isGoalSatisfied(String, Map<String, Object>) - Method in interface com.tnsai.planning.PlannerHandle
-
Checks if a goal is satisfied in the given state.
- isGraceCallEnabled() - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Returns whether the iteration-exhaustion grace call is enabled.
- isHealthy() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
- isHealthy() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Checks if the agent is healthy.
- isHealthy() - Method in interface com.tnsai.spi.ResilienceStrategy
-
Checks if this strategy is currently healthy/available.
- isHighConfidence() - Method in class com.tnsai.context.decision.DecisionReasoning
-
Returns true if confidence is high (>= 0.9).
- isHighConfidence() - Method in record class com.tnsai.context.entity.EntityAttribute
-
Returns true if this attribute has high confidence (>= 0.9).
- isHighConfidence() - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Returns true if this is a high confidence resolution (>= 0.9).
- isHighConfidence() - Method in class com.tnsai.models.agent.Belief
-
Checks if this belief is high confidence (>= 0.9).
- isIdempotent() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action is marked as idempotent.
- isIdleMonitoringEnabled() - Method in class com.tnsai.agents.Agent
-
Returns true if idle monitoring is active.
- isInCooldown() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Checks if the agent is in cooldown period after failures.
- isInCooldown() - Method in class com.tnsai.resilience.recovery.AgentRecoveryManager
- isInterrupted() - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Checks if the agent is currently interrupted.
- isJitter() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- isLeader() - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Checks if this agent should be considered a leader in groups.
- isLLMAction() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this is an LLM-based action.
- isLowConfidence() - Method in class com.tnsai.context.decision.DecisionReasoning
-
Returns true if confidence is low (invalid input: '<' 0.7).
- isLowConfidence() - Method in record class com.tnsai.context.entity.EntityAttribute
-
Returns true if this attribute has low confidence (invalid input: '<' 0.7).
- isLowConfidence() - Method in class com.tnsai.models.agent.Belief
-
Checks if this belief is low confidence (invalid input: '<' 0.7).
- isMcpCacheToolDefinitions() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if MCP tool definitions should be cached.
- isMcpStdio() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if MCP uses stdio transport.
- isMcpTool() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this is an MCP tool action.
- isMcpValidateParameters() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if MCP parameters should be validated.
- isMonitoring(Agent) - Method in class com.tnsai.agents.lifecycle.IdleMonitor
-
Checks if an agent is being monitored.
- isMultimodal() - Method in class com.tnsai.llm.ChatRequest
-
Returns true if this is a multimodal request (has content parts).
- isMultiPass() - Method in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Returns true if this strategy benefits from multiple LLM calls.
- isNaturalLanguageMessage() - Method in class com.tnsai.protocols.models.Message
-
Checks if this message is a natural language message (LLM-powered).
- isNegativeAck() - Method in class com.tnsai.communication.AckResult
-
Checks if the message was negatively acknowledged.
- isNull() - Method in class com.tnsai.actions.ActionResult
-
Check if value is null.
- isNullOrBlank(String) - Static method in class com.tnsai.utils.Validators
-
Checks if a string is null, empty, or contains only whitespace.
- isNullOrEmpty(String) - Static method in class com.tnsai.utils.Validators
-
Checks if a string is null or empty.
- isNullOrEmpty(Collection<T>) - Static method in class com.tnsai.utils.Validators
-
Checks if a collection is null or empty.
- isNullOrEmpty(Map<K, V>) - Static method in class com.tnsai.utils.Validators
-
Checks if a map is null or empty.
- isNumeric() - Method in class com.tnsai.metadata.ParamSpec
-
Checks if the parameter type is numeric (primitive or wrapper).
- isObserver() - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Checks if this agent is an observer (read-only member).
- Isolation - Search tag in class com.tnsai.hooks.HookDispatcher
- Section
- isOwnedBy(Object) - Method in class com.tnsai.rag.ChatKnowledgeBinding
-
Returns whether this binding was created for the supplied exact owner.
- isParallelSafe(ChatResponse.ToolCall) - Method in interface com.tnsai.agents.execution.ToolCallBatchPartitioner.ToolCallClassifier
-
Returns true if
call's underlying tool is safe to run in parallel: idempotent, parallelizable, not requires-confirmation. - isPassing(double) - Method in record class com.tnsai.communication.SharedBlackboard.VoteResult
- isPaused() - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Checks if the agent is currently paused.
- isPending() - Method in class com.tnsai.security.approval.ApprovalToken
-
Checks if token is pending.
- isPending(String) - Method in class com.tnsai.communication.DefaultMessageAcknowledger
- isPending(String) - Method in interface com.tnsai.communication.MessageAcknowledger
-
Checks if an acknowledgment is pending for the given correlation ID.
- isPending(String) - Method in class com.tnsai.security.approval.InterruptService
-
Checks if an interrupt is pending.
- isPersistent() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.MemoryMeta
- isPlanningEnabled() - Method in class com.tnsai.agents.Agent
-
Returns true if a PlannerHandle is configured.
- isPlanningEnabled() - Method in class com.tnsai.agents.AgentCognitiveSupport
- isPlanningEnabled() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- isPositive() - Method in class com.tnsai.metadata.ToolExampleSpec
-
Checks if this is a positive (good) example.
- isPresent() - Method in class com.tnsai.annotations.ClassConfig
- isPresent() - Method in record class com.tnsai.llm.LLMResolver.ResolutionResult
-
Checks if an LLM was found.
- isPreserveLastUserMessage() - Method in class com.tnsai.memory.strategy.TokenBudget
- isPreserveSystemPrompt() - Method in class com.tnsai.memory.strategy.TokenBudget
- isPrimitive() - Method in class com.tnsai.metadata.ParamSpec
-
Checks if the parameter type is primitive.
- isProcessing() - Method in interface com.tnsai.agents.async.AsyncAgent
-
Checks if an async operation is in progress.
- isPromotable(double) - Method in class com.tnsai.memory.strategy.MemoryEntry
-
Whether this entry is strong enough for promotion.
- isQualityFocused() - Method in enum class com.tnsai.enums.AgentVariant
-
Returns true if this variant prioritizes quality over speed.
- isRateLimitEnabled() - Method in class com.tnsai.resilience.ResilienceRequest
-
Whether rate limiting is enabled for this operation.
- isReasoningEnabled() - Method in class com.tnsai.agents.Agent
- isReasoningEnabled() - Method in class com.tnsai.agents.AgentCognitiveSupport
- isReasoningEnabled() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- isReasoningEnabled() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- isRejected() - Method in class com.tnsai.security.approval.ApprovalToken
-
Checks if token is rejected.
- isRejected() - Method in class com.tnsai.security.approval.InterruptResult
-
Checks if the interrupt was rejected.
- isReply() - Method in class com.tnsai.communication.AgentMessage
-
Checks if this message is a reply to another message.
- isReply() - Method in class com.tnsai.communication.SharedBlackboard.Entry
- isReply() - Method in class com.tnsai.protocols.models.Message
-
Checks if this message is a reply.
- isResumable() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
- isResumable() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ErrorInterrupt
- isResumable() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ExternalInterrupt
- isResumable() - Method in interface com.tnsai.agents.interrupt.InterruptEvent
-
Returns true if the agent can be resumed after this interrupt.
- isResumable() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.TimeoutInterrupt
- isResumable() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.UserInterrupt
- isRetryable() - Method in exception class com.tnsai.exceptions.ActionExecutionException
-
Checks if this error is retryable.
- isRetryable() - Method in enum class com.tnsai.exceptions.LLMException.ErrorType
- isRetryable() - Method in exception class com.tnsai.exceptions.TnsAIException
-
Checks if this error is retryable.
- isRetryable() - Method in enum class com.tnsai.security.SecurityException.ViolationType
- isRetryable() - Method in enum class com.tnsai.tools.spi.ToolException.ErrorType
- isRetryable() - Method in exception class com.tnsai.tools.spi.ToolException
- isRunning() - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Checks if event bus is running.
- isSensitive() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.SecurityMeta
- isSet(String) - Method in class com.tnsai.flags.EnvFeatureFlag
- isShared() - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.MemoryMeta
- isShared(Class<? extends Role>) - Method in class com.tnsai.roles.registry.RoleRegistry
-
Checks if a role class is shared (can be assigned to multiple agents).
- isSimple() - Method in record class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityResult
-
Returns true if this is a simple task.
- isSingleUse() - Method in class com.tnsai.security.approval.ApprovalToken
- isSpeedFocused() - Method in enum class com.tnsai.enums.AgentVariant
-
Returns true if this variant prioritizes speed over quality.
- isStale() - Method in class com.tnsai.memory.strategy.MemoryEntry
- isStart() - Method in class com.tnsai.llm.ChatChunk
-
Checks if this is a start chunk.
- isStarted() - Method in interface com.tnsai.protocols.ProtocolManagerHandle
-
Checks if the protocol manager is started.
- isStdio() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Checks if this uses stdio transport.
- isStream() - Method in class com.tnsai.agents.async.ChatOptions
-
Returns true if streaming is enabled.
- isString() - Method in class com.tnsai.metadata.ParamSpec
-
Checks if the parameter type is a String.
- isSuccess() - Method in class com.tnsai.agents.execution.AgentToolExecutor.ToolCallResult
- isSuccess() - Method in class com.tnsai.context.decision.DecisionOutcome
-
Returns true if the outcome was successful.
- isSuccess() - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Returns true if the resolution was successful.
- isSuccess() - Method in exception class com.tnsai.exceptions.TaskCompleteException
-
Checks if completion was successful.
- isSuccess() - Method in record class com.tnsai.idempotency.IdempotencyEntry
-
trueif this entry represents a stored success. - isSuccess() - Method in class com.tnsai.parser.ParseResult
-
Returns true if parsing was successful.
- isSuccessful() - Method in class com.tnsai.context.decision.DecisionTrace
-
Returns true if the decision was successful.
- isSuccessReply() - Method in class com.tnsai.protocols.models.Message
-
Checks if this is a successful reply.
- issue(AgentDescriptor) - Method in interface com.tnsai.identity.AgentPrincipalProvider
-
Mint a new identity for an agent described by
spec. - issue(AgentDescriptor) - Method in class com.tnsai.identity.LocalIdentityProvider
- ISSUE_FOUND - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- issuedAt() - Method in record class com.tnsai.accountability.AuthorityScope
-
Returns the value of the
issuedAtrecord component. - issuedAt() - Method in record class com.tnsai.identity.Attestation
-
Returns the value of the
issuedAtrecord component. - issuedAt() - Method in record class com.tnsai.payment.Quote
-
Returns the value of the
issuedAtrecord component. - issuer() - Method in record class com.tnsai.identity.Attestation
-
Returns the value of the
issuerrecord component. - isSuperseded() - Method in class com.tnsai.memory.strategy.MemoryEntry
- isSystemInitiated() - Method in record class com.tnsai.context.decision.DecisionTrigger
-
Returns true if this trigger was from the system.
- isTargeted() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Checks if this event is targeted at a specific agent.
- isTerminal() - Method in record class com.tnsai.agents.async.ChatEvent.Completed
- isTerminal() - Method in record class com.tnsai.agents.async.ChatEvent.Error
- isTerminal() - Method in interface com.tnsai.agents.async.ChatEvent
-
Returns true if this is a terminal event.
- isTerminal() - Method in record class com.tnsai.agents.async.ChatEvent.Started
- isTerminal() - Method in record class com.tnsai.agents.async.ChatEvent.Token
- isTerminal() - Method in record class com.tnsai.agents.async.ChatEvent.ToolCall
- isTerminal() - Method in record class com.tnsai.agents.async.ChatEvent.ToolResult
- isTerminal() - Method in enum class com.tnsai.agents.groups.GroupLifecycle
-
Checks if this is a terminal state.
- isTerminal() - Method in record class com.tnsai.agents.groups.GroupTask
-
Checks if task is in a terminal state.
- isTextual() - Method in enum class com.tnsai.rag.DocumentFormat
-
Returns whether the bundled file path can decode this format as UTF-8.
- isTimedOut() - Method in class com.tnsai.communication.AckResult
-
Checks if the acknowledgment timed out.
- isTimedOut() - Method in class com.tnsai.security.approval.InterruptResult
-
Checks if the interrupt timed out.
- isTimeoutEnabled() - Method in class com.tnsai.resilience.ResilienceRequest
-
Whether timeout is enabled for this operation.
- isToolCall() - Method in class com.tnsai.llm.ChatChunk
-
Checks if this is a tool call chunk.
- isType(MessageTypeMarker) - Method in class com.tnsai.communication.AgentMessage
-
Check if message is of a specific type.
- isUnbounded(TimeoutPolicy.Category) - Method in record class com.tnsai.timeout.TimeoutPolicy
-
Whether the given category is unbounded under this policy.
- isUrl() - Method in record class com.tnsai.models.chat.AudioPart
-
Returns true if this is a URL-based audio part.
- isUrl() - Method in record class com.tnsai.models.chat.VideoPart
-
Returns true if this is a URL-based video part.
- isUserInitiated() - Method in record class com.tnsai.context.decision.DecisionTrigger
-
Returns true if this trigger was from a user.
- isUseTools() - Method in class com.tnsai.agents.async.ChatOptions
-
Returns true if tools should be used.
- isValid() - Method in class com.tnsai.models.agent.Belief
-
Checks if this belief is still valid (not expired).
- isValid() - Method in class com.tnsai.security.approval.ApprovalToken
-
Checks if token can be used for approval.
- isValid(String) - Method in interface com.tnsai.guardrails.InputValidator
-
Returns whether the value is safe to dispatch.
- isValid(String) - Method in class com.tnsai.guardrails.pii.PiiInputValidator
- isVariantRecordStats() - Method in class com.tnsai.metadata.ActionMetadata
-
Whether to record variant usage statistics.
- isWba() - Method in class com.tnsai.identity.DID
-
Check if this is a did:wba DID.
- isWeak() - Method in class com.tnsai.memory.strategy.MemoryEntry
-
Whether this entry should be considered for eviction.
- isWeb() - Method in class com.tnsai.identity.DID
-
Check if this is a did:web DID.
- isWebService() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this is a WebService action.
- isWithinBudget() - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Returns true if the context fits within the budget.
- ITERATIVE_REFINEMENT - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Iterative refinement loop.
J
- JADEExporter - Class in com.tnsai.roles.export.frameworks
-
Stub exporter for JADE (Java Agent DEvelopment Framework) format.
- JADEExporter() - Constructor for class com.tnsai.roles.export.frameworks.JADEExporter
-
Creates a JADEExporter with default package.
- JADEExporter(String) - Constructor for class com.tnsai.roles.export.frameworks.JADEExporter
-
Creates a JADEExporter with custom package.
- JasonExporter - Class in com.tnsai.roles.export.frameworks
-
Exports Role definitions to Jason/AgentSpeak format.
- JasonExporter() - Constructor for class com.tnsai.roles.export.frameworks.JasonExporter
- JIRA_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Jira Cloud REST.
- jitter() - Element in annotation interface com.tnsai.annotations.Resilience.Retry
-
Whether to add jitter to backoff.
- jitterFactor(double) - Method in class com.tnsai.resilience.RetryPolicy.Builder
- JOINED - Enum constant in enum class com.tnsai.agents.groups.MembershipManager.MembershipAction
- joinedAt() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns the value of the
joinedAtrecord component. - joinGroup(AgentGroup) - Method in class com.tnsai.agents.Agent
-
Joins an existing group.
- joinGroup(AgentGroup) - Method in class com.tnsai.agents.groups.AgentGroupManager
-
Joins an existing group.
- joinGroup(String) - Method in class com.tnsai.agents.Agent
-
Joins a group by ID.
- joinGroup(String) - Method in class com.tnsai.agents.groups.AgentGroupManager
-
Joins a group by ID.
- JS_EXECUTION_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
In-process JavaScript via GraalVM JS.
- json() - Method in class com.tnsai.parser.FormatAwareOutputParser.Builder
- json(Class<T>) - Static method in class com.tnsai.parser.FormatAwareOutputParser
- JSON - Enum constant in enum class com.tnsai.annotations.Communication.ResponseFormat
- JSON - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.OutputFormat
- JSON - Enum constant in enum class com.tnsai.context.assembler.TokenEstimator.ContentType
-
JSON or similar structured data.
- JSON - Enum constant in enum class com.tnsai.output.OutputFormat
-
JSON (JavaScript Object Notation).
- JSON - Enum constant in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
- JSON - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
JSON document.
- JSON_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
JSONPath query against a file or literal JSON string.
- JSONL - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
Newline-delimited JSON document.
- JsonOutputParser<T> - Class in com.tnsai.parser
-
JSON-based output parser that converts LLM JSON output into Java objects.
- JsonOutputParser.Builder<T> - Class in com.tnsai.parser
-
Builder for JsonOutputParser.
- JsonOutputSerializer - Class in com.tnsai.output.impl
-
JSON output serializer using Jackson.
- JsonOutputSerializer() - Constructor for class com.tnsai.output.impl.JsonOutputSerializer
- JSON protocol (hook_protocol_version 1) - Search tag in class com.tnsai.hooks.external.ExternalScriptHook
- Section
- JsonRoleExporter - Class in com.tnsai.roles.export
-
Exports Role definitions to JSON format.
- JsonRoleExporter() - Constructor for class com.tnsai.roles.export.JsonRoleExporter
-
Creates a JsonRoleExporter with pretty printing.
- JsonRoleExporter(boolean, int) - Constructor for class com.tnsai.roles.export.JsonRoleExporter
-
Creates a JsonRoleExporter with custom formatting.
- jsonSchema() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
JSON schema for validation (if input is JSON).
- JSON Schema Generation - Search tag in package com.tnsai.actions
- Section
- JSON Schema Generation - Search tag in package com.tnsai.annotations
- Section
- JsonSchemaGenerator - Class in com.tnsai.tools.method
-
Builds JSON Schema fragments for
ToolMethodparameters from their static JavaTypes. - JSON Serialization - Search tag in class com.tnsai.llm.ChatResponse
- Section
K
- k() - Method in class com.tnsai.memory.advanced.ReciprocalRankFusion
-
Returns the k constant used by this combiner.
- KEEP_ALL - Enum constant in enum class com.tnsai.context.entity.ConflictResolution
-
Keep all conflicting values as a list.
- KEEP_ALL - Static variable in interface com.tnsai.models.agent.DesireConflictResolver
-
Strategy that keeps all desires (no resolution).
- KEEP_BOTH - Static variable in interface com.tnsai.models.agent.BeliefRevisionStrategy
-
Strategy that keeps both beliefs (no conflict resolution).
- keepLast() - Element in annotation interface com.tnsai.annotations.Ephemeral
-
Number of most recent results to keep in context.
- keepRecentMessages(int) - Method in class com.tnsai.memory.strategy.SummaryStrategy.Builder
-
Number of recent messages to keep un-summarized.
- keepsMaxTokens(Knowledge.Use, Knowledge.Use) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Whether a layer keeps the
maxTokensof the layer below it when the layer does not givemaxTokensitself: when it leavesuseas it was, or changes it toKnowledge.Use.DIRECT. - keepsSearch(Knowledge.Use, Knowledge.Use) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Whether a layer keeps the
searchof the layer below it when the layer does not givesearchitself: when it leavesuseas it was, or changes it toKnowledge.Use.SEARCH. - keepSummary() - Element in annotation interface com.tnsai.annotations.Ephemeral
-
Whether to keep a summary of removed results.
- key() - Element in annotation interface com.tnsai.annotations.Header
-
Header key (e.g., "Accept", "X-API-Key", "Content-Type")
- key() - Element in annotation interface com.tnsai.annotations.Idempotent
-
Parameter name that serves as the idempotency key.
- key() - Method in record class com.tnsai.state.Checkpointer.Write
-
Returns the value of the
keyrecord component. - KEY_COLLISION_DIFFERENT_INPUT - Enum constant in enum class com.tnsai.idempotency.IdempotencyException.IdempotencyConflict
-
The cached entry's input hash matches the current call's hash but the inputs are demonstrably different (e.g. tracked via a secondary fingerprint).
- Key Classes - Search tag in package com.tnsai.agents.interrupt
- Section
- Key Classes - Search tag in package com.tnsai.environment
- Section
- Key Components - Search tag in package com.tnsai.actions
- Section
- Key Components - Search tag in package com.tnsai.agents.cognitive
- Section
- Key Components - Search tag in package com.tnsai.agents.resilience
- Section
- Key Concepts - Search tag in class com.tnsai.roles.Role
- Section
- Key Concepts - Search tag in interface com.tnsai.agents.groups.AgentGroup
- Section
- Key Features - Search tag in class com.tnsai.agents.groups.GroupRegistry
- Section
- Key Features - Search tag in class com.tnsai.agents.lifecycle.IdleMonitor
- Section
- Key Features - Search tag in class com.tnsai.agents.lifecycle.LifecycleManager
- Section
- Key Features - Search tag in class com.tnsai.roles.registry.RoleRegistry
- Section
- Key Features - Search tag in package com.tnsai.agents
- Section
- Key Features - Search tag in package com.tnsai.llm
- Section
- Key layout - Search tag in class com.tnsai.reliability.RedisCheckpointStore
- Section
- Key prefix - Search tag in class com.tnsai.idempotency.RedisIdempotencyStore
- Section
- Key prefix - Search tag in class com.tnsai.reliability.RedisCheckpointStore
- Section
- KeyStrategy - Enum Class in com.tnsai.idempotency
-
Strategy for deriving the idempotency key of a tool / action call (issue #91).
- keyTtlSeconds() - Element in annotation interface com.tnsai.annotations.Idempotent
-
Time-to-live for idempotency key cache in seconds.
- keyType() - Element in annotation interface com.tnsai.annotations.DIDSpec
-
Key type for cryptographic operations.
- keyType() - Method in record class com.tnsai.identity.DIDConfig
-
Returns the value of the
keyTyperecord component. - Key types - Search tag in package com.tnsai.observability.events
- Section
- Key Types - Search tag in package com.tnsai.security.audit
- Section
- KEYWORD - Enum constant in enum class com.tnsai.annotations.Search.Strategy
-
BM25/TF-IDF keyword search
- keywords() - Element in annotation interface com.tnsai.annotations.Tool
-
Optional keywords for fuzzy lookup inside the framework registry.
- keywords() - Method in record class com.tnsai.tools.method.DynamicToolMethod
-
Returns the value of the
keywordsrecord component. - keywords() - Method in record class com.tnsai.tools.method.StaticToolMethod
-
Returns the value of the
keywordsrecord component. - keywords() - Method in interface com.tnsai.tools.method.ToolMethod
-
Optional discovery keywords (not exposed to the LLM).
- keywords(List<String>) - Method in class com.tnsai.tools.method.DynamicToolMethod.Builder
- KeywordSkillResolver - Class in com.tnsai.skills
-
Cheap word-overlap
SkillResolver— scores each candidate by how many of the user-message tokens occur in itsname,description, andwhenToUsetext (TNS-289). - KeywordSkillResolver() - Constructor for class com.tnsai.skills.KeywordSkillResolver
- kind() - Method in record class com.tnsai.hooks.events.OnNotification
-
Returns the value of the
kindrecord component. - kind() - Method in record class com.tnsai.identity.Attestation
-
Returns the value of the
kindrecord component. - kind() - Method in record class com.tnsai.security.AccessSubject
-
Returns the value of the
kindrecord component. - knowledge - Search tag in annotation interface com.tnsai.annotations.Config
- Section
- knowledge() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Knowledge this action sees, by name.
- knowledge() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Knowledge this agent's actions and chat turn can use.
- knowledge() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
Knowledge this role's actions can use.
- knowledge(KnowledgeEntry...) - Method in class com.tnsai.agents.AgentBuilder
-
Gives the agent knowledge entries, layered over its
@AgentSpecknowledge by name: an entry whose name the annotation declares replaces that entry (a role entry stays a role entry), and any other entry is added to the agent's chat scope. - Knowledge - Annotation Interface in com.tnsai.annotations
-
Declares a body of knowledge and how it reaches the model.
- KNOWLEDGE_SCOPE_KEY - Static variable in interface com.tnsai.rag.RetrievalSpi
-
Per-dispatch explicit source lifetime.
- KNOWLEDGE_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
In-memory knowledge graph (entities + relations + triples).
- Knowledge.Type - Enum Class in com.tnsai.annotations
-
Kinds of corpus a loader can ingest.
- Knowledge.Use - Enum Class in com.tnsai.annotations
-
How a source's content reaches the model.
- KnowledgeBase - Interface in com.tnsai.knowledge
-
Interface for knowledge bases supporting RAG (Retrieval-Augmented Generation).
- KnowledgeBaseException - Exception Class in com.tnsai.knowledge
-
Exception thrown by knowledge base operations.
- KnowledgeBaseException(String) - Constructor for exception class com.tnsai.knowledge.KnowledgeBaseException
- KnowledgeBaseException(String, Throwable) - Constructor for exception class com.tnsai.knowledge.KnowledgeBaseException
- KnowledgeDeclarations - Class in com.tnsai.rag
-
The one reader of
Knowledgedeclarations. - KnowledgeEntry - Record Class in com.tnsai.rag
-
One declared knowledge source together with how a scope uses it.
- KnowledgeEntry(KnowledgeSourceConfig, Knowledge.Use, OptionalInt, Optional<SearchSettings>) - Constructor for record class com.tnsai.rag.KnowledgeEntry
-
Creates an instance of a
KnowledgeEntryrecord class. - knowledgeMembers(String) - Method in class com.tnsai.annotations.ClassConfig.Level
-
The members this level gives for one knowledge name, by their
Knowledgeattribute names, such aspath,unitoruse. - knowledgeNames() - Method in class com.tnsai.annotations.ClassConfig.Level
- KnowledgeNotReadyException - Exception Class in com.tnsai.exceptions
-
Thrown when a configured
WHEN_CONFIGUREDsource is not ready before a run: its file is missing, it holds no unit, or it cannot be read. - KnowledgeNotReadyException(Class<?>, String, KnowledgeNotReadyException.Problem) - Constructor for exception class com.tnsai.exceptions.KnowledgeNotReadyException
-
Creates the exception.
- KnowledgeNotReadyException(Class<?>, String, KnowledgeNotReadyException.Problem, Throwable) - Constructor for exception class com.tnsai.exceptions.KnowledgeNotReadyException
-
Creates the exception with a cause.
- KnowledgeNotReadyException(Object, String, KnowledgeNotReadyException.Problem) - Constructor for exception class com.tnsai.exceptions.KnowledgeNotReadyException
-
Creates the exception for a checked target, whose class is the host.
- KnowledgeNotReadyException(Object, String, KnowledgeNotReadyException.Problem, Throwable) - Constructor for exception class com.tnsai.exceptions.KnowledgeNotReadyException
-
Creates the exception for a checked target with a cause.
- KnowledgeNotReadyException.Problem - Enum Class in com.tnsai.exceptions
-
Why a source is not ready.
- knowledgePolicy() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Presence policies for the sources
AgentSpec.knowledge()and the class configuration file declare. - knowledgePolicy() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
Presence policies for the sources
RoleSpec.knowledge()and this role's configuration file declare. - KnowledgePolicy - Annotation Interface in com.tnsai.annotations
-
How a source the same spec declares must be present.
- KnowledgePolicy.Presence - Enum Class in com.tnsai.annotations
-
Whether a source must load when nothing configures it.
- knowledgeScope(KnowledgeScope) - Method in class com.tnsai.agents.AgentBuilder
-
Shares action-level source snapshots and ordered cursors with other agents and bridges using the same explicit knowledge scope.
- KnowledgeScope - Class in com.tnsai.rag
-
Explicit lifetime for source snapshots shared by retrieval and ordered knowledge consumption.
- KnowledgeScope.Lease - Class in com.tnsai.rag
-
One thread-bound hold on the scope's resources.
- KnowledgeSelection - Record Class in com.tnsai.rag
-
The knowledge one scope sees: an action's named sources, or a chat turn's whole agent knowledge.
- KnowledgeSelection(List<KnowledgeEntry>, Optional<RetrievalConfig>) - Constructor for record class com.tnsai.rag.KnowledgeSelection
-
Creates an instance of a
KnowledgeSelectionrecord class. - KnowledgeSourceConfig - Record Class in com.tnsai.rag
-
Immutable runtime configuration for one RAG knowledge source.
- KnowledgeSourceConfig(String, Knowledge.Type, DocumentFormat, String, String, String, boolean) - Constructor for record class com.tnsai.rag.KnowledgeSourceConfig
-
Seven-argument form: empty include/exclude selectors.
- KnowledgeSourceConfig(String, Knowledge.Type, DocumentFormat, String, String, String, boolean, List<String>, List<String>) - Constructor for record class com.tnsai.rag.KnowledgeSourceConfig
-
Nine-argument form:
KnowledgeUnit.AUTOandChunkContext.NONE. - KnowledgeSourceConfig(String, Knowledge.Type, DocumentFormat, String, String, String, boolean, List<String>, List<String>, ChunkContext, String) - Constructor for record class com.tnsai.rag.KnowledgeSourceConfig
-
Eleven-argument form:
KnowledgeUnit.AUTO. - KnowledgeSourceConfig(String, Knowledge.Type, DocumentFormat, String, String, String, boolean, List<String>, List<String>, KnowledgeUnit) - Constructor for record class com.tnsai.rag.KnowledgeSourceConfig
-
Ten-argument form:
ChunkContext.NONE. - KnowledgeSourceConfig(String, Knowledge.Type, DocumentFormat, String, String, String, boolean, List<String>, List<String>, KnowledgeUnit, ChunkContext, String) - Constructor for record class com.tnsai.rag.KnowledgeSourceConfig
-
Twelve-argument form: no
select, so whole documents load. - KnowledgeSourceConfig(String, Knowledge.Type, DocumentFormat, String, String, String, boolean, List<String>, List<String>, KnowledgeUnit, ChunkContext, String, String) - Constructor for record class com.tnsai.rag.KnowledgeSourceConfig
-
Creates an instance of a
KnowledgeSourceConfigrecord class. - KnowledgeSourceConfig(String, Knowledge.Type, String, String, String, boolean) - Constructor for record class com.tnsai.rag.KnowledgeSourceConfig
-
Creates a source using the canonical
DocumentFormat.AUTOdefault and empty selectors. - KnowledgeSourceConfig.Builder - Class in com.tnsai.rag
-
Builder retaining the annotation defaults.
- KnowledgeUnit - Enum Class in com.tnsai.rag
-
How one ingested file becomes retrieval documents.
- KnowledgeUnitFormatException - Exception Class in com.tnsai.rag
-
Signals that a knowledge-unit policy has no semantics for a document format.
- KnowledgeUnitFormatException(KnowledgeUnit, DocumentFormat) - Constructor for exception class com.tnsai.rag.KnowledgeUnitFormatException
-
Creates a compatibility failure naming both sides of the invalid pair.
- KnowledgeUsage - Record Class in com.tnsai.rag
-
What one knowledge source gave a chat turn or an action call.
- KnowledgeUsage(String, Knowledge.Use, int, int) - Constructor for record class com.tnsai.rag.KnowledgeUsage
-
Creates an instance of a
KnowledgeUsagerecord class. - knowledgeUsageListener(BiConsumer<String, List<KnowledgeUsage>>) - Method in class com.tnsai.agents.AgentBuilder
-
Receives what each knowledge source gave every chat turn (scope
"chat") and every action call that runs knowledge (scope = the action name): oneKnowledgeUsagerow per source, in declaration order. - knowsInputWindow() - Method in interface com.tnsai.llm.LLMCapabilities
-
Whether
LLMCapabilities.getMaxInputTokens()is the model's own window rather than a placeholder for a model the provider does not list.
L
- label() - Method in record class com.tnsai.agents.execution.MemoryManager.AgentCheckpoint
-
Returns the value of the
labelrecord component. - language() - Element in annotation interface com.tnsai.agents.annotations.AgentIdentity
-
The primary language for agent communication.
- LANGUAGE - Enum constant in enum class com.tnsai.communication.CommunicationViolationException.ViolationType
-
Response is in a non-allowed language
- languages() - Element in annotation interface com.tnsai.annotations.Communication
-
Allowed languages for communication (ENFORCED).
- last() - Method in class com.tnsai.observability.errors.CapturingErrorReportPublisher
-
Last captured report, or
nullif none. - LAST_JOINED - Static variable in interface com.tnsai.agents.groups.LeaderElectionStrategy
-
Last joined member becomes leader.
- LAST_WINS - Static variable in interface com.tnsai.models.agent.DesireConflictResolver
-
Strategy that keeps the last desire in the list.
- lastAccessedAt() - Method in class com.tnsai.memory.strategy.MemoryEntry
- lastHeartbeat() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns the value of the
lastHeartbeatrecord component. - lastRecord() - Method in class com.tnsai.accountability.RecordingLiabilitySink
-
Test helper: most recent record, or empty when none recorded.
- lastSync(Instant) - Method in class com.tnsai.context.entity.EntitySource.Builder
- lastUpdatedAt(Instant) - Method in class com.tnsai.context.entity.Entity.Builder
- lastUsed() - Method in record class com.tnsai.memory.advanced.Skill
-
Returns the value of the
lastUsedrecord component. - latency() - Method in record class com.tnsai.spi.Healthcheckable.HealthStatus
-
Returns the value of the
latencyrecord component. - LATENCY - Enum constant in enum class com.tnsai.annotations.EvalMetric.MetricCategory
-
Latency and performance metrics
- latencyBuckets() - Method in record class com.tnsai.resilience.ResilienceMetrics.MetricSnapshot
-
Returns the value of the
latencyBucketsrecord component. - latencyMs() - Method in record class com.tnsai.feedback.FeedbackCollector.ToolOutcome
-
Returns the value of the
latencyMsrecord component. - latest(String) - Method in interface com.tnsai.reliability.CheckpointStore
- latest(String) - Method in class com.tnsai.reliability.FilesystemCheckpointStore
- latest(String) - Method in class com.tnsai.reliability.InMemoryCheckpointStore
- latest(String) - Method in class com.tnsai.reliability.RedisCheckpointStore
- latest(String) - Method in class com.tnsai.reliability.S3CheckpointStore
- latest(String) - Method in class com.tnsai.reliability.SqliteCheckpointStore
- layer(SearchSettings) - Method in class com.tnsai.rag.SearchSettings
-
These settings with every member
overgives replacing the one given here. - layer(List<Knowledge>) - Method in class com.tnsai.annotations.ClassConfig.Level
-
This level's knowledge over the declared one: a declared name is overridden member by member,
searchincluded, and an entry that changesusekeeps the declaredmaxTokensorsearchonly when the newuseapplies to it (KnowledgeDeclarations.keepsMaxTokens(com.tnsai.annotations.Knowledge.Use, com.tnsai.annotations.Knowledge.Use),KnowledgeDeclarations.keepsSearch(com.tnsai.annotations.Knowledge.Use, com.tnsai.annotations.Knowledge.Use)); a name the declared entries lack follows them as a full declaration, in name order. - LEADER - Enum constant in enum class com.tnsai.annotations.Coordination.Consensus.Strategy
-
Single leader decides
- LEADER_ELECTED - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
New leader elected
- LEADER_ONLY - Enum constant in enum class com.tnsai.agents.groups.GroupPolicy.MemberSelectionStrategy
-
Always select the leader
- LEADER_RESIGNED - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Leader stepped down
- leaderElected(String, Agent) - Static method in record class com.tnsai.agents.groups.GroupEvent
-
Creates a leader elected event.
- leaderElections() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns the value of the
leaderElectionsrecord component. - LeaderElectionStrategy - Interface in com.tnsai.agents.groups
-
Strategy for electing a leader among group members.
- LEAKY_BUCKET - Enum constant in enum class com.tnsai.annotations.Resilience.RateLimit.Strategy
-
Leaky bucket algorithm
- LEARNED_PATTERN - Enum constant in enum class com.tnsai.agents.variant.VariantSelector.SelectionReason
-
Adjusted based on historical performance
- LEAST_LOADED - Enum constant in enum class com.tnsai.agents.groups.GroupPolicy.MemberSelectionStrategy
-
Select least loaded member
- leaveAllGroups() - Method in class com.tnsai.agents.groups.AgentGroupManager
-
Leaves all groups this agent belongs to.
- leaveGroup(AgentGroup) - Method in class com.tnsai.agents.Agent
-
Leaves a group.
- leaveGroup(AgentGroup) - Method in class com.tnsai.agents.groups.AgentGroupManager
-
Leaves a group.
- leaveGroup(String) - Method in class com.tnsai.agents.Agent
-
Leaves a group by ID.
- leaveGroup(String) - Method in class com.tnsai.agents.groups.AgentGroupManager
-
Leaves a group by ID.
- LEFT - Enum constant in enum class com.tnsai.agents.groups.MembershipManager.MembershipAction
- LENGTH - Enum constant in enum class com.tnsai.communication.CommunicationViolationException.ViolationType
-
Response exceeds maximum length
- LENGTH - Enum constant in enum class com.tnsai.llm.ChatChunk.FinishReason
-
Max tokens reached
- level() - Method in record class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityResult
-
Returns the value of the
levelrecord component. - level() - Method in class com.tnsai.annotations.ClassConfig
- level() - Method in record class com.tnsai.observability.events.CapturingAgentEventPublisher.Captured
-
Returns the value of the
levelrecord component. - levels(Class<?>, Class<?>) - Static method in class com.tnsai.annotations.ClassConfig
-
Every level that configures an agent playing a role, lowest first: the agent's own file, the
rolessection a bound agent gave the role, the role's own file, the agent type's section of the run file, and therolessection the run file gave the role. - liability() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Returns the value of the
liabilityrecord component. - liabilityAtLeast() - Method in record class com.tnsai.accountability.AuditQuery
-
Returns the value of the
liabilityAtLeastrecord component. - liabilityAtLeast(LiabilityClass) - Method in class com.tnsai.accountability.AuditQuery.Builder
- LiabilityClass - Enum Class in com.tnsai.accountability
-
Severity tier the agent's authority scope (
AuthorityScope) classifies an action with (TNS-298). - liabilitySink(LiabilitySink) - Method in class com.tnsai.agents.AgentBuilder
-
Configure the
LiabilitySinkthat receives anAgentLiabilityRecordper dispatch (TNS-298). - LiabilitySink - Interface in com.tnsai.accountability
-
Optional sink for
AgentLiabilityRecords (TNS-298). - lifecycle() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns the value of the
lifecyclerecord component. - Lifecycle - Search tag in class com.tnsai.observability.events.Breadcrumbs
- Section
- Lifecycle - Search tag in record class com.tnsai.skills.Skill
- Section
- Lifecycle - Annotation Interface in com.tnsai.annotations
-
Marks a method as a lifecycle callback for agent initialization and cleanup.
- LIFECYCLE_CHANGED - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Group lifecycle state changed
- Lifecycle.Phase - Enum Class in com.tnsai.annotations
-
Agent lifecycle phases.
- lifecycleChanged(String, GroupLifecycle, GroupLifecycle) - Static method in record class com.tnsai.agents.groups.GroupEvent
-
Creates a lifecycle changed event.
- Lifecycle Events - Search tag in interface com.tnsai.eval.hooks.EvalHook
- Section
- LifecycleException(String, Throwable, Lifecycle.Phase) - Constructor for exception class com.tnsai.agents.lifecycle.LifecycleManager.LifecycleException
- LifecycleManager - Class in com.tnsai.agents.lifecycle
-
Manages agent lifecycle method execution based on
Lifecycleannotations. - LifecycleManager.LifecycleException - Exception Class in com.tnsai.agents.lifecycle
-
Exception thrown when a lifecycle method fails.
- LifecycleManager.LifecycleTimeoutException - Exception Class in com.tnsai.agents.lifecycle
-
Exception thrown when a lifecycle method times out.
- Lifecycle Phases - Search tag in annotation interface com.tnsai.annotations.Lifecycle
- Section
- LifecycleTimeoutException(String) - Constructor for exception class com.tnsai.agents.lifecycle.LifecycleManager.LifecycleTimeoutException
- lifetime() - Method in record class com.tnsai.hooks.events.SessionEnd
-
Returns the value of the
lifetimerecord component. - LIGHTNING_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Lightning Network (LNbits / LND-REST).
- limit() - Method in record class com.tnsai.accountability.AuditQuery
-
Returns the value of the
limitrecord component. - limit() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
-
Returns the value of the
limitrecord component. - limit() - Method in record class com.tnsai.security.audit.AuditQuery
-
Returns the value of the
limitrecord component. - limit(int) - Method in class com.tnsai.accountability.AuditQuery.Builder
- limit(int) - Method in class com.tnsai.security.audit.AuditQuery.Builder
- limitMillis() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.TimeoutInterrupt
-
Returns the value of the
limitMillisrecord component. - LINE - Enum constant in enum class com.tnsai.rag.KnowledgeUnit
-
Each non-blank line is one document.
- LINKEDIN_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
LinkedIn API.
- LISKOV - Enum constant in enum class com.tnsai.annotations.Contract.InheritanceMode
-
Subclass can weaken preconditions, strengthen postconditions
- list() - Method in class com.tnsai.skills.FileSystemSkillStore
- list() - Method in class com.tnsai.skills.InMemorySkillStore
- list() - Method in interface com.tnsai.skills.SkillStore
-
Enumerate every registered skill.
- list(String) - Method in interface com.tnsai.state.Checkpointer
-
List checkpoints for a thread.
- list(String) - Method in class com.tnsai.state.FileCheckpointer
- list(String) - Method in class com.tnsai.state.InMemoryCheckpointer
- list(List<String>, boolean) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a list component.
- listBySource(String) - Method in interface com.tnsai.context.entity.EntityResolver
-
Lists all entities from a specific source.
- listByType(EntityType) - Method in interface com.tnsai.context.entity.EntityResolver
-
Lists all entities of a specific type.
- listModels() - Method in interface com.tnsai.llm.LLMClient
-
Lists available models from the provider.
- listPending() - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Lists pending tokens.
- listPending() - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- listPendingForAgent(String) - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Lists pending tokens for a specific agent.
- listPendingForAgent(String) - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- live(Object, String, String, int, RetrievalEngine.Retriever) - Static method in class com.tnsai.rag.ChatKnowledgeBinding
-
Creates an exact-owner live binding with fail-open, no-cache defaults.
- live(Object, String, String, int, RetrievalEngine.Retriever, Runnable) - Static method in class com.tnsai.rag.ChatKnowledgeBinding
-
Creates an exact-owner live binding with an idempotent close action.
- live(String, String, int, KnowledgeBase) - Static method in class com.tnsai.rag.ChatKnowledgeBinding
-
Creates a live binding over a
KnowledgeBasethe application owns and keeps mutating. - live(String, String, int, RetrievalEngine.Retriever) - Static method in class com.tnsai.rag.ChatKnowledgeBinding
-
Creates a live-source binding with fail-open, no-cache chat defaults.
- live(String, String, int, RetrievalEngine.Retriever, Runnable) - Static method in class com.tnsai.rag.ChatKnowledgeBinding
-
Creates a live-source binding with an idempotently invoked close action.
- Liveness vs Safety - Search tag in package com.tnsai.models.role
- Section
- LLAMA - Enum constant in enum class com.tnsai.prompt.ModelFamily
-
Meta Llama lineage including Llama-derived open-weight models.
- LLAMA_32 - Static variable in class com.tnsai.llm.ModelCapabilities
-
Meta Llama 3.2 (via Ollama) capabilities
- llm - Search tag in annotation interface com.tnsai.annotations.Config
- Section
- llm - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- llm() - Method in class com.tnsai.agents.Agent
-
Returns the LLM client used by this agent.
- llm() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
LLM configuration for this agent.
- llm() - Method in class com.tnsai.annotations.ClassConfig.Level
- llm() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
LLM configuration for this role.
- llm() - Method in record class com.tnsai.llm.LLMResolver.ResolutionResult
-
Returns the value of the
llmrecord component. - llm() - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningContext
-
Returns the value of the
llmrecord component. - llm(LLMClient) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the LLM client for this agent.
- llm(LLMClient) - Method in class com.tnsai.roles.RoleBuilder
-
Sets the LLM client for this role.
- LLM - Enum constant in enum class com.tnsai.enums.ActionType
- LLM - Enum constant in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
-
LLM-related errors (model not found, quota exceeded, etc.)
- LLM - Enum constant in enum class com.tnsai.rag.ChunkContext
-
Prefix from an installed
ChunkContextGenerator. - LLM - Enum constant in enum class com.tnsai.spi.ToolRegistry.ToolType
- LLM_CALL - Enum constant in enum class com.tnsai.timeout.TimeoutPolicy.Category
- LLM_TEMPLATE_ID - Static variable in interface com.tnsai.rag.ChunkContextGenerator
-
Stable identity of the bundled situate-the-chunk prompt.
- LLM_THINKING - Enum constant in enum class com.tnsai.events.StatusEvent.StatusType
-
LLM is processing/thinking
- LLM_TIMEOUT_SECONDS - Static variable in class com.tnsai.utils.HttpClientFactory
-
Extended timeout for LLM operations that may take longer
- LLM Action - Search tag in annotation interface com.tnsai.annotations.ActionSpec
- Section
- llmCall() - Method in record class com.tnsai.timeout.TimeoutPolicy
-
Returns the value of the
llmCallrecord component. - llmCall(Duration) - Method in class com.tnsai.timeout.TimeoutPolicy.Builder
- LLMCapabilities - Interface in com.tnsai.llm
-
Describes the capabilities of an LLM provider/model.
- LLMCapabilities.Modality - Enum Class in com.tnsai.llm
-
Input modalities the model can process.
- LLMCapability - Enum Class in com.tnsai.enums
-
Declarative LLM capability flag for use on
@RoleSpec(requires = {...}). - LLMCapabilityException - Exception Class in com.tnsai.exceptions
-
Exception thrown when an LLM model lacks a required capability.
- LLMCapabilityException(String, String, String, String) - Constructor for exception class com.tnsai.exceptions.LLMCapabilityException
-
Creates a capability exception.
- LLMCapabilityException(String, Throwable, String, String, String) - Constructor for exception class com.tnsai.exceptions.LLMCapabilityException
-
Creates a capability exception with a cause.
- LLMCapabilityValidator - Class in com.tnsai.agents.validation.validators
-
Two-headed LLM capability validator.
- LLMCapabilityValidator() - Constructor for class com.tnsai.agents.validation.validators.LLMCapabilityValidator
- llmClient() - Method in record class com.tnsai.agents.validation.ValidationContext
-
Returns the value of the
llmClientrecord component. - LLMClient - Interface in com.tnsai.llm
-
Base interface for LLM (Large Language Model) client implementations.
- LLMClientProvider - Interface in com.tnsai.llm
-
SPI for creating LLM clients from provider configuration.
- llmError(String, String) - Static method in record class com.tnsai.events.ErrorEvent
-
Creates an LLM error event.
- LLMException - Exception Class in com.tnsai.exceptions
-
Exception for LLM-related errors (model errors, invalid responses, etc.).
- LLMException(String) - Constructor for exception class com.tnsai.exceptions.LLMException
- LLMException(String, String, LLMException.ErrorType) - Constructor for exception class com.tnsai.exceptions.LLMException
- LLMException(String, String, LLMException.ErrorType, ProviderDetails) - Constructor for exception class com.tnsai.exceptions.LLMException
- LLMException(String, Throwable) - Constructor for exception class com.tnsai.exceptions.LLMException
- LLMException(String, Throwable, String, LLMException.ErrorType) - Constructor for exception class com.tnsai.exceptions.LLMException
- LLMException(String, Throwable, String, LLMException.ErrorType, ProviderDetails) - Constructor for exception class com.tnsai.exceptions.LLMException
- LLMException.ErrorType - Enum Class in com.tnsai.exceptions
- LLMExportSpec(String, String, float, int, float, float, float, String, String, int, boolean) - Constructor for record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Creates an instance of a
LLMExportSpecrecord class. - LLMHealthcheckValidator - Class in com.tnsai.agents.validation.validators
-
AGENT-V005 — opt-in reachability probe for the configured
LLMClient. - LLMHealthcheckValidator() - Constructor for class com.tnsai.agents.validation.validators.LLMHealthcheckValidator
- LLM Integration - Search tag in class com.tnsai.models.role.RoleIdentity
- Section
- LLM Integration - Search tag in package com.tnsai.models.agent
- Section
- LLM Integration - Search tag in package com.tnsai.models.role
- Section
- llmName() - Method in record class com.tnsai.llm.ParallelLLM.LLMResult
-
Returns the value of the
llmNamerecord component. - LLMOrchestrator - Class in com.tnsai.agents.execution
-
Orchestrates LLM communication for agents.
- LLMOrchestrator(String, LLMClient, MemoryStore) - Constructor for class com.tnsai.agents.execution.LLMOrchestrator
-
Creates a new LLMOrchestrator.
- LLMOrchestrator.ToolCallHandler - Interface in com.tnsai.agents.execution
-
Functional interface for handling tool calls.
- LLMParam - Annotation Interface in com.tnsai.annotations
-
Defines a parameter that is exposed to the LLM for tool calling.
- LLMParams - Annotation Interface in com.tnsai.annotations
-
Container annotation for multiple
LLMParamannotations. - LLMParamSpec - Class in com.tnsai.metadata
-
Spec for parameters exposed to LLM.
- LLMParamSpec(String, String, String, boolean, List<String>) - Constructor for class com.tnsai.metadata.LLMParamSpec
- LlmPresenceValidator - Class in com.tnsai.agents.validation.validators
-
AGENT-V002 — LLM should normally be present.
- LlmPresenceValidator() - Constructor for class com.tnsai.agents.validation.validators.LlmPresenceValidator
- llmQuotaExceeded(String) - Static method in exception class com.tnsai.exceptions.RateLimitException
-
Factory method for LLM quota exceeded.
- LLMResolver - Class in com.tnsai.llm
-
Resolves the appropriate LLM client using a fallback chain.
- LLMResolver.Builder - Class in com.tnsai.llm
-
Builder for LLM resolution with full fallback chain support.
- LLMResolver.LLMSpec - Record Class in com.tnsai.llm
-
LLM configuration record for passing model settings.
- LLMResolver.ResolutionResult - Record Class in com.tnsai.llm
-
Result of LLM resolution with source tracking.
- LLMResolver.ResolutionSource - Enum Class in com.tnsai.llm
-
Source of the resolved LLM in the fallback chain.
- LLMResult(String, String, long, boolean, String) - Constructor for record class com.tnsai.llm.ParallelLLM.LLMResult
-
Creates an instance of a
LLMResultrecord class. - LLMRoleExecutor - Search tag in package com.tnsai.actions.executors
- Section
- LLMRoleExecutor - Class in com.tnsai.actions.executors
-
Executor for
LLM-typed actions. - LLMRoleExecutor() - Constructor for class com.tnsai.actions.executors.LLMRoleExecutor
- LLMSkillResolver - Class in com.tnsai.skills
-
LLM-driven
SkillResolver— asks the configuredLLMClientto pick the most relevant skill names from a compact catalog (TNS-289). - LLMSkillResolver(LLMClient) - Constructor for class com.tnsai.skills.LLMSkillResolver
- llmSpec() - Method in record class com.tnsai.roles.export.ExportedRole
-
Returns the value of the
llmSpecrecord component. - llmSpec() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.CachedRoleMetadata
-
Returns the value of the
llmSpecrecord component. - LLMSpec - Annotation Interface in com.tnsai.annotations
-
LLM configuration for Agents and Roles.
- LLMSpec(String, Float) - Constructor for record class com.tnsai.llm.LLMResolver.LLMSpec
-
Creates an instance of a
LLMSpecrecord class. - LLMSpec.Provider - Enum Class in com.tnsai.annotations
-
Supported LLM providers.
- LLMSpecSource - Interface in com.tnsai.llm
-
Common interface for LLM configuration sources.
- llmSummarizer(LLMClient) - Static method in class com.tnsai.memory.strategy.SummaryStrategy
-
Creates an LLM-based summarizer.
- llmSystemPrompt() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Optional system prompt override for
LLMactions. - llmTemperature() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Optional temperature override for
LLMactions. - llmThinking(String, String, List<String>) - Static method in record class com.tnsai.events.StatusEvent
-
Creates a status event for LLM thinking phase.
- llmTimeout(long) - Static method in exception class com.tnsai.exceptions.TimeoutException
-
Factory method for LLM response timeout.
- load(Class<T>) - Static method in class com.tnsai.spi.SpiLoader
-
Returns the cached providers visible to the effective thread context classloader.
- load(Class<T>, ClassLoader) - Static method in class com.tnsai.spi.SpiLoader
-
Returns the cached providers visible to
classLoader. - load(String) - Method in class com.tnsai.memory.strategy.TieredContextLoader
-
Loads tiered context for the given query.
- load(Path) - Method in class com.tnsai.prompt.ProjectContextLoader
-
Walks up from
startDirlooking for a context file. - LOAD_BALANCED - Enum constant in enum class com.tnsai.annotations.Coordination.TaskDistribution
-
Distribute based on current load
- LoadedContext(List<Map<String, Object>>, String, List<Map<String, Object>>, int) - Constructor for record class com.tnsai.memory.strategy.TieredContextLoader.LoadedContext
-
Creates an instance of a
LoadedContextrecord class. - loadFromCwd() - Method in class com.tnsai.prompt.ProjectContextLoader
-
Convenience: load from the JVM's working directory.
- loadTemplates(Class<?>) - Static method in class com.tnsai.prompt.PromptTemplateLoader
-
Loads templates for a role class annotated with
PromptTemplates. - local(String, String, ActionHandler) - Static method in record class com.tnsai.metadata.ActionConfig
-
A
LOCALaction with no declared parameters — the handler reads the argument map directly. - local(String, String, List<ParamSpec>, ActionHandler) - Static method in record class com.tnsai.metadata.ActionConfig
-
A
LOCALaction with declared parameters (surfaced to the LLM tool schema, same as annotation actions). - LOCAL - Enum constant in enum class com.tnsai.annotations.EventEmitter.Scope
-
Only within this agent
- LOCAL - Enum constant in enum class com.tnsai.enums.ActionType
- LOCAL Action (Direct Code) - Search tag in annotation interface com.tnsai.annotations.ActionSpec
- Section
- LocalIdentityProvider - Class in com.tnsai.identity
-
Process-local
AgentPrincipalProvider(TNS-298). - LocalIdentityProvider() - Constructor for class com.tnsai.identity.LocalIdentityProvider
- LocalIdentityProvider(byte[]) - Constructor for class com.tnsai.identity.LocalIdentityProvider
-
Test / debug constructor — pin the HMAC key for reproducibility.
- LocalTransport - Class in com.tnsai.communication.transport
-
Default in-memory transport implementation.
- LocalTransport() - Constructor for class com.tnsai.communication.transport.LocalTransport
- location() - Method in record class com.tnsai.agents.validation.ValidationIssue
-
Returns the value of the
locationrecord component. - location() - Method in record class com.tnsai.observability.errors.CauseInfo
-
Returns the value of the
locationrecord component. - location() - Method in record class com.tnsai.rag.RetrievalEvidence.Provenance
-
Returns the value of the
locationrecord component. - location(Location) - Method in class com.tnsai.agents.validation.ValidationIssue.Builder
- Location - Record Class in com.tnsai.agents.validation
-
Where in the agent configuration a
ValidationIssueoriginates. - Location(Optional<String>, Optional<String>, Optional<String>, Optional<String>) - Constructor for record class com.tnsai.agents.validation.Location
-
Creates an instance of a
Locationrecord class. - LOG - Enum constant in enum class com.tnsai.annotations.QualityGate.OnFail
-
Log warning, return result anyway.
- LOG_AND_ALLOW - Enum constant in enum class com.tnsai.hooks.external.ScriptFailurePolicy
-
Default: on failure, log a structured warning event and allow the chain to continue.
- LOG_AND_CONTINUE - Enum constant in enum class com.tnsai.protocols.annotations.MessageHandler.ErrorStrategy
-
Log error and continue processing
- logFailures() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Whether to log validation failures.
- logFailures() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Whether to log validation failures.
- logFailures() - Method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Returns the value of the
logFailuresrecord component. - logFailures() - Method in record class com.tnsai.guardrails.OutputGuardrailConfig
-
Returns the value of the
logFailuresrecord component. - logFailures(boolean) - Method in class com.tnsai.guardrails.InputGuardrailConfig.Builder
- logFailures(boolean) - Method in class com.tnsai.guardrails.OutputGuardrailConfig.Builder
- logFallbacks(boolean) - Method in class com.tnsai.llm.FallbackLLMClient.Builder
-
Whether to log fallback attempts (default: true).
- LOGIC - Enum constant in enum class com.tnsai.observability.errors.ErrorCategory
-
Assertion / invariant violation — internal logic bug, illegal state.
- LONG_RUNNING - Enum constant in enum class com.tnsai.hooks.events.NotificationKind
-
A long-running operation has started; the agent is warning the user it may be a while.
- lookup(String) - Method in class com.tnsai.tools.method.ToolMethodDispatcher
-
Look up a tool by name without dispatching.
- lookup(String) - Method in class com.tnsai.tools.method.ToolMethodRegistry
- LOW - Enum constant in enum class com.tnsai.accountability.LiabilityClass
-
Low-risk side effect with a cheap reversal path.
- LOW - Enum constant in enum class com.tnsai.agents.groups.GroupTask.Priority
- LOW - Enum constant in enum class com.tnsai.enums.agent.Priority
- LOW - Enum constant in enum class com.tnsai.enums.AgentVariant.Cost
-
Low cost, efficient models
- LOW - Enum constant in enum class com.tnsai.hooks.Severity
- LOW - Enum constant in enum class com.tnsai.tools.ToolRiskLevel
-
Read-only, idempotent, no external side effects beyond a cached HTTP GET.
M
- main(String[]) - Static method in class com.tnsai.utils.Spinner
-
Example usage.
- MAJORITY - Enum constant in enum class com.tnsai.annotations.Coordination.Consensus.Strategy
-
More than threshold must agree
- MAJORITY - Enum constant in enum class com.tnsai.protocols.annotations.Debate.ConsensusStrategy
-
Simple majority wins (>50%).
- majorityVote(String, List<LLMClient>) - Static method in class com.tnsai.llm.ParallelLLM
-
Gets responses from multiple LLMs and selects by majority voting.
- majorityVoteChat(String, List<LLMClient>) - Method in class com.tnsai.agents.ensemble.AgentEnsembleExecutor
-
Sends message to multiple LLMs and selects by majority voting.
- MALFORMED_TOOL_CALL - Enum constant in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Malformed tool call from model (bad JSON, missing fields)
- malformedToolCall(String, String, String) - Static method in exception class com.tnsai.exceptions.LLMException
-
Factory method for malformed tool call errors without a cause.
- malformedToolCall(String, String, String, Throwable) - Static method in exception class com.tnsai.exceptions.LLMException
-
Factory method for malformed tool call errors.
- ManagedConversationMemory - Class in com.tnsai.memory.strategy
-
Conversation memory with automatic strategy-based management.
- ManagedConversationMemory.Builder - Class in com.tnsai.memory.strategy
-
Builder for ManagedConversationMemory.
- ManagedConversationMemory.MemoryStats - Record Class in com.tnsai.memory.strategy
-
Memory statistics.
- mandatory() - Method in record class com.tnsai.context.decision.DecisionPolicy.PolicyRule
-
Returns the value of the
mandatoryrecord component. - mandatory(String, String) - Static method in record class com.tnsai.context.decision.DecisionPolicy.PolicyRule
-
Creates a mandatory rule.
- manual(String) - Static method in record class com.tnsai.context.decision.DecisionTrigger
-
Creates a manual trigger for debugging/testing.
- MANUAL - Enum constant in enum class com.tnsai.context.decision.DecisionTrigger.TriggerType
-
Manual trigger for debugging
- MANUAL - Enum constant in enum class com.tnsai.context.entity.ConflictResolution
-
Require manual resolution - flag the conflict for human review.
- MANUAL - Enum constant in enum class com.tnsai.context.entity.EntitySource.SourceType
-
Manual entry
- MANUAL - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken on explicit request.
- MANUAL_ONLY - Enum constant in enum class com.tnsai.skills.SkillResolverPolicy
-
Resolver does NOT run automatically; only manual user-driven invocation (
/skill-name [args]) and programmaticagent.invokeSkill(...)are honoured. - MANUAL_REQUIRED - Enum constant in enum class com.tnsai.context.entity.EntityResolutionResult.ResolutionStatus
-
Resolution requires manual intervention
- map(Function<? super T, ? extends U>) - Method in class com.tnsai.parser.ParseResult
-
Maps the successful value to a new type.
- Map to POJO Conversion - Search tag in class com.tnsai.actions.TypeConverter
- Section
- markdown(String) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a markdown component.
- markdown(String, String) - Static method in record class com.tnsai.events.ArtifactEvent
-
Creates a markdown artifact event.
- MARKDOWN - Enum constant in enum class com.tnsai.annotations.Communication.ResponseFormat
- MARKDOWN - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.OutputFormat
- MARKDOWN - Enum constant in enum class com.tnsai.events.ArtifactEvent.ArtifactType
- MARKDOWN - Enum constant in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
- MARKDOWN - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
Markdown text.
- MARKDOWN_TABLE - Enum constant in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
- MARKDOWN_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Markdown ↔ rich-text conversion.
- markStale(String) - Method in class com.tnsai.memory.strategy.MemoryEntry
-
Marks this entry as stale with a reason.
- markSupersededBy(String) - Method in class com.tnsai.memory.strategy.MemoryEntry
-
Marks this entry as superseded by a newer entry.
- maskFields() - Element in annotation interface com.tnsai.annotations.Security
-
Fields to mask in logs (for sensitive data).
- maskFields() - Method in record class com.tnsai.security.SecurityFeatures
-
Returns the value of the
maskFieldsrecord component. - maskPII() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Whether to enable PII detection and masking.
- matcher() - Method in class com.tnsai.hooks.external.ExternalScriptHook
- matcher() - Method in interface com.tnsai.hooks.spi.Hook
-
Further filter which instances of
Hook.eventType()this hook cares about. - matcher(HookMatcher<HookEvent>) - Method in class com.tnsai.hooks.external.ExternalScriptHook.Builder
- matches(AgentLiabilityRecord) - Method in record class com.tnsai.accountability.AuditQuery
- matches(AuditEvent) - Method in record class com.tnsai.security.audit.AuditQuery
-
Tests whether an event matches this query.
- matches(E) - Method in record class com.tnsai.hooks.HookMatcher.All
- matches(E) - Method in interface com.tnsai.hooks.HookMatcher
-
Returns
truewhen this matcher should fire forevent. - matches(E) - Method in record class com.tnsai.hooks.HookMatcher.Predicate
- matches(E) - Method in record class com.tnsai.hooks.HookMatcher.Regex
- matches(String, String) - Method in class com.tnsai.security.approval.ApprovalToken
-
Checks if token matches the expected action.
- matches(String, List<String>, List<String>) - Static method in class com.tnsai.rag.IngestionPathSelector
-
Whether a
/-normalized relative path is admitted. - matches(Path, List<String>, List<String>) - Static method in class com.tnsai.rag.IngestionPathSelector
-
Whether
relativePathis admitted by the two selector lists. - matchesFileName(String) - Method in enum class com.tnsai.rag.DocumentFormat
-
Returns whether a file name carries one of this format's aliases.
- matching(Predicate<ErrorReport>) - Method in class com.tnsai.observability.errors.CapturingErrorReportPublisher
-
Reports matching a predicate (e.g. by fingerprint or category).
- matryoshka(EmbeddingFunction, int) - Static method in class com.tnsai.memory.advanced.EmbeddingFunctions
-
Reduces a Matryoshka-compatible embedding to a normalized prefix.
- max() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Returns the value of the
maxrecord component. - max() - Element in annotation interface com.tnsai.parser.OutputValidator.Size
- MAX - Enum constant in enum class com.tnsai.enums.AgentVariant.Quality
-
Maximum quality, most capable models
- MAX_CHARS_PER_CHUNK - Static variable in class com.tnsai.rag.NormalizedDocumentChunker
-
Maximum characters retained in one generic chunk.
- MAX_CHUNKS_PER_DOCUMENT - Static variable in class com.tnsai.rag.NormalizedDocumentChunker
-
Maximum retrieval units admitted from one source document.
- MAX_DOCUMENT_CHARS - Static variable in class com.tnsai.rag.NormalizedDocumentChunker
-
Maximum characters admitted from one source document.
- MAX_DURATION_EXCEEDED - Enum constant in enum class com.tnsai.reliability.AbortReason
-
RunConfig.maxDurationelapsed. - MAX_FRAMES - Static variable in class com.tnsai.observability.errors.StackTraceNormalizer
-
Maximum number of normalized frames included in the digest input.
- MAX_LINES_PER_CHUNK - Static variable in class com.tnsai.rag.NormalizedDocumentChunker
-
Maximum physical lines retained in one generic chunk.
- MAX_LINES_PER_DOCUMENT - Static variable in class com.tnsai.rag.NormalizedDocumentChunker
-
Maximum physical lines admitted from one source document.
- MAX_PREFIX_CHARS - Static variable in enum class com.tnsai.rag.ChunkContext
-
Maximum length of a structural or generated prefix, in characters (~100 tokens).
- MAX_SURROUNDING_CHARS - Static variable in enum class com.tnsai.rag.ChunkContext
-
Maximum characters of adjacent-chunk text passed to an LLM generator as surrounding context.
- maxActiveSkills(int) - Method in class com.tnsai.agents.AgentBuilder
-
Cap the number of skill descriptions surfaced in the system prompt per turn (TNS-289).
- maxAttempts() - Element in annotation interface com.tnsai.annotations.Resilience.Retry
-
Maximum retry attempts.
- maxAttempts(int) - Method in class com.tnsai.resilience.RetryPolicy.Builder
- maxBackoff(Duration) - Method in class com.tnsai.resilience.RetryPolicy.Builder
- maxBackoffMs() - Element in annotation interface com.tnsai.annotations.Resilience.Retry
-
Maximum backoff delay in milliseconds.
- maxBlockChars() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns the value of the
maxBlockCharsrecord component. - maxBlocks() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns the value of the
maxBlocksrecord component. - maxChars() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Maximum output length in characters.
- maxChars() - Method in record class com.tnsai.guardrails.OutputGuardrailConfig
-
Returns the value of the
maxCharsrecord component. - maxChars(int) - Method in class com.tnsai.guardrails.OutputGuardrailConfig.Builder
- maxCheckpoints() - Element in annotation interface com.tnsai.annotations.Memory.Persistence
-
Maximum checkpoints to retain.
- maxCheckpointsPerThread(int) - Method in class com.tnsai.state.FileCheckpointer.Builder
-
Set maximum checkpoints to keep per thread.
- maxConcurrent() - Element in annotation interface com.tnsai.annotations.Resilience
-
Maximum concurrent executions (for bulkhead).
- maxConcurrentTasks() - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Returns the value of the
maxConcurrentTasksrecord component. - maxConcurrentTasks() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns the value of the
maxConcurrentTasksrecord component. - maxConcurrentTasks() - Element in annotation interface com.tnsai.annotations.Coordination
-
Maximum concurrent tasks this agent can handle.
- maxConcurrentTasks() - Element in annotation interface com.tnsai.annotations.GroupMember
-
Maximum concurrent tasks from group assignments.
- maxContentChars() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns the value of the
maxContentCharsrecord component. - maxContextTokens - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- maxContextTokens() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Maximum context-window budget in tokens for this agent (TNS-609).
- maxContextTokens() - Element in annotation interface com.tnsai.annotations.MemorySpec
-
Maximum tokens for context window management.
- maxContextTokens() - Method in record class com.tnsai.memory.MemoryConfig
-
Returns the value of the
maxContextTokensrecord component. - maxContextTokens(int) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the maximum context tokens for memory pruning.
- maxContextTokens(int) - Method in class com.tnsai.memory.MemoryConfig.Builder
- maxDuration() - Method in record class com.tnsai.reliability.RunConfig
-
Returns the value of the
maxDurationrecord component. - maxDuration(Duration) - Method in class com.tnsai.reliability.RunConfig.Builder
- maxInputBytes() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns the value of the
maxInputBytesrecord component. - maxInputTokens(int) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- maxLength() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Maximum input length in characters.
- maxLength() - Method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Returns the value of the
maxLengthrecord component. - maxLength(int) - Method in class com.tnsai.guardrails.InputGuardrailConfig.Builder
- maxMembers() - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Returns the value of the
maxMembersrecord component. - maxMembers(int) - Method in class com.tnsai.agents.groups.GroupPolicy.Builder
- maxMessages() - Element in annotation interface com.tnsai.annotations.Memory.Conversation
-
Maximum messages to retain.
- maxOutputTokens(int) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- maxRequests() - Element in annotation interface com.tnsai.annotations.Resilience.RateLimit
-
Maximum requests per time window.
- maxResponseLength() - Element in annotation interface com.tnsai.annotations.Communication
-
Maximum response length in characters.
- maxRetries - Search tag in class com.tnsai.resilience.FallbackResolver
- Section
- maxRetries() - Element in annotation interface com.tnsai.annotations.EventHandler
-
Maximum retry attempts on handler failure.
- maxRetries() - Element in annotation interface com.tnsai.annotations.Fallback
-
Maximum retry attempts before invoking fallback.
- maxRetries() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Maximum retry attempts on failure.
- maxRetries() - Element in annotation interface com.tnsai.annotations.QualityGate
-
Max retries when
QualityGate.OnFail.RETRYis selected. - maxRetries() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
Maximum retry attempts for failed operations.
- maxRetries() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns the value of the
maxRetriesrecord component. - maxRetries() - Method in record class com.tnsai.reliability.RunConfig
-
Returns the value of the
maxRetriesrecord component. - maxRetries(int) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- maxRetries(int) - Method in class com.tnsai.communication.AcknowledgedMessage.Builder
-
Sets the maximum number of retries on timeout.
- maxRetries(int) - Method in class com.tnsai.parser.RetryableParser.Builder
-
Sets the maximum number of retries.
- maxRetries(int) - Method in class com.tnsai.reliability.RunConfig.Builder
- maxRounds() - Element in annotation interface com.tnsai.annotations.Coordination.Negotiation
-
Maximum negotiation rounds.
- maxRounds() - Element in annotation interface com.tnsai.protocols.annotations.Debate
-
Maximum number of debate rounds before forced conclusion.
- maxStaleness() - Element in annotation interface com.tnsai.annotations.Search
-
How long past expiry a cached result may still serve
Search.FallbackAction.USE_CACHE, in seconds. - maxStaleness() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
maxStalenessrecord component. - maxStaleness() - Method in class com.tnsai.rag.SearchSettings
- maxStaleness(int) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- maxStaleness(int) - Method in class com.tnsai.rag.SearchSettings.Builder
- maxStructuralPathChars() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns the value of the
maxStructuralPathCharsrecord component. - maxTokens() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Token budget for a
Knowledge.Use.DIRECTsource. - maxTokens() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
Maximum tokens for LLM responses.
- maxTokens() - Element in annotation interface com.tnsai.annotations.Memory.Conversation
-
Maximum tokens to retain.
- maxTokens() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Maximum output length in tokens.
- maxTokens() - Method in record class com.tnsai.rag.KnowledgeEntry
-
Returns the value of the
maxTokensrecord component. - maxTokens() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns the value of the
maxTokensrecord component. - maxTokens(int) - Method in class com.tnsai.agents.async.ChatOptions.Builder
- maxTokens(int) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- maxTotalBlockChars() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns the value of the
maxTotalBlockCharsrecord component. - maxTotalMetadataChars() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns the value of the
maxTotalMetadataCharsrecord component. - maxTotalMetadataEntries() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns the value of the
maxTotalMetadataEntriesrecord component. - maxTotalStructuralPathChars() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns the value of the
maxTotalStructuralPathCharsrecord component. - MCP - Enum constant in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
-
MCP tool errors
- MCP_CALL - Enum constant in enum class com.tnsai.timeout.TimeoutPolicy.Category
- MCP_TOOL - Enum constant in enum class com.tnsai.enums.ActionType
- MCP_TOOL - Enum constant in enum class com.tnsai.spi.ToolRegistry.ToolType
- MCP_TOOL Action (MCP Server) - Search tag in annotation interface com.tnsai.annotations.ActionSpec
- Section
- mcpCall() - Method in record class com.tnsai.timeout.TimeoutPolicy
-
Returns the value of the
mcpCallrecord component. - mcpCall(Duration) - Method in class com.tnsai.timeout.TimeoutPolicy.Builder
- McpClientFactory - Interface in com.tnsai.spi
-
SPI for adapting an MCP server URL into a
Healthcheckableprobe. - MCP Protocol - Search tag in annotation interface com.tnsai.annotations.MCPTool
- Section
- MCPServerReachabilityValidator - Class in com.tnsai.agents.validation.validators
-
AGENT-V011 — opt-in reachability probe for every MCP server URL referenced by an
@MCPToolaction across the agent's roles. - MCPServerReachabilityValidator() - Constructor for class com.tnsai.agents.validation.validators.MCPServerReachabilityValidator
-
Production constructor.
- mcpServerUrls() - Method in record class com.tnsai.agents.validation.ValidationContext
-
Returns the value of the
mcpServerUrlsrecord component. - mcpTool() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
MCP tool configuration for MCP_TOOL actions.
- MCPTool - Annotation Interface in com.tnsai.annotations
-
Configures MCP (Model Context Protocol) tool action execution.
- mcpToolConfig() - Method in class com.tnsai.metadata.ActionMetadata
-
Returns a grouped view of all MCP tool configuration.
- MCPToolConfig - Record Class in com.tnsai.metadata
-
Grouped configuration for MCP_TOOL actions.
- MCPToolConfig(String, String, String, int, Header[], int, int, boolean, int, boolean, String, String[], String[]) - Constructor for record class com.tnsai.metadata.MCPToolConfig
-
Creates an instance of a
MCPToolConfigrecord class. - McpToolExecutor - Search tag in package com.tnsai.actions.executors
- Section
- McpToolExecutor - Class in com.tnsai.actions.executors
-
Executor for MCP_TOOL actions.
- McpToolExecutor() - Constructor for class com.tnsai.actions.executors.McpToolExecutor
- MDC_TRACE_ID_KEY - Static variable in class com.tnsai.resilience.TracedSpan
-
Standard MDC key — downstream logs in the same dispatch reuse this trace id.
- MEDIA_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Whisper STT + OpenAI TTS.
- mediaType() - Method in record class com.tnsai.rag.DocumentInput
-
Returns the value of the
mediaTyperecord component. - mediaType() - Method in record class com.tnsai.rag.ExtractedDocument
-
Returns the value of the
mediaTyperecord component. - MEDIUM - Enum constant in enum class com.tnsai.accountability.LiabilityClass
-
Mutates state inside the framework or a system the framework controls.
- MEDIUM - Enum constant in enum class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityLevel
-
Medium tasks: feature implementation, debugging
- MEDIUM - Enum constant in enum class com.tnsai.enums.AgentVariant.Cost
-
Medium cost
- MEDIUM - Enum constant in enum class com.tnsai.enums.AgentVariant
-
Balanced quality variant.
- MEDIUM - Enum constant in enum class com.tnsai.hooks.Severity
- MEDIUM - Enum constant in enum class com.tnsai.tools.ToolRiskLevel
-
Default.
- mediumSpec() - Static method in class com.tnsai.agents.variant.VariantSpec
-
MEDIUM variant: Balanced configuration.
- meetsRequirements(boolean, boolean, int) - Method in interface com.tnsai.llm.LLMCapabilities
-
Checks if the model is suitable for a given use case.
- member(Agent) - Method in class com.tnsai.agents.groups.AgentGroupBuilder
-
Adds an initial member.
- MEMBER_FAILED - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Agent failed health check
- MEMBER_JOINED - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Agent joined the group
- MEMBER_LEFT - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Agent left the group
- memberCount() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns the value of the
memberCountrecord component. - MemberInfo(String, String, List<String>, Instant, Instant, MembershipManager.MemberHealth, Map<String, Object>) - Constructor for record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Creates MemberInfo with defaults for priority/concurrency.
- MemberInfo(String, String, List<String>, Instant, Instant, MembershipManager.MemberHealth, Map<String, Object>, int, int, int, String) - Constructor for record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Creates an instance of a
MemberInforecord class. - memberJoined(String, Agent) - Static method in record class com.tnsai.agents.groups.GroupEvent
-
Creates a member joined event.
- memberLeft(String, String, String) - Static method in record class com.tnsai.agents.groups.GroupEvent
-
Creates a member left event.
- members() - Method in class com.tnsai.rag.SearchSettings
- members(List<Agent>) - Method in class com.tnsai.agents.groups.AgentGroupBuilder
-
Adds multiple initial members.
- MembershipHistoryEntry(String, String, MembershipManager.MembershipAction, String, Instant) - Constructor for record class com.tnsai.agents.groups.MembershipManager.MembershipHistoryEntry
-
Creates an instance of a
MembershipHistoryEntryrecord class. - MembershipListener - Interface in com.tnsai.agents.groups
-
Listener for membership events.
- MembershipManager - Interface in com.tnsai.agents.groups
-
Manages membership lifecycle for an AgentGroup.
- MembershipManager.MemberHealth - Enum Class in com.tnsai.agents.groups
-
Member health status.
- MembershipManager.MemberInfo - Record Class in com.tnsai.agents.groups
-
Information about a group member.
- MembershipManager.MembershipAction - Enum Class in com.tnsai.agents.groups
-
Membership action types.
- MembershipManager.MembershipHistoryEntry - Record Class in com.tnsai.agents.groups
-
Historical membership event.
- MembershipManager.MembershipStats - Record Class in com.tnsai.agents.groups
-
Membership statistics.
- MembershipManager.MembershipValidation - Record Class in com.tnsai.agents.groups
-
Result of membership validation.
- MembershipStats(int, int, int, int, int, Duration, Instant) - Constructor for record class com.tnsai.agents.groups.MembershipManager.MembershipStats
-
Creates an instance of a
MembershipStatsrecord class. - MembershipValidation(boolean, String, List<String>) - Constructor for record class com.tnsai.agents.groups.MembershipManager.MembershipValidation
-
Creates an instance of a
MembershipValidationrecord class. - memberTimeout() - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Returns the value of the
memberTimeoutrecord component. - memberTimeout(Duration) - Method in class com.tnsai.agents.groups.GroupPolicy.Builder
- memory() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Memory configuration for this agent.
- memory(String) - Static method in record class com.tnsai.rag.KnowledgeSourceConfig
-
A
MEMORYsource: chat knowledge the application supplies at runtime through aChatKnowledgeBinding. - Memory - Search tag in class com.tnsai.observability.errors.DedupingErrorReportPublisher
- Section
- Memory - Annotation Interface in com.tnsai.annotations
-
Configures memory and state management for agents.
- MEMORY - Enum constant in enum class com.tnsai.annotations.EvalMetric.MetricCategory
-
Memory retrieval metrics
- MEMORY - Enum constant in enum class com.tnsai.annotations.Knowledge.Type
-
Chat knowledge the application supplies at runtime, through a
ChatKnowledgeBindingit attaches to the agent. - MEMORY_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Long-term memory store backed by Reever.
- Memory.Conversation - Annotation Interface in com.tnsai.annotations
-
Conversation memory configuration.
- Memory.Conversation.Strategy - Enum Class in com.tnsai.annotations
- Memory.Persistence - Annotation Interface in com.tnsai.annotations
-
State persistence configuration.
- Memory.Vector - Annotation Interface in com.tnsai.annotations
-
Vector memory configuration.
- Memory.Vector.Metric - Enum Class in com.tnsai.annotations
- Memory Architecture - Search tag in package com.tnsai.memory
- Section
- memoryConfig(MemoryConfig) - Method in class com.tnsai.agents.AgentBuilder
-
Configures memory declaratively from a
MemoryConfig— the programmatic equivalent of@MemorySpec(TNS-546), so a builder user gets full memory configuration without hand-building aMemoryStoreor knowing the per-store implementation classes. - MemoryConfig - Record Class in com.tnsai.memory
-
Programmatic form of the
@MemorySpecannotation — the builder-path counterpart that closes the@MemorySpecparity gap (TNS-546). - MemoryConfig(MemorySpec.MemoryType, int, MemorySpec.PruneStrategy, MemorySpec.Persistence, int, boolean, boolean, String) - Constructor for record class com.tnsai.memory.MemoryConfig
-
Creates an instance of a
MemoryConfigrecord class. - MemoryConfig.Builder - Class in com.tnsai.memory
-
Fluent builder for the programmatic path.
- MemoryConsolidationPipeline - Class in com.tnsai.memory
-
Consolidates conversation memory by summarizing older messages.
- MemoryConsolidationPipeline(MemoryStore) - Constructor for class com.tnsai.memory.MemoryConsolidationPipeline
-
Creates a pipeline with default settings.
- MemoryConsolidationPipeline(MemoryStore, int, int) - Constructor for class com.tnsai.memory.MemoryConsolidationPipeline
-
Creates a pipeline with custom settings.
- Memory Context Window - Search tag in package com.tnsai.memory
- Section
- MemoryEntry - Class in com.tnsai.memory.strategy
-
A single memory entry with tier, strength, provenance, and versioning.
- MemoryEntry(String, String, MemoryTier) - Constructor for class com.tnsai.memory.strategy.MemoryEntry
- MemoryImportanceScorer - Class in com.tnsai.memory.advanced
-
Computes importance scores for memory entries based on a weighted combination of recency, frequency, and relevance.
- MemoryImportanceScorer() - Constructor for class com.tnsai.memory.advanced.MemoryImportanceScorer
-
Creates a scorer with equal weights (1/3 each).
- MemoryImportanceScorer(double, double, double) - Constructor for class com.tnsai.memory.advanced.MemoryImportanceScorer
-
Creates a scorer with the given weights.
- MemoryManager - Class in com.tnsai.agents.execution
-
Manages agent memory and state checkpointing.
- MemoryManager(String, MemoryStore) - Constructor for class com.tnsai.agents.execution.MemoryManager
-
Creates a new MemoryManager.
- MemoryManager.AgentCheckpoint - Record Class in com.tnsai.agents.execution
-
Represents a captured checkpoint of agent state.
- MemoryMeta() - Constructor for class com.tnsai.metadata.RoleSpecReader.RoleSpec.MemoryMeta
- MemoryNamespace - Record Class in com.tnsai.memory
-
Defines a hierarchical memory namespace as workspace:session.
- MemoryNamespace(String, String) - Constructor for record class com.tnsai.memory.MemoryNamespace
-
Canonical constructor with null/blank validation.
- Memory Operations - Search tag in package com.tnsai.memory
- Section
- memoryQuery(String) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets the query for memory semantic search.
- MemoryResolution(MemoryStore, MemoryConsolidationPipeline, String) - Constructor for record class com.tnsai.memory.AgentMemoryResolver.MemoryResolution
-
Creates an instance of a
MemoryResolutionrecord class. - memorySearchLimit(int) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets the max results for memory search.
- MemorySpec - Annotation Interface in com.tnsai.annotations
-
Memory configuration annotation for Agents.
- MemorySpec.MemoryType - Enum Class in com.tnsai.annotations
-
Memory types.
- MemorySpec.Persistence - Enum Class in com.tnsai.annotations
-
Persistence backends.
- MemorySpec.PruneStrategy - Enum Class in com.tnsai.annotations
-
Pruning strategies.
- MemoryStats(int, int, int, int, int, int, String) - Constructor for record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
-
Creates an instance of a
MemoryStatsrecord class. - memoryStore - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- memoryStore() - Method in record class com.tnsai.agents.validation.ValidationContext
-
Returns the value of the
memoryStorerecord component. - memoryStore() - Method in record class com.tnsai.memory.AgentMemoryResolver.MemoryResolution
-
Returns the value of the
memoryStorerecord component. - memoryStore(MemoryStore) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the memory store for conversation history.
- memoryStore(MemoryStore) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets the memory store for conversation history and semantic search.
- MemoryStore - Interface in com.tnsai.memory
-
Abstraction for agent memory (conversation history).
- MemoryStoreFactory - Class in com.tnsai.memory
-
Factory for creating MemoryStore instances based on
MemorySpecannotation. - Memory Store Implementations - Search tag in package com.tnsai.memory
- Section
- MemoryStoreReachabilityValidator - Class in com.tnsai.agents.validation.validators
-
AGENT-V010 — opt-in reachability probe for the configured
MemoryStore. - MemoryStoreReachabilityValidator() - Constructor for class com.tnsai.agents.validation.validators.MemoryStoreReachabilityValidator
- MemoryStrategy - Interface in com.tnsai.memory.strategy
-
Strategy for managing conversation memory within token limits.
- MemoryTier - Enum Class in com.tnsai.memory.strategy
-
Tiers in the memory consolidation pipeline.
- merge(Entity, ConflictResolution) - Method in class com.tnsai.context.entity.Entity
-
Merges this entity with another, using the specified conflict resolution strategy.
- merge(List<Security>) - Static method in record class com.tnsai.security.SecurityFeatures
-
Merges declarations as
SecurityFeatures.of(Object, Method)does. - MERGE_RATIONALE - Static variable in interface com.tnsai.models.agent.DesireConflictResolver
-
Strategy that merges all desires into one with combined rationale.
- mergeEntities(List<Entity>, ConflictResolution) - Method in interface com.tnsai.context.entity.EntityResolver
-
Merges multiple entities that represent the same real-world entity.
- mermaid(String, String) - Static method in record class com.tnsai.events.ArtifactEvent
-
Creates a mermaid diagram artifact event.
- MERMAID - Enum constant in enum class com.tnsai.events.ArtifactEvent.ArtifactType
- message() - Method in record class com.tnsai.agents.async.ChatEvent.Error
-
Returns the value of the
messagerecord component. - message() - Method in record class com.tnsai.agents.validation.ValidationIssue
-
Returns the value of the
messagerecord component. - message() - Element in annotation interface com.tnsai.annotations.Contract
-
Custom message for contract violations.
- message() - Method in record class com.tnsai.context.decision.DecisionOutcome.OutcomeError
-
Returns the value of the
messagerecord component. - message() - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Returns the value of the
messagerecord component. - message() - Method in record class com.tnsai.events.ErrorEvent
-
Returns the value of the
messagerecord component. - message() - Method in record class com.tnsai.events.StatusEvent
-
Returns the value of the
messagerecord component. - message() - Method in record class com.tnsai.hooks.events.OnNotification
-
Returns the value of the
messagerecord component. - message() - Method in record class com.tnsai.idempotency.IdempotencyEntry.FailureSnapshot
-
Returns the value of the
messagerecord component. - message() - Method in record class com.tnsai.metadata.ContractSpec
-
Returns the value of the
messagerecord component. - message() - Method in record class com.tnsai.observability.errors.CauseInfo
-
Returns the value of the
messagerecord component. - message() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
messagerecord component. - message() - Element in annotation interface com.tnsai.parser.OutputValidator.Max
- message() - Element in annotation interface com.tnsai.parser.OutputValidator.MaxLength
- message() - Element in annotation interface com.tnsai.parser.OutputValidator.Min
- message() - Element in annotation interface com.tnsai.parser.OutputValidator.MinLength
- message() - Element in annotation interface com.tnsai.parser.OutputValidator.NotEmpty
- message() - Element in annotation interface com.tnsai.parser.OutputValidator.Pattern
- message() - Element in annotation interface com.tnsai.parser.OutputValidator.Required
- message() - Element in annotation interface com.tnsai.parser.OutputValidator.Size
- message() - Method in record class com.tnsai.reliability.Outcome.Suspended
-
Returns the value of the
messagerecord component. - message() - Method in class com.tnsai.resilience.recovery.RecoveryDecision
- message(AgentMessage) - Method in class com.tnsai.communication.AcknowledgedMessage.Builder
-
Sets the message to be acknowledged.
- message(String) - Method in class com.tnsai.llm.ChatRequest.Builder
-
Sets the text message.
- message(String) - Method in class com.tnsai.metadata.ContractSpec.Builder
- message(String) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- message(String, String, String) - Static method in record class com.tnsai.agents.groups.GroupEvent
-
Creates a message event.
- Message - Class in com.tnsai.protocols.models
-
TnsAI Native Message - The fundamental unit of inter-agent communication.
- Message(String, String, String, String, Object, Map<String, Object>, long) - Constructor for record class com.tnsai.spi.MessageBroker.Message
-
Creates an instance of a
Messagerecord class. - MESSAGE - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
General message broadcast
- Message.MessageType - Enum Class in com.tnsai.protocols.models
-
Message type defines the communication paradigm.
- MessageAcknowledger - Interface in com.tnsai.communication
-
Interface for acknowledging messages.
- MessageAcknowledger.AckStatistics - Interface in com.tnsai.communication
-
Statistics about acknowledgment operations.
- MessageBroker - Interface in com.tnsai.spi
-
Abstraction for agent-to-agent message passing.
- MessageBroker.Message - Record Class in com.tnsai.spi
-
Message container for inter-agent communication.
- MessageCallbackDispatcher - Class in com.tnsai.protocols.callbacks
-
Dispatches incoming messages to annotated callback methods in Roles.
- MessageCallbackDispatcher() - Constructor for class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
- MessageCallbackDispatcher.CallbackInvocationException - Exception Class in com.tnsai.protocols.callbacks
-
Exception thrown when a callback invocation fails in FAIL_FAST mode.
- MessageCallbackDispatcher.FailureStrategy - Enum Class in com.tnsai.protocols.callbacks
-
Strategy for handling callback failures.
- messageCount() - Method in record class com.tnsai.hooks.events.SessionEnd
-
Returns the value of the
messageCountrecord component. - messageCount(int) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- MessageHandler - Annotation Interface in com.tnsai.protocols.annotations
-
Marks a method as a message handler for agent communication.
- MessageHandler.ErrorStrategy - Enum Class in com.tnsai.protocols.annotations
-
Error handling strategies.
- messageId() - Method in record class com.tnsai.events.TextDeltaEvent
-
Returns the value of the
messageIdrecord component. - MessageParams - Class in com.tnsai.protocols.models
-
Message parameters container extending HashMap for cleaner API.
- MessageParams() - Constructor for class com.tnsai.protocols.models.MessageParams
-
Creates empty MessageParams.
- messageParts(List<ContentPart>) - Method in class com.tnsai.llm.ChatRequest.Builder
-
Sets multimodal content parts.
- messages() - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Returns the value of the
messagesrecord component. - messagesExchanged() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns the value of the
messagesExchangedrecord component. - Message Structure - Search tag in class com.tnsai.protocols.models.Message
- Section
- messageType() - Element in annotation interface com.tnsai.protocols.annotations.OnMessageReceived
-
Filter by specific message type string (e.g., "QUERY.ASK", "TASK.REQUEST").
- MessageType - Enum Class in com.tnsai.protocols.annotations
-
Message type filter for @OnMessageReceived annotation.
- MessageTypeMarker - Interface in com.tnsai.communication
-
Marker interface for all message type enums.
- messageTypes() - Element in annotation interface com.tnsai.annotations.Communication.Messaging
-
Message types to handle.
- Message Types - Search tag in class com.tnsai.protocols.models.Message
- Section
- Message with BDI Context - Search tag in class com.tnsai.protocols.models.Message
- Section
- messaging() - Element in annotation interface com.tnsai.annotations.Communication
-
Messaging configuration.
- MESSAGING - Enum constant in enum class com.tnsai.tools.SideEffect
-
Sends a user-visible message on any channel (email, chat, SMS, push, social posting).
- MESSAGING_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Out-of-band chat / SMS notifications.
- META_PROMPTING - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Meta-prompting.
- metadata() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns the value of the
metadatarecord component. - metadata() - Element in annotation interface com.tnsai.annotations.EventEmitter
-
Event metadata key-value pairs.
- metadata() - Method in record class com.tnsai.events.ApprovalRequestEvent
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.events.ArtifactEvent
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.hooks.events.PreChat
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.identity.AgentDescriptor
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.payment.Service
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.rag.DocumentBlock
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.rag.DocumentInput
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.rag.ExtractedDocument
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.rag.NormalizedDocumentChunker.Chunk
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.rag.RetrievalEvidence
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningResult
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.reliability.Checkpoint
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.spi.CognitiveModel.Belief
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.spi.CognitiveModel.CognitiveState
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.spi.ToolRegistry.ToolRegistryEntry
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.state.Checkpointer.CheckpointTuple
-
Returns the value of the
metadatarecord component. - metadata(String, Object) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- metadata(String, Object) - Method in class com.tnsai.context.entity.Entity.Builder
- metadata(String, Object) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- metadata(String, Object) - Method in class com.tnsai.knowledge.Document.Builder
-
Adds a metadata entry.
- metadata(String, Object) - Method in class com.tnsai.llm.ChatRequest.Builder
-
Adds a metadata entry.
- metadata(String, Object) - Method in class com.tnsai.resilience.ResilienceRequest.Builder
- metadata(String, Object) - Method in class com.tnsai.spi.ToolRegistry.ToolRegistryEntry.Builder
- metadata(Map<String, Object>) - Method in class com.tnsai.agents.groups.GroupEvent.Builder
- metadata(Map<String, Object>) - Method in class com.tnsai.communication.SharedBlackboard.Entry.Builder
- metadata(Map<String, Object>) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- metadata(Map<String, Object>) - Method in class com.tnsai.context.entity.Entity.Builder
- metadata(Map<String, Object>) - Method in class com.tnsai.context.entity.EntitySource.Builder
- metadata(Map<String, Object>) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- metadata(Map<String, Object>) - Method in class com.tnsai.knowledge.Document.Builder
-
Adds multiple metadata entries.
- metadata(Map<String, Object>) - Method in class com.tnsai.resilience.dlq.DeadLetterEntry.Builder
- metadata(Map<String, Object>) - Method in class com.tnsai.resilience.ResilienceRequest.Builder
- metadata(Map<String, String>) - Method in class com.tnsai.identity.AgentDescriptor.Builder
- METADATA_KEY - Static variable in class com.tnsai.rag.IngestionFingerprint
-
Metadata key written onto each ingested chunk.
- metadataFilters() - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns the value of the
metadataFiltersrecord component. - metadataFilters() - Method in record class com.tnsai.rag.RetrievalRequest
-
Returns the value of the
metadataFiltersrecord component. - metadataFilters(Map<String, String>) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- metadataFilters(Map<String, String>) - Method in class com.tnsai.rag.RetrievalRequest.Builder
- Metered - Annotation Interface in com.tnsai.annotations
-
Collects latency, call count, and error rate metrics for a method.
- MeteredHandle - Class in com.tnsai.resilience
-
Per-invocation handle for a
@Meteredaction — opened byMeteredResolver.start(com.tnsai.metadata.ActionMetadata, com.tnsai.roles.Role)immediately before action dispatch and closed in afinallyblock. - MeteredResolver - Class in com.tnsai.resilience
-
Resolves the
@Meteredannotation on an action method or its declaring Role class and produces aMeteredHandleto wrap the dispatch. - method() - Element in annotation interface com.tnsai.annotations.DIDSpec
-
DID method.
- method() - Element in annotation interface com.tnsai.annotations.WebService
-
HTTP method for the request.
- method() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns the value of the
methodrecord component. - method() - Method in record class com.tnsai.identity.DIDConfig
-
Returns the value of the
methodrecord component. - method() - Method in record class com.tnsai.tools.method.StaticToolMethod
-
Returns the value of the
methodrecord component. - methodName() - Method in record class com.tnsai.hooks.events.OnCapabilityDispatch
-
Returns the value of the
methodNamerecord component. - Method Signature - Search tag in annotation interface com.tnsai.protocols.annotations.MessageHandler
- Section
- metric() - Element in annotation interface com.tnsai.annotations.Memory.Vector
-
Similarity metric.
- metric(String, Object) - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- Metric Categories - Search tag in annotation interface com.tnsai.annotations.EvalMetric
- Section
- MetricEvent(String, double, Instant) - Constructor for record class com.tnsai.eval.hooks.EvalContext.MetricEvent
-
Creates an instance of a
MetricEventrecord class. - metrics(Map<String, Object>) - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- MetricSnapshot(String, long, long, long, Map<Long, Long>) - Constructor for record class com.tnsai.resilience.ResilienceMetrics.MetricSnapshot
-
Creates an instance of a
MetricSnapshotrecord class. - MetricStats(String, int, double, double, double, double, double, double, double) - Constructor for record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Creates an instance of a
MetricStatsrecord class. - mightConflict(Desire, Desire) - Method in interface com.tnsai.models.agent.DesireConflictResolver
-
Checks if two desires might conflict with each other.
- mightConflictWith(Belief) - Method in class com.tnsai.models.agent.Belief
-
Checks if this belief conflicts with another (same topic, different content).
- Migration from Template Methods - Search tag in annotation interface com.tnsai.roles.annotations.RoleDeclaration
- Section
- mimeType() - Method in record class com.tnsai.models.chat.AudioPart
-
Returns the value of the
mimeTyperecord component. - mimeType() - Method in record class com.tnsai.models.chat.ImagePart
-
Returns the value of the
mimeTyperecord component. - mimeType() - Method in record class com.tnsai.models.chat.VideoPart
-
Returns the value of the
mimeTyperecord component. - min() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Returns the value of the
minrecord component. - min() - Element in annotation interface com.tnsai.parser.OutputValidator.Size
- minChars() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Minimum output length in characters.
- minChars() - Method in record class com.tnsai.guardrails.OutputGuardrailConfig
-
Returns the value of the
minCharsrecord component. - minChars(int) - Method in class com.tnsai.guardrails.OutputGuardrailConfig.Builder
- MINI - Enum constant in enum class com.tnsai.enums.AgentVariant
-
Minimal quality variant.
- minimal(String, String, String) - Static method in record class com.tnsai.hooks.HookContext
-
Convenience for tests / sample contexts where only the agent identity matters and every other field is empty.
- MINIMAL - Enum constant in enum class com.tnsai.agents.variant.VariantSpec.ToolSet
-
Minimal tool set (essential tools only)
- MINIMAL - Enum constant in enum class com.tnsai.annotations.Communication.Verbosity
- MINIMAX_ABAB65S - Static variable in class com.tnsai.llm.ModelCapabilities
-
MiniMax abab6.5s-chat - Balanced performance
- MINIMAX_ABAB65T - Static variable in class com.tnsai.llm.ModelCapabilities
-
MiniMax abab6.5t-chat - Turbo model for fast responses
- MINIMAX_M2 - Static variable in class com.tnsai.llm.ModelCapabilities
-
MiniMax M2 - Flagship model with 1M context
- MINIMAX_M21 - Static variable in class com.tnsai.llm.ModelCapabilities
-
MiniMax M2.1 - Enhanced multilingual model
- miniSpec() - Static method in class com.tnsai.agents.variant.VariantSpec
-
MINI variant: Fast and efficient configuration.
- minLength() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Minimum input length in characters.
- minLength() - Method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Returns the value of the
minLengthrecord component. - minLength(int) - Method in class com.tnsai.guardrails.InputGuardrailConfig.Builder
- minMembers() - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Returns the value of the
minMembersrecord component. - minMembers(int) - Method in class com.tnsai.agents.groups.GroupPolicy.Builder
- minMessagesToKeep(int) - Method in class com.tnsai.memory.strategy.TokenBudget.Builder
-
Minimum number of messages to keep.
- minScore() - Element in annotation interface com.tnsai.annotations.QualityGate
-
Minimum acceptable score (0.0-1.0).
- minScore() - Element in annotation interface com.tnsai.annotations.Search
-
Minimum relevance score (0.0 - 1.0).
- minScore() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
minScorerecord component. - minScore() - Method in class com.tnsai.rag.SearchSettings
- minScore(double) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- minScore(double) - Method in class com.tnsai.rag.SearchSettings.Builder
- minSimilarity() - Element in annotation interface com.tnsai.annotations.Memory.Vector
-
Minimum similarity threshold (0.0 - 1.0).
- minVoters() - Element in annotation interface com.tnsai.annotations.Coordination.Consensus
-
Minimum voters required for valid consensus.
- MISS - Enum constant in enum class com.tnsai.rag.RetrievalDiagnostics.CacheOutcome
- MISSING - Enum constant in enum class com.tnsai.exceptions.KnowledgeNotReadyException.Problem
-
The configured file does not exist.
- missingCapabilities() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipValidation
-
Returns the value of the
missingCapabilitiesrecord component. - missingCapabilities(List<String>) - Static method in record class com.tnsai.agents.groups.MembershipManager.MembershipValidation
- MISTRAL - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
- MISTRAL_LARGE - Static variable in class com.tnsai.llm.ModelCapabilities
-
Mistral Large capabilities
- mode() - Method in record class com.tnsai.rag.KnowledgeUsage
-
Returns the value of the
moderecord component. - model() - Method in record class com.tnsai.agents.async.ChatEvent.Started
-
Returns the value of the
modelrecord component. - model() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
LLM model name.
- model() - Method in record class com.tnsai.identity.AgentDescriptor
-
Returns the value of the
modelrecord component. - model() - Method in record class com.tnsai.llm.LLMResolver.LLMSpec
-
Returns the value of the
modelrecord component. - model() - Method in interface com.tnsai.llm.LLMSpecSource
-
Returns the model name/identifier.
- model() - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Returns the value of the
modelrecord component. - model() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns the value of the
modelrecord component. - model(String) - Method in class com.tnsai.identity.AgentDescriptor.Builder
- MODEL_NOT_FOUND - Enum constant in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Model not found or unavailable
- MODEL_OVERLOADED - Enum constant in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Model overloaded, try again
- MODEL_TOOL_CALL - Enum constant in enum class com.tnsai.events.SkillActivationEvent.Source
-
Model invoked the synthetic
invoke_skilltool. - ModelCapabilities - Class in com.tnsai.llm
-
Default implementation of LLMCapabilities with builder pattern.
- ModelCapabilities() - Constructor for class com.tnsai.llm.ModelCapabilities
- Model Categories - Search tag in package com.tnsai.models
- Section
- Model Classes - Search tag in package com.tnsai.models.agent
- Section
- Model Classes - Search tag in package com.tnsai.models.role
- Section
- ModelFamily - Enum Class in com.tnsai.prompt
-
Coarse-grained classification of LLM model families for prompt shading (issue #13).
- ModelInfo - Record Class in com.tnsai.llm
-
Represents information about an LLM model from a provider's API.
- ModelInfo(String, String, String, Instant, Optional<String>, Optional<Integer>, Optional<Long>, Optional<String>, Optional<LLMCapabilities>) - Constructor for record class com.tnsai.llm.ModelInfo
-
Creates an instance of a
ModelInforecord class. - ModelInfo.Builder - Class in com.tnsai.llm
- modelName(String) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets the model name for model-aware token estimation.
- modelNotFound(String) - Static method in exception class com.tnsai.exceptions.LLMException
-
Factory method for model not found errors.
- modelOverloaded(String) - Static method in exception class com.tnsai.exceptions.LLMException
-
Factory method for model overloaded errors.
- Model Profiles - Search tag in interface com.tnsai.llm.LLMCapabilities
- Section
- modelVisibleContent(Document) - Static method in enum class com.tnsai.rag.ChunkContext
-
Returns the model-visible body of a stored document.
- modelVisibleContent(String, Map<String, ?>) - Static method in enum class com.tnsai.rag.ChunkContext
-
Returns the model-visible chunk body: the stored display body when present, otherwise the indexed content.
- MODERATE - Enum constant in enum class com.tnsai.enums.agent.Verbosity
- moderateContent() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Whether to enable content moderation.
- moderateContent() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Whether to enable content moderation on output.
- MODIFIED - Enum constant in enum class com.tnsai.context.snapshot.SnapshotDiff.ChangeType
- Modify(E, String) - Constructor for record class com.tnsai.hooks.HookResult.Modify
-
Creates an instance of a
Modifyrecord class. - MONGO_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
MongoDB read access.
- MONOTONIC_CONCESSION - Enum constant in enum class com.tnsai.annotations.Coordination.NegotiationType
-
Monotonic concession - decreasing offers until agreement.
- MOST_RECENT - Enum constant in enum class com.tnsai.context.entity.ConflictResolution
-
Use the most recently observed value.
- MULTI_PERSPECTIVE - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Multi-perspective analysis.
- MULTI_QUERY - Enum constant in enum class com.tnsai.annotations.Search.QueryExpansion
-
Generate related questions
- MULTI_QUERY - Enum constant in enum class com.tnsai.annotations.Search.Strategy
-
Generate multiple query variations
- Multimodal Message Flow - Search tag in package com.tnsai.models.chat
- Section
- Multimodal Support - Search tag in interface com.tnsai.llm.LLMClient
- Section
- Multiple Parameters - Search tag in annotation interface com.tnsai.annotations.LLMParam
- Section
- multiplier() - Element in annotation interface com.tnsai.annotations.Resilience.Retry
-
Backoff multiplier for exponential backoff.
- multiplier(double) - Method in class com.tnsai.resilience.RetryPolicy.Builder
- MULTIPLY - Enum constant in enum class com.tnsai.annotations.Effect.Operation
-
Multiply numeric state by value.
- MUST_LOAD - Enum constant in enum class com.tnsai.annotations.KnowledgePolicy.Presence
-
The source loads from its declared path: a missing file fails the load, and an empty one loads as no content.
- mustAlways() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Constraints describing what this action must always do (liveness properties).
- mustAlways() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.ResponsibilityInfo
-
Returns the value of the
mustAlwaysrecord component. - mustNever() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Constraints describing what this action must never do (safety properties).
- mustNever() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.ResponsibilityInfo
-
Returns the value of the
mustNeverrecord component.
N
- NACK - Enum constant in enum class com.tnsai.communication.AckMessageType
-
Negative acknowledgment - message received but processing failed.
- name - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- name() - Method in record class com.tnsai.accountability.Action
-
Returns the value of the
namerecord component. - name() - Method in class com.tnsai.agents.Agent
-
Returns the human-readable agent name (derived from class name).
- name() - Element in annotation interface com.tnsai.agents.annotations.AgentIdentity
-
The unique name identifying this agent.
- name() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
namerecord component. - name() - Element in annotation interface com.tnsai.annotations.EvalMetric
-
The name of the metric.
- name() - Element in annotation interface com.tnsai.annotations.Goal
-
Unique name identifying this goal.
- name() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Knowledge name, unique within the declaring Agent or Role.
- name() - Element in annotation interface com.tnsai.annotations.LLMParam
-
Parameter name as seen by LLM.
- name() - Element in annotation interface com.tnsai.annotations.Metered
-
Custom metric name.
- name() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
Role name.
- name() - Element in annotation interface com.tnsai.annotations.SkillSpec
-
Unique skill name (lowercase).
- name() - Element in annotation interface com.tnsai.annotations.State
-
Custom name for the state field.
- name() - Element in annotation interface com.tnsai.annotations.Tool
-
Tool name surfaced to the LLM.
- name() - Element in annotation interface com.tnsai.annotations.ToolParam
-
Parameter name surfaced to the LLM.
- name() - Method in record class com.tnsai.context.decision.DecisionReasoning.Alternative
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.context.entity.EntityAttribute
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.VariableChange
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricEvent
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Returns the value of the
namerecord component. - name() - Method in class com.tnsai.hooks.external.ExternalScriptHook
- name() - Method in record class com.tnsai.memory.advanced.Skill
-
Returns the value of the
namerecord component. - name() - Method in class com.tnsai.memory.vector.InMemoryVectorStoreProvider
- name() - Method in interface com.tnsai.memory.vector.VectorStoreProvider
-
Provider key, compared case-insensitively to
VectorMemory.provider(). - name() - Method in record class com.tnsai.metadata.ActionConfig
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.payment.Service
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.prompt.strategy.EnhancedResponse.ThinkingPhase
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.rag.KnowledgeEntry
- name() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
namerecord component. - name() - Method in interface com.tnsai.reasoning.ReasoningStrategyHandle
-
Returns the strategy name (e.g., "react", "tot", "got", "self-consistency").
- name() - Method in record class com.tnsai.reliability.DefaultResumableRun.Step
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.resilience.ResilienceMetrics.MetricSnapshot
-
Returns the value of the
namerecord component. - name() - Element in annotation interface com.tnsai.roles.annotations.RoleDeclaration
-
The unique name identifying this role.
- name() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.ResponsibilityInfo
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateInfo
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateValue
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.skills.ActiveSkill
- name() - Method in record class com.tnsai.skills.Skill
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.skills.SkillManager.SlashCommand
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.spi.CheckpointerFactory.ProviderInfo
-
Returns the value of the
namerecord component. - name() - Method in interface com.tnsai.spi.CheckpointerProvider
-
Returns the unique name of this provider.
- name() - Method in interface com.tnsai.spi.ResilienceStrategy
-
Returns the name of this strategy for logging/monitoring.
- name() - Method in record class com.tnsai.spi.ToolRegistry.ToolParameter
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.spi.ToolRegistry.ToolRegistryEntry
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.tools.method.DynamicToolMethod
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.tools.method.StaticToolMethod
-
Returns the value of the
namerecord component. - name() - Method in interface com.tnsai.tools.method.ToolMethod
-
LLM-facing tool name.
- name() - Method in record class com.tnsai.tools.method.ToolParameter
-
Returns the value of the
namerecord component. - name(String) - Method in class com.tnsai.agents.groups.AgentGroupBuilder
-
Sets the group name.
- name(String) - Method in class com.tnsai.agents.groups.GroupTask.Builder
- name(String) - Method in class com.tnsai.context.entity.EntitySource.Builder
- name(String) - Method in class com.tnsai.hooks.external.ExternalScriptHook.Builder
- name(String) - Method in class com.tnsai.roles.RoleBuilder
- name(String) - Method in class com.tnsai.spi.ToolRegistry.ToolRegistryEntry.Builder
- NAME - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.PIIType
- Name Derivation - Search tag in annotation interface com.tnsai.annotations.AgentSpec
- Section
- Name Resolution - Search tag in annotation interface com.tnsai.agents.annotations.AgentIdentity
- Section
- names() - Method in class com.tnsai.actions.ActionParams
-
Gets all parameter names.
- namespace() - Element in annotation interface com.tnsai.annotations.Memory
-
Memory namespace/scope.
- namespace() - Method in record class com.tnsai.memory.AgentMemoryResolver.MemoryResolution
-
Returns the value of the
namespacerecord component. - NamespacedMemoryStore - Class in com.tnsai.memory
-
Memory store with hierarchical namespace support.
- NamespacedMemoryStore() - Constructor for class com.tnsai.memory.NamespacedMemoryStore
-
Creates a NamespacedMemoryStore with
MemoryNamespace.GLOBALas the default. - NamespacedMemoryStore(MemoryNamespace) - Constructor for class com.tnsai.memory.NamespacedMemoryStore
-
Creates a NamespacedMemoryStore with the given default namespace.
- namespacesGrantedTo(String) - Method in class com.tnsai.memory.SharedMemoryRegistry
-
Returns the namespaces the given agent was granted access to via
SharedMemoryRegistry.grantAccess(String, String). - Naming - Search tag in annotation interface com.tnsai.annotations.ToolParam
- Section
- Naming conventions - Search tag in interface com.tnsai.agents.validation.Validator
- Section
- NATURAL_LANGUAGE - Enum constant in enum class com.tnsai.context.assembler.TokenEstimator.ContentType
-
Natural language text (prose, chat messages).
- Natural Language Message - Search tag in class com.tnsai.protocols.models.Message
- Section
- navigatorModel() - Element in annotation interface com.tnsai.annotations.Search
-
Exact, case-sensitive model identifier used by the tree-navigation provider when
Search.strategy()isSearch.Strategy.REASONING. - navigatorModel() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
navigatorModelrecord component. - navigatorModel() - Method in class com.tnsai.rag.SearchSettings
- navigatorModel(String) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- navigatorModel(String) - Method in class com.tnsai.rag.SearchSettings.Builder
- NEEDS_REVIEW - Enum constant in enum class com.tnsai.guardrails.GuardrailViolationException.Cause
-
The
onFailurepolicy wasREVIEW— value is held pending out-of-band human inspection. - needsInputWindow() - Method in record class com.tnsai.rag.KnowledgeSelection
- negative() - Element in annotation interface com.tnsai.annotations.ToolExample
-
Whether this is a negative example (showing what NOT to do).
- negative(String, String) - Method in class com.tnsai.communication.DefaultMessageAcknowledger
- negative(String, String) - Method in interface com.tnsai.communication.MessageAcknowledger
-
Sends a negative acknowledgment (NACK) for the given correlation ID.
- NEGATIVE_ACK - Enum constant in enum class com.tnsai.communication.AckResult.Status
-
Message was negatively acknowledged (NACK).
- negativeAck(String, Instant, String, AgentMessage) - Static method in class com.tnsai.communication.AckResult
-
Creates a negative acknowledgment result.
- negativeExample(String, String, String) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Adds a negative (bad) example with explanation of why it's wrong.
- negotiation() - Element in annotation interface com.tnsai.annotations.Coordination
-
Negotiation configuration for this agent.
- Nesting - Search tag in class com.tnsai.observability.events.AgentContext
- Section
- NETWORK - Enum constant in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
-
Network-related errors (connection timeout, DNS failure, etc.)
- NETWORK - Enum constant in enum class com.tnsai.tools.SideEffect
-
Initiates outbound network requests (HTTP, gRPC, WebSocket, etc.).
- NETWORK - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Network connectivity issue
- networkError(String, Throwable) - Static method in exception class com.tnsai.tools.spi.ToolException
-
Create a network error.
- NetworkException - Exception Class in com.tnsai.exceptions
-
Exception for network-related errors (connection failures, DNS issues, etc.).
- NetworkException(String) - Constructor for exception class com.tnsai.exceptions.NetworkException
- NetworkException(String, Throwable) - Constructor for exception class com.tnsai.exceptions.NetworkException
- NetworkException(String, Throwable, String, Integer) - Constructor for exception class com.tnsai.exceptions.NetworkException
- NEUTRAL - Enum constant in enum class com.tnsai.annotations.Communication.Formality
- NEUTRAL - Enum constant in enum class com.tnsai.annotations.Communication.Tone
- NEUTRAL - Enum constant in enum class com.tnsai.enums.agent.Formality
- newestSnapshot() - Method in record class com.tnsai.context.snapshot.SnapshotStore.SnapshotStoreStatistics
-
Returns the value of the
newestSnapshotrecord component. - newestTrace() - Method in record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Returns the value of the
newestTracerecord component. - newEvent() - Method in record class com.tnsai.hooks.HookResult.Modify
-
Returns the value of the
newEventrecord component. - newValue() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.VariableChange
-
Returns the value of the
newValuerecord component. - newValue() - Method in record class com.tnsai.events.BDIUpdateEvent
-
Returns the value of the
newValuerecord component. - next(ChatRetrievalContext) - Method in interface com.tnsai.rag.ChatKnowledgeContext
-
Gives this turn's blocks: each DIRECT source whole.
- nextDelay(Duration) - Method in class com.tnsai.resilience.RetryPolicy
-
Calculates the next backoff duration using exponential growth with jitter.
- NO_AUTH - Enum constant in enum class com.tnsai.enums.AuthType
-
No authentication required.
- noBulkhead() - Method in class com.tnsai.resilience.ResilienceRequest.Builder
-
Disables bulkhead isolation.
- none() - Static method in interface com.tnsai.cancellation.CancellationToken
-
Singleton no-op token that never cancels.
- none() - Static method in class com.tnsai.resilience.recovery.RecoveryDecision
- NONE - Enum constant in enum class com.tnsai.accountability.LiabilityClass
-
Internal, no observable side effect.
- NONE - Enum constant in enum class com.tnsai.agents.variant.VariantSpec.ToolSet
-
No tools
- NONE - Enum constant in enum class com.tnsai.annotations.Contract.InheritanceMode
-
No inheritance - only local contracts apply
- NONE - Enum constant in enum class com.tnsai.annotations.Coordination.Consensus.Strategy
-
No consensus needed
- NONE - Enum constant in enum class com.tnsai.annotations.Coordination.NegotiationType
-
No negotiation.
- NONE - Enum constant in enum class com.tnsai.annotations.IdempotencyHint
-
No idempotency tracking.
- NONE - Enum constant in enum class com.tnsai.annotations.MemorySpec.PruneStrategy
-
Never prune (may cause errors)
- NONE - Enum constant in enum class com.tnsai.annotations.Search.QueryExpansion
-
No expansion
- NONE - Enum constant in enum class com.tnsai.annotations.Security.AuditLevel
-
No audit logging
- NONE - Enum constant in enum class com.tnsai.annotations.SideEffect
-
Pure function.
- NONE - Enum constant in enum class com.tnsai.idempotency.KeyStrategy
-
No idempotency protection.
- NONE - Enum constant in enum class com.tnsai.llm.LLMResolver.ResolutionSource
-
No LLM found in the chain
- NONE - Enum constant in enum class com.tnsai.rag.ChunkContext
-
No prefix.
- NONE - Enum constant in enum class com.tnsai.resilience.recovery.RecoveryDecision.Action
- NONE - Static variable in interface com.tnsai.agents.groups.LeaderElectionStrategy
-
No election - returns null.
- NONE - Static variable in record class com.tnsai.guardrails.InputGuardrailConfig
-
No-guardrail sentinel — same observable effect as no
@InputGuardrailpresent. - NONE - Static variable in record class com.tnsai.guardrails.OutputGuardrailConfig
-
No-guardrail sentinel — same observable effect as no
@OutputGuardrailpresent. - NONE - Static variable in record class com.tnsai.metadata.ContractSpec
-
No contract — empty gates.
- NONE - Static variable in record class com.tnsai.resilience.ResilienceConfig
-
No resilience policy.
- NONE - Static variable in record class com.tnsai.security.SecurityFeatures
-
No feature declared.
- noOp() - Static method in interface com.tnsai.context.ContextManagerHandle
-
Returns a no-op implementation that silently ignores all operations.
- noOp() - Static method in interface com.tnsai.feedback.FeedbackCollector
-
Returns a no-op implementation that silently ignores all operations.
- noOp() - Static method in interface com.tnsai.payment.PaymentBroker
-
Returns the null-object broker: quotes at
0.00 USD, settlements succeed instantly. - noOp() - Static method in interface com.tnsai.spi.ResilienceStrategy
-
Returns a no-op strategy that executes operations directly.
- NOOP - Static variable in interface com.tnsai.eval.hooks.EvalHandle
-
No-op implementation used when tnsai-quality is absent.
- NOOP - Static variable in class com.tnsai.resilience.MeteredHandle
-
No-op handle returned for actions without
@Metered. - NOOP - Static variable in class com.tnsai.resilience.TracedSpan
-
No-op span returned for actions without
@Traced. - NOOP - Static variable in interface com.tnsai.security.SecurityEnforcerHandle
-
No-op implementation used when tnsai-quality is absent.
- NoOpPaymentBroker - Class in com.tnsai.payment
-
PaymentBrokerthat prices everything at 0.00 USD and settles instantly (TNS-298). - NoOpPaymentBroker() - Constructor for class com.tnsai.payment.NoOpPaymentBroker
- NoOpPaymentBroker(Duration) - Constructor for class com.tnsai.payment.NoOpPaymentBroker
- noRateLimit() - Method in class com.tnsai.resilience.ResilienceRequest.Builder
-
Disables rate limiting.
- noRetryOn() - Element in annotation interface com.tnsai.annotations.Resilience.Retry
-
Exception types to NOT retry on.
- Norm - Annotation Interface in com.tnsai.annotations
-
Defines a social norm (obligation, prohibition, or permission) for a role.
- NORMAL - Enum constant in enum class com.tnsai.agents.groups.GroupTask.Priority
- NORMAL - Enum constant in enum class com.tnsai.annotations.Communication.Verbosity
- NORMAL - Enum constant in enum class com.tnsai.enums.agent.Priority
- NORMAL - Enum constant in enum class com.tnsai.enums.AgentVariant.Speed
-
Normal speed
- normalise(String) - Static method in interface com.tnsai.agents.execution.ToolCallBatchPartitioner.ToolCallClassifier
-
Canonicalises a path for overlap comparison.
- Normalization rules - Search tag in class com.tnsai.observability.errors.StackTraceNormalizer
- Section
- normalize(String) - Static method in interface com.tnsai.spi.ToolRegistry
-
Returns the canonical key for a tool name.
- normalize(Throwable) - Static method in class com.tnsai.observability.errors.StackTraceNormalizer
-
Normalize a throwable's stack trace into a stable string form.
- NormalizedDocumentChunker - Class in com.tnsai.rag
-
Splits normalized documents and source files into stable retrieval units.
- NormalizedDocumentChunker.Chunk - Record Class in com.tnsai.rag
-
One stable retrieval unit.
- Norms - Annotation Interface in com.tnsai.annotations
-
Container for repeatable
Normannotations. - NormType - Enum Class in com.tnsai.annotations
-
Types of social norms based on deontic logic.
- NOT_FOUND - Enum constant in enum class com.tnsai.context.entity.EntityResolutionResult.ResolutionStatus
-
Entity was not found in any source
- NOT_FOUND - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Resource not found
- notAfter() - Method in record class com.tnsai.identity.Attestation
-
Returns the value of the
notAfterrecord component. - notFound(String) - Static method in record class com.tnsai.context.entity.EntityResolutionResult
-
Creates a result where entity was not found.
- NotificationKind - Enum Class in com.tnsai.hooks.events
-
Type of user-attention event carried by
OnNotification(issue #60). - notifyActivity() - Method in class com.tnsai.agents.Agent
- notifyActivity() - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- NOTION_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Notion API.
- now() - Static method in interface com.tnsai.events.TnsAIEvent
-
Returns the current timestamp.
- Null Handling - Search tag in class com.tnsai.actions.TypeConverter
- Section
- NUMBERED_LIST - Enum constant in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
O
- O1 - Static variable in class com.tnsai.llm.ModelCapabilities
-
OpenAI o1 (reasoning) capabilities
- objective() - Method in record class com.tnsai.models.agent.Desire
-
Returns the value of the
objectiverecord component. - objective(String) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Sets the high-level objective.
- Object layout - Search tag in class com.tnsai.reliability.S3CheckpointStore
- Section
- objectMapper(ObjectMapper) - Method in class com.tnsai.parser.JsonOutputParser.Builder
-
Sets a custom ObjectMapper.
- OBLIGATION - Enum constant in enum class com.tnsai.annotations.NormType
-
The agent MUST perform this action when the condition holds.
- observedAt() - Method in record class com.tnsai.context.entity.EntityAttribute
-
Returns the value of the
observedAtrecord component. - OBSERVER - Enum constant in enum class com.tnsai.annotations.Coordination.CoordinationRole
-
Observes but doesn't participate
- of(Search) - Static method in class com.tnsai.rag.SearchSettings
-
The members a
Searchdeclaration gives. - of(AgentMessage) - Static method in class com.tnsai.communication.AcknowledgedMessage
-
Creates an AcknowledgedMessage wrapping the given message with default settings.
- of(AgentMessage, Duration) - Static method in class com.tnsai.communication.AcknowledgedMessage
-
Creates an AcknowledgedMessage with a specific timeout.
- of(ActionType, String, String) - Static method in record class com.tnsai.accountability.Action
-
Convenience: action with no target and no parameters.
- of(Class<?>) - Static method in class com.tnsai.annotations.ClassConfig
-
The configuration of a class, read on first use after the last
ClassConfig.useBaseDirectory(java.nio.file.Path)call. - of(Object) - Static method in record class com.tnsai.spi.MessageBroker.Message
-
Creates a simple message with payload only.
- of(Object, Method) - Static method in record class com.tnsai.security.SecurityFeatures
-
Resolves the features of an action on its target.
- of(String) - Static method in record class com.tnsai.actions.model.ActionRequest
-
Creates an ActionRequest with no parameters.
- of(String) - Static method in record class com.tnsai.agents.groups.GroupTask
-
Creates a simple task with just a name.
- of(String) - Static method in record class com.tnsai.context.decision.DecisionPolicy.PolicyRule
-
Creates a simple rule.
- of(String) - Static method in record class com.tnsai.context.decision.DecisionReasoning.ReasoningStep
-
Creates a simple step.
- of(String) - Static method in class com.tnsai.context.entity.EntitySource
-
Creates a simple source with just an ID.
- of(String) - Static method in record class com.tnsai.events.ThoughtEvent
-
Creates a thought event with current timestamp and auto-generated ID.
- of(String) - Static method in record class com.tnsai.exceptions.ProviderDetails
-
Construct minimal details — just the provider id.
- of(String) - Static method in record class com.tnsai.hooks.HookMatcher.Regex
-
Convenience: compile the pattern from a string.
- of(String) - Static method in class com.tnsai.knowledge.Document
-
Creates a simple document with just content.
- of(String) - Static method in class com.tnsai.llm.ChatRequest
-
Creates a simple text-only request.
- of(String) - Static method in record class com.tnsai.llm.LLMResolver.LLMSpec
-
Creates a config with just a model name.
- of(String) - Static method in record class com.tnsai.planning.PlannerHandle.PlanStep
-
Creates a simple plan step with just an action name.
- of(String) - Static method in class com.tnsai.protocols.models.AgentEndpoint
-
Creates endpoint with agent ID only.
- of(String) - Static method in record class com.tnsai.spi.CognitiveModel.Belief
- of(String) - Static method in record class com.tnsai.spi.CognitiveModel.Goal
- of(String...) - Static method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Creates a configuration that auto-joins the given groups with the default member role.
- of(String, double) - Static method in record class com.tnsai.spi.CognitiveModel.Belief
- of(String, float) - Static method in record class com.tnsai.llm.LLMResolver.LLMSpec
-
Creates a config with model and temperature.
- of(String, int) - Static method in record class com.tnsai.spi.CognitiveModel.Goal
- of(String, EntitySource.SourceType) - Static method in class com.tnsai.context.entity.EntitySource
-
Creates a source with ID and type.
- of(String, EntityType) - Static method in class com.tnsai.context.entity.Entity
-
Creates a simple entity with ID and type.
- of(String, Object, String) - Static method in record class com.tnsai.context.entity.EntityAttribute
-
Creates an attribute with default confidence (1.0) and current timestamp.
- of(String, String) - Static method in record class com.tnsai.agents.groups.GroupTask
-
Creates a task with name and description.
- of(String, String) - Static method in record class com.tnsai.context.decision.DecisionOutcome.OutcomeError
-
Creates a simple error.
- of(String, String) - Static method in record class com.tnsai.context.decision.DecisionReasoning.ReasoningStep
-
Creates a step with type.
- of(String, String) - Static method in record class com.tnsai.events.TextDeltaEvent
-
Creates a text delta event for an assistant message.
- of(String, String) - Static method in record class com.tnsai.events.ThoughtEvent
-
Creates a thought event with a step identifier.
- of(String, String) - Static method in class com.tnsai.llm.ChatRequest
-
Creates a request with system prompt.
- of(String, String) - Static method in record class com.tnsai.llm.ModelInfo
-
Creates a simple ModelInfo with just id and provider.
- of(String, String) - Static method in record class com.tnsai.memory.MemoryNamespace
-
Creates a namespace with the given workspace and session.
- of(String, String) - Static method in class com.tnsai.protocols.models.AgentEndpoint
-
Creates endpoint with agent ID and role ID.
- of(String, String) - Static method in record class com.tnsai.rag.RetrievalScope
-
Creates a scope from nullable identity values.
- of(String, String) - Static method in record class com.tnsai.spi.CognitiveModel.Action
- of(String, String) - Static method in record class com.tnsai.spi.FlagContext
- of(String, String) - Static method in record class com.tnsai.tools.ToolExample
-
Creates a simple tool example.
- of(String, String, boolean, Map<String, Object>, DynamicToolMethod.Handler) - Static method in record class com.tnsai.tools.method.DynamicToolMethod
-
Backward-compatible factory matching the pre-0.11.1 5-arg shape — defaults the safety/discovery fields to the safe "no claim" values (
requiresConfirmation=false, emptykeywords), so existing callers behave exactly as before. - of(String, String, SkillActivationEvent.Source, List<String>) - Static method in record class com.tnsai.events.SkillActivationEvent
- of(String, String, Object) - Static method in class com.tnsai.knowledge.Document
-
Creates a document with content and a single metadata entry.
- of(String, String, String) - Static method in record class com.tnsai.events.ErrorEvent
-
Creates an error event.
- of(String, String, String) - Static method in record class com.tnsai.events.RunStartEvent
-
Creates a run start event with auto-generated run ID.
- of(String, String, String) - Static method in record class com.tnsai.events.TextDeltaEvent
-
Creates a text delta event with custom role.
- of(String, String, String) - Static method in record class com.tnsai.identity.DIDConfig
-
Convenience factory for the common case — method, domain and agent id, with the remaining fields left at their defaults.
- of(String, String, String) - Static method in record class com.tnsai.llm.ModelInfo
-
Creates a ModelInfo with id, provider, and owner.
- of(String, String, String, String...) - Static method in record class com.tnsai.planning.PlannerHandle.PlanStep
-
Creates a plan step with fulfills information.
- of(String, String, String, String, String) - Static method in record class com.tnsai.events.RunStartEvent
-
Creates a run start event.
- of(String, String, String, Map<String, String>) - Static method in class com.tnsai.observability.errors.ErrorFingerprint
-
Compute the fingerprint from already-prepared inputs.
- of(String, String, Map<String, Object>) - Static method in record class com.tnsai.events.ApprovalRequestEvent
-
Creates an approval request event.
- of(String, String, Map<String, Object>) - Static method in record class com.tnsai.events.ToolCallStartEvent
-
Creates a tool call start event.
- of(String, Map<String, Object>) - Static method in record class com.tnsai.actions.model.ActionRequest
-
Creates an ActionRequest with the given name and parameters.
- of(String, Map<String, Object>) - Static method in record class com.tnsai.events.ToolCallStartEvent
-
Creates a tool call start event with auto-generated tool call ID.
- of(String, Map<String, Object>) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a UI component event with the specified type and payload.
- of(Throwable) - Static method in record class com.tnsai.observability.errors.CauseInfo
-
Build a
CauseInfofrom a throwable. - of(Throwable, String, Map<String, String>) - Static method in class com.tnsai.observability.errors.ErrorFingerprint
-
Convenience: derive
stackTraceDigestfrom the throwable's normalized stack viaStackTraceNormalizer. - of(Path, String, String) - Static method in class com.tnsai.annotations.ClassConfig.RunFile
-
A run file whose keys match lazily.
- of(Collection<? extends ContentExtractor>) - Static method in class com.tnsai.rag.ContentExtractorRegistry
-
Creates an explicit registry, primarily for application registration and deterministic contract tests.
- of(List<Map<String, Object>>) - Static method in record class com.tnsai.events.AgentHierarchyEvent
-
Creates a new AgentHierarchyEvent from a pre-built list of agent nodes.
- OFF - Enum constant in enum class com.tnsai.skills.SkillResolverPolicy
-
Skill layer disabled.
- ofQuery(String) - Static method in class com.tnsai.context.decision.DecisionInput
-
Creates a simple input with just a query.
- ofRun(Class<?>) - Static method in class com.tnsai.annotations.ClassConfig
-
The run file
Agentssection the current run gives a class, matched asClassConfig.levels(java.lang.Class<?>, java.lang.Class<?>)matches it. - old(expr) handling - Search tag in class com.tnsai.actions.contracts.ContractValidator
- Section
- oldestMemberJoinedAt() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipStats
-
Returns the value of the
oldestMemberJoinedAtrecord component. - oldestSnapshot() - Method in record class com.tnsai.context.snapshot.SnapshotStore.SnapshotStoreStatistics
-
Returns the value of the
oldestSnapshotrecord component. - oldestTrace() - Method in record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Returns the value of the
oldestTracerecord component. - oldValue() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.VariableChange
-
Returns the value of the
oldValuerecord component. - oldValue() - Method in record class com.tnsai.events.BDIUpdateEvent
-
Returns the value of the
oldValuerecord component. - OLLAMA - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
- OnActionError - Record Class in com.tnsai.hooks.events
-
Fires when an action throws during execution (issue #59).
- OnActionError(String, Instant, HookContext, ActionRequest, Throwable, ActionType, int, boolean) - Constructor for record class com.tnsai.hooks.events.OnActionError
-
Creates an instance of a
OnActionErrorrecord class. - onAfterChat(EvalContext, String, long) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called after processing a chat message.
- onAfterToolCall(EvalContext, String, Object, boolean, long) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called after executing a tool call.
- onAgentCommunication(EvalContext, String, String, String, long) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called when inter-agent communication occurs.
- onAgentStart(EvalContext, String, String) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called when agent starts a session.
- onAgentStop(EvalContext, String) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called when agent stops.
- onBeforeChat(EvalContext, String) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called before processing a chat message.
- onBeforeToolCall(EvalContext, String, Map<String, Object>) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called before executing a tool call.
- onBehalfOf() - Method in class com.tnsai.security.InvocationContext
- onCacheHit() - Element in annotation interface com.tnsai.idempotency.Idempotent
-
What to do when a retry hits the cache.
- onCancel(Runnable) - Method in interface com.tnsai.cancellation.CancellationToken
-
Register a callback to fire when (or if) the token is cancelled.
- OnCapabilityDispatch - Record Class in com.tnsai.hooks.events
-
Fires when
ActionExecutordispatches a method that originated from a@Capabilityinterface (issue #60). - OnCapabilityDispatch(String, Instant, HookContext, String, String, List<Object>, ActionType) - Constructor for record class com.tnsai.hooks.events.OnCapabilityDispatch
-
Creates an instance of a
OnCapabilityDispatchrecord class. - onChange(Consumer<Percept>) - Method in class com.tnsai.environment.CompositeEnvironment
- onChange(Consumer<Percept>) - Method in interface com.tnsai.environment.Environment
-
Registers a listener for environment changes.
- onChange(Consumer<Percept>) - Method in class com.tnsai.environment.InMemoryEnvironment
- OnChunk - Record Class in com.tnsai.hooks.events
-
Fires for each
ChatChunkduring streaming (issue #60). - OnChunk(String, Instant, HookContext, ChatChunk, long) - Constructor for record class com.tnsai.hooks.events.OnChunk
-
Creates an instance of a
OnChunkrecord class. - onEnvironmentChangeWithRoles(Percept, String, List<Role>) - Method in class com.tnsai.agents.AgentCognitiveSupport
-
Handles environment change with access to roles for state extraction.
- onError() - Element in annotation interface com.tnsai.annotations.EventEmitter
-
Event name to emit on error/exception.
- onError() - Element in annotation interface com.tnsai.protocols.annotations.MessageHandler
-
Error handling strategy.
- onError(EvalContext, Throwable, String) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called when an error occurs.
- onFail() - Element in annotation interface com.tnsai.annotations.QualityGate
-
Action when the quality gate fails.
- onFailure() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Action to take on validation failure.
- onFailure() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Action to take on validation failure.
- onFailure() - Element in annotation interface com.tnsai.annotations.Search
-
Fallback behavior if retrieval fails at runtime.
- onFailure() - Method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Returns the value of the
onFailurerecord component. - onFailure() - Method in record class com.tnsai.guardrails.OutputGuardrailConfig
-
Returns the value of the
onFailurerecord component. - onFailure() - Method in class com.tnsai.hooks.external.ExternalScriptHook
- onFailure() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
onFailurerecord component. - onFailure() - Method in class com.tnsai.rag.SearchSettings
- onFailure(InputGuardrail.FailureAction) - Method in class com.tnsai.guardrails.InputGuardrailConfig.Builder
- onFailure(OutputGuardrail.FailureAction) - Method in class com.tnsai.guardrails.OutputGuardrailConfig.Builder
- onFailure(Search.FallbackAction) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- onFailure(Search.FallbackAction) - Method in class com.tnsai.rag.SearchSettings.Builder
- onFailure(ScriptFailurePolicy) - Method in class com.tnsai.hooks.external.ExternalScriptHook.Builder
- onGoalCompleted(EvalContext, String, boolean, Map<String, Object>) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called when a goal is completed (success or failure).
- onGroupDissolved(String) - Method in interface com.tnsai.agents.groups.GroupLifecycleListener
-
Called when group dissolves.
- onGroupStarted(String) - Method in interface com.tnsai.agents.groups.GroupLifecycleListener
-
Called when group starts.
- onGroupStopped(String) - Method in interface com.tnsai.agents.groups.GroupLifecycleListener
-
Called when group stops.
- onIdle() - Method in class com.tnsai.memory.MemoryConsolidationPipeline
-
Lifecycle hook: called when the agent becomes idle.
- onInterrupt(Consumer<InterruptEvent>) - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Registers a callback for interrupt events.
- onLeaderElected(String, Agent) - Method in interface com.tnsai.agents.groups.MembershipListener
-
Called when a leader is elected.
- onLeaderResigned(String, String) - Method in interface com.tnsai.agents.groups.MembershipListener
-
Called when leader resigns.
- onLifecycleChanged(String, GroupLifecycle, GroupLifecycle) - Method in interface com.tnsai.agents.groups.GroupLifecycleListener
-
Called when group lifecycle state changes.
- onMemberFailed(String, String) - Method in interface com.tnsai.agents.groups.MembershipListener
-
Called when a member fails health check.
- onMemberJoined(String, Agent) - Method in interface com.tnsai.agents.groups.MembershipListener
-
Called when an agent joins the group.
- onMemberLeft(String, String, String) - Method in interface com.tnsai.agents.groups.MembershipListener
-
Called when an agent leaves the group.
- onMemoryAccess(EvalContext, String, String, int, long) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called when memory is accessed.
- OnMessageReceived - Annotation Interface in com.tnsai.protocols.annotations
-
Marks a method as a callback for receiving messages.
- OnNotification - Record Class in com.tnsai.hooks.events
-
Fires when an agent needs user attention (issue #60): a confirmation prompt, a long-running status update, an error the user should see asynchronously, or an idle re-engagement signal.
- OnNotification(String, Instant, HookContext, NotificationKind, String, Optional<Duration>) - Constructor for record class com.tnsai.hooks.events.OnNotification
-
Creates an instance of a
OnNotificationrecord class. - onPause(Runnable) - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Registers a callback for pause events.
- onPlanCompleted(EvalContext, boolean, int, int, long) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called when plan execution completes (all steps finished or a step failed).
- onPlanFailed(EvalContext, String, String) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called when plan generation fails.
- onPlanGenerated(EvalContext, String, List<PlannerHandle.PlanStep>, long) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called when a plan is generated for a goal.
- onPlanStepExecuted(EvalContext, String, boolean, long) - Method in interface com.tnsai.eval.hooks.EvalHook
-
Called when a single plan step is executed.
- onResume(Runnable) - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Registers a callback for resume events.
- onSessionEnd() - Method in class com.tnsai.memory.MemoryConsolidationPipeline
-
Lifecycle hook: called when the agent session ends.
- OnSessionIdle - Record Class in com.tnsai.hooks.events
-
Fires when a session has been idle past the configured threshold (issue #63).
- OnSessionIdle(String, Instant, HookContext, String, Duration, IdleAction) - Constructor for record class com.tnsai.hooks.events.OnSessionIdle
-
Creates an instance of a
OnSessionIdlerecord class. - OnSPILoad - Record Class in com.tnsai.hooks.events
-
Fires when a
ServiceLoader-discovered provider is loaded (issue #63). - OnSPILoad(String, Instant, HookContext, String, String, ClassLoader, Optional<String>, boolean) - Constructor for record class com.tnsai.hooks.events.OnSPILoad
-
Creates an instance of a
OnSPILoadrecord class. - OnStateTransition - Record Class in com.tnsai.hooks.events
-
Fires on an agent FSM state change (issue #60).
- OnStateTransition(String, Instant, HookContext, AgentState, AgentState, String) - Constructor for record class com.tnsai.hooks.events.OnStateTransition
-
Creates an instance of a
OnStateTransitionrecord class. - onSuccess() - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Handles a successful operation.
- onSuccess() - Method in class com.tnsai.resilience.recovery.AgentRecoveryManager
- onToolCallComplete(String, Object, boolean, long) - Method in interface com.tnsai.agents.execution.ToolCallListener
-
Called after a tool call completes (success or failure).
- onToolCallStart(String, Map<String, Object>) - Method in interface com.tnsai.agents.execution.ToolCallListener
-
Called before a tool call is executed.
- onVariantChange(Consumer<VariantManager.VariantChangeEvent>) - Method in class com.tnsai.agents.variant.VariantManager
-
Registers a listener for variant changes.
- open() - Static method in class com.tnsai.rag.KnowledgeScope
-
Opens a new, independent knowledge-source lifetime.
- open(VectorMemory) - Method in class com.tnsai.memory.vector.InMemoryVectorStoreProvider
- open(VectorMemory) - Method in interface com.tnsai.memory.vector.VectorStoreProvider
-
Opens the vector store described by the annotation.
- open(ActionMetadata, Role, Map<String, Object>) - Static method in class com.tnsai.resilience.TracedResolver
-
Opens a traced span for the given action invocation.
- OPENAI - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
- operation() - Element in annotation interface com.tnsai.annotations.Effect
-
The operation to perform on the state.
- operation() - Method in record class com.tnsai.events.BDIUpdateEvent
-
Returns the value of the
operationrecord component. - operation() - Method in record class com.tnsai.observability.events.Breadcrumbs.Breadcrumb
-
Returns the value of the
operationrecord component. - operation() - Method in record class com.tnsai.state.Checkpointer.Write
-
Returns the value of the
operationrecord component. - operation(Callable<T>) - Method in class com.tnsai.resilience.ResilienceRequest.Builder
- operationId(String) - Method in class com.tnsai.resilience.dlq.DeadLetterEntry.Builder
- operationId(String) - Method in class com.tnsai.resilience.ResilienceRequest.Builder
- operationName() - Element in annotation interface com.tnsai.annotations.Traced
-
Custom operation name for the trace span.
- Operations - Search tag in annotation interface com.tnsai.annotations.Effect
- Section
- OPPORTUNITY - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- OPTIMAL - Enum constant in enum class com.tnsai.enums.AgentVariant.Cost
-
Optimal cost based on task
- optimizationCount() - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
-
Returns the value of the
optimizationCountrecord component. - optimize() - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
-
Manually triggers optimization.
- optimizedMessageCount() - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
-
Returns the value of the
optimizedMessageCountrecord component. - optimizedTokenEstimate() - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
-
Returns the value of the
optimizedTokenEstimaterecord component. - optimizeThreshold(int) - Method in class com.tnsai.memory.strategy.ManagedConversationMemory.Builder
-
Percentage of budget at which to trigger optimization.
- OPTIONAL - Enum constant in enum class com.tnsai.annotations.IdempotencyHint
-
Idempotency tracking is supported but not required.
- Optional Configurations - Search tag in annotation interface com.tnsai.annotations.ActionSpec
- Section
- Optional dep - Search tag in class com.tnsai.reliability.SqliteCheckpointStore
- Section
- Optional dependency - Search tag in class com.tnsai.idempotency.RedisIdempotencyStore
- Section
- Optional dependency - Search tag in class com.tnsai.reliability.RedisCheckpointStore
- Section
- Optional dependency - Search tag in class com.tnsai.reliability.S3CheckpointStore
- Section
- optionalParameter(String, String, String, Object) - Method in class com.tnsai.spi.ToolRegistry.ToolRegistryEntry.Builder
- OPTIONS - Enum constant in enum class com.tnsai.enums.HttpMethod
- orchestrator() - Element in annotation interface com.tnsai.annotations.Coordination
-
Orchestrator agent ID (for workers).
- ORCHESTRATOR - Enum constant in enum class com.tnsai.annotations.Coordination.CoordinationRole
-
Manages and distributes tasks
- order() - Element in annotation interface com.tnsai.annotations.EventHandler
-
Execution order when multiple handlers match.
- order() - Element in annotation interface com.tnsai.annotations.Lifecycle
-
Execution order within the same phase.
- order() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns the value of the
orderrecord component. - ORDER - Enum constant in enum class com.tnsai.context.entity.EntityType
-
Order/transaction entity
- orElse(ModelFamily) - Method in enum class com.tnsai.prompt.ModelFamily
-
Returns
otherifprimary == OTHER, elseprimary. - ORGANIZATION - Enum constant in enum class com.tnsai.context.entity.EntityType
-
Organization entity (company, team)
- origin() - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Returns the value of the
originrecord component. - origin() - Method in record class com.tnsai.rag.NormalizedDocumentChunker.Chunk
-
Returns the value of the
originrecord component. - orThrow(String) - Method in record class com.tnsai.llm.LLMResolver.ResolutionResult
-
Gets the LLM or throws if none found.
- otelSeverityNumber() - Method in enum class com.tnsai.observability.events.EventLevel
- OTHER - Enum constant in enum class com.tnsai.context.entity.EntitySource.SourceType
-
Other/custom source type
- OTHER - Enum constant in enum class com.tnsai.prompt.ModelFamily
-
Unknown / unmapped.
- OTHER_AGENT - Enum constant in enum class com.tnsai.enums.ExecutionCaller
-
A request forwarded by a different agent.
- otherAgent(AccessSubject, AccessSubject, String, AuthorityScope) - Static method in class com.tnsai.security.InvocationContext
-
Trusted peer ingress.
- outcome() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Returns the value of the
outcomerecord component. - outcome(DecisionOutcome) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- Outcome<T> - Interface in com.tnsai.reliability
-
Terminal result of a
ResumableRun.execute(I, com.tnsai.reliability.RunConfig)orResumableRun.resume(java.lang.String)call (TNS-299). - Outcome.Aborted<T> - Record Class in com.tnsai.reliability
-
Orchestrator policy stopped the run; cause is the
AbortReason. - Outcome.Completed<T> - Record Class in com.tnsai.reliability
-
Run finished its step list.
- Outcome.Failed<T> - Record Class in com.tnsai.reliability
-
A step threw and the orchestrator exhausted retries.
- Outcome.Suspended<T> - Record Class in com.tnsai.reliability
-
Run yielded cleanly at a step boundary.
- OutcomeError(String, String, String, boolean) - Constructor for record class com.tnsai.context.decision.DecisionOutcome.OutcomeError
-
Creates an instance of a
OutcomeErrorrecord class. - output() - Element in annotation interface com.tnsai.annotations.ToolExample
-
Expected output or result description.
- output() - Method in record class com.tnsai.parser.RetryableParser.ParseAttempt
-
Returns the value of the
outputrecord component. - output() - Method in record class com.tnsai.prompt.strategy.PromptEnhancer.Example
-
Returns the value of the
outputrecord component. - OUTPUT - Enum constant in enum class com.tnsai.guardrails.GuardrailViolationException.Stage
-
Caught by
OutputGuardrailEnforcerafter the action body returned. - outputFormat(PromptEnhancer.OutputFormat) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Sets the output format.
- OutputFormat - Enum Class in com.tnsai.output
-
Supported output formats for structured agent responses.
- OutputFormatSpec - Annotation Interface in com.tnsai.annotations
-
Specifies the output format for structured responses from agents or actions.
- outputGuardrail() - Method in record class com.tnsai.metadata.ActionConfig
-
Returns the value of the
outputGuardrailrecord component. - outputGuardrail(OutputGuardrailConfig) - Method in class com.tnsai.roles.RoleBuilder
-
Sets this role's class-level output guardrail (TNS-561) — the programmatic equivalent of a class-level
@OutputGuardrail. - OutputGuardrail - Annotation Interface in com.tnsai.annotations
-
Configures output validation and formatting for actions.
- OutputGuardrail.FailureAction - Enum Class in com.tnsai.annotations
-
Actions on guardrail failure.
- OutputGuardrail.OutputFormat - Enum Class in com.tnsai.annotations
-
Output format types.
- OutputGuardrail.PIIType - Enum Class in com.tnsai.annotations
-
PII (Personally Identifiable Information) types.
- OutputGuardrailConfig - Record Class in com.tnsai.guardrails
-
Programmatic counterpart of
@OutputGuardrail(TNS-561) — lets a builder-builtRole(which has no annotation to read) opt into output guardrails viaRoleBuilder.outputGuardrail(...). - OutputGuardrailConfig(int, int, OutputGuardrail.FailureAction, String, boolean) - Constructor for record class com.tnsai.guardrails.OutputGuardrailConfig
-
Creates an instance of a
OutputGuardrailConfigrecord class. - OutputGuardrailConfig.Builder - Class in com.tnsai.guardrails
-
Fluent builder; unset fields take the
@OutputGuardraildefaults. - OutputGuardrailEnforcer - Class in com.tnsai.guardrails
-
Resolves the active output guardrail for an action and enforces it against the executor's return value immediately after the action body completes.
- OutputParser<T> - Interface in com.tnsai.parser
-
Type-safe output parser interface for parsing LLM responses into structured Java objects.
- OutputSerializationException - Exception Class in com.tnsai.output
-
Exception thrown when output serialization or deserialization fails.
- OutputSerializationException(String, OutputFormat) - Constructor for exception class com.tnsai.output.OutputSerializationException
- OutputSerializationException(String, OutputFormat, Class<?>) - Constructor for exception class com.tnsai.output.OutputSerializationException
- OutputSerializationException(String, Throwable, OutputFormat) - Constructor for exception class com.tnsai.output.OutputSerializationException
- OutputSerializationException(String, Throwable, OutputFormat, Class<?>) - Constructor for exception class com.tnsai.output.OutputSerializationException
- OutputSerializer - Interface in com.tnsai.output
-
Interface for serializing structured data to various output formats.
- OutputSerializerRegistry - Class in com.tnsai.output
-
Registry and factory for output serializers.
- OutputValidator - Class in com.tnsai.parser
-
Validates parsed output objects against field constraints.
- OutputValidator() - Constructor for class com.tnsai.parser.OutputValidator
- OutputValidator.Max - Annotation Interface in com.tnsai.parser
-
Specifies maximum numeric value.
- OutputValidator.MaxLength - Annotation Interface in com.tnsai.parser
-
Specifies maximum string length.
- OutputValidator.Min - Annotation Interface in com.tnsai.parser
-
Specifies minimum numeric value.
- OutputValidator.MinLength - Annotation Interface in com.tnsai.parser
-
Specifies minimum string length.
- OutputValidator.NotEmpty - Annotation Interface in com.tnsai.parser
-
Marks a field as must not be empty.
- OutputValidator.Pattern - Annotation Interface in com.tnsai.parser
-
Specifies a regex pattern for string validation.
- OutputValidator.Required - Annotation Interface in com.tnsai.parser
-
Marks a field as required (must not be null).
- OutputValidator.Size - Annotation Interface in com.tnsai.parser
-
Specifies size constraints for collections, arrays, or strings.
- OVER_MAX_LENGTH - Enum constant in enum class com.tnsai.guardrails.GuardrailViolationException.Cause
-
Value's character length exceeded
maxLength/maxChars. - OVERLAP_LINES - Static variable in class com.tnsai.rag.NormalizedDocumentChunker
-
Lines repeated from the previous fixed-size window. 15% of
NormalizedDocumentChunker.MAX_LINES_PER_CHUNK; not applied across semantic boundaries orLINE/HEADINGunits. - overridden(String) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- ownAgentLevel(Class<?>) - Static method in class com.tnsai.annotations.ClassConfig
- ownedBy() - Method in record class com.tnsai.llm.ModelInfo
-
Returns the value of the
ownedByrecord component. - ownedBy(String) - Method in class com.tnsai.llm.ModelInfo.Builder
- owner() - Element in annotation interface com.tnsai.agents.annotations.AgentIdentity
-
Organization or team that owns this agent.
- OWNER_ID_FILTER - Static variable in record class com.tnsai.rag.ChatRetrievalContext
- ownerId() - Method in class com.tnsai.rag.ChatKnowledgeBinding
-
Returns the stable owner identity.
- Ownership - Search tag in package com.tnsai.rag
- Section
- ownRoleLevel(Class<?>) - Static method in class com.tnsai.annotations.ClassConfig
- ownsDeadlineEnforcement() - Method in interface com.tnsai.rag.RetrievalEngine.Retriever
-
Declares that this backend owns deadline checks because they must participate in its clock and failure-policy boundary.
P
- P256 - Enum constant in enum class com.tnsai.annotations.DIDSpec.KeyType
-
P-256 (NIST curve)
- p50() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Returns the value of the
p50record component. - p90() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Returns the value of the
p90record component. - p99() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Returns the value of the
p99record component. - Package Structure - Search tag in package com.tnsai
- Section
- parallelChat(String, List<LLMClient>) - Method in class com.tnsai.agents.ensemble.AgentEnsembleExecutor
-
Sends message to multiple LLMs in parallel and collects all responses.
- ParallelLLM - Class in com.tnsai.llm
-
Parallel LLM execution utilities.
- ParallelLLM.LLMResult - Record Class in com.tnsai.llm
-
Result of a parallel LLM call.
- ParallelLLM.ParallelResults - Record Class in com.tnsai.llm
-
Aggregated results from multiple LLMs.
- parallelPipeline(String) - Method in class com.tnsai.agents.async.AsyncMsgHub
-
Executes a parallel pipeline where all agents process simultaneously.
- ParallelResults(List<ParallelLLM.LLMResult>, long) - Constructor for record class com.tnsai.llm.ParallelLLM.ParallelResults
-
Creates an instance of a
ParallelResultsrecord class. - ParamBeanMapper - Class in com.tnsai.actions
-
Reflectively maps a typed input bean (Java
recordor POJO with accessors / public fields) to aMap<String, Object>suitable for the framework's existingexecuteAction(String, Map)dispatch path. - parameter(ToolRegistry.ToolParameter) - Method in class com.tnsai.spi.ToolRegistry.ToolRegistryEntry.Builder
- parameter(String, Object) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- parameter(String, String, String) - Method in class com.tnsai.spi.ToolRegistry.ToolRegistryEntry.Builder
- PARAMETER - Enum constant in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
-
Parameter validation errors (missing parameter, wrong type, etc.)
- Parameter Conversion - Search tag in class com.tnsai.actions.ActionExecutor
- Section
- Parameter Flow - Search tag in class com.tnsai.actions.ActionParams
- Section
- Parameter metadata - Search tag in class com.tnsai.tools.method.ToolMethodRegistry
- Section
- parameterName() - Method in exception class com.tnsai.guardrails.GuardrailViolationException
- parameterNames(ActionMetadata) - Static method in class com.tnsai.metadata.ActionParams
-
Returns the declared parameter names of
action, in declaration order. - parameters() - Method in record class com.tnsai.accountability.Action
-
Returns the value of the
parametersrecord component. - parameters() - Method in record class com.tnsai.actions.model.ActionRequest
-
Returns the value of the
parametersrecord component. - parameters() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
parametersrecord component. - parameters() - Method in record class com.tnsai.events.ApprovalRequestEvent
-
Returns the value of the
parametersrecord component. - parameters() - Method in record class com.tnsai.metadata.ActionConfig
-
Returns the value of the
parametersrecord component. - parameters() - Method in record class com.tnsai.spi.CognitiveModel.Action
-
Returns the value of the
parametersrecord component. - parameters() - Method in record class com.tnsai.spi.CognitiveModel.Goal
-
Returns the value of the
parametersrecord component. - parameters() - Method in record class com.tnsai.spi.ToolRegistry.ToolRegistryEntry
-
Returns the value of the
parametersrecord component. - parameters() - Method in record class com.tnsai.tools.method.DynamicToolMethod
- parameters() - Method in record class com.tnsai.tools.method.StaticToolMethod
-
Returns the value of the
parametersrecord component. - parameters() - Method in interface com.tnsai.tools.method.ToolMethod
-
Parameter metadata in declaration order.
- parameters(Map<String, Object>) - Method in class com.tnsai.agents.groups.GroupTask.Builder
- parameters(Map<String, Object>) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- parameters(Map<String, Object>) - Method in class com.tnsai.security.approval.ApprovalToken.Builder
-
Sets the action parameters.
- parameterSchema(ToolParameter) - Static method in class com.tnsai.tools.method.JsonSchemaGenerator
-
Build the schema for a single parameter — type + description + enum constraints when applicable.
- parametersSchema() - Method in record class com.tnsai.tools.method.DynamicToolMethod
-
Returns the value of the
parametersSchemarecord component. - parametersSchema() - Method in record class com.tnsai.tools.method.StaticToolMethod
- parametersSchema() - Method in interface com.tnsai.tools.method.ToolMethod
-
The JSON-Schema fragment for
function.parameters(OpenAI) /input_schema(Anthropic). - parametersSchema(ToolMethod) - Static method in class com.tnsai.tools.method.JsonSchemaGenerator
-
Build the full
parametersobject for a tool method — the value that goes underfunction.parametersin OpenAI's tool definition (orinput_schemain Anthropic's). - parametersSchema(Map<String, Object>) - Method in class com.tnsai.tools.method.DynamicToolMethod.Builder
- ParamSpec - Class in com.tnsai.metadata
-
Immutable metadata about a method parameter.
- ParamSpec(String, Class<?>, boolean, String, String, int) - Constructor for class com.tnsai.metadata.ParamSpec
-
Creates parameter metadata.
- paramType() - Element in annotation interface com.tnsai.annotations.WebService
-
How method parameters are passed.
- paramType() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
paramTyperecord component. - ParamType - Enum Class in com.tnsai.enums.role
-
Represents how parameters are sent in web service calls.
- parent() - Method in class com.tnsai.agents.hierarchy.HierarchyBuilder
-
Moves context back to the parent of the current agent.
- parentId(String) - Method in class com.tnsai.communication.SharedBlackboard.Entry.Builder
- parentTraceId(String) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- parse(String) - Static method in class com.tnsai.identity.DID
-
Parse DID from string.
- parse(String) - Method in class com.tnsai.parser.FormatAwareOutputParser
- parse(String) - Method in class com.tnsai.parser.JsonOutputParser
- parse(String) - Method in interface com.tnsai.parser.OutputParser
-
Parses the raw LLM output into the target type.
- parse(String) - Method in class com.tnsai.parser.RetryableParser
- parse(String) - Static method in class com.tnsai.prompt.strategy.EnhancedResponse
-
Parses an LLM response to extract structured information.
- parse(String, String) - Static method in class com.tnsai.skills.SkillMdParser
- parse(Path) - Static method in class com.tnsai.skills.SkillMdParser
-
Same as
SkillMdParser.parse(String, String)but reads the document from disk. - PARSE_ERROR - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Failed to parse response
- ParseAttempt(String, boolean, String) - Constructor for record class com.tnsai.parser.RetryableParser.ParseAttempt
-
Creates an instance of a
ParseAttemptrecord class. - parseError(String, String, Throwable) - Static method in exception class com.tnsai.tools.spi.ToolException
-
Create a parse error.
- ParseException - Exception Class in com.tnsai.parser
-
Exception thrown when LLM output cannot be parsed into the expected type.
- ParseException(String) - Constructor for exception class com.tnsai.parser.ParseException
-
Creates a new parse exception.
- ParseException(String, String) - Constructor for exception class com.tnsai.parser.ParseException
- ParseException(String, String, String) - Constructor for exception class com.tnsai.parser.ParseException
-
Creates a new parse exception with expected format.
- ParseException(String, String, Throwable) - Constructor for exception class com.tnsai.parser.ParseException
-
Creates a new parse exception with a cause.
- parseOptional(String) - Method in interface com.tnsai.parser.OutputParser
-
Parses the output, returning empty Optional on failure.
- parseOrThrow(String) - Method in interface com.tnsai.parser.OutputParser
-
Parses the output, throwing an exception on failure.
- ParseResult<T> - Class in com.tnsai.parser
-
Result of a parsing operation, containing either a successfully parsed value or error details.
- parseSlashCommand(String) - Method in class com.tnsai.skills.SkillManager
-
Detect whether
userMessagestarts with a/skill-name [args]prefix and, if so, return a parsedSkillManager.SlashCommand. - parseWithRetry(String, Function<String, String>) - Method in class com.tnsai.parser.RetryableParser
-
Parses with automatic retry using the provided LLM function.
- partial() - Static method in class com.tnsai.context.decision.DecisionOutcome
-
Creates a builder for a partial success.
- PARTIAL - Enum constant in enum class com.tnsai.context.decision.DecisionOutcome.OutcomeStatus
-
Decision partially succeeded
- partition(List<ChatResponse.ToolCall>) - Method in class com.tnsai.agents.execution.ToolCallBatchPartitioner
-
Partitions
callsinto ordered parallel groups. - partitionFingerprint() - Method in record class com.tnsai.security.AccessRequest
-
Returns the value of the
partitionFingerprintrecord component. - PASSPORT - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.PIIType
- PATCH - Enum constant in enum class com.tnsai.enums.HttpMethod
- path() - Element in annotation interface com.tnsai.annotations.Config
-
The file.
- path() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Directory or file the corpus is read from.
- path() - Method in record class com.tnsai.prompt.ProjectContextLoader.ProjectContext
-
Returns the value of the
pathrecord component. - path() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
pathrecord component. - path(String) - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
- PATH - Enum constant in enum class com.tnsai.enums.role.ParamType
- Path overlap - Search tag in class com.tnsai.agents.execution.ToolCallBatchPartitioner
- Section
- paths() - Method in record class com.tnsai.skills.Skill
-
Returns the value of the
pathsrecord component. - paths(List<String>) - Method in class com.tnsai.skills.Skill.Builder
- pathsFor(ChatResponse.ToolCall) - Method in interface com.tnsai.agents.execution.ToolCallBatchPartitioner.ToolCallClassifier
-
Returns the set of paths / URIs / resource IDs that
callreads or writes. - pattern() - Element in annotation interface com.tnsai.annotations.EventHandler
-
Whether event name is a pattern (supports wildcards).
- pattern() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns the value of the
patternrecord component. - pattern() - Method in record class com.tnsai.hooks.HookMatcher.Regex
-
Returns the value of the
patternrecord component. - pause() - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Pauses execution (can be resumed without checkpoint restore).
- PAUSE - Enum constant in enum class com.tnsai.annotations.Lifecycle.Phase
-
Temporary suspension.
- PAUSED - Enum constant in enum class com.tnsai.agents.async.SessionManager.SessionState
- pauseSession(String) - Method in class com.tnsai.agents.async.SessionManager
-
Pauses a session and creates a checkpoint.
- payee() - Method in record class com.tnsai.payment.Quote
-
Returns the value of the
payeerecord component. - payer() - Method in record class com.tnsai.payment.Quote
-
Returns the value of the
payerrecord component. - payload() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Returns the value of the
payloadrecord component. - payload() - Element in annotation interface com.tnsai.annotations.EventEmitter
-
Custom event payload transformer (SpEL expression).
- payload() - Method in record class com.tnsai.events.UiComponentEvent
-
Returns the value of the
payloadrecord component. - payload() - Method in record class com.tnsai.security.approval.InterruptService.InterruptRequest
-
Returns the value of the
payloadrecord component. - payload() - Method in record class com.tnsai.spi.MessageBroker.Message
-
Returns the value of the
payloadrecord component. - payload(Object) - Method in class com.tnsai.agents.groups.GroupEvent.Builder
- PAYMENT - Enum constant in enum class com.tnsai.tools.SideEffect
-
Triggers a financial transaction (payment, transfer, refund).
- PAYMENT_ANALYTICS_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Cross-processor payment analytics.
- paymentBroker(PaymentBroker) - Method in class com.tnsai.agents.AgentBuilder
-
Plug a
PaymentBrokerinto this agent (TNS-298 / TNS-449). - PaymentBroker - Interface in com.tnsai.payment
-
Settlement bus for agent-to-agent payments (TNS-298).
- PaymentBroker.QuoteRejectedException - Exception Class in com.tnsai.payment
-
Thrown by
PaymentBroker.quote(com.tnsai.identity.AgentPrincipal, com.tnsai.identity.AgentPrincipal, com.tnsai.payment.Service)when broker policy refuses to price. - PDF - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
Portable Document Format document.
- PDF_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
PDF text + metadata extraction with page ranges.
- PEER - Enum constant in enum class com.tnsai.annotations.Coordination.CoordinationRole
-
Equal peer in collaboration
- pending() - Static method in class com.tnsai.context.decision.DecisionOutcome
-
Creates a builder for a pending outcome.
- PENDING - Enum constant in enum class com.tnsai.agents.groups.GroupTask.Status
-
Task created, not yet assigned
- PENDING - Enum constant in enum class com.tnsai.context.decision.DecisionOutcome.OutcomeStatus
-
Decision execution still pending
- PENDING - Enum constant in enum class com.tnsai.security.approval.ApprovalToken.Status
-
Pending approval
- PENDING - Enum constant in enum class com.tnsai.spi.CognitiveModel.IntentionStatus
- pendingPrompt(String) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- pendingWrites() - Method in record class com.tnsai.state.Checkpointer.CheckpointTuple
-
Returns the value of the
pendingWritesrecord component. - perceive() - Method in class com.tnsai.agents.Agent
-
Perceives the current environment state.
- perceive() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- perceive() - Method in class com.tnsai.environment.CompositeEnvironment
- perceive() - Method in interface com.tnsai.environment.Environment
-
Agent perceives the current state of the environment.
- perceive() - Method in class com.tnsai.environment.InMemoryEnvironment
- perceive(String) - Method in class com.tnsai.agents.AgentCognitiveSupport
- Percept - Record Class in com.tnsai.environment
-
Represents a perception from the environment.
- Percept(String, Map<String, Object>) - Constructor for record class com.tnsai.environment.Percept
- Percept(String, Map<String, Object>, Instant) - Constructor for record class com.tnsai.environment.Percept
-
Creates an instance of a
Perceptrecord class. - PERIODIC - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken at regular intervals.
- permanent() - Static method in record class com.tnsai.accountability.AuthorityScope
-
Convenience: a maximally-permissive scope that never expires.
- PERMANENT - Enum constant in enum class com.tnsai.observability.errors.ErrorCategory
-
Will not succeed on retry — bad credentials, invalid request, unsupported model.
- PERMISSION - Enum constant in enum class com.tnsai.annotations.NormType
-
The agent MAY perform this action when the condition holds.
- PermissionProvider - Interface in com.tnsai.security
-
SPI for resolving agent permissions at runtime.
- permits(ActionType) - Method in record class com.tnsai.accountability.AuthorityScope
- permitsTarget(String) - Method in record class com.tnsai.accountability.AuthorityScope
- persistence() - Element in annotation interface com.tnsai.annotations.Memory
-
State persistence configuration.
- persistence() - Element in annotation interface com.tnsai.annotations.MemorySpec
-
Persistence backend.
- persistence() - Method in record class com.tnsai.memory.MemoryConfig
-
Returns the value of the
persistencerecord component. - persistence(MemorySpec.Persistence) - Method in class com.tnsai.memory.MemoryConfig.Builder
- persistent() - Element in annotation interface com.tnsai.annotations.Goal
-
Whether this goal persists after being achieved.
- persistent() - Element in annotation interface com.tnsai.annotations.Memory
-
Whether to enable memory across sessions.
- persona() - Element in annotation interface com.tnsai.annotations.Communication.Style
-
Custom persona description.
- phase() - Element in annotation interface com.tnsai.annotations.Lifecycle
-
Lifecycle phase this method handles.
- Phase 1 enforcement matrix - Search tag in class com.tnsai.guardrails.InputGuardrailEnforcer
- Section
- Phase 1 enforcement matrix - Search tag in class com.tnsai.guardrails.OutputGuardrailEnforcer
- Section
- Phase 1 scope - Search tag in package com.tnsai.guardrails
- Section
- Phase 2+ deferred - Search tag in package com.tnsai.guardrails
- Section
- PHONE - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.PIIType
- PII_DETECTED - Enum constant in enum class com.tnsai.security.SecurityException.ViolationType
-
PII detected in output
- PiiInputSanitizer - Class in com.tnsai.guardrails.pii
-
Replaces common PII with stable type-specific tokens.
- PiiInputSanitizer() - Constructor for class com.tnsai.guardrails.pii.PiiInputSanitizer
-
Creates a stateless sanitizer.
- PiiInputValidator - Class in com.tnsai.guardrails.pii
-
Heuristic detector for common PII carried in action parameters.
- PiiInputValidator() - Constructor for class com.tnsai.guardrails.pii.PiiInputValidator
-
Creates a stateless validator.
- piiTypes() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
PII types to mask.
- Placeholders - Search tag in class com.tnsai.skills.SkillSubstitution
- Section
- plan() - Method in class com.tnsai.agents.Agent
-
Generates a plan for all unsatisfied goals.
- plan() - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- plan(Plan) - Method in class com.tnsai.agents.AgentBuilder
-
Adds a plan to the agent.
- plan(List<Role>) - Method in class com.tnsai.agents.AgentCognitiveSupport
- plan(Map<String, Object>) - Method in interface com.tnsai.planning.PlannerHandle
-
Generates a plan to satisfy all unsatisfied goals.
- Plan - Class in com.tnsai.models.agent
-
Represents a strategic plan or approach within the BDI architecture.
- Plan(String, String, String) - Constructor for class com.tnsai.models.agent.Plan
- Plan Components - Search tag in class com.tnsai.models.agent.Plan
- Section
- planDescription() - Method in record class com.tnsai.spi.CognitiveModel.Intention
-
Returns the value of the
planDescriptionrecord component. - planForGoal(String) - Method in class com.tnsai.agents.Agent
-
Generates a plan for a specific goal.
- planForGoal(String) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- planForGoal(String, List<Role>) - Method in class com.tnsai.agents.AgentCognitiveSupport
- planForGoal(String, Map<String, Object>) - Method in interface com.tnsai.planning.PlannerHandle
-
Generates a plan to satisfy a specific goal.
- plannerHandle(PlannerHandle) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the planner handle for goal-oriented planning.
- PlannerHandle - Interface in com.tnsai.planning
-
SPI handle for planning system integration.
- PlannerHandle.Factory - Interface in com.tnsai.planning
-
Factory for creating PlannerHandle instances.
- PlannerHandle.PlanResult - Record Class in com.tnsai.planning
-
Result of executing a plan.
- PlannerHandle.PlanStep - Record Class in com.tnsai.planning
-
A single step in an executable plan.
- PlannerHandle.StepResult - Record Class in com.tnsai.planning
-
Result of executing a single plan step.
- Planning Integration - Search tag in annotation interface com.tnsai.annotations.State
- Section
- PlanResult(boolean, List<PlannerHandle.StepResult>, Map<String, Object>) - Constructor for record class com.tnsai.planning.PlannerHandle.PlanResult
-
Creates an instance of a
PlanResultrecord class. - plans - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- plans(List<Plan>) - Method in class com.tnsai.agents.AgentBuilder
-
Adds multiple plans to the agent.
- PlanStep(String, String, String, Set<String>) - Constructor for record class com.tnsai.planning.PlannerHandle.PlanStep
-
Creates an instance of a
PlanSteprecord class. - PluginHookEvent - Interface in com.tnsai.hooks.events
-
Plugin / SPI discovery hook events (issue #63).
- policy() - Method in class com.tnsai.skills.SkillManager
- policy(GroupPolicy) - Method in class com.tnsai.agents.groups.AgentGroupBuilder
-
Sets the group policy.
- policy(DecisionPolicy) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- policy(Class<?>, String) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
The presence policy a role or agent class gives a source it declares: the
KnowledgePolicyof that name in theknowledgePolicyof the spec whose knowledge, configuration files layered, declares the source. - POLICY_CHANGED - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Policy changed
- POLICY_VIOLATION - Enum constant in enum class com.tnsai.security.approval.InterruptReason
-
Action would violate a policy and needs human override.
- PolicyRule(String, String, String, int, boolean) - Constructor for record class com.tnsai.context.decision.DecisionPolicy.PolicyRule
-
Creates an instance of a
PolicyRulerecord class. - port() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
The port for the vector store (for remote providers).
- portEnv() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
Environment variable name for the port.
- positiveExample(String, String) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Adds a positive (good) example.
- positiveExample(String, String, String) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Adds a positive example with explanation.
- post(SharedBlackboard.Entry) - Method in class com.tnsai.communication.SharedBlackboard
-
Posts an entry using builder pattern.
- post(String, SharedBlackboard.EntryType, String, Object) - Method in class com.tnsai.communication.SharedBlackboard
-
Posts a new entry to the blackboard.
- POST - Enum constant in enum class com.tnsai.enums.HttpMethod
- POST_DECISION - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken after a decision is made.
- POST_TOOL_CALL - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken after tool execution.
- PostAction - Record Class in com.tnsai.hooks.events
-
Fires after an action returns successfully (issue #59).
- PostAction(String, Instant, HookContext, ActionRequest, ActionResponse, ActionType, Duration) - Constructor for record class com.tnsai.hooks.events.PostAction
-
Creates an instance of a
PostActionrecord class. - PostChat - Record Class in com.tnsai.hooks.events
-
Fires after the final assistant response for a user turn is ready (issue #60).
- PostChat(String, Instant, HookContext, String, String, Duration) - Constructor for record class com.tnsai.hooks.events.PostChat
-
Creates an instance of a
PostChatrecord class. - postcondition() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Planning postcondition (effect) predicted after this action executes.
- postcondition() - Method in record class com.tnsai.metadata.ContractConfig
-
Returns the value of the
postconditionrecord component. - postcondition() - Method in record class com.tnsai.planning.PlannerHandle.PlanStep
-
Returns the value of the
postconditionrecord component. - postcondition(String...) - Method in class com.tnsai.metadata.ContractSpec.Builder
- POSTCONDITION - Enum constant in enum class com.tnsai.invariants.InvariantViolationException.ViolationType
- postconditions() - Element in annotation interface com.tnsai.annotations.Contract
-
Postconditions that must be true after action execution.
- postconditions() - Method in record class com.tnsai.metadata.ContractSpec
-
Returns the value of the
postconditionsrecord component. - PostgresIdempotencyStore - Class in com.tnsai.idempotency
-
Durable
IdempotencyStorebacked by a JDBC database (issue #91). - PostgresIdempotencyStore(DataSource) - Constructor for class com.tnsai.idempotency.PostgresIdempotencyStore
- PostgresIdempotencyStore(DataSource, String) - Constructor for class com.tnsai.idempotency.PostgresIdempotencyStore
- postProcessors() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Post-processor classes to apply.
- PPTX - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
Office Open XML presentation.
- PRE_DECISION - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken before a decision is made.
- PRE_TOOL_CALL - Enum constant in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Snapshot taken before tool execution.
- PreAction - Record Class in com.tnsai.hooks.events
-
Fires before
ActionExecutorroutes any action (issue #59). - PreAction(String, Instant, HookContext, ActionRequest, ActionType) - Constructor for record class com.tnsai.hooks.events.PreAction
-
Creates an instance of a
PreActionrecord class. - Precedence - Search tag in annotation interface com.tnsai.annotations.Config
- Section
- Precedence - Search tag in annotation interface com.tnsai.annotations.Resilience
- Section
- precedent(String) - Method in class com.tnsai.context.decision.DecisionInput.Builder
- precedentLimit(int) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets the maximum number of precedents to include.
- precedents(List<String>) - Method in class com.tnsai.context.decision.DecisionInput.Builder
- precedentThreshold(double) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets the similarity threshold for precedent matching.
- PreChat - Record Class in com.tnsai.hooks.events
-
Fires when a user message is submitted, before prompt assembly (issue #60).
- PreChat(String, Instant, HookContext, String, List<Map<String, Object>>, Map<String, Object>) - Constructor for record class com.tnsai.hooks.events.PreChat
-
Creates an instance of a
PreChatrecord class. - precondition() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Planning precondition that must be true before the planner selects this action.
- precondition() - Method in record class com.tnsai.metadata.ContractConfig
-
Returns the value of the
preconditionrecord component. - precondition() - Method in record class com.tnsai.planning.PlannerHandle.PlanStep
-
Returns the value of the
preconditionrecord component. - precondition(String...) - Method in class com.tnsai.metadata.ContractSpec.Builder
- PRECONDITION - Enum constant in enum class com.tnsai.invariants.InvariantViolationException.ViolationType
- preconditions() - Element in annotation interface com.tnsai.annotations.Contract
-
Preconditions that must be true before action execution.
- preconditions() - Method in record class com.tnsai.metadata.ContractSpec
-
Returns the value of the
preconditionsrecord component. - predicate(Predicate<E>) - Static method in interface com.tnsai.hooks.HookMatcher
- Predicate(Predicate<E>) - Constructor for record class com.tnsai.hooks.HookMatcher.Predicate
-
Creates an instance of a
Predicaterecord class. - preferredModel(String) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- preloadFrom(SkillManager) - Method in class com.tnsai.skills.SkillManager
-
Preload every active skill from
parentinto this manager's session (TNS-289). - prepareChatKnowledge(Object, List<KnowledgeEntry>, LLMClient) - Method in interface com.tnsai.rag.RetrievalSpi
-
Prepares the DIRECT knowledge an agent's chat turns give.
- presence() - Element in annotation interface com.tnsai.annotations.KnowledgePolicy
-
Whether the source must load when nothing configures it.
- presencePenalty() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
Presence penalty (-2.0 to 2.0).
- presencePenalty() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns the value of the
presencePenaltyrecord component. - preserveLastUserMessage(boolean) - Method in class com.tnsai.memory.strategy.TokenBudget.Builder
-
Whether to preserve the last user message when pruning.
- preservePairs(boolean) - Method in class com.tnsai.memory.strategy.SlidingWindowStrategy.Builder
-
Whether to preserve user-assistant pairs.
- preserveSystemPrompt(boolean) - Method in class com.tnsai.memory.strategy.HybridStrategy.Builder
-
Whether to preserve system prompts.
- preserveSystemPrompt(boolean) - Method in class com.tnsai.memory.strategy.SlidingWindowStrategy.Builder
-
Whether to preserve system prompts.
- preserveSystemPrompt(boolean) - Method in class com.tnsai.memory.strategy.SummaryStrategy.Builder
-
Whether to preserve system prompts.
- preserveSystemPrompt(boolean) - Method in class com.tnsai.memory.strategy.TokenBudget.Builder
-
Whether to preserve system prompts when pruning.
- prettyPrint() - Element in annotation interface com.tnsai.annotations.OutputFormatSpec
-
Whether to pretty-print the output (where applicable).
- prettyPrint(boolean) - Method in class com.tnsai.state.FileCheckpointer.Builder
-
Enable or disable pretty-printed JSON output.
- previous() - Method in record class com.tnsai.agents.variant.VariantManager.VariantChangeEvent
-
Returns the value of the
previousrecord component. - previousCheckpointId() - Method in record class com.tnsai.reliability.Checkpoint
-
Returns the value of the
previousCheckpointIdrecord component. - previousSourceId() - Method in record class com.tnsai.context.entity.EntityAttribute.AttributeHistory
-
Returns the value of the
previousSourceIdrecord component. - previousValue() - Method in record class com.tnsai.context.entity.EntityAttribute.AttributeHistory
-
Returns the value of the
previousValuerecord component. - priceUSD() - Method in record class com.tnsai.payment.Quote
-
Returns the value of the
priceUSDrecord component. - primary(LLMClient) - Method in class com.tnsai.llm.FallbackLLMClient.Builder
-
Sets the primary LLM client.
- principal(AgentPrincipal) - Method in class com.tnsai.agents.AgentBuilder
-
Attribute every action this agent dispatches to
principal(TNS-298). - PRIORITIZE_HIGHER_CONFIDENCE - Static variable in interface com.tnsai.models.agent.BeliefRevisionStrategy
-
Strategy that keeps the belief with higher confidence.
- PRIORITIZE_NEWER - Static variable in interface com.tnsai.models.agent.BeliefRevisionStrategy
-
Strategy that always accepts the newer belief, removing conflicting ones.
- priority() - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Returns the value of the
priorityrecord component. - priority() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
priorityrecord component. - priority() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns the value of the
priorityrecord component. - priority() - Element in annotation interface com.tnsai.annotations.Communication.Messaging
-
Message priority (1-10, higher = more important).
- priority() - Element in annotation interface com.tnsai.annotations.Goal
-
Goal priority.
- priority() - Element in annotation interface com.tnsai.annotations.GroupMember
-
Priority for task assignment within groups.
- priority() - Element in annotation interface com.tnsai.annotations.Norm
-
Priority when norms conflict (higher = more important).
- priority() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
Role priority (higher = more important).
- priority() - Element in annotation interface com.tnsai.annotations.SkillSpec
-
Priority for skill selection when multiple skills match.
- priority() - Method in record class com.tnsai.context.decision.DecisionPolicy.PolicyRule
-
Returns the value of the
priorityrecord component. - priority() - Method in class com.tnsai.hooks.external.ExternalScriptHook
- priority() - Method in interface com.tnsai.hooks.spi.Hook
-
Priority in the chain.
- priority() - Method in record class com.tnsai.models.agent.Desire
-
Returns the value of the
priorityrecord component. - priority() - Element in annotation interface com.tnsai.protocols.annotations.MessageHandler
-
Handler priority (higher = handled first).
- priority() - Element in annotation interface com.tnsai.protocols.annotations.OnMessageReceived
-
Priority for callback execution when multiple callbacks match.
- priority() - Method in record class com.tnsai.spi.CheckpointerFactory.ProviderInfo
-
Returns the value of the
priorityrecord component. - priority() - Method in interface com.tnsai.spi.CheckpointerProvider
-
Returns the priority of this provider.
- priority() - Method in record class com.tnsai.spi.CognitiveModel.Goal
-
Returns the value of the
priorityrecord component. - priority(int) - Method in class com.tnsai.communication.SharedBlackboard.Entry.Builder
- priority(int) - Method in class com.tnsai.context.entity.EntitySource.Builder
- priority(int) - Method in class com.tnsai.hooks.external.ExternalScriptHook.Builder
- priority(GroupTask.Priority) - Method in class com.tnsai.agents.groups.GroupTask.Builder
- Priority - Enum Class in com.tnsai.enums.agent
-
Represents the priority level of a desire/objective or responsibility.
- PRIORITY - Enum constant in enum class com.tnsai.agents.groups.GroupPolicy.MemberSelectionStrategy
-
Select by priority (highest first) from @GroupMember annotation
- probeFor(String, Map<String, Object>) - Method in interface com.tnsai.spi.McpClientFactory
-
Build a
Healthcheckableadapter for the given MCP server URL. - problem() - Method in exception class com.tnsai.exceptions.KnowledgeNotReadyException
-
Returns why the source is not ready.
- Problem Solved - Search tag in annotation interface com.tnsai.annotations.CompletionSignal
- Section
- Problem Solved - Search tag in annotation interface com.tnsai.annotations.Ephemeral
- Section
- PROCEDURAL - Enum constant in enum class com.tnsai.memory.strategy.MemoryTier
-
Extracted workflows, recipes, how-to sequences.
- process(List<String>) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Adds process steps for execution.
- PROCESS - Enum constant in enum class com.tnsai.annotations.EventEmitter.Scope
-
All agents in same process
- processing(String, String) - Static method in record class com.tnsai.events.StatusEvent
-
Creates a generic processing status event.
- PROCESSING - Enum constant in enum class com.tnsai.events.StatusEvent.StatusType
-
General processing
- processLLMResponse(Object, boolean) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Processes an LLM response, handling text responses and tool calls.
- processLLMResponse(Object, boolean, String, ChatRetrievalContext) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Processes a response while preserving the originating RAG turn.
- processLLMResponseInternal(Object, boolean) - Method in class com.tnsai.agents.chat.AgentChatOrchestrator
-
Internal version of processLLMResponse that does not trace.
- processMessage(AgentMessage) - Method in class com.tnsai.agents.messaging.AgentMessagingHandler
-
Main entry point for processing received messages.
- processParameters(ActionMetadata, Role, Map<String, Object>) - Method in interface com.tnsai.security.SecurityEnforcerHandle
-
Processes parameters based on security settings.
- processParameters(ActionMetadata, Object, Map<String, Object>) - Method in interface com.tnsai.security.SecurityEnforcerHandle
-
Processes parameters based on security settings, for an action whose target is not a
Role. - processResult(ActionMetadata, Role, Object) - Method in interface com.tnsai.security.SecurityEnforcerHandle
-
Processes the result based on security settings.
- processResult(ActionMetadata, Object, Object) - Method in interface com.tnsai.security.SecurityEnforcerHandle
-
Processes the result based on security settings, for an action whose target is not a
Role. - processStep(String) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Adds a single process step.
- PRODUCT - Enum constant in enum class com.tnsai.context.entity.EntityType
-
Product entity
- PROFESSIONAL - Enum constant in enum class com.tnsai.annotations.Communication.Tone
- PROFESSIONAL - Enum constant in enum class com.tnsai.enums.agent.Tone
- PROGRAMMATIC - Enum constant in enum class com.tnsai.events.SkillActivationEvent.Source
-
Caller invoked
agent.invokeSkill(...)directly. - Programmatic-Only Action (Not Exposed to LLM) - Search tag in annotation interface com.tnsai.annotations.ActionSpec
- Section
- progress(int, String) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a progress indicator component.
- Progress - Interface in com.tnsai.reliability
-
Observable mid-run state event (TNS-299).
- PROGRESS - Enum constant in enum class com.tnsai.communication.TaskMessageType
- PROGRESS_TIMEOUT - Enum constant in enum class com.tnsai.reliability.AbortReason
-
No
Progressevent arrived withinRunConfig.progressTimeout; orchestrator marked the run stuck rather than letting it hang silently. - Progress.CheckpointSaved - Record Class in com.tnsai.reliability
-
A
Checkpointhas been persisted. - Progress.CostUpdate - Record Class in com.tnsai.reliability
-
Spend tick — the orchestrator emits this when a cost-tracking integration reports new spend, so dashboards can plot against the run's
RunConfig.costCeilingUSD. - Progress.Heartbeat - Record Class in com.tnsai.reliability
-
Idle "I'm still alive" pulse for runs that perform a long-running step without intermediate checkpoints.
- Progress.RunAborted - Record Class in com.tnsai.reliability
-
Run aborted by policy (
AbortReason). - Progress.RunCompleted - Record Class in com.tnsai.reliability
-
Run reached the end of its step list.
- Progress.RunFailed - Record Class in com.tnsai.reliability
-
Run aborted by uncaught exception or retry exhaustion.
- Progress.StepCompleted - Record Class in com.tnsai.reliability
-
A step finished successfully; carries timing for diagnostics.
- Progress.StepStarted - Record Class in com.tnsai.reliability
-
A step has begun executing.
- progressSink(ProgressSink) - Method in class com.tnsai.reliability.DefaultResumableRun.Builder
- ProgressSink - Interface in com.tnsai.reliability
-
Pub/sub surface for
Progressevents emitted during aResumableRun(TNS-299). - ProgressSink.Subscription - Interface in com.tnsai.reliability
- progressTimeout() - Method in record class com.tnsai.reliability.RunConfig
-
Returns the value of the
progressTimeoutrecord component. - progressTimeout(Duration) - Method in class com.tnsai.reliability.RunConfig.Builder
- PROHIBITION - Enum constant in enum class com.tnsai.annotations.NormType
-
The agent MUST NOT perform this action when the condition holds.
- PROJECT_ANALYZER_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Static project introspection over a local source tree.
- PROJECT_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Repository-aware reading helpers (sandboxed by Role policy).
- ProjectContext(Path, String) - Constructor for record class com.tnsai.prompt.ProjectContextLoader.ProjectContext
-
Creates an instance of a
ProjectContextrecord class. - ProjectContextLoader - Class in com.tnsai.prompt
-
Walks up from a starting directory looking for a project context file (
.tnsai.md,TNSAI.md, orCLAUDE.md) and returns its contents for system-prompt injection. - ProjectContextLoader() - Constructor for class com.tnsai.prompt.ProjectContextLoader
- ProjectContextLoader(int) - Constructor for class com.tnsai.prompt.ProjectContextLoader
- ProjectContextLoader.ProjectContext - Record Class in com.tnsai.prompt
-
Result of a successful load.
- promote() - Method in class com.tnsai.memory.strategy.MemoryEntry
-
Promote to next tier.
- promoted() - Method in record class com.tnsai.memory.strategy.TieredMemoryStore.ConsolidationResult
-
Returns the value of the
promotedrecord component. - PROMPT_INJECTION - Enum constant in enum class com.tnsai.security.SecurityException.ViolationType
-
Prompt injection attack detected
- promptEnhancer(PromptEnhancer) - Method in class com.tnsai.agents.AgentBuilder
-
Sets a custom prompt enhancer for the agent.
- PromptEnhancer - Class in com.tnsai.prompt.strategy
-
Fluent builder for combining prompt enhancement strategies.
- PromptEnhancer.Builder - Class in com.tnsai.prompt.strategy
-
Builder for PromptEnhancer.
- PromptEnhancer.Example - Record Class in com.tnsai.prompt.strategy
-
Example record for few-shot learning.
- PromptEnhancer.OutputFormat - Enum Class in com.tnsai.prompt.strategy
-
Output format options.
- PromptException - Exception Class in com.tnsai.prompt
-
Exception thrown when prompt operations fail.
- PromptException(String) - Constructor for exception class com.tnsai.prompt.PromptException
-
Creates exception with message.
- PromptException(String, Throwable) - Constructor for exception class com.tnsai.prompt.PromptException
-
Creates exception with message and cause.
- PromptFormat - Class in com.tnsai.prompt.format
-
Shared formatting helpers for prompt-building call sites.
- PromptSpec - Record Class in com.tnsai.prompt
-
Spec for prompt templates.
- PromptSpec(String, String, String, Set<String>, Set<String>, Map<String, String>, Instant, Instant) - Constructor for record class com.tnsai.prompt.PromptSpec
-
Creates metadata with defaults.
- PromptSpec.Builder - Class in com.tnsai.prompt
-
Builder for PromptSpec.
- promptStrategies(List<PromptStrategy>) - Method in class com.tnsai.agents.AgentBuilder
-
Adds multiple prompt strategies to the agent.
- promptStrategy(PromptStrategy) - Method in class com.tnsai.agents.AgentBuilder
-
Adds a prompt strategy to the agent.
- PromptStrategy - Enum Class in com.tnsai.prompt.strategy
-
Predefined prompting strategies for enhanced LLM responses.
- PromptTemplate - Interface in com.tnsai.prompt
-
Interface for prompt templates with variable substitution.
- PromptTemplateLoader - Class in com.tnsai.prompt
-
Loads and caches prompt template files referenced by
PromptTemplates. - PromptTemplates - Annotation Interface in com.tnsai.annotations
-
Specifies a prompt template file for custom state rendering.
- property(String) - Static method in class com.tnsai.rag.StructuralPath
-
The step for an object key.
- property(String, String, String) - Method in class com.tnsai.schema.ToolSchema.ToolSchemaBuilder
- property(String, String, String, List<String>) - Method in class com.tnsai.schema.ToolSchema.ToolSchemaBuilder
- Property() - Constructor for class com.tnsai.schema.ToolSchema.Property
- PROPOSAL - Enum constant in enum class com.tnsai.communication.CNPMessageType
- protectedAccess() - Method in record class com.tnsai.security.AccessDeclaration
- protocol() - Method in record class com.tnsai.hooks.events.SessionStart
-
Returns the value of the
protocolrecord component. - ProtocolManagerHandle - Interface in com.tnsai.protocols
-
SPI handle for protocol management.
- ProtocolManagerHandle.Factory - Interface in com.tnsai.protocols
-
Factory for creating ProtocolManagerHandle instances.
- provenance() - Method in record class com.tnsai.rag.RetrievalEvidence
-
Returns the value of the
provenancerecord component. - Provenance(String, String, String, double, int, Search.Strategy) - Constructor for record class com.tnsai.rag.RetrievalEvidence.Provenance
-
Validates provenance fields.
- provider() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
LLM provider.
- provider() - Element in annotation interface com.tnsai.annotations.Memory.Vector
-
Vector store provider.
- provider() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
The vector store provider to use.
- provider() - Method in record class com.tnsai.exceptions.ProviderDetails
-
Returns the value of the
providerrecord component. - provider() - Method in record class com.tnsai.llm.ModelInfo
-
Returns the value of the
providerrecord component. - provider() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns the value of the
providerrecord component. - PROVIDER_UNAVAILABLE - Enum constant in enum class com.tnsai.rag.RetrievalException.Reason
-
No
RetrievalEngineProvideris installed, or a provider refused to build an engine for the owner's source set. - providerClass() - Method in record class com.tnsai.hooks.events.OnSPILoad
-
Returns the value of the
providerClassrecord component. - providerCode() - Method in record class com.tnsai.exceptions.ProviderDetails
-
Returns the value of the
providerCoderecord component. - providerCode(String) - Method in class com.tnsai.exceptions.ProviderDetails.Builder
- ProviderDetails - Record Class in com.tnsai.exceptions
-
Native error details surfaced from an upstream LLM (or external) provider.
- ProviderDetails(String, Optional<String>, Optional<String>, Optional<String>, Optional<Integer>, Map<String, String>, String) - Constructor for record class com.tnsai.exceptions.ProviderDetails
-
Creates an instance of a
ProviderDetailsrecord class. - ProviderDetails.Builder - Class in com.tnsai.exceptions
- ProviderInfo(String, String, boolean, int) - Constructor for record class com.tnsai.spi.CheckpointerFactory.ProviderInfo
-
Creates an instance of a
ProviderInforecord class. - providerParam() - Method in record class com.tnsai.exceptions.ProviderDetails
-
Returns the value of the
providerParamrecord component. - providerParam(String) - Method in class com.tnsai.exceptions.ProviderDetails.Builder
- Provider Selection Guide - Search tag in interface com.tnsai.llm.LLMClient
- Section
- providerType() - Method in record class com.tnsai.exceptions.ProviderDetails
-
Returns the value of the
providerTyperecord component. - providerType(String) - Method in class com.tnsai.exceptions.ProviderDetails.Builder
- providingJar() - Method in record class com.tnsai.hooks.events.OnSPILoad
-
Returns the value of the
providingJarrecord component. - prune() - Method in class com.tnsai.agents.execution.MemoryManager
-
Prunes history to stay within token limit.
- prune(int) - Method in class com.tnsai.memory.AbstractMemoryStore
- prune(int) - Method in interface com.tnsai.memory.MemoryStore
-
Prunes the memory to keep it within a specific token limit.
- prune(int) - Method in class com.tnsai.memory.NamespacedMemoryStore
- prune(int) - Method in class com.tnsai.memory.SharedMemoryStore
- prune(int) - Method in class com.tnsai.memory.strategy.ManagedConversationMemory
- prune(int) - Method in class com.tnsai.memory.vector.VectorSearchMemoryStore
- prune(String, int) - Method in class com.tnsai.memory.NamespacedMemoryStore
-
Prunes a specific namespace to fit within the token budget.
- pruneStrategy() - Element in annotation interface com.tnsai.annotations.MemorySpec
-
Strategy for pruning when capacity is exceeded.
- pruneStrategy() - Method in record class com.tnsai.memory.MemoryConfig
-
Returns the value of the
pruneStrategyrecord component. - pruneStrategy(MemorySpec.PruneStrategy) - Method in class com.tnsai.memory.MemoryConfig.Builder
- publicKey() - Element in annotation interface com.tnsai.annotations.DIDSpec
-
Public key for key-based DIDs.
- publicKey() - Method in record class com.tnsai.identity.DIDConfig
-
Returns the value of the
publicKeyrecord component. - publish(GroupEvent) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Publishes an event to all subscribers.
- publish(TnsAIEvent) - Method in interface com.tnsai.observability.events.AgentEventPublisher
-
Publish a single event.
- publish(TnsAIEvent) - Static method in class com.tnsai.observability.events.AgentEvents
-
Publishes the event at INFO level with the current thread's context.
- publish(TnsAIEvent) - Method in class com.tnsai.observability.events.CapturingAgentEventPublisher
- publish(TnsAIEvent) - Method in class com.tnsai.observability.events.CompositeAgentEventPublisher
- publish(TnsAIEvent) - Method in class com.tnsai.observability.events.Slf4jAgentEventPublisher
- publish(TnsAIEvent, EventLevel) - Static method in class com.tnsai.observability.events.AgentEvents
-
Publishes at the given level; current thread's context is captured.
- publish(TnsAIEvent, EventLevel, EventContext) - Method in interface com.tnsai.observability.events.AgentEventPublisher
-
Publish a single event with explicit level / context overrides.
- publish(TnsAIEvent, EventLevel, EventContext) - Static method in class com.tnsai.observability.events.AgentEvents
-
Publishes with explicit level + context (bypasses thread-local lookup).
- publish(TnsAIEvent, EventLevel, EventContext) - Method in class com.tnsai.observability.events.CapturingAgentEventPublisher
- publish(TnsAIEvent, EventLevel, EventContext) - Method in class com.tnsai.observability.events.CompositeAgentEventPublisher
- publish(TnsAIEvent, EventLevel, EventContext) - Method in class com.tnsai.observability.events.Slf4jAgentEventPublisher
- publish(ErrorReport) - Method in class com.tnsai.observability.errors.CapturingErrorReportPublisher
- publish(ErrorReport) - Method in class com.tnsai.observability.errors.CompositeErrorReportPublisher
- publish(ErrorReport) - Method in class com.tnsai.observability.errors.DedupingErrorReportPublisher
- publish(ErrorReport) - Method in interface com.tnsai.observability.errors.ErrorReportPublisher
-
Publish a single error report.
- publish(ErrorReport) - Static method in class com.tnsai.observability.errors.ErrorReports
-
Publish an already-constructed
ErrorReport. - publish(ErrorReport) - Method in class com.tnsai.observability.errors.Slf4jErrorReportPublisher
- publish(String, TnsAIEvent) - Method in class com.tnsai.events.InMemoryEventPublisher
- publish(String, TnsAIEvent) - Method in interface com.tnsai.events.TnsAIEventPublisher
-
Publishes an event to all subscribers of the specified session.
- publish(String, Progress) - Method in class com.tnsai.reliability.InMemoryProgressSink
- publish(String, Progress) - Method in interface com.tnsai.reliability.ProgressSink
-
Broadcast
eventto every subscriber registered forrunId. - publish(String, MessageBroker.Message) - Method in interface com.tnsai.spi.MessageBroker
-
Publishes a message to a topic.
- publish(Throwable, ErrorCategory, Map<String, Object>) - Static method in class com.tnsai.observability.errors.ErrorReports
-
Convenience: capture-and-publish in one call.
- publishAsync(GroupEvent) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Publishes an event asynchronously.
- publisher() - Static method in class com.tnsai.observability.events.AgentEvents
- publishers() - Method in class com.tnsai.observability.errors.CompositeErrorReportPublisher
-
Exposed for assertions / introspection — immutable copy.
- publishMessage(String, String) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Publishes a message event.
- PubSub - Annotation Interface in com.tnsai.protocols.annotations
-
Enables publish-subscribe messaging for an Agent or Role.
- PUBSUB - Enum constant in enum class com.tnsai.protocols.annotations.MessageType
-
PubSub topic-based messages.
- PUBSUB - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- pure(String, UnaryOperator<S>) - Static method in record class com.tnsai.reliability.DefaultResumableRun.Step
- purgeExpired() - Method in class com.tnsai.idempotency.PostgresIdempotencyStore
-
Delete rows whose
expires_atis already in the past. - Purpose - Search tag in class com.tnsai.models.agent.AgentIdentity
- Section
- put(String, IdempotencyEntry, Duration) - Method in interface com.tnsai.idempotency.IdempotencyStore
-
Store an entry under
keywith the given TTL. - put(String, IdempotencyEntry, Duration) - Method in class com.tnsai.idempotency.InMemoryIdempotencyStore
- put(String, IdempotencyEntry, Duration) - Method in class com.tnsai.idempotency.PostgresIdempotencyStore
- put(String, IdempotencyEntry, Duration) - Method in class com.tnsai.idempotency.RedisIdempotencyStore
- put(String, String, Map<String, Object>, Map<String, Object>) - Method in interface com.tnsai.state.Checkpointer
-
Store a checkpoint.
- put(String, String, Map<String, Object>, Map<String, Object>) - Method in class com.tnsai.state.FileCheckpointer
- put(String, String, Map<String, Object>, Map<String, Object>) - Method in class com.tnsai.state.InMemoryCheckpointer
- PUT - Enum constant in enum class com.tnsai.enums.HttpMethod
- putWrites(String, List<Checkpointer.Write>) - Method in interface com.tnsai.state.Checkpointer
-
Store intermediate writes.
- putWrites(String, List<Checkpointer.Write>) - Method in class com.tnsai.state.FileCheckpointer
- putWrites(String, List<Checkpointer.Write>) - Method in class com.tnsai.state.InMemoryCheckpointer
- PYTHON_EXECUTION_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Subprocess Python execution.
Q
- QDRANT_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Qdrant vector-search.
- QNA_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Programmer-flavour Q&A.
- QUALITY - Enum constant in enum class com.tnsai.agents.variant.VariantSelector.VariantPreference
-
Prioritize quality over speed/cost
- QUALITY - Enum constant in enum class com.tnsai.annotations.EvalMetric.MetricCategory
-
Output quality metrics
- QualityGate - Annotation Interface in com.tnsai.annotations
-
Defines an evaluation quality threshold for a method's output.
- QualityGate.OnFail - Enum Class in com.tnsai.annotations
-
Actions when quality gate fails.
- quantity() - Method in record class com.tnsai.payment.Service
-
Returns the value of the
quantityrecord component. - query() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Query template a database source ingests with.
- query() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
queryrecord component. - query() - Method in record class com.tnsai.rag.RetrievalRequest
-
Returns the value of the
queryrecord component. - query(AuditQuery) - Method in interface com.tnsai.accountability.LiabilitySink
-
Stream records matching
qin invocation-order (oldest first). - query(AuditQuery) - Method in class com.tnsai.accountability.RecordingLiabilitySink
- query(AuditQuery) - Method in interface com.tnsai.security.audit.AuditStore
-
Queries audit events matching the given criteria.
- query(String) - Method in class com.tnsai.context.decision.DecisionInput.Builder
- query(String) - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
- query(String) - Method in class com.tnsai.tools.spi.ToolException.Builder
- QUERY - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Request for information
- QUERY - Enum constant in enum class com.tnsai.enums.role.ParamType
- queryBeliefs(String) - Method in interface com.tnsai.spi.CognitiveModel
-
Queries beliefs matching a pattern.
- queryExpansion() - Element in annotation interface com.tnsai.annotations.Search
-
Query expansion/transformation method.
- queryExpansion() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
queryExpansionrecord component. - queryExpansion() - Method in class com.tnsai.rag.SearchSettings
- queryExpansion(Search.QueryExpansion) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- queryExpansion(Search.QueryExpansion) - Method in class com.tnsai.rag.SearchSettings.Builder
- queryExpansionModel() - Element in annotation interface com.tnsai.annotations.Search
-
Exact, case-sensitive model identifier used by the query-expansion provider.
- queryExpansionModel() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
queryExpansionModelrecord component. - queryExpansionModel() - Method in class com.tnsai.rag.SearchSettings
- queryExpansionModel(String) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- queryExpansionModel(String) - Method in class com.tnsai.rag.SearchSettings.Builder
- QueryMessageType - Enum Class in com.tnsai.communication
-
Query/Information exchange message types.
- queryParam() - Element in annotation interface com.tnsai.annotations.Search
-
Name of the action parameter whose value is the retrieval query.
- queryParam() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
queryParamrecord component. - queryParam() - Method in class com.tnsai.rag.SearchSettings
- queryParam(String) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- queryParam(String) - Method in class com.tnsai.rag.SearchSettings.Builder
- QUESTION - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- Quick Start - Search tag in class com.tnsai.roles.Role
- Section
- Quick Start - Search tag in interface com.tnsai.llm.LLMClient
- Section
- Quick Start - Search tag in package com.tnsai
- Section
- Quick Start Examples - Search tag in annotation interface com.tnsai.annotations.ActionSpec
- Section
- quote(AgentPrincipal, AgentPrincipal, Service) - Method in class com.tnsai.payment.NoOpPaymentBroker
- quote(AgentPrincipal, AgentPrincipal, Service) - Method in interface com.tnsai.payment.PaymentBroker
-
Compute the price for
servicebetweenpayerandpayee, returning aQuotethe caller can later settle (withinQuote.expiresAt). - Quote - Record Class in com.tnsai.payment
-
Priced commitment for a
Servicebetween twoAgentPrincipalagents (TNS-298). - Quote(String, AgentPrincipal, AgentPrincipal, Service, BigDecimal, String, Instant, Instant) - Constructor for record class com.tnsai.payment.Quote
-
Creates an instance of a
Quoterecord class. - quoteId() - Method in record class com.tnsai.payment.Quote
-
Returns the value of the
quoteIdrecord component. - quoteId() - Method in record class com.tnsai.payment.Settlement.AlreadySettled
-
Returns the value of the
quoteIdrecord component. - quoteId() - Method in record class com.tnsai.payment.Settlement.Expired
-
Returns the value of the
quoteIdrecord component. - quoteId() - Method in interface com.tnsai.payment.Settlement
-
The
Quote.quoteIdthis settlement attempt referenced. - quoteId() - Method in record class com.tnsai.payment.Settlement.Rejected
-
Returns the value of the
quoteIdrecord component. - quoteId() - Method in record class com.tnsai.payment.Settlement.Settled
-
Returns the value of the
quoteIdrecord component. - QuoteRejectedException(String) - Constructor for exception class com.tnsai.payment.PaymentBroker.QuoteRejectedException
- QuoteRejectedException(String, Throwable) - Constructor for exception class com.tnsai.payment.PaymentBroker.QuoteRejectedException
R
- race(String, List<LLMClient>, long, TimeUnit) - Static method in class com.tnsai.llm.ParallelLLM
-
Sends prompt to multiple LLMs, returns the first successful response.
- raceChat(String, List<LLMClient>, long) - Method in class com.tnsai.agents.ensemble.AgentEnsembleExecutor
-
Sends message to multiple LLMs and returns the first successful response.
- ragContext(List<String>) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets RAG (retrieval-augmented generation) context chunks.
- RANDOM - Enum constant in enum class com.tnsai.agents.groups.GroupPolicy.MemberSelectionStrategy
-
Random selection
- RANDOM - Enum constant in enum class com.tnsai.annotations.Coordination.Consensus.Strategy
-
Random selection
- RANDOM - Enum constant in enum class com.tnsai.annotations.Coordination.TaskDistribution
-
Random distribution
- RANDOM - Static variable in interface com.tnsai.agents.groups.LeaderElectionStrategy
-
Random selection strategy.
- RANDOM - Static variable in interface com.tnsai.models.agent.DesireConflictResolver
-
Strategy that randomly selects one desire.
- rank() - Method in record class com.tnsai.rag.RetrievalEvidence.Provenance
-
Returns the value of the
rankrecord component. - RATE_LIMITED - Enum constant in enum class com.tnsai.security.SecurityException.ViolationType
-
Rate limit exceeded
- RATE_LIMITED - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Rate limit exceeded
- rateLimit() - Element in annotation interface com.tnsai.annotations.Resilience
-
Rate limiting configuration.
- rateLimit() - Method in class com.tnsai.resilience.ResilienceRequest.Builder
-
Enables rate limiting with default limits (100 requests per minute).
- rateLimit(int, int) - Method in class com.tnsai.resilience.ResilienceRequest.Builder
-
Enables rate limiting with specified limits.
- RateLimitException - Exception Class in com.tnsai.exceptions
-
Exception for rate limit errors (HTTP 429, quota exceeded).
- RateLimitException(String) - Constructor for exception class com.tnsai.exceptions.RateLimitException
- RateLimitException(String, Long) - Constructor for exception class com.tnsai.exceptions.RateLimitException
- RateLimitException(String, Long, Integer) - Constructor for exception class com.tnsai.exceptions.RateLimitException
- RateLimitMeta() - Constructor for class com.tnsai.metadata.RoleSpecReader.RoleSpec.RateLimitMeta
- rationale() - Method in record class com.tnsai.hooks.HookResult.Modify
-
Returns the value of the
rationalerecord component. - rationale() - Method in record class com.tnsai.models.agent.Desire
-
Returns the value of the
rationalerecord component. - rationale(String) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- rawBody() - Method in record class com.tnsai.exceptions.ProviderDetails
-
Returns the value of the
rawBodyrecord component. - rawBody(String) - Method in class com.tnsai.exceptions.ProviderDetails.Builder
- rawMessageCount() - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
-
Returns the value of the
rawMessageCountrecord component. - rawTokenEstimate() - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
-
Returns the value of the
rawTokenEstimaterecord component. - reachabilityCheckTimeout(Duration) - Method in class com.tnsai.agents.AgentBuilder
-
Per-probe wall-clock budget passed to each
ReachabilityValidatorwhen reachability checks are enabled. - reachabilityTimeout() - Method in record class com.tnsai.agents.validation.ValidationContext
-
Returns the value of the
reachabilityTimeoutrecord component. - ReachabilityValidator - Interface in com.tnsai.agents.validation
-
Marker for
Validators that perform out-of-process I/O (network call, disk write probe, MCP handshake, etc.) and therefore should run only when the user has explicitly opted intoAgentBuilder.withReachabilityChecks(true)(issue #85 phase 2a). - reachable() - Method in record class com.tnsai.spi.Healthcheckable.HealthStatus
-
Returns the value of the
reachablerecord component. - reactive() - Static method in interface com.tnsai.spi.CognitiveModel
-
Returns a simple reactive cognitive model.
- read(Class<?>) - Static method in class com.tnsai.metadata.RoleSpecReader
-
Reads all metadata from a role class.
- READ - Enum constant in enum class com.tnsai.annotations.SideEffect
-
Reads external state but does not mutate it.
- realtime() - Element in annotation interface com.tnsai.annotations.EvalMetric
-
Whether to track this metric in real-time.
- REALTIME_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Real-time public feeds.
- reason() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipHistoryEntry
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipValidation
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ErrorInterrupt
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ExternalInterrupt
-
Returns the value of the
reasonrecord component. - reason() - Method in interface com.tnsai.agents.interrupt.InterruptEvent
-
Gets the reason for the interrupt.
- reason() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.TimeoutInterrupt
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.UserInterrupt
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.agents.variant.VariantManager.VariantChangeEvent
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.agents.variant.VariantSelector.SelectionResult
-
Returns the value of the
reasonrecord component. - reason() - Element in annotation interface com.tnsai.annotations.ApprovalRequired
- reason() - Element in annotation interface com.tnsai.annotations.Variant
-
Optional reason for using this variant.
- reason() - Method in interface com.tnsai.cancellation.CancellationToken
-
Reason supplied to
CancellationToken.cancel(String), if any. - reason() - Method in record class com.tnsai.context.decision.DecisionReasoning.Alternative
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.hooks.events.AgentStop
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.hooks.events.SessionEnd
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.hooks.HookResult.Block
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.payment.Settlement.Rejected
-
Returns the value of the
reasonrecord component. - reason() - Method in exception class com.tnsai.rag.RetrievalException
-
Returns the stable failure category.
- reason() - Method in record class com.tnsai.reliability.Outcome.Aborted
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.reliability.Outcome.Failed
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.reliability.Progress.RunAborted
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.reliability.Progress.RunFailed
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.security.approval.InterruptService.InterruptRequest
-
Returns the value of the
reasonrecord component. - reason(String) - Method in class com.tnsai.security.approval.ApprovalToken.Builder
-
Sets the reason for approval request.
- reason(String, ReasoningStrategyHandle.ReasoningContext) - Method in interface com.tnsai.reasoning.ReasoningStrategyHandle
-
Performs reasoning on a message using the strategy's algorithm.
- reason(Map<String, Object>) - Method in interface com.tnsai.spi.CognitiveModel
-
Performs one reasoning cycle.
- reasoning() - Method in record class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityResult
-
Returns the value of the
reasoningrecord component. - reasoning() - Method in record class com.tnsai.agents.variant.VariantSelector.SelectionResult
-
Returns the value of the
reasoningrecord component. - reasoning(DecisionReasoning) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- REASONING - Enum constant in enum class com.tnsai.annotations.Search.Strategy
-
Root-to-leaf tree descent with a model choosing the branch.
- ReasoningContext(LLMClient, List<Map<String, Object>>, List<Map<String, Object>>) - Constructor for record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningContext
-
Creates an instance of a
ReasoningContextrecord class. - ReasoningResult(String, boolean, Map<String, Object>) - Constructor for record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningResult
-
Creates an instance of a
ReasoningResultrecord class. - ReasoningStep(String, String, Map<String, Object>) - Constructor for record class com.tnsai.context.decision.DecisionReasoning.ReasoningStep
-
Creates an instance of a
ReasoningSteprecord class. - reasoningStrategy(ReasoningStrategyHandle) - Method in class com.tnsai.agents.AgentBuilder
-
Sets an explicit reasoning strategy handle.
- reasoningStrategy(String) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the reasoning strategy by name (e.g., "react", "tot", "got", "self-consistency").
- ReasoningStrategyHandle - Interface in com.tnsai.reasoning
-
SPI handle for reasoning strategy integration.
- ReasoningStrategyHandle.Factory - Interface in com.tnsai.reasoning
-
Factory for creating ReasoningStrategyHandle instances by name.
- ReasoningStrategyHandle.ReasoningContext - Record Class in com.tnsai.reasoning
-
Context provided to the reasoning strategy by the Agent.
- ReasoningStrategyHandle.ReasoningResult - Record Class in com.tnsai.reasoning
-
Result of a reasoning operation.
- receiptUrl() - Method in record class com.tnsai.payment.Settlement.Settled
-
Returns the value of the
receiptUrlrecord component. - receiveMessage(AgentMessage) - Method in class com.tnsai.agents.Agent
- receiveMessage(AgentMessage) - Method in interface com.tnsai.communication.AgentCommunicationManager.MessageReceiver
- receiveSelf() - Element in annotation interface com.tnsai.annotations.EventHandler
-
Whether handler should receive events from self.
- receiveSelf() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns the value of the
receiveSelfrecord component. - recencyWeight() - Method in class com.tnsai.memory.advanced.MemoryImportanceScorer
-
Returns the recency weight.
- recentMessages() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.LoadedContext
-
Returns the value of the
recentMessagesrecord component. - recentTurnCount() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.TierConfig
-
Returns the value of the
recentTurnCountrecord component. - recentWindowSize(int) - Method in class com.tnsai.memory.strategy.HybridStrategy.Builder
-
Number of recent messages to keep in full.
- ReciprocalRankFusion - Class in com.tnsai.memory.advanced
-
Reciprocal Rank Fusion (RRF) for combining multiple ranked result lists.
- ReciprocalRankFusion() - Constructor for class com.tnsai.memory.advanced.ReciprocalRankFusion
-
Creates an RRF combiner with the default k=60.
- ReciprocalRankFusion(int) - Constructor for class com.tnsai.memory.advanced.ReciprocalRankFusion
-
Creates an RRF combiner with a custom k value.
- record(long, boolean) - Method in class com.tnsai.agents.variant.VariantManager.VariantStats
- record(AgentLiabilityRecord) - Method in interface com.tnsai.accountability.LiabilitySink
-
Persist a record.
- record(AgentLiabilityRecord) - Method in class com.tnsai.accountability.RecordingLiabilitySink
- record(AuditEvent) - Method in interface com.tnsai.security.audit.AuditStore
-
Records an audit event.
- record(String, boolean, long, boolean) - Method in class com.tnsai.resilience.ResilienceMetrics
-
Records a single action invocation.
- recordAccess() - Method in class com.tnsai.memory.strategy.MemoryEntry
-
Record an access — reinforces strength (Ebbinghaus spacing effect).
- recordCount() - Method in class com.tnsai.accountability.RecordingLiabilitySink
-
Test helper: how many records have been recorded.
- recordCount() - Method in record class com.tnsai.accountability.ReputationScore
-
Returns the value of the
recordCountrecord component. - recordFailure() - Method in class com.tnsai.resilience.MeteredHandle
-
Marks the action's invocation as failed.
- recordFailure(AgentVariant, int) - Method in class com.tnsai.agents.variant.VariantSelector
-
Records a failed execution for learning.
- recordFailure(Throwable) - Method in class com.tnsai.resilience.TracedSpan
-
Marks the span as failed with the given throwable.
- recordGoalCompletion(String, boolean, Map<String, Object>) - Method in class com.tnsai.agents.Agent
-
Manually records a goal completion event for evaluation.
- recordGoalCompletion(String, boolean, Map<String, Object>) - Method in class com.tnsai.agents.AgentCognitiveSupport
- recordGoalCompletion(String, boolean, Map<String, Object>) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- RecordingLiabilitySink - Class in com.tnsai.accountability
-
In-memory
LiabilitySinkfor tests and assertions (TNS-298). - RecordingLiabilitySink() - Constructor for class com.tnsai.accountability.RecordingLiabilitySink
- recordMembership(Agent, AgentGroup) - Method in class com.tnsai.agents.groups.GroupRegistry
-
Records that an agent has joined a group.
- recordMetric(String, double) - Method in class com.tnsai.eval.hooks.EvalContext
-
Records a numeric metric value.
- recordMetric(String, double, Map<String, String>) - Method in class com.tnsai.eval.hooks.EvalContext
-
Records a metric with tags.
- records() - Method in class com.tnsai.accountability.RecordingLiabilitySink
- recordStats() - Element in annotation interface com.tnsai.annotations.Variant
-
Whether to record variant usage for statistics.
- recordSuccess() - Method in class com.tnsai.resilience.MeteredHandle
-
Marks the action's invocation as successful.
- recordSuccess(AgentVariant, int) - Method in class com.tnsai.agents.variant.VariantSelector
-
Records a successful execution for learning.
- recordSuccess(Object) - Method in class com.tnsai.resilience.TracedSpan
-
Marks the span as successful with the given return value (logged only if
includeResult). - recordTask(AgentVariant, long, boolean) - Method in class com.tnsai.agents.variant.VariantManager
-
Records a completed task for statistics.
- recordTaskComplete(String) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Records that a task has been completed by a member.
- recordTaskStart(String) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Records that a task has been assigned to a member.
- recordToolOutcome(FeedbackCollector.ToolOutcome) - Method in interface com.tnsai.feedback.FeedbackCollector
-
Records the outcome of a tool execution.
- recordToolOutcome(String, Object, boolean, long) - Method in class com.tnsai.agents.Agent
- recordToolOutcome(String, Object, boolean, long) - Method in class com.tnsai.agents.AgentCognitiveSupport
-
Records a tool outcome for feedback learning.
- recordToolOutcome(String, Object, boolean, long) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- recordToolOutcome(String, Object, boolean, long) - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- recordUserFeedback(String, String, Map<String, Object>) - Method in interface com.tnsai.feedback.FeedbackCollector
-
Records explicit user feedback (thumbs up/down, correction, preference).
- recoverable() - Method in record class com.tnsai.agents.async.ChatEvent.Error
-
Returns the value of the
recoverablerecord component. - recoverable() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ErrorInterrupt
-
Returns the value of the
recoverablerecord component. - recoverable() - Method in record class com.tnsai.context.decision.DecisionOutcome.OutcomeError
-
Returns the value of the
recoverablerecord component. - recoverable() - Method in record class com.tnsai.events.ErrorEvent
-
Returns the value of the
recoverablerecord component. - recoverable(String, String) - Static method in record class com.tnsai.context.decision.DecisionOutcome.OutcomeError
-
Creates a recoverable error.
- recoverable(String, String, String) - Static method in record class com.tnsai.events.ErrorEvent
-
Creates a recoverable error event.
- RECOVERING - Enum constant in enum class com.tnsai.resilience.recovery.AgentHealthState
- recoveryAction() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
recoveryActionrecord component. - recoveryAction(String) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- recoveryAttempts() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
recoveryAttemptsrecord component. - recoveryAttempts(int) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- RecoveryDecision - Class in com.tnsai.resilience.recovery
-
Describes the action the agent should take after a failure.
- RecoveryDecision.Action - Enum Class in com.tnsai.resilience.recovery
- recoveryManager(AgentRecoveryManager) - Method in class com.tnsai.agents.resilience.AgentResilienceManager.Builder
-
Sets the recovery manager.
- Recovery Scenarios - Search tag in package com.tnsai.state
- Section
- REDDIT_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Reddit API.
- redirected(String, String) - Static method in class com.tnsai.agents.execution.AgentToolExecutor.ToolCallResult
- REDIS - Enum constant in enum class com.tnsai.annotations.MemorySpec.Persistence
-
Redis-based persistence
- REDIS_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Redis key-value / hash / TTL ops.
- RedisCheckpointStore - Class in com.tnsai.reliability
-
Distributed
CheckpointStorebacked by Redis (TNS-312). - RedisCheckpointStore(RedisClient) - Constructor for class com.tnsai.reliability.RedisCheckpointStore
-
Uses
RedisCheckpointStore.DEFAULT_KEY_PREFIXwith a caller-owned client; the store never closes it. - RedisCheckpointStore(RedisClient, String) - Constructor for class com.tnsai.reliability.RedisCheckpointStore
-
Uses a caller-owned client; the store never closes it.
- RedisIdempotencyStore - Class in com.tnsai.idempotency
-
Distributed
IdempotencyStorebacked by Redis (issue #91). - RedisIdempotencyStore(RedisClient) - Constructor for class com.tnsai.idempotency.RedisIdempotencyStore
-
Uses
RedisIdempotencyStore.DEFAULT_KEY_PREFIXwith a caller-owned client; the store never closes it. - RedisIdempotencyStore(RedisClient, String) - Constructor for class com.tnsai.idempotency.RedisIdempotencyStore
-
Uses a caller-owned client; the store never closes it.
- refinementPasses(int) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Sets number of refinement passes for iterative refinement.
- refresh() - Method in class com.tnsai.skills.FileSystemSkillStore
-
Re-scan the root directory.
- REFUSE - Enum constant in enum class com.tnsai.communication.CNPMessageType
- regex(String) - Static method in interface com.tnsai.hooks.HookMatcher
- Regex(Pattern) - Constructor for record class com.tnsai.hooks.HookMatcher.Regex
-
Creates an instance of a
Regexrecord class. - register(Agent) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Registers an agent as a group member.
- register(AgentGroup) - Method in class com.tnsai.agents.groups.GroupRegistry
-
Registers an existing group.
- register(Hook<E>) - Method in class com.tnsai.hooks.HookDispatcher
-
Register a hook.
- register(OutputFormat, OutputSerializer) - Method in class com.tnsai.output.OutputSerializerRegistry
-
Registers a custom serializer for a format.
- register(Skill) - Method in class com.tnsai.skills.FileSystemSkillStore
- register(Skill) - Method in class com.tnsai.skills.InMemorySkillStore
- register(Skill) - Method in interface com.tnsai.skills.SkillStore
-
Register or replace a skill.
- register(ToolRegistry.ToolRegistryEntry) - Method in interface com.tnsai.spi.ToolRegistry
-
Registers a tool in the registry.
- register(Object, EventHandlerMetadata) - Method in class com.tnsai.events.handler.EventHandlerRegistry
-
Registers a single handler.
- register(String, Consumer<AgentMessage>) - Method in interface com.tnsai.communication.transport.CommunicationTransport
-
Registers an agent with the transport layer to receive messages.
- register(String, Consumer<AgentMessage>) - Method in class com.tnsai.communication.transport.LocalTransport
- registerAgent(AgentCommunicationManager.MessageReceiver) - Method in class com.tnsai.communication.AgentCommunicationManager
-
Registers an agent with the communication manager.
- registeredFormats() - Method in class com.tnsai.rag.ContentExtractorRegistry
-
Returns the concrete formats registered in this immutable snapshot.
- registeredProviders() - Method in class com.tnsai.spi.CheckpointerFactory
-
Returns the names of all registered providers.
- registerExecutor(ActionType, TypedActionExecutor) - Method in class com.tnsai.actions.ActionExecutor
-
Registers a custom executor for a specific action type.
- registerHandlers(Object) - Method in class com.tnsai.events.handler.EventHandlerRegistry
-
Scans the target object for
@EventHandlermethods and registers them. - registerRole(Role) - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Registers callbacks from a Role instance.
- registerSource(EntitySource) - Method in interface com.tnsai.context.entity.EntityResolver
-
Registers a new entity source.
- Registration - Search tag in interface com.tnsai.security.PermissionProvider
- Section
- Registration - Search tag in interface com.tnsai.spi.CheckpointerProvider
- Section
- registry() - Method in class com.tnsai.tools.method.ToolMethodDispatcher
- REGULATORY - Enum constant in enum class com.tnsai.accountability.LiabilityClass
-
Action with regulatory or financial reach.
- reject(String, String) - Method in class com.tnsai.security.approval.ApprovalToken
-
Marks token as rejected.
- reject(String, String, String) - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Rejects a token.
- reject(String, String, String) - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- REJECT - Enum constant in enum class com.tnsai.annotations.InputGuardrail.FailureAction
-
Reject input and throw exception
- REJECT - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.FailureAction
-
Throw exception
- REJECT - Enum constant in enum class com.tnsai.annotations.QualityGate.OnFail
-
Throw exception, reject the result.
- REJECT - Enum constant in enum class com.tnsai.communication.CNPMessageType
- REJECT - Enum constant in enum class com.tnsai.communication.SharedBlackboard.VoteType
- REJECT_CONFLICTS - Static variable in interface com.tnsai.models.agent.BeliefRevisionStrategy
-
Strategy that rejects incoming beliefs if they conflict.
- rejected() - Method in record class com.tnsai.context.decision.DecisionReasoning.Alternative
-
Returns the value of the
rejectedrecord component. - rejected(String, String) - Static method in record class com.tnsai.context.decision.DecisionReasoning.Alternative
-
Creates a rejected alternative.
- rejected(String, Map<String, Object>) - Static method in class com.tnsai.security.approval.InterruptResult
-
Creates a rejected result.
- Rejected(String, String, Instant) - Constructor for record class com.tnsai.payment.Settlement.Rejected
-
Creates an instance of a
Rejectedrecord class. - REJECTED - Enum constant in enum class com.tnsai.security.approval.ApprovalToken.Status
-
Rejected by human
- REJECTED - Enum constant in enum class com.tnsai.security.approval.InterruptResult.Outcome
-
User rejected the action
- rejectedAlternative(String, String) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- rejections() - Method in record class com.tnsai.communication.SharedBlackboard.VoteResult
-
Returns the value of the
rejectionsrecord component. - relatedEventIds() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
relatedEventIdsrecord component. - relatedEventIds(List<String>) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- relativeKey(Path) - Static method in class com.tnsai.rag.IngestionPathSelector
-
Renders a relative path with
/separators, independent of the host filesystem. - relaxValidation(String) - Method in class com.tnsai.agents.AgentBuilder
-
Suppress a specific
ValidationIssue.code()from theAgentBuilder.build()pipeline. - relaxValidation(Set<String>) - Method in class com.tnsai.agents.AgentBuilder
-
Bulk variant of
AgentBuilder.relaxValidation(String)(issue #85 phase 3 acceptance bullet). - release() - Method in class com.tnsai.annotations.ClassConfig.RoleBinding
-
Releases what this binding recorded, and only that.
- releaseAllRoles(Agent) - Method in class com.tnsai.roles.registry.RoleRegistry
-
Releases all roles from an agent.
- releaseRole(Agent, Role) - Method in class com.tnsai.roles.registry.RoleRegistry
-
Releases a role from an agent.
- RELEVANCE - Enum constant in enum class com.tnsai.annotations.MemorySpec.PruneStrategy
-
Keep the most relevant messages: on capacity overflow the messages with the lowest TF-IDF relevance to the most recent message are evicted (ties evict oldest-first, degrading to sliding window).
- relevanceWeight() - Method in class com.tnsai.memory.advanced.MemoryImportanceScorer
-
Returns the relevance weight.
- relevantHeaders() - Method in record class com.tnsai.exceptions.ProviderDetails
-
Returns the value of the
relevantHeadersrecord component. - relevantHeaders(Map<String, String>) - Method in class com.tnsai.exceptions.ProviderDetails.Builder
- relevantMessages() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.LoadedContext
-
Returns the value of the
relevantMessagesrecord component. - reload() - Method in class com.tnsai.spi.CheckpointerFactory
-
Reloads all providers.
- remainingTokens() - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Returns the remaining tokens in the budget.
- remainingUSD() - Method in record class com.tnsai.reliability.Progress.CostUpdate
-
Returns the value of the
remainingUSDrecord component. - remove(Agent) - Method in class com.tnsai.agents.async.AsyncMsgHub
-
Removes a participant from the hub.
- remove(String) - Method in class com.tnsai.actions.ActionParams
-
Removes a parameter.
- remove(String) - Method in class com.tnsai.agents.groups.GroupRegistry
-
Removes a group from the registry.
- remove(String) - Method in class com.tnsai.memory.advanced.BM25Index
-
Removes an entry from the index.
- remove(String) - Method in class com.tnsai.memory.advanced.SkillMemoryStore
-
Removes a skill by name.
- remove(String) - Method in interface com.tnsai.memory.advanced.VectorIndex
-
Removes one entry.
- remove(String) - Method in class com.tnsai.memory.advanced.VectorMemoryStore
-
Removes an entry by ID.
- remove(String) - Method in class com.tnsai.memory.SharedMemoryRegistry
-
Removes a shared memory namespace.
- remove(String) - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Removes a memory by ID.
- REMOVE - Enum constant in enum class com.tnsai.annotations.Effect.Operation
-
Remove from list/collection state.
- REMOVE - Enum constant in enum class com.tnsai.events.BDIUpdateEvent.Operation
- REMOVE_FAILED - Enum constant in enum class com.tnsai.agents.groups.GroupPolicy.FailurePolicy
-
Remove failed members from the group
- removeBelief(Belief) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Removes a dynamically added belief.
- removeBelief(String) - Method in interface com.tnsai.spi.CognitiveModel
-
Removes a belief from the cognitive model.
- removeBeliefByContent(String) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Removes a belief by content.
- removeChild(Agent) - Method in class com.tnsai.agents.Agent
-
Removes a child agent.
- removeChild(Agent) - Method in class com.tnsai.agents.hierarchy.AgentHierarchyManager
-
Removes a child agent from this agent's hierarchy.
- removeChildDirect(Agent) - Method in class com.tnsai.agents.Agent
- removeChildDirect(Agent) - Method in interface com.tnsai.agents.hierarchy.AgentHierarchyManager.HierarchyContext
-
Removes a child directly from the internal list.
- REMOVED - Enum constant in enum class com.tnsai.context.snapshot.SnapshotDiff.ChangeType
- REMOVED_POLICY - Enum constant in enum class com.tnsai.agents.groups.MembershipManager.MembershipAction
- REMOVED_UNHEALTHY - Enum constant in enum class com.tnsai.agents.groups.MembershipManager.MembershipAction
- removedBeliefs() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
removedBeliefsrecord component. - removedDesires() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
removedDesiresrecord component. - removedEntities() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
removedEntitiesrecord component. - removeDesire(Desire) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Removes a dynamically added desire.
- removeDesireByObjective(String) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Removes a desire by objective.
- removedIntentions() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
removedIntentionsrecord component. - removeDocument(String) - Method in class com.tnsai.knowledge.InMemoryKnowledgeBase
- removeDocument(String) - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Removes a document from the knowledge base.
- removeEvalHook(EvalHook) - Method in class com.tnsai.agents.Agent
-
Removes an evaluation hook.
- removeEvalHook(EvalHook) - Method in class com.tnsai.agents.AgentCognitiveSupport
- removeEvalHook(EvalHook) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- removeGoal(String) - Method in interface com.tnsai.spi.CognitiveModel
-
Removes a goal from the cognitive model.
- removeHook(EvalHook) - Method in interface com.tnsai.eval.hooks.EvalHandle
- removeIntention(Intention) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Removes a dynamically added intention.
- removeIntentionByTask(String) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Removes an intention by task description.
- removeLifecycleListener(GroupLifecycleListener) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Removes a lifecycle listener.
- removeListener(Consumer<SharedBlackboard.Entry>) - Method in class com.tnsai.communication.SharedBlackboard
-
Removes a listener.
- removeListener(Consumer<EvalContext.MetricEvent>) - Method in class com.tnsai.eval.hooks.EvalContext
-
Removes a metric listener.
- removeMember(String) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Removes an agent from this group.
- removeMembership(Agent, AgentGroup) - Method in class com.tnsai.agents.groups.GroupRegistry
-
Removes an agent's membership record from a group.
- removeMembershipListener(MembershipListener) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Removes a membership listener.
- removeTypeListener(SharedBlackboard.EntryType, Consumer<SharedBlackboard.Entry>) - Method in class com.tnsai.communication.SharedBlackboard
-
Removes a type listener.
- removeVariable(String) - Method in interface com.tnsai.context.ContextManagerHandle
- removeVariantChangeListener(Consumer<VariantManager.VariantChangeEvent>) - Method in class com.tnsai.agents.variant.VariantManager
-
Removes a previously registered listener.
- render() - Method in interface com.tnsai.prompt.PromptTemplate
-
Renders the template with no variables.
- render(String, ChatKnowledgeContext.Turn, RetrievalResult, int) - Static method in class com.tnsai.rag.RetrievedContextRenderer
-
Renders a chat turn's knowledge behind one boundary: the blocks declared before the first SEARCH entry, the SEARCH evidence within the context window, then the blocks declared after it.
- render(String, RetrievalResult, int) - Static method in class com.tnsai.rag.RetrievedContextRenderer
-
Renders canonical retrieval evidence within the configured context window.
- render(String, List<SearchResult>) - Static method in class com.tnsai.rag.RetrievedContextRenderer
-
Renders search results for a single outbound LLM request.
- render(String, Map<String, Object>) - Method in interface com.tnsai.prompt.TemplateEngine
-
Renders a template with the given variables.
- render(Map<String, Object>) - Method in interface com.tnsai.prompt.PromptTemplate
-
Renders the template with the given variables.
- renderConstraints(StringBuilder, String[], String[], String) - Static method in class com.tnsai.prompt.format.PromptFormat
-
Convenience overload accepting
String[]arrays — convenient for callers reading fromActionMetadatawhose getters return raw arrays. - renderConstraints(StringBuilder, List<String>, List<String>, String) - Static method in class com.tnsai.prompt.format.PromptFormat
-
Append a constraint block for an action —
Must always:first, thenMust never:, each as a header line followed by indented bullet rules. - renderedBody() - Method in record class com.tnsai.skills.ActiveSkill
-
Returns the value of the
renderedBodyrecord component. - renderExamples(StringBuilder, List<ToolExampleSpec>, String) - Static method in class com.tnsai.prompt.format.PromptFormat
-
Append a `@ToolExample` block for an action — positive examples under
Examples:, then negatives underAvoid (anti-patterns):. - renderPromptSection(String) - Method in class com.tnsai.skills.SkillManager
-
Build the "Skills" section appended to the system prompt for the next LLM call.
- REPLACE - Enum constant in enum class com.tnsai.annotations.Contract.InheritanceMode
-
Subclass contracts replace parent contracts
- replaceDocuments(Collection<String>, List<Document>) - Method in class com.tnsai.knowledge.InMemoryKnowledgeBase
- replaceDocuments(Collection<String>, List<Document>) - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Removes then adds documents as one generation.
- replaceHistory(List<Map<String, Object>>) - Method in interface com.tnsai.memory.MemoryStore
-
Atomically replaces the entire conversation history with the given list.
- replaceHistory(List<Map<String, Object>>) - Method in class com.tnsai.memory.vector.VectorSearchMemoryStore
- REPLACEMENT_CHAR - Static variable in class com.tnsai.utils.TextSanitizer
-
Unicode replacement character used for every lone surrogate removed.
- Replay - Search tag in class com.tnsai.reliability.InMemoryProgressSink
- Section
- reply(String, Object) - Method in record class com.tnsai.spi.MessageBroker.Message
-
Creates a reply to this message.
- reply(String, String, SharedBlackboard.EntryType, String, Object) - Method in class com.tnsai.communication.SharedBlackboard
-
Posts a reply to an existing entry.
- REPLY - Enum constant in enum class com.tnsai.protocols.annotations.MessageType
-
Reply messages (Request-Reply pattern).
- REPLY - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- REPLY_ERROR - Enum constant in enum class com.tnsai.protocols.annotations.MessageHandler.ErrorStrategy
-
Send error response to sender
- Reply Creation - Search tag in class com.tnsai.protocols.models.Message
- Section
- report(Throwable, ErrorCategory, Map<String, Object>, Map<String, String>) - Static method in class com.tnsai.observability.errors.ErrorEmitter
-
Convenience: full report with the caller's classification + attributes applied.
- reportId() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
reportIdrecord component. - reportId(String) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- reportKnowledgeUsage(String, List<KnowledgeUsage>) - Method in class com.tnsai.agents.Agent
-
Hands a call's knowledge usage to the listener.
- reportKnowledgeUsage(String, List<KnowledgeUsage>) - Method in interface com.tnsai.agents.chat.AgentChatOrchestrator.ChatContext
-
Receives what each knowledge source gave one
scope: an action name, or"chat"for a chat turn. - reportKnowledgeUsage(String, List<KnowledgeUsage>) - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
Receives what each knowledge source gave one
scope: an action name, or"chat"for a chat turn. - reportKnowledgeUsage(String, List<KnowledgeUsage>) - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
-
Receives what each knowledge source gave one
scope: an action name, or"chat"for a chat turn. - reportKnowledgeUsage(String, List<KnowledgeUsage>) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- ReputationLedger - Interface in com.tnsai.accountability
-
Reputation oracle derived from
AgentLiabilityRecordhistory (TNS-298). - ReputationScore - Record Class in com.tnsai.accountability
-
Aggregate reputation derived from an agent's
AgentLiabilityRecordhistory (TNS-298). - ReputationScore(String, double, int, Instant) - Constructor for record class com.tnsai.accountability.ReputationScore
-
Creates an instance of a
ReputationScorerecord class. - request() - Method in record class com.tnsai.hooks.events.OnActionError
-
Returns the value of the
requestrecord component. - request() - Method in record class com.tnsai.hooks.events.PostAction
-
Returns the value of the
requestrecord component. - request() - Method in record class com.tnsai.hooks.events.PreAction
-
Returns the value of the
requestrecord component. - request(String, MessageBroker.Message) - Method in interface com.tnsai.spi.MessageBroker
-
Sends a request and waits for a reply.
- Request(String, String, String, String, int, int, String) - Constructor for record class com.tnsai.rag.ChunkContextGenerator.Request
-
Compatibility constructor without surrounding/source identity.
- Request(String, String, String, String, int, int, String, String, String) - Constructor for record class com.tnsai.rag.ChunkContextGenerator.Request
-
Creates an instance of a
Requestrecord class. - REQUEST - Enum constant in enum class com.tnsai.communication.TaskMessageType
- REQUEST - Enum constant in enum class com.tnsai.protocols.annotations.MessageType
-
Request messages (Request-Reply pattern).
- REQUEST - Enum constant in enum class com.tnsai.protocols.models.Message.MessageType
- Request (on stdin) - Search tag in class com.tnsai.hooks.external.ExternalScriptHook
- Section
- requestedBy(String) - Method in class com.tnsai.security.approval.ApprovalToken.Builder
-
Sets who requested approval.
- requestId() - Method in record class com.tnsai.events.ApprovalRequestEvent
-
Returns the value of the
requestIdrecord component. - requestInterrupt(InterruptReason, Map<String, Object>) - Method in class com.tnsai.security.approval.InterruptService
-
Requests an interrupt and blocks until resolved or timed out.
- requestInterrupt(InterruptReason, Map<String, Object>, Duration) - Method in class com.tnsai.security.approval.InterruptService
-
Requests an interrupt with custom timeout.
- requestInterruptAsync(InterruptReason, Map<String, Object>, Duration) - Method in class com.tnsai.security.approval.InterruptService
-
Requests an interrupt without blocking (async).
- RequestReply - Annotation Interface in com.tnsai.protocols.annotations
-
Enables synchronous request-reply messaging pattern.
- requireBlankForEmpty(String, String) - Static method in class com.tnsai.rag.StructuralPath
-
Fails a non-blank selector over an empty document, which has no block to select.
- required() - Element in annotation interface com.tnsai.annotations.Lifecycle
-
Whether failure should prevent agent startup.
- required() - Element in annotation interface com.tnsai.annotations.LLMParam
-
Whether the parameter is required.
- required() - Element in annotation interface com.tnsai.annotations.ToolParam
-
Whether this parameter must be present in every LLM call.
- required() - Method in record class com.tnsai.spi.ToolRegistry.ToolParameter
-
Returns the value of the
requiredrecord component. - required() - Method in record class com.tnsai.tools.method.ToolParameter
-
Returns the value of the
requiredrecord component. - REQUIRED - Enum constant in enum class com.tnsai.annotations.IdempotencyHint
-
Idempotency tracking is mandatory.
- requiredCapabilities() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
requiredCapabilitiesrecord component. - requiredCapabilities(List<String>) - Method in class com.tnsai.agents.groups.GroupTask.Builder
- requireDirectBudget(Map<String, Integer>, int) - Method in record class com.tnsai.rag.KnowledgeSelection
-
Checks the DIRECT sources' measured size against their budgets.
- requiredPermissions() - Element in annotation interface com.tnsai.annotations.Security
-
Required permissions for this action.
- requiredVariables() - Method in record class com.tnsai.prompt.PromptSpec
-
Returns the value of the
requiredVariablesrecord component. - requiredVariables(String...) - Method in class com.tnsai.prompt.PromptSpec.Builder
- requiredVariables(Set<String>) - Method in class com.tnsai.prompt.PromptSpec.Builder
- requireHonored(ActionMetadata, Object) - Method in interface com.tnsai.security.SecurityEnforcerHandle
-
Refuses, before the action's body runs, an action whose target is not a
Roleand whose features this handle cannot honor. - requireKnownRoles(Collection<String>) - Method in class com.tnsai.annotations.ClassConfig
-
Fails when
rolesnames a role the agent does not play. - requireLoaded(Object, Collection<String>, Map<String, Object>) - Method in interface com.tnsai.rag.RetrievalSpi
-
Loads the named SEARCH sources of
targetin the binding a dispatch of its declared knowledge with thiscontextbinds, and returns the number of documents each holds. - Requirements - Search tag in package com.tnsai.annotations
- Section
- requireNonBlank(String, String) - Static method in class com.tnsai.utils.Validators
-
Validates that a string is not null, empty, or whitespace-only.
- requireNonEmpty(String, String) - Static method in class com.tnsai.utils.Validators
-
Validates that a string is not null or empty.
- requireNonEmpty(Collection<T>, String) - Static method in class com.tnsai.utils.Validators
-
Validates that a collection is not null or empty.
- requireNonEmpty(Map<K, V>, String) - Static method in class com.tnsai.utils.Validators
-
Validates that a map is not null or empty.
- requireNonNull(T, String) - Static method in class com.tnsai.utils.Validators
-
Validates that an object is not null.
- requireReady(Object, Map<String, Object>) - Method in interface com.tnsai.rag.RetrievalSpi
-
Checks that every configured
WHEN_CONFIGUREDsource in the target's reach holds at least one unit, keyed as its actions' dispatch keys it. - requires() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
LLM capabilities this role actually exercises at runtime — surfaced to the build-time validation pipeline (
AGENT-V004, issue #238) so a missing capability on the configured LLM fails fast atAgentBuilder.build()rather than at the first streaming / vision / structured-output call. - requireSameBinding(AccessRequest, AccessRequest) - Static method in class com.tnsai.security.AccessGate
- requiresConfirmation() - Element in annotation interface com.tnsai.annotations.Tool
-
Whether this tool's invocation should be gated through the agent's configured
ToolCallFilterfor explicit per-call approval. - requiresConfirmation() - Method in record class com.tnsai.tools.method.DynamicToolMethod
-
Returns the value of the
requiresConfirmationrecord component. - requiresConfirmation() - Method in interface com.tnsai.tools.method.ToolMethod
-
Whether dispatching this tool should be gated behind an approval / confirmation filter (the
AGENT-V006safety contract). - requiresConfirmation(boolean) - Method in class com.tnsai.tools.method.DynamicToolMethod.Builder
- requiresMultiPass() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Returns true if any strategy requires multiple LLM calls.
- requiresMultiPass() - Method in class com.tnsai.prompt.strategy.PromptEnhancer
-
Returns true if any strategy requires multiple LLM calls.
- requiresPostProcessing() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
-
Returns true if any strategy requires post-processing.
- requiresPostProcessing() - Method in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Returns true if this strategy requires post-processing of the response.
- requiresSession() - Element in annotation interface com.tnsai.annotations.SkillSpec
-
Whether this skill requires an active agent session.
- requireStreaming() - Method in interface com.tnsai.llm.LLMCapabilities
-
Validates that this model supports streaming.
- requireTenantId() - Static method in class com.tnsai.context.TenantContext
-
Returns the tenant currently bound to this thread and fails closed when a tenant-aware component is invoked without an active scope.
- requireToolCalling() - Method in interface com.tnsai.llm.LLMCapabilities
-
Validates that this model supports tool/function calling.
- requireUniqueRoleNames(Collection<Class<?>>, String) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Checks that no two roles of one agent share a name.
- requireVision() - Method in interface com.tnsai.llm.LLMCapabilities
-
Validates that this model supports vision/image input.
- rerank() - Element in annotation interface com.tnsai.annotations.Search
-
Whether to rerank results by relevance.
- rerank() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
rerankrecord component. - rerank() - Method in class com.tnsai.rag.SearchSettings
- rerank(boolean) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- rerank(boolean) - Method in class com.tnsai.rag.SearchSettings.Builder
- rerankerModel() - Element in annotation interface com.tnsai.annotations.Search
-
Exact, case-sensitive reranking model identifier.
- rerankerModel() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
rerankerModelrecord component. - rerankerModel() - Method in class com.tnsai.rag.SearchSettings
- rerankerModel(String) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- rerankerModel(String) - Method in class com.tnsai.rag.SearchSettings.Builder
- RESEARCH_FINDING - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- reservationValue() - Element in annotation interface com.tnsai.annotations.Coordination.Negotiation
-
Minimum acceptable value (walk-away point).
- reset() - Method in class com.tnsai.agents.variant.VariantSelector.TokenBudget
-
Resets the budget.
- reset() - Method in interface com.tnsai.annotations.ConfigReset
-
Drops the state derived from the files read before the run boundary.
- reset() - Method in class com.tnsai.output.OutputSerializerRegistry
-
Resets registry to default serializers.
- reset() - Method in interface com.tnsai.spi.CognitiveModel
-
Resets the cognitive model to its initial state.
- reset() - Method in interface com.tnsai.spi.ResilienceStrategy
-
Resets the strategy state.
- resetFailedCallbackCount() - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Resets the failed callback counter.
- resetForTesting() - Static method in class com.tnsai.observability.errors.ErrorReports
-
Drop any test-installed publisher and force the next
ErrorReports.publish(ErrorReport)to re-run SPI discovery. - resetForTesting() - Method in class com.tnsai.resilience.ResilienceMetrics
-
Test hook — drops every recorded metric.
- resetPublisher() - Static method in class com.tnsai.observability.events.AgentEvents
-
Restore the SPI-resolved publisher (default).
- resetSession() - Method in class com.tnsai.skills.SkillManager
-
Reset session state — drop every active skill.
- resetStats() - Method in class com.tnsai.agents.variant.VariantSelector
-
Resets learning statistics.
- resetTimeoutMs() - Element in annotation interface com.tnsai.annotations.Resilience.CircuitBreaker
-
Time to wait before attempting reset in milliseconds.
- resetTimer(Agent) - Method in class com.tnsai.agents.lifecycle.IdleMonitor
-
Resets the idle timer for an agent.
- resilience(ResilienceConfig) - Method in class com.tnsai.roles.RoleBuilder
-
Sets this role's resilience policy (TNS-567) — the programmatic equivalent of a class-level
@Resilience. - Resilience - Annotation Interface in com.tnsai.annotations
-
Configures resilience policies for actions and roles.
- Resilience.CircuitBreaker - Annotation Interface in com.tnsai.annotations
-
Circuit breaker configuration.
- Resilience.RateLimit - Annotation Interface in com.tnsai.annotations
-
Rate limiting configuration.
- Resilience.RateLimit.Strategy - Enum Class in com.tnsai.annotations
- Resilience.Retry - Annotation Interface in com.tnsai.annotations
-
Retry policy configuration.
- ResilienceConfig - Record Class in com.tnsai.resilience
-
Programmatic resilience policy for a builder-built
Role— the builder-path counterpart of the@Resilienceannotation (TNS-567). - ResilienceConfig(RetryPolicy, int) - Constructor for record class com.tnsai.resilience.ResilienceConfig
-
Creates an instance of a
ResilienceConfigrecord class. - ResilienceConfig.Builder - Class in com.tnsai.resilience
-
Fluent builder.
- ResilienceConfigValidator - Class in com.tnsai.agents.validation.validators
-
AGENT-V009 — Catches malformed
Resilienceconfigurations at build time. - ResilienceConfigValidator() - Constructor for class com.tnsai.agents.validation.validators.ResilienceConfigValidator
- resilienceExecutor - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- resilienceExecutor(ResilienceExecutor) - Method in class com.tnsai.agents.resilience.AgentResilienceManager.Builder
-
Sets the resilience executor.
- ResilienceExecutor - Class in com.tnsai.resilience
-
Central executor that combines retry policies, circuit breaker, bulkhead, rate limiting and dead-letter queue tracking.
- ResilienceExecutor() - Constructor for class com.tnsai.resilience.ResilienceExecutor
- ResilienceExecutor(DeadLetterQueue) - Constructor for class com.tnsai.resilience.ResilienceExecutor
- ResilienceExecutor(CircuitBreakerRegistry, BulkheadRegistry, RateLimiterRegistry, DeadLetterQueue) - Constructor for class com.tnsai.resilience.ResilienceExecutor
- ResilienceMeta() - Constructor for class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- ResilienceMetrics - Class in com.tnsai.resilience
-
In-memory metrics registry for
@Meteredactions (issue #173, Phase 1). - ResilienceMetrics.MetricSnapshot - Record Class in com.tnsai.resilience
-
Immutable snapshot of one metric's state at the moment
ResilienceMetrics.snapshot(java.lang.String)was called. - ResilienceRequest<T> - Class in com.tnsai.resilience
-
Immutable descriptor for executing an operation through the resilience pipeline.
- ResilienceRequest.Builder<T> - Class in com.tnsai.resilience
- ResilienceStrategy - Interface in com.tnsai.spi
-
Strategy interface for resilience patterns.
- ResilienceStrategy.Builder - Class in com.tnsai.spi
-
Builder for creating composite resilience strategies.
- resilient() - Element in annotation interface com.tnsai.annotations.VectorMemory
-
Whether to enable resilience features (retry + circuit breaker).
- resizeForCurrentThread(int) - Static method in class com.tnsai.observability.events.Breadcrumbs
-
Reset the current thread's buffer to a fresh ring of
capacityentries. - Resolution - Search tag in class com.tnsai.resilience.FallbackResolver
- Section
- Resolution Examples - Search tag in class com.tnsai.llm.LLMResolver
- Section
- Resolution Priority - Search tag in class com.tnsai.memory.AgentMemoryResolver
- Section
- ResolutionResult(LLMClient, LLMResolver.ResolutionSource) - Constructor for record class com.tnsai.llm.LLMResolver.ResolutionResult
-
Creates an instance of a
ResolutionResultrecord class. - resolve() - Method in class com.tnsai.llm.LLMResolver.Builder
-
Resolves the LLM using the fallback chain.
- resolve(Agent) - Static method in class com.tnsai.llm.LLMResolver
-
Resolves the LLM client for an agent without role context.
- resolve(Agent, Role) - Static method in class com.tnsai.llm.LLMResolver
-
Resolves the LLM client for the given agent and role.
- resolve(DID) - Method in class com.tnsai.identity.DIDResolver
-
Resolve a DID to its DID Document.
- resolve(KnowledgeSourceConfig) - Method in interface com.tnsai.rag.ChatKnowledgeResolver
-
Resolves one source declaration into the chat knowledge contract.
- resolve(Class<?>, String) - Static method in class com.tnsai.memory.AgentMemoryResolver
-
Resolves memory configuration from the agent class annotations.
- resolve(Object, Method, ExecutionRule) - Static method in record class com.tnsai.security.AccessDeclaration
- resolve(String) - Method in interface com.tnsai.context.entity.EntityResolver
-
Resolves an entity by its identifier.
- resolve(String, List<Skill>, int) - Method in class com.tnsai.skills.KeywordSkillResolver
- resolve(String, List<Skill>, int) - Method in class com.tnsai.skills.LLMSkillResolver
- resolve(String, List<Skill>, int) - Method in interface com.tnsai.skills.SkillResolver
-
Pick the
limitskills most relevant touserMessage. - resolve(List<Desire>) - Method in interface com.tnsai.models.agent.DesireConflictResolver
-
Resolves conflicts among a list of desires with the same priority.
- resolve(Map<String, String>, String, String, String, String) - Static method in class com.tnsai.prompt.PromptTemplateLoader
-
Resolves a template key to a formatted string with the given values.
- resolveApiKeyEnv() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
- resolveByAttributes(Map<String, Object>) - Method in interface com.tnsai.context.entity.EntityResolver
-
Resolves an entity by matching attributes.
- resolveByAttributes(Map<String, Object>, EntityType) - Method in interface com.tnsai.context.entity.EntityResolver
-
Resolves an entity by matching attributes with type constraint.
- RESOLVED - Enum constant in enum class com.tnsai.context.entity.EntityResolutionResult.ResolutionStatus
-
Entity was successfully resolved
- RESOLVED_SOURCE_PATHS_KEY - Static variable in interface com.tnsai.rag.RetrievalSpi
-
Context key for a
Map<String, java.nio.file.Path>of declared@Knowledgenames to locations known only at run time. - resolvedAt() - Method in record class com.tnsai.payment.Settlement.AlreadySettled
-
Returns the value of the
resolvedAtrecord component. - resolvedAt() - Method in record class com.tnsai.payment.Settlement.Expired
-
Returns the value of the
resolvedAtrecord component. - resolvedAt() - Method in record class com.tnsai.payment.Settlement.Rejected
-
Returns the value of the
resolvedAtrecord component. - resolvedAt() - Method in interface com.tnsai.payment.Settlement
-
Wall-clock instant the broker resolved this attempt.
- resolvedAt() - Method in record class com.tnsai.payment.Settlement.Settled
-
Returns the value of the
resolvedAtrecord component. - resolvedEntity() - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Returns the value of the
resolvedEntityrecord component. - resolveOptional() - Method in class com.tnsai.llm.LLMResolver.Builder
-
Resolves the LLM, returning empty if none found.
- resolveOrThrow(Agent, Role) - Static method in class com.tnsai.llm.LLMResolver
-
Gets the LLM client or throws if none configured.
- ResolverStatistics(int, int, int, Map<EntityType, Integer>, Map<String, Integer>) - Constructor for record class com.tnsai.context.entity.EntityResolver.ResolverStatistics
-
Creates an instance of a
ResolverStatisticsrecord class. - resolveVariant(String) - Method in class com.tnsai.agents.Agent
-
Resolves the effective variant for a given task.
- resolveVariant(String) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- resolveWithSource() - Method in class com.tnsai.llm.LLMResolver.Builder
-
Resolves the LLM with source tracking.
- RESOURCE - Enum constant in enum class com.tnsai.observability.errors.ErrorCategory
-
Exhausted resource — token budget, rate limit, capacity, disk full.
- response() - Method in record class com.tnsai.hooks.events.PostAction
-
Returns the value of the
responserecord component. - response() - Method in record class com.tnsai.llm.ParallelLLM.LLMResult
-
Returns the value of the
responserecord component. - RESPONSE - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Response to a query
- RESPONSE - Enum constant in enum class com.tnsai.communication.TaskMessageType
- Response (on stdout) - Search tag in class com.tnsai.hooks.external.ExternalScriptHook
- Section
- responseFormat() - Element in annotation interface com.tnsai.annotations.Communication
-
Preferred response format.
- responseReserve(int) - Method in class com.tnsai.memory.strategy.TokenBudget.Builder
-
Sets tokens reserved for LLM response.
- responses() - Method in record class com.tnsai.llm.ParallelLLM.ParallelResults
- Response Types - Search tag in class com.tnsai.llm.ChatResponse
- Section
- ResponsibilityInfo(String, String, String, String[], String[]) - Constructor for record class com.tnsai.roles.metadata.RoleSpecExtractor.ResponsibilityInfo
-
Creates an instance of a
ResponsibilityInforecord class. - restart(String) - Static method in class com.tnsai.resilience.recovery.RecoveryDecision
- RESTART - Enum constant in enum class com.tnsai.resilience.recovery.RecoveryDecision.Action
- RESTART_FAILED - Enum constant in enum class com.tnsai.agents.groups.GroupPolicy.FailurePolicy
-
Restart failed members in place
- restartAgent(String) - Method in class com.tnsai.agents.Agent
-
Restarts the agent with fresh state.
- restartAgent(String) - Method in interface com.tnsai.agents.execution.AgentToolExecutor.AgentContext
-
Callback for agent restart
- restartAgent(String) - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- restartAgent(String) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- restartPolicy(AgentRestartPolicy) - Method in class com.tnsai.agents.resilience.AgentResilienceManager.Builder
-
Sets the restart policy.
- restartThreshold(int) - Method in class com.tnsai.resilience.recovery.AgentRestartPolicy.Builder
- restore(AgentCheckpoint) - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Restores agent state from a checkpoint.
- restore(CognitiveModel.CognitiveState) - Method in interface com.tnsai.spi.CognitiveModel
-
Restores the cognitive state from a snapshot.
- restore(String) - Method in class com.tnsai.memory.advanced.SessionRestorer
-
Restores the tiered memory store for the given agent.
- restoreCheckpoint(MemoryManager.AgentCheckpoint) - Method in class com.tnsai.agents.execution.MemoryManager
-
Restores agent state from a checkpoint.
- restoreFromSnapshot(CognitiveEngine.BDISnapshot) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Restores dynamic BDI state from a snapshot.
- restoreLatest(MemoryStore) - Method in class com.tnsai.resilience.recovery.AgentStateRecoveryManager
- restoreLatestSnapshot(MemoryStore) - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Restores the latest snapshot to the memory store.
- result() - Method in record class com.tnsai.agents.async.ChatEvent.ToolResult
-
Returns the value of the
resultrecord component. - result() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
resultrecord component. - result() - Method in record class com.tnsai.events.RunEndEvent
-
Returns the value of the
resultrecord component. - result() - Method in record class com.tnsai.events.ToolCallEndEvent
-
Returns the value of the
resultrecord component. - result() - Method in record class com.tnsai.idempotency.IdempotencyEntry
-
Returns the value of the
resultrecord component. - result() - Method in record class com.tnsai.reliability.Outcome.Completed
-
Returns the value of the
resultrecord component. - result(String) - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- RESULT - Enum constant in enum class com.tnsai.communication.CNPMessageType
- resultingPercept() - Method in record class com.tnsai.environment.ActionOutcome
-
Returns the value of the
resultingPerceptrecord component. - results() - Method in record class com.tnsai.llm.ParallelLLM.ParallelResults
-
Returns the value of the
resultsrecord component. - results() - Method in record class com.tnsai.planning.PlannerHandle.PlanResult
-
Returns the value of the
resultsrecord component. - ResumableRun<I,
O> - Interface in com.tnsai.reliability -
Driver for a long-running, checkpoint-backed agent execution (TNS-299).
- resume() - Method in interface com.tnsai.agents.interrupt.InterruptibleAgent
-
Resumes execution after a pause.
- resume(String) - Method in class com.tnsai.reliability.DefaultResumableRun
- resume(String) - Method in interface com.tnsai.reliability.ResumableRun
-
Pick up a paused run from its latest checkpoint.
- resume(String, boolean, Map<String, Object>) - Method in class com.tnsai.security.approval.InterruptService
-
Resumes an interrupt with approval.
- RESUME - Enum constant in enum class com.tnsai.annotations.Lifecycle.Phase
-
Resume from suspension.
- resumeSession(String, Agent) - Method in class com.tnsai.agents.async.SessionManager
-
Resumes a paused session.
- retentionBase() - Method in enum class com.tnsai.memory.strategy.MemoryTier
-
Base retention score for this tier (higher = more resistant to eviction).
- RetrievalConfig - Record Class in com.tnsai.rag
-
Immutable runtime configuration for action-level retrieval.
- RetrievalConfig(Search.Strategy, List<String>, String, boolean, String, int, int, int, double, boolean, double, Search.QueryExpansion, String, String, int, boolean, String, boolean, int, int, Search.FallbackAction) - Constructor for record class com.tnsai.rag.RetrievalConfig
-
Creates an instance of a
RetrievalConfigrecord class. - RetrievalConfig.Builder - Class in com.tnsai.rag
-
Builder starting from the framework defaults.
- RetrievalDiagnostics - Record Class in com.tnsai.rag
-
Entry-point-neutral diagnostics emitted by a retrieval engine.
- RetrievalDiagnostics(Duration, int, int, RetrievalDiagnostics.CacheOutcome, List<String>, Map<String, Object>) - Constructor for record class com.tnsai.rag.RetrievalDiagnostics
-
Validates counts and defensively copies diagnostic state.
- RetrievalDiagnostics.CacheOutcome - Enum Class in com.tnsai.rag
-
Cache behavior visible to callers and observability integrations.
- RetrievalEngine - Class in com.tnsai.rag
-
Agent-scoped retrieval engine shared by chat and action entry points.
- RetrievalEngine.Retriever - Interface in com.tnsai.rag
-
Backend operation implemented by the intelligence runtime.
- RetrievalEngineProvider - Interface in com.tnsai.rag
-
SPI for creating agent-scoped
RetrievalEngineinstances. - RetrievalEvidence - Record Class in com.tnsai.rag
-
Immutable evidence returned by a
RetrievalEngine. - RetrievalEvidence(String, RetrievalEvidence.Provenance, Map<String, Object>) - Constructor for record class com.tnsai.rag.RetrievalEvidence
-
Validates and defensively copies evidence state.
- RetrievalEvidence.Provenance - Record Class in com.tnsai.rag
-
Stable provenance required for audit, citation, and diagnostics.
- RetrievalException - Exception Class in com.tnsai.rag
-
Typed failure raised by the common retrieval runtime.
- RetrievalException(RetrievalException.Reason, String) - Constructor for exception class com.tnsai.rag.RetrievalException
-
Creates a retrieval failure without an underlying cause.
- RetrievalException(RetrievalException.Reason, String, Throwable) - Constructor for exception class com.tnsai.rag.RetrievalException
-
Creates a retrieval failure with its underlying cause.
- RetrievalException.Reason - Enum Class in com.tnsai.rag
-
Stable failure categories shared by chat and action entry points.
- RetrievalRequest - Record Class in com.tnsai.rag
-
Entry-point-neutral request passed to a
RetrievalEngine. - RetrievalRequest(String, RetrievalConfig, RetrievalScope, CancellationToken, Optional<Instant>, Map<String, String>) - Constructor for record class com.tnsai.rag.RetrievalRequest
-
Validates and defensively copies request state.
- RetrievalRequest.Builder - Class in com.tnsai.rag
-
Builder with safe defaults for unscoped, non-cancellable retrieval.
- RetrievalResult - Record Class in com.tnsai.rag
-
Immutable outcome returned by a
RetrievalEngine. - RetrievalResult(List<RetrievalEvidence>, RetrievalDiagnostics) - Constructor for record class com.tnsai.rag.RetrievalResult
-
Defensively copies evidence and verifies diagnostic consistency.
- RetrievalScope - Record Class in com.tnsai.rag
-
Tenant and session identity carried by a retrieval request.
- RetrievalScope(Optional<String>, Optional<String>) - Constructor for record class com.tnsai.rag.RetrievalScope
-
Validates and normalizes the identity fields.
- RetrievalSpi - Interface in com.tnsai.rag
-
Service Provider Interface for knowledge-context injection at action-dispatch time.
- retrieve(RetrievalRequest) - Method in class com.tnsai.rag.RetrievalEngine
-
Retrieves evidence for one chat or action invocation.
- retrieve(RetrievalRequest) - Method in interface com.tnsai.rag.RetrievalEngine.Retriever
-
Executes retrieval for a validated request.
- retrieve(String, ChatRetrievalContext) - Method in class com.tnsai.rag.ChatKnowledgeBinding
-
Retrieves evidence for one outbound chat request.
- RETRIEVED_CONTEXT_KEY - Static variable in interface com.tnsai.rag.RetrievalSpi
-
The key under which
RetrievalSpi.enforce(com.tnsai.metadata.ActionMetadata, com.tnsai.roles.Role, java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, java.lang.Object>)writes the formatted retrieved context string into an action'scontextmap. - RETRIEVED_CONTEXT_TRUNCATED_KEY - Static variable in interface com.tnsai.rag.RetrievalSpi
-
The key under which
RetrievalSpi.enforce(com.tnsai.metadata.ActionMetadata, com.tnsai.roles.Role, java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, java.lang.Object>)records whether the injected context represents every retrieved document in full (Boolean). - RETRIEVED_DOCUMENT_COUNT_KEY - Static variable in interface com.tnsai.rag.RetrievalSpi
-
The key under which
RetrievalSpi.enforce(com.tnsai.metadata.ActionMetadata, com.tnsai.roles.Role, java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, java.lang.Object>)writes the count of documents actually included in the assembled context (Integer), after empty-document filtering and context-window enforcement. - RETRIEVED_KNOWLEDGE_USAGE_KEY - Static variable in interface com.tnsai.rag.RetrievalSpi
-
The key under which
RetrievalSpi.enforce(com.tnsai.metadata.ActionMetadata, com.tnsai.roles.Role, java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, java.lang.Object>)records what each knowledge source gave the action (List<KnowledgeUsage>), one row per enabled source in declaration order. - RETRIEVED_STALE_FALLBACK_KEY - Static variable in interface com.tnsai.rag.RetrievalSpi
-
The key under which
RetrievalSpi.enforce(com.tnsai.metadata.ActionMetadata, com.tnsai.roles.Role, java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, java.lang.Object>)records whether the injected context came from a degraded fallback rather than a fresh retrieval (Boolean). - RetrievedContextRenderer - Class in com.tnsai.rag
-
Renders retrieved documents behind a single, explicit untrusted-context boundary.
- retry() - Element in annotation interface com.tnsai.annotations.Resilience
-
Retry policy configuration.
- retry() - Method in record class com.tnsai.resilience.ResilienceConfig
-
Returns the value of the
retryrecord component. - retry(int, Duration) - Method in class com.tnsai.spi.ResilienceStrategy.Builder
-
Configures retry behavior.
- retry(int, Duration, double) - Method in class com.tnsai.spi.ResilienceStrategy.Builder
-
Configures retry with exponential backoff.
- retry(RetryPolicy) - Method in class com.tnsai.resilience.ResilienceConfig.Builder
- RETRY - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.FailureAction
-
Retry generation
- RETRY - Enum constant in enum class com.tnsai.annotations.QualityGate.OnFail
-
Retry the operation up to maxRetries.
- RETRY - Enum constant in enum class com.tnsai.protocols.annotations.MessageHandler.ErrorStrategy
-
Retry handler execution
- RETRY_SIMPLE - Enum constant in enum class com.tnsai.annotations.Search.FallbackAction
-
Retry once with a punctuation-normalized query against
Search.Strategy.KEYWORD, without reranking. - retryable() - Method in record class com.tnsai.hooks.events.OnActionError
-
Returns the value of the
retryablerecord component. - retryable() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
retryablerecord component. - retryable(boolean) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- retryable(boolean) - Method in class com.tnsai.tools.spi.ToolException.Builder
- RetryableParser<T> - Class in com.tnsai.parser
-
Wrapper that adds retry-with-error-correction capability to any OutputParser.
- RetryableParser.Builder<T> - Class in com.tnsai.parser
-
Builder for RetryableParser.
- RetryableParser.ParseAttempt - Record Class in com.tnsai.parser
-
Record of a single parse attempt.
- retryBackoffMs() - Element in annotation interface com.tnsai.annotations.EventHandler
-
Retry backoff in milliseconds.
- retryBackoffMs() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Backoff time between retries in ms.
- retryBackoffMs() - Element in annotation interface com.tnsai.annotations.WebService
-
Backoff in ms between retries.
- retryBackoffMs() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns the value of the
retryBackoffMsrecord component. - retryBackoffMs() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
retryBackoffMsrecord component. - retryBackoffMs() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
retryBackoffMsrecord component. - RetryBehavior - Enum Class in com.tnsai.idempotency
-
What the framework does when a retry hits a previously-stored idempotency entry (issue #91).
- Retry Behavior - Search tag in annotation interface com.tnsai.annotations.Idempotent
- Section
- retryCount() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Maximum retries on connection failure.
- retryCount() - Element in annotation interface com.tnsai.annotations.WebService
-
Retry count on failure.
- retryCount() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
retryCountrecord component. - retryCount() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
retryCountrecord component. - retryIf(Predicate<Exception>) - Method in class com.tnsai.resilience.RetryPolicy.Builder
- RetryMeta() - Constructor for class com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- retryOn() - Element in annotation interface com.tnsai.annotations.Resilience.Retry
-
Exception types to retry on.
- retryOn(Class<? extends Exception>...) - Method in class com.tnsai.resilience.RetryPolicy.Builder
- retryOnAnyError() - Element in annotation interface com.tnsai.annotations.Idempotent
-
Whether to allow retry on any error.
- retryOnPrimary(int) - Method in class com.tnsai.llm.FallbackLLMClient.Builder
-
Sets the number of retries on primary before fallback (default: 2).
- retryPolicy(RetryPolicy) - Method in class com.tnsai.agents.resilience.AgentResilienceManager.Builder
-
Sets the default retry policy.
- retryPolicy(RetryPolicy) - Method in class com.tnsai.resilience.ResilienceRequest.Builder
- RetryPolicy - Class in com.tnsai.resilience
-
Immutable retry policy definition used by the resilience layer.
- RetryPolicy.Builder - Class in com.tnsai.resilience
- RetryUtils - Class in com.tnsai.utils
-
Utility for retrying operations with exponential backoff.
- RetryUtils() - Constructor for class com.tnsai.utils.RetryUtils
- RETURN_CACHED - Enum constant in enum class com.tnsai.idempotency.RetryBehavior
-
Return the cached result; skip re-execution.
- RETURN_CACHED_IF_SUCCESS - Enum constant in enum class com.tnsai.idempotency.RetryBehavior
-
Return the cached result only if the original attempt succeeded.
- returnedCount() - Method in record class com.tnsai.rag.RetrievalDiagnostics
-
Returns the value of the
returnedCountrecord component. - returnKey() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Parameter name to inject the MCP tool response into.
- returnKey() - Element in annotation interface com.tnsai.annotations.WebService
-
Parameter name to inject the HTTP response into.
- returnsVoid() - Method in class com.tnsai.metadata.ActionMetadata
-
Checks if this action returns void.
- returnType() - Method in record class com.tnsai.tools.method.StaticToolMethod
-
Returns the value of the
returnTyperecord component. - REVIEW - Enum constant in enum class com.tnsai.annotations.InputGuardrail.FailureAction
-
Request human review
- REVIEW - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.FailureAction
-
Request human review
- revise(List<Belief>, Belief) - Method in interface com.tnsai.models.agent.BeliefRevisionStrategy
-
Revises the belief set when a new belief is added.
- revision() - Method in class com.tnsai.rag.ChatKnowledgeBinding
-
Returns the current owner-local revision.
- revokeAccess(String) - Method in class com.tnsai.memory.SharedMemoryStore
-
Revokes access from an agent ID.
- role() - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Returns the value of the
rolerecord component. - role() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns the value of the
rolerecord component. - role() - Element in annotation interface com.tnsai.annotations.Coordination
-
Coordination role of this agent.
- role() - Element in annotation interface com.tnsai.annotations.GroupMember
-
Role within groups (e.g., "leader", "worker", "observer").
- role() - Method in record class com.tnsai.events.TextDeltaEvent
-
Returns the value of the
rolerecord component. - role() - Method in record class com.tnsai.hooks.HookContext
-
Returns the value of the
rolerecord component. - role() - Method in record class com.tnsai.observability.events.EventContext
-
Returns the value of the
rolerecord component. - role(Role) - Method in class com.tnsai.agents.AgentBuilder
-
Adds a role to the agent.
- role(String) - Static method in record class com.tnsai.agents.validation.Location
- role(String) - Method in class com.tnsai.annotations.ClassConfig
- role(String) - Method in class com.tnsai.observability.events.EventContext.Builder
- role(String) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Sets the role/persona for the response.
- Role - Class in com.tnsai.roles
-
Abstract base class for organizational roles in the Gaia methodology.
- ROLE - Enum constant in enum class com.tnsai.llm.LLMResolver.ResolutionSource
-
LLM came from role's LLM config
- ROLE_BASED - Static variable in interface com.tnsai.agents.groups.LeaderElectionStrategy
-
Select leader with most roles (and thus most capabilities).
- RoleAssignmentException - Exception Class in com.tnsai.roles.registry
-
Exception thrown when a role assignment fails due to exclusivity constraints.
- RoleAssignmentException(String) - Constructor for exception class com.tnsai.roles.registry.RoleAssignmentException
-
Creates a new RoleAssignmentException with the specified message.
- RoleAssignmentException(String, Throwable) - Constructor for exception class com.tnsai.roles.registry.RoleAssignmentException
-
Creates a new RoleAssignmentException with the specified message and cause.
- RoleBuilder - Class in com.tnsai.roles
-
Fluent builder for creating Role instances without subclassing.
- roleClass() - Method in record class com.tnsai.agents.validation.Location
-
Returns the value of the
roleClassrecord component. - Role Components - Search tag in package com.tnsai.roles
- Section
- RoleDeclaration - Annotation Interface in com.tnsai.roles.annotations
-
Defines the identity metadata for a Role class.
- RoleExporter - Interface in com.tnsai.roles.export
-
Interface for exporting Role definitions to various formats.
- RoleIdentity - Class in com.tnsai.models.role
-
Represents the identity of a role in the Gaia methodology.
- RoleIdentity(String, String, String) - Constructor for class com.tnsai.models.role.RoleIdentity
- RoleIdentity Components - Search tag in class com.tnsai.models.role.RoleIdentity
- Section
- Role in Agent Architecture - Search tag in class com.tnsai.models.agent.Capability
- Section
- RoleInitializationException - Exception Class in com.tnsai.roles
-
Exception thrown when role initialization fails.
- RoleInitializationException(String) - Constructor for exception class com.tnsai.roles.RoleInitializationException
- RoleInitializationException(String, Throwable) - Constructor for exception class com.tnsai.roles.RoleInitializationException
- roleLevels(Class<?>) - Static method in class com.tnsai.annotations.ClassConfig
-
The levels over a role's annotation, lowest first: the
rolessection a bound agent gave it, then the role's own file, then therolessection the run file gave it under that agent's type. - roleLLMSpec(Supplier<? extends LLMSpecSource>) - Method in class com.tnsai.llm.LLMResolver.Builder
-
Sets the role's LLM config supplier.
- roleName(Class<?>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
The name a role is referenced by:
RoleSpec.name(), or the simple class name when that is blank. - roleNames() - Method in class com.tnsai.annotations.ClassConfig
- RolePromptBuilder - Class in com.tnsai.prompt
-
Builds system prompts for roles from Gaia components.
- RolePromptBuilder() - Constructor for class com.tnsai.prompt.RolePromptBuilder
- RoleRegistry - Class in com.tnsai.roles.registry
-
Central registry for managing exclusive Role assignments.
- roles - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- roles() - Method in class com.tnsai.agents.Agent
-
Returns the assigned roles (never null, never empty).
- roles() - Method in record class com.tnsai.agents.validation.ValidationContext
-
Returns the value of the
rolesrecord component. - roles() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Role classes this agent plays (TNS-536) — the annotation counterpart of
AgentBuilder.role(Role)/roles(List). - roles() - Method in record class com.tnsai.security.AccessSubject
-
Returns the value of the
rolesrecord component. - roles(List<Role>) - Method in class com.tnsai.agents.AgentBuilder
-
Adds multiple roles to the agent.
- RoleSpec - Annotation Interface in com.tnsai.annotations
-
Defines role specification for agents.
- RoleSpec() - Constructor for class com.tnsai.metadata.RoleSpecReader.RoleSpec
- RoleSpecExtractor - Class in com.tnsai.roles.metadata
-
Extracts role metadata from annotations.
- RoleSpecExtractor.CachedRoleMetadata - Record Class in com.tnsai.roles.metadata
-
Cached bundle of all extracted metadata for a role class.
- RoleSpecExtractor.LLMExportSpec - Record Class in com.tnsai.roles.metadata
-
Immutable LLM configuration extracted from a role's
@RoleSpec.llm()(@LLMSpec) for the role-export subsystem. - RoleSpecExtractor.ResponsibilityInfo - Record Class in com.tnsai.roles.metadata
-
Immutable responsibility information extracted from
@ActionSpec. - RoleSpecExtractor.StateInfo - Record Class in com.tnsai.roles.metadata
-
Immutable state information extracted from
@Stateannotation. - RoleSpecExtractor.StateValue - Record Class in com.tnsai.roles.metadata
-
State with runtime value.
- RoleSpecReader - Class in com.tnsai.metadata
-
Reads role metadata from TnsAI annotations.
- RoleSpecReader.RoleSpec - Class in com.tnsai.metadata
-
Role metadata container.
- RoleSpecReader.RoleSpec.ActionSpec - Class in com.tnsai.metadata
- RoleSpecReader.RoleSpec.CircuitBreakerMeta - Class in com.tnsai.metadata
- RoleSpecReader.RoleSpec.CommunicationMeta - Class in com.tnsai.metadata
- RoleSpecReader.RoleSpec.ConversationMeta - Class in com.tnsai.metadata
- RoleSpecReader.RoleSpec.MemoryMeta - Class in com.tnsai.metadata
- RoleSpecReader.RoleSpec.RateLimitMeta - Class in com.tnsai.metadata
- RoleSpecReader.RoleSpec.ResilienceMeta - Class in com.tnsai.metadata
- RoleSpecReader.RoleSpec.RetryMeta - Class in com.tnsai.metadata
- RoleSpecReader.RoleSpec.SecurityMeta - Class in com.tnsai.metadata
- RolesPresentValidator - Class in com.tnsai.agents.validation.validators
-
AGENT-V001 — at least one
Roleis required. - RolesPresentValidator() - Constructor for class com.tnsai.agents.validation.validators.RolesPresentValidator
- Role vs Agent - Search tag in package com.tnsai.roles
- Section
- rollbackToLabel(String) - Method in class com.tnsai.agents.execution.MemoryManager
-
Restores to a checkpoint by label.
- rollbackToLast() - Method in class com.tnsai.agents.execution.MemoryManager
-
Restores to the most recent checkpoint.
- root() - Method in class com.tnsai.skills.FileSystemSkillStore
-
Root directory this store scans.
- root(Agent) - Method in class com.tnsai.agents.hierarchy.HierarchyBuilder
-
Sets the root agent of the hierarchy.
- ROUND_ROBIN - Enum constant in enum class com.tnsai.agents.groups.GroupPolicy.MemberSelectionStrategy
-
Round-robin selection
- ROUND_ROBIN - Enum constant in enum class com.tnsai.annotations.Coordination.TaskDistribution
-
Distribute in round-robin fashion
- ROUND_ROBIN - Static variable in interface com.tnsai.agents.groups.LeaderElectionStrategy
-
Round-robin leadership rotation.
- roundTimeoutMs() - Element in annotation interface com.tnsai.protocols.annotations.Debate
-
Round timeout in milliseconds.
- RSA2048 - Enum constant in enum class com.tnsai.annotations.DIDSpec.KeyType
-
RSA 2048-bit
- rule(DecisionPolicy.PolicyRule) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- rule(String) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- rule(String, String) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- rules() - Method in record class com.tnsai.security.AccessDeclaration
-
Returns the value of the
rulesrecord component. - rules(List<DecisionPolicy.PolicyRule>) - Method in class com.tnsai.context.decision.DecisionPolicy.Builder
- run(Runnable) - Method in class com.tnsai.security.InvocationContext
- RUN_ID_FILTER - Static variable in record class com.tnsai.rag.ChatRetrievalContext
- RunAborted(Instant, AbortReason) - Constructor for record class com.tnsai.reliability.Progress.RunAborted
-
Creates an instance of a
RunAbortedrecord class. - RunCompleted(Instant, int, Duration) - Constructor for record class com.tnsai.reliability.Progress.RunCompleted
-
Creates an instance of a
RunCompletedrecord class. - RunConfig - Record Class in com.tnsai.reliability
-
Execution-time policy bundle for one run of a
ResumableRun(TNS-299). - RunConfig(Duration, Optional<BigDecimal>, Duration, int, Duration) - Constructor for record class com.tnsai.reliability.RunConfig
-
Creates an instance of a
RunConfigrecord class. - RunConfig.Builder - Class in com.tnsai.reliability
- RunEndEvent - Record Class in com.tnsai.events
-
Event indicating that an agent run has completed.
- RunEndEvent(String, Instant, String, RunEndEvent.RunStatus, String, long) - Constructor for record class com.tnsai.events.RunEndEvent
-
Creates an instance of a
RunEndEventrecord class. - RunEndEvent.RunStatus - Enum Class in com.tnsai.events
-
Run completion status.
- RunFailed(Instant, int, String) - Constructor for record class com.tnsai.reliability.Progress.RunFailed
-
Creates an instance of a
RunFailedrecord class. - runId() - Method in record class com.tnsai.events.ErrorEvent
-
Returns the value of the
runIdrecord component. - runId() - Method in record class com.tnsai.events.RunEndEvent
-
Returns the value of the
runIdrecord component. - runId() - Method in record class com.tnsai.events.RunStartEvent
-
Returns the value of the
runIdrecord component. - runId() - Method in record class com.tnsai.events.SkillActivationEvent
-
Returns the value of the
runIdrecord component. - runId() - Method in record class com.tnsai.events.StatusEvent
-
Returns the value of the
runIdrecord component. - runId() - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns the value of the
runIdrecord component. - runId() - Method in record class com.tnsai.reliability.Checkpoint
-
Returns the value of the
runIdrecord component. - runId() - Method in record class com.tnsai.reliability.Outcome.Aborted
-
Returns the value of the
runIdrecord component. - runId() - Method in record class com.tnsai.reliability.Outcome.Completed
-
Returns the value of the
runIdrecord component. - runId() - Method in record class com.tnsai.reliability.Outcome.Failed
-
Returns the value of the
runIdrecord component. - runId() - Method in interface com.tnsai.reliability.Outcome
-
Correlation id shared with
Checkpoint.runId. - runId() - Method in record class com.tnsai.reliability.Outcome.Suspended
-
Returns the value of the
runIdrecord component. - runId(String) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- Run id sanitisation - Search tag in class com.tnsai.reliability.S3CheckpointStore
- Section
- Run id sanitization - Search tag in class com.tnsai.reliability.FilesystemCheckpointStore
- Section
- RUNNING - Enum constant in enum class com.tnsai.agents.groups.GroupTask.Status
-
Task is being executed
- RUNNING - Enum constant in enum class com.tnsai.hooks.events.AgentState
-
Ready to process messages.
- RunStartEvent - Record Class in com.tnsai.events
-
Event indicating that an agent run has started.
- RunStartEvent(String, Instant, String, String, String, String, String) - Constructor for record class com.tnsai.events.RunStartEvent
-
Creates an instance of a
RunStartEventrecord class. - Runtime Behavior - Search tag in annotation interface com.tnsai.annotations.Variant
- Section
- runtimeFingerprint() - Method in interface com.tnsai.identity.AgentPrincipal
-
Hash that captures the full runtime: build artefact hash + the agent's configuration hash.
- Runtime invariants - Search tag in package com.tnsai.rag
- Section
- Runtime propagation - Search tag in interface com.tnsai.spi.TenantAware
- Section
S
- 1. Simple Consumer Subscription - Search tag in interface com.tnsai.events.TnsAIEventPublisher
- Section
- S3CheckpointStore - Class in com.tnsai.reliability
-
S3-backed
CheckpointStore(TNS-312). - S3CheckpointStore(S3Client, String) - Constructor for class com.tnsai.reliability.S3CheckpointStore
- S3CheckpointStore(S3Client, String, String) - Constructor for class com.tnsai.reliability.S3CheckpointStore
- Safety / discovery metadata (TNS-556) - Search tag in record class com.tnsai.tools.method.DynamicToolMethod
- Section
- SALESFORCE_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Salesforce REST API.
- sameIdentity(AccessSubject) - Method in record class com.tnsai.security.AccessSubject
- SANDBOX_VIOLATION - Enum constant in enum class com.tnsai.security.SecurityException.ViolationType
-
Sandbox security policy violated
- sanitize(String) - Method in interface com.tnsai.guardrails.InputSanitizer
-
Returns a safe replacement for the supplied value.
- sanitize(String) - Method in class com.tnsai.guardrails.pii.PiiInputSanitizer
- SANITIZE - Enum constant in enum class com.tnsai.annotations.InputGuardrail.FailureAction
-
Sanitize and continue
- sanitizeLoneSurrogates(String) - Static method in class com.tnsai.utils.TextSanitizer
-
Returns
inputwith every unpaired UTF-16 surrogate replaced byTextSanitizer.REPLACEMENT_CHAR. - sanitizers() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Sanitizer classes to apply (in order).
- save(DecisionTrace) - Method in interface com.tnsai.context.decision.DecisionTraceStore
-
Saves a decision trace.
- save(ContextSnapshot) - Method in interface com.tnsai.context.snapshot.SnapshotStore
-
Saves a context snapshot.
- save(Skill) - Method in class com.tnsai.memory.advanced.SkillMemoryStore
-
Stores or updates a skill.
- save(Checkpoint) - Method in interface com.tnsai.reliability.CheckpointStore
-
Persist a checkpoint.
- save(Checkpoint) - Method in class com.tnsai.reliability.FilesystemCheckpointStore
- save(Checkpoint) - Method in class com.tnsai.reliability.InMemoryCheckpointStore
- save(Checkpoint) - Method in class com.tnsai.reliability.RedisCheckpointStore
- save(Checkpoint) - Method in class com.tnsai.reliability.S3CheckpointStore
- save(Checkpoint) - Method in class com.tnsai.reliability.SqliteCheckpointStore
- save(ApprovalToken) - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Saves a token to the store.
- save(ApprovalToken) - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- save(String, TieredMemoryStore) - Method in class com.tnsai.memory.advanced.SessionSerializer
-
Serializes the store's state to a JSON file.
- scatter(String) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Scatters a prompt to all members and gathers responses.
- scatter(String, Duration) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Scatters a prompt to all members with custom timeout.
- scatterAsync(String) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Async version of scatter.
- scatterTimeout() - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Returns the value of the
scatterTimeoutrecord component. - scatterTimeout(Duration) - Method in class com.tnsai.agents.groups.GroupPolicy.Builder
- scheduled(String) - Static method in record class com.tnsai.context.decision.DecisionTrigger
-
Creates a trigger from a scheduled task.
- SCHEDULED - Enum constant in enum class com.tnsai.context.decision.DecisionTrigger.TriggerType
-
Decision triggered by scheduled task
- schema() - Element in annotation interface com.tnsai.annotations.OutputFormatSpec
-
Optional schema hint for formats that support typed schemas (e.g., TONL).
- schema() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
JSON schema for validation.
- Schema - Search tag in class com.tnsai.idempotency.PostgresIdempotencyStore
- Section
- SCHEMA_VERSION - Static variable in class com.tnsai.rag.IngestionFingerprint
-
Schema version of the canonical payload.
- scope() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Returns the value of the
scoperecord component. - scope() - Element in annotation interface com.tnsai.annotations.EventEmitter
-
Target audience for the event.
- scope() - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns the value of the
scoperecord component. - scope() - Method in record class com.tnsai.rag.RetrievalRequest
-
Returns the value of the
scoperecord component. - scope(RetrievalScope) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- scope(RetrievalScope) - Method in class com.tnsai.rag.RetrievalRequest.Builder
- scope(String, String) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- Scope — enforced subset only - Search tag in record class com.tnsai.resilience.ResilienceConfig
- Section
- SCOPExporter - Class in com.tnsai.roles.export.frameworks
-
Stub exporter for SCOP (Spatial Computing and Optimization Platform) format.
- SCOPExporter() - Constructor for class com.tnsai.roles.export.frameworks.SCOPExporter
-
Creates a SCOPExporter with default package.
- SCOPExporter(String) - Constructor for class com.tnsai.roles.export.frameworks.SCOPExporter
-
Creates a SCOPExporter with custom package.
- score() - Method in record class com.tnsai.accountability.ReputationScore
-
Returns the value of the
scorerecord component. - score() - Method in record class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityResult
-
Returns the value of the
scorerecord component. - score() - Method in record class com.tnsai.memory.advanced.ScoredEntry
-
Returns the value of the
scorerecord component. - score() - Method in record class com.tnsai.rag.RetrievalEvidence.Provenance
-
Returns the value of the
scorerecord component. - score(MemoryEntry) - Method in class com.tnsai.memory.advanced.MemoryImportanceScorer
-
Scores a memory entry without an external relevance signal (relevance=0).
- score(MemoryEntry, double) - Method in class com.tnsai.memory.advanced.MemoryImportanceScorer
-
Scores a memory entry's importance.
- ScoredEntry - Record Class in com.tnsai.memory.advanced
-
A memory entry paired with a retrieval score.
- ScoredEntry(MemoryEntry, double) - Constructor for record class com.tnsai.memory.advanced.ScoredEntry
-
Creates an instance of a
ScoredEntryrecord class. - scoreOf(String) - Method in class com.tnsai.accountability.InMemoryReputationLedger
- scoreOf(String) - Method in interface com.tnsai.accountability.ReputationLedger
-
Aggregate reputation for
agentId. - Score policy - Search tag in interface com.tnsai.accountability.ReputationLedger
- Section
- Scoring - Search tag in class com.tnsai.skills.KeywordSkillResolver
- Section
- Scoring policy - Search tag in class com.tnsai.accountability.InMemoryReputationLedger
- Section
- SCRAPING_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Apify actor execution.
- ScriptFailurePolicy - Enum Class in com.tnsai.hooks.external
-
What an
ExternalScriptHookdoes when the subprocess fails (timeout, non-zero exit, unparseable response) (issue #64). - SEALED_BID - Enum constant in enum class com.tnsai.annotations.Coordination.NegotiationType
-
Sealed bid - single hidden bid.
- search() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Ranking settings for a
Knowledge.Use.SEARCHsource. - search() - Method in record class com.tnsai.rag.KnowledgeEntry
-
Returns the value of the
searchrecord component. - search() - Method in record class com.tnsai.rag.KnowledgeSelection
-
Returns the value of the
searchrecord component. - search(KnowledgeSourceConfig) - Static method in record class com.tnsai.rag.KnowledgeEntry
-
A source searched with the scope's settings, as an
AgentBuildersource is. - search(String) - Method in interface com.tnsai.spi.ToolRegistry
-
Searches tools by name or description.
- search(String, int) - Method in class com.tnsai.agents.execution.MemoryManager
-
Performs semantic search on the memory.
- search(String, int) - Method in class com.tnsai.knowledge.InMemoryKnowledgeBase
- search(String, int) - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Searches the knowledge base for relevant documents.
- search(String, int) - Method in class com.tnsai.memory.AbstractMemoryStore
-
Performs TF-IDF based semantic search over conversation history.
- search(String, int) - Method in class com.tnsai.memory.advanced.BM25Index
-
Searches for the top-K entries matching the query using BM25 scoring.
- search(String, int) - Method in class com.tnsai.memory.advanced.HybridMemoryRetriever
-
Searches using both BM25 and vector search, then fuses results via RRF.
- search(String, int) - Method in class com.tnsai.memory.advanced.VectorMemoryStore
-
Searches for the top-K most similar entries to the query.
- search(String, int) - Method in interface com.tnsai.memory.MemoryStore
-
Performs a semantic search on the memory (Optional).
- search(String, int) - Method in class com.tnsai.memory.NamespacedMemoryStore
- search(String, int) - Method in class com.tnsai.memory.SharedMemoryStore
- search(String, int) - Method in class com.tnsai.memory.vector.VectorSearchMemoryStore
- search(String, int, String...) - Method in class com.tnsai.memory.NamespacedMemoryStore
-
Searches across specified namespaces (or all if none specified) using TF-IDF.
- search(String, int, Map<String, Object>) - Method in class com.tnsai.knowledge.InMemoryKnowledgeBase
- search(String, int, Map<String, Object>) - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Searches with metadata filtering.
- Search - Annotation Interface in com.tnsai.annotations
-
How a
Knowledge.Use.SEARCHsource is ranked and rendered. - SEARCH - Enum constant in enum class com.tnsai.annotations.Knowledge.Use
-
Ranked retrieval per request, configured by
Knowledge.search(). - Search.FallbackAction - Enum Class in com.tnsai.annotations
-
Fallback actions on retrieval failure.
- Search.QueryExpansion - Enum Class in com.tnsai.annotations
-
Query expansion methods.
- Search.Strategy - Enum Class in com.tnsai.annotations
-
Retrieval strategies.
- searchByAttribute(String, Object) - Method in interface com.tnsai.context.entity.EntityResolver
-
Searches entities by attribute value.
- searchByEmbedding(float[], int) - Method in class com.tnsai.knowledge.InMemoryKnowledgeBase
- searchByEmbedding(float[], int) - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Performs similarity search using a pre-computed embedding.
- searchByVector(float[], int) - Method in interface com.tnsai.memory.advanced.VectorIndex
-
Returns the top-
topKentries by cosine similarity. - searchByVector(float[], int) - Method in class com.tnsai.memory.advanced.VectorMemoryStore
-
Searches for the top-K most similar entries to a pre-computed query vector.
- searchFailed(String, Throwable) - Static method in exception class com.tnsai.knowledge.KnowledgeBaseException
-
Factory method for search errors.
- SearchResult - Class in com.tnsai.knowledge
-
Represents a search result from a knowledge base query.
- SearchResult(Document, double) - Constructor for class com.tnsai.knowledge.SearchResult
-
Creates a new search result.
- SearchSettings - Class in com.tnsai.rag
-
The search settings one knowledge entry contributes to its scope: a partial, immutable value holding only the
Searchmembers that were given. - SearchSettings.Builder - Class in com.tnsai.rag
-
Builds
SearchSettings; a member not set is not given. - searchTokenBudget() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.TierConfig
-
Returns the value of the
searchTokenBudgetrecord component. - searchUsage(List<String>, RetrievalResult, int) - Static method in class com.tnsai.rag.RetrievedContextRenderer
-
Says what each SEARCH source gave when
resultis rendered withincontextWindow: the evidence that fits, as therendermethods cut it, attributed to its source. - SECP256K1 - Enum constant in enum class com.tnsai.annotations.DIDSpec.KeyType
-
Secp256k1 (Ethereum compatible)
- security() - Method in record class com.tnsai.security.AccessDeclaration
-
Returns the value of the
securityrecord component. - Security - Search tag in class com.tnsai.hooks.external.ExternalScriptHook
- Section
- Security - Search tag in class com.tnsai.prompt.ProjectContextLoader
- Section
- Security - Annotation Interface in com.tnsai.annotations
-
Configures security policies for actions and roles.
- SECURITY - Enum constant in enum class com.tnsai.observability.errors.ErrorCategory
-
Blocked by policy — content filter, prompt injection detector, approval denied.
- Security.AuditLevel - Enum Class in com.tnsai.annotations
-
Audit logging levels.
- securityEnforcer() - Method in class com.tnsai.tools.method.ToolMethodDispatcher
-
Shared provider and gate used by an owning ActionExecutor.
- SecurityEnforcerHandle - Interface in com.tnsai.security
-
SPI handle for security enforcement.
- SecurityEnforcerHandle.Factory - Interface in com.tnsai.security
-
Factory for creating SecurityEnforcerHandle instances.
- SecurityException - Exception Class in com.tnsai.security
-
Base exception for security-related violations.
- SecurityException(SecurityException.ViolationType, String) - Constructor for exception class com.tnsai.security.SecurityException
-
Creates a security exception with type and message.
- SecurityException(SecurityException.ViolationType, String, String, String) - Constructor for exception class com.tnsai.security.SecurityException
-
Creates a security exception with context.
- SecurityException(SecurityException.ViolationType, String, Throwable) - Constructor for exception class com.tnsai.security.SecurityException
-
Creates a security exception with cause.
- SecurityException(SecurityException.ViolationType, String, List<String>) - Constructor for exception class com.tnsai.security.SecurityException
-
Creates a security exception with details.
- SecurityException.ViolationType - Enum Class in com.tnsai.security
-
Types of security violations.
- SecurityFeatures - Record Class in com.tnsai.security
-
The
@Securityencryption, timeout and audit features an action's dispatch applies. - SecurityFeatures(boolean, boolean, int, Security.AuditLevel, boolean, List<String>) - Constructor for record class com.tnsai.security.SecurityFeatures
-
Creates an instance of a
SecurityFeaturesrecord class. - SecurityMeta() - Constructor for class com.tnsai.metadata.RoleSpecReader.RoleSpec.SecurityMeta
- securityTimeout() - Element in annotation interface com.tnsai.annotations.Security
-
Maximum execution time before automatic abort (security timeout).
- securityTimeout() - Method in record class com.tnsai.security.SecurityFeatures
-
Returns the value of the
securityTimeoutrecord component. - Security Violation Types - Search tag in exception class com.tnsai.security.SecurityException
- Section
- select() - Element in annotation interface com.tnsai.annotations.Config
-
The part of the file this class reads, as a
structural pathin the grammarKnowledge.select()uses: the root is$for JSON and$document[n]for YAML, counted from 1;.name, or['name']for a key that is not an identifier, steps into an object,[n]into an array, counted from 0. - select() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Part of the source at
Knowledge.path()to read, as astructural pathprefix. - select() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
selectrecord component. - select(ExtractedDocument, String) - Static method in class com.tnsai.rag.StructuralPath
-
Keeps the blocks
selectorselects. - select(String) - Method in class com.tnsai.agents.variant.VariantSelector
-
Selects the optimal variant for the given task.
- select(String) - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
-
Sets the part of each document to load; see
Knowledge.select(). - select(String, AgentVariant) - Method in class com.tnsai.agents.variant.VariantSelector
-
Selects the optimal variant considering action metadata.
- select(List<KnowledgeEntry>, String) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
A scope over the given entries, such as a chat turn over all of an agent's knowledge.
- select(List<KnowledgeEntry>, String, Supplier<RetrievalConfig.Builder>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
A scope over the given entries whose SEARCH settings overlay the given defaults instead of the framework's, such as a chat turn's.
- Selection Algorithm - Search tag in annotation interface com.tnsai.annotations.Utility
- Section
- SelectionResult(AgentVariant, VariantSelector.SelectionReason, double, String) - Constructor for record class com.tnsai.agents.variant.VariantSelector.SelectionResult
-
Creates an instance of a
SelectionResultrecord class. - selectionStrategy() - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Returns the value of the
selectionStrategyrecord component. - selectionStrategy(GroupPolicy.MemberSelectionStrategy) - Method in class com.tnsai.agents.groups.GroupPolicy.Builder
- selects(String, String) - Static method in class com.tnsai.rag.StructuralPath
-
Whether
selectorselectspath. - SELF - Enum constant in enum class com.tnsai.enums.ExecutionCaller
-
The executing agent's own autonomous initiative.
- SELF_HARM - Enum constant in enum class com.tnsai.annotations.InputGuardrail.ContentCategory
- SEMANTIC - Enum constant in enum class com.tnsai.annotations.Search.Strategy
-
Vector similarity search
- SEMANTIC - Enum constant in enum class com.tnsai.memory.strategy.MemoryTier
-
Consolidated facts, patterns, conventions.
- Semantics - Search tag in class com.tnsai.hooks.HookDispatcher
- Section
- Semantics - Search tag in class com.tnsai.skills.SkillScopedToolCallFilter
- Section
- send(AgentMessage) - Method in interface com.tnsai.communication.transport.CommunicationTransport
-
Sends a message to a specific receiver.
- send(AgentMessage) - Method in class com.tnsai.communication.transport.LocalTransport
- send(String, MessageBroker.Message) - Method in interface com.tnsai.spi.MessageBroker
-
Sends a direct message to a specific agent.
- sendMessage(String, String, MessageTypeMarker, Map<String, Object>) - Method in class com.tnsai.communication.AgentCommunicationManager
-
Sends a message from one agent to another.
- sendWithAck(AcknowledgedMessage) - Method in class com.tnsai.communication.DefaultMessageAcknowledger
- sendWithAck(AcknowledgedMessage) - Method in interface com.tnsai.communication.MessageAcknowledger
-
Sends a message and waits for acknowledgment.
- sensitive() - Element in annotation interface com.tnsai.annotations.Security
-
Whether action handles sensitive data.
- sensitive() - Method in record class com.tnsai.security.SecurityFeatures
-
Returns the value of the
sensitiverecord component. - SEQUENTIAL - Enum constant in enum class com.tnsai.annotations.Knowledge.Use
-
One unit per request, in order: each call contributes the source's next unit.
- SequentialConfig - Record Class in com.tnsai.rag
-
Immutable runtime configuration for ordered knowledge-unit consumption.
- SequentialConfig(String) - Constructor for record class com.tnsai.rag.SequentialConfig
-
Validates and normalizes the source name.
- SequentialConfig.Builder - Class in com.tnsai.rag
-
Builder twin for programmatic declarations.
- sequentialPipeline(String) - Method in class com.tnsai.agents.async.AsyncMsgHub
-
Executes a sequential pipeline where each agent processes in order.
- Serialization shape - Search tag in record class com.tnsai.reliability.Checkpoint
- Section
- serialize(Object) - Method in class com.tnsai.agents.output.AgentOutputFormatter
-
Serializes an object using annotation-detected format or JSON default.
- serialize(Object) - Method in interface com.tnsai.output.OutputSerializer
-
Serializes an object with default formatting (pretty print enabled).
- serialize(Object, boolean) - Method in class com.tnsai.output.impl.JsonOutputSerializer
- serialize(Object, boolean) - Method in class com.tnsai.output.impl.TextOutputSerializer
- serialize(Object, boolean) - Method in class com.tnsai.output.impl.TonlOutputSerializer
- serialize(Object, boolean) - Method in class com.tnsai.output.impl.ToonOutputSerializer
- serialize(Object, boolean) - Method in class com.tnsai.output.impl.YamlOutputSerializer
- serialize(Object, boolean) - Method in interface com.tnsai.output.OutputSerializer
-
Serializes an object to the target format.
- serialize(Object, OutputFormat) - Method in class com.tnsai.agents.output.AgentOutputFormatter
-
Serializes an object using the specified output format.
- serialize(Object, OutputFormat) - Method in class com.tnsai.output.OutputSerializerRegistry
-
Convenience method to serialize data with pretty printing enabled.
- serialize(Object, OutputFormat, boolean) - Method in class com.tnsai.output.OutputSerializerRegistry
-
Convenience method to serialize data with a specific format.
- serializeList(List<T>, Class<T>) - Method in interface com.tnsai.output.OutputSerializer
-
Serializes a list with default formatting.
- serializeList(List<T>, Class<T>, boolean) - Method in class com.tnsai.output.impl.JsonOutputSerializer
- serializeList(List<T>, Class<T>, boolean) - Method in class com.tnsai.output.impl.TextOutputSerializer
- serializeList(List<T>, Class<T>, boolean) - Method in class com.tnsai.output.impl.TonlOutputSerializer
- serializeList(List<T>, Class<T>, boolean) - Method in class com.tnsai.output.impl.ToonOutputSerializer
- serializeList(List<T>, Class<T>, boolean) - Method in class com.tnsai.output.impl.YamlOutputSerializer
- serializeList(List<T>, Class<T>, boolean) - Method in interface com.tnsai.output.OutputSerializer
-
Serializes a list of objects optimized for tabular formats.
- SERVER_ERROR - Enum constant in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
-
External API errors (5xx status codes)
- SERVER_ERROR - Enum constant in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Generic server error
- SERVER_ERROR - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Server error (5xx)
- SERVER_SHUTDOWN - Enum constant in enum class com.tnsai.hooks.events.SessionCloseReason
-
Server-initiated shutdown (deploy, drain, scale-down).
- serverError(String, Throwable) - Static method in exception class com.tnsai.exceptions.LLMException
-
Factory method for server errors.
- serverUrl() - Element in annotation interface com.tnsai.annotations.MCPTool
-
MCP server URL.
- serverUrl() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
serverUrlrecord component. - service() - Method in record class com.tnsai.payment.Quote
-
Returns the value of the
servicerecord component. - Service - Record Class in com.tnsai.payment
-
Description of a unit-of-work an agent offers (TNS-298).
- Service(String, String, BigDecimal, Optional<BigDecimal>, Map<String, String>) - Constructor for record class com.tnsai.payment.Service
-
Creates an instance of a
Servicerecord class. - serviceEndpoint() - Element in annotation interface com.tnsai.annotations.DIDSpec
-
Service endpoint URL.
- serviceEndpoint() - Method in record class com.tnsai.identity.DIDConfig
-
Returns the value of the
serviceEndpointrecord component. - ServiceEndpoint() - Constructor for class com.tnsai.identity.DIDDocument.ServiceEndpoint
- session() - Method in record class com.tnsai.memory.MemoryNamespace
-
Returns the value of the
sessionrecord component. - session(String) - Static method in record class com.tnsai.memory.MemoryNamespace
-
Creates a namespace in the default workspace with the given session ID.
- SessionCloseReason - Enum Class in com.tnsai.hooks.events
-
Why a session is closing, carried by
SessionEnd(issue #63). - SessionEnd - Record Class in com.tnsai.hooks.events
-
Fires when a client session closes for any reason (issue #63).
- SessionEnd(String, Instant, HookContext, String, SessionCloseReason, Duration, long, Optional<Throwable>) - Constructor for record class com.tnsai.hooks.events.SessionEnd
-
Creates an instance of a
SessionEndrecord class. - SessionHookEvent - Interface in com.tnsai.hooks.events
-
Server session lifecycle hook events (issue #63).
- sessionId() - Method in record class com.tnsai.agents.async.ChatEvent.Started
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.hooks.events.OnSessionIdle
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.hooks.events.SessionEnd
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.hooks.events.SessionStart
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.hooks.HookContext
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.observability.events.EventContext
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.rag.RetrievalScope
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.security.audit.AuditEvent
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.security.audit.AuditQuery
-
Returns the value of the
sessionIdrecord component. - sessionId(String) - Method in class com.tnsai.hooks.HookContext.Builder
- sessionId(String) - Method in class com.tnsai.observability.events.EventContext.Builder
- sessionId(String) - Method in class com.tnsai.security.audit.AuditEvent.Builder
- sessionId(String) - Method in class com.tnsai.security.audit.AuditQuery.Builder
- SessionManager - Class in com.tnsai.agents.async
-
Manages agent sessions with automatic persistence.
- SessionManager(Checkpointer) - Constructor for class com.tnsai.agents.async.SessionManager
-
Creates a SessionManager with the given checkpointer.
- SessionManager(Checkpointer, Duration) - Constructor for class com.tnsai.agents.async.SessionManager
-
Creates a SessionManager with auto-checkpoint interval.
- SessionManager.SessionInfo - Class in com.tnsai.agents.async
-
Session information container.
- SessionManager.SessionState - Enum Class in com.tnsai.agents.async
-
Session state enum.
- SessionProtocol - Enum Class in com.tnsai.hooks.events
-
Transport protocol used by a client session, carried by
SessionStart(issue #63). - SessionRestorer - Class in com.tnsai.memory.advanced
-
Restores
TieredMemoryStorestate from a JSON session file. - SessionRestorer(Path) - Constructor for class com.tnsai.memory.advanced.SessionRestorer
-
Creates a restorer that reads from the given directory.
- SessionSerializer - Class in com.tnsai.memory.advanced
-
Serializes
TieredMemoryStorestate to JSON for session persistence. - SessionSerializer(Path) - Constructor for class com.tnsai.memory.advanced.SessionSerializer
-
Creates a serializer that writes to the given directory.
- SessionStart - Record Class in com.tnsai.hooks.events
-
Fires when a new client session opens on the server (issue #63).
- SessionStart(String, Instant, HookContext, String, String, Map<String, String>, Optional<String>, SessionProtocol) - Constructor for record class com.tnsai.hooks.events.SessionStart
-
Creates an instance of a
SessionStartrecord class. - set(String, Object) - Method in class com.tnsai.actions.ActionParams
-
Sets a parameter value.
- SET - Enum constant in enum class com.tnsai.annotations.Effect.Operation
-
Set state to the specified value.
- setAccessAuthority(AuthorityScope) - Method in class com.tnsai.tools.method.ToolMethodDispatcher
- setAccessPrincipal(AgentPrincipal) - Method in class com.tnsai.tools.method.ToolMethodDispatcher
-
Host startup wiring; never set from request data.
- setActions(List<RoleSpecReader.RoleSpec.ActionSpec>) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setAll(Map<String, Object>) - Method in class com.tnsai.actions.ActionParams
-
Sets multiple parameters at once.
- setApprovalReason(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.SecurityMeta
- setApprovalRequired(boolean) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.SecurityMeta
- setAuditLevel(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.SecurityMeta
- setAutoMode(boolean) - Method in class com.tnsai.agents.variant.VariantManager
-
Enables or disables auto mode.
- setBackoffMs(long) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- setBeliefRevisionStrategy(BeliefRevisionStrategy) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Sets the belief revision strategy.
- setBeliefs(List<String>) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setBulkheadEnabled(boolean) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- setCapabilities(List<String>) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setChatKnowledgeBinding(ChatKnowledgeBinding) - Method in class com.tnsai.agents.Agent
-
Binds a live or provider-backed canonical retrieval source to chat.
- setChatKnowledgeBinding(ChatKnowledgeBinding) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- setChatKnowledgeContext(ChatKnowledgeContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
-
Installs the DIRECT and SEQUENTIAL knowledge each chat turn gives.
- setCircuitBreaker(RoleSpecReader.RoleSpec.CircuitBreakerMeta) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- setCommunication(RoleSpecReader.RoleSpec.CommunicationMeta) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setCommunicationManager(AgentCommunicationManager) - Method in class com.tnsai.agents.Agent
-
Sets the communication manager for inter-agent messaging.
- setConversation(RoleSpecReader.RoleSpec.ConversationMeta) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.MemoryMeta
- setDefaultScope(AuthorityScope) - Method in class com.tnsai.actions.ActionExecutor
-
Configure the
AuthorityScoperecorded on every dispatch (TNS-298). - setDescription(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- setDescription(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setDesireConflictResolver(DesireConflictResolver) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Sets the desire conflict resolver.
- setDesires(List<String>) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setDomains(List<String>) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setEnabled(boolean) - Method in interface com.tnsai.eval.hooks.EvalHandle
- setEnabled(boolean) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CircuitBreakerMeta
- setEnabled(boolean) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ConversationMeta
- setEnabled(boolean) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RateLimitMeta
- setEnvironment(Environment) - Method in class com.tnsai.agents.Agent
-
Sets the environment (null to detach).
- setEnvironment(Environment) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- setEnvironment(Environment, String) - Method in class com.tnsai.agents.AgentCognitiveSupport
- setEvalEnabled(boolean) - Method in class com.tnsai.agents.Agent
-
Enables or disables evaluation hooks.
- setEvalEnabled(boolean) - Method in class com.tnsai.agents.AgentCognitiveSupport
- setEvalEnabled(boolean) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- setEventPublisher(TnsAIEventPublisher) - Method in class com.tnsai.agents.Agent
-
Sets the event publisher for event-based chat methods.
- setExcludedFromLLM(boolean) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- setFailureStrategy(MessageCallbackDispatcher.FailureStrategy) - Method in class com.tnsai.protocols.callbacks.MessageCallbackDispatcher
-
Sets the failure strategy for callback invocation.
- setFailureThreshold(int) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CircuitBreakerMeta
- setFallbackMethod(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- setFeedbackCollector(FeedbackCollector) - Method in class com.tnsai.agents.Agent
-
Sets the feedback collector (null resets to no-op).
- setFeedbackCollector(FeedbackCollector) - Method in class com.tnsai.agents.AgentCognitiveSupport
- setFeedbackCollector(FeedbackCollector) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- setFormality(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
- setFulfills(List<String>) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- setGraceCallEnabled(boolean) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Toggles the grace call on iteration exhaustion.
- setHealthState(AgentHealthState) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Sets the health state.
- setHealthState(AgentHealthState) - Method in class com.tnsai.agents.resilience.AgentResilienceManager
-
Sets the health state.
- setIntentions(List<String>) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setJitter(boolean) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- setLanguages(String[]) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
- setLastReasoningResult(ReasoningStrategyHandle.ReasoningResult) - Method in class com.tnsai.agents.Agent
- setLastReasoningResult(ReasoningStrategyHandle.ReasoningResult) - Method in class com.tnsai.agents.AgentCognitiveSupport
- setLastReasoningResult(ReasoningStrategyHandle.ReasoningResult) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- setLastReasoningResult(ReasoningStrategyHandle.ReasoningResult) - Method in interface com.tnsai.agents.orchestration.AgentOrchestrator.OrchestratorContext
- setLiabilitySink(LiabilitySink) - Method in class com.tnsai.actions.ActionExecutor
-
Configure the
sinkthe executor publishes per-dispatchAgentLiabilityRecordentries to (TNS-298). - setLLM(LLMClient) - Method in class com.tnsai.agents.Agent
-
Replaces the LLM client; conversation history is preserved.
- setLLM(LLMClient) - Method in class com.tnsai.roles.Role
-
Sets the LLM client for this role.
- setLlmMaxTokens(int) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setLlmModel(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setLlmProvider(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setLlmSystemPrompt(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setLlmTemperature(float) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setLlmTopP(float) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setMaxAttempts(int) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- setMaxBackoffMs(long) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- setMaxCheckpoints(int) - Method in class com.tnsai.agents.execution.MemoryManager
-
Sets the maximum number of checkpoints to retain.
- setMaxConcurrent(int) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- setMaxContextTokens(Integer) - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Sets the maximum context token limit.
- setMaxContextTokens(Integer) - Method in class com.tnsai.agents.execution.MemoryManager
-
Sets the maximum context token limit.
- setMaxMessages(int) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ConversationMeta
- setMaxRequests(int) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RateLimitMeta
- setMaxTokens(int) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ConversationMeta
- setMaxToolIterations(int) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Sets the maximum number of consecutive tool call iterations.
- setMemory(RoleSpecReader.RoleSpec.MemoryMeta) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setMethod(Method) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- setMultiplier(double) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RetryMeta
- setMustAlways(List<String>) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- setMustNever(List<String>) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- setName(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- setName(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setNamespace(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.MemoryMeta
- setParent(Agent) - Method in class com.tnsai.agents.Agent
-
Sets the parent agent (maintains bidirectional consistency).
- setParent(Agent) - Method in class com.tnsai.agents.hierarchy.AgentHierarchyManager
-
Sets the parent agent in a hierarchical structure.
- setParentRef(Agent) - Method in class com.tnsai.agents.Agent
- setParentRef(Agent) - Method in interface com.tnsai.agents.hierarchy.AgentHierarchyManager.HierarchyContext
-
Sets the parent agent reference directly (no bidirectional updates).
- setPaymentBroker(PaymentBroker) - Method in class com.tnsai.agents.Agent
-
Sets the payment broker (null resets to
PaymentBroker.noOp()). - setPaymentBroker(PaymentBroker) - Method in class com.tnsai.agents.AgentCognitiveSupport
-
Replaces the payment broker.
- setPaymentBroker(PaymentBroker) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- setPersistent(boolean) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.MemoryMeta
- setPlannerHandle(PlannerHandle) - Method in class com.tnsai.agents.Agent
-
Sets the planner handle (null to disable).
- setPlannerHandle(PlannerHandle) - Method in class com.tnsai.agents.AgentCognitiveSupport
- setPlannerHandle(PlannerHandle) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- setPolicy(GroupPolicy) - Method in interface com.tnsai.agents.groups.AgentGroup
-
Updates the group policy.
- setPostcondition(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- setPrecondition(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- setPrincipal(AgentPrincipal) - Method in class com.tnsai.actions.ActionExecutor
-
Configure the
AgentPrincipalthis executor attributes its actions to (TNS-298). - setPublisher(ErrorReportPublisher) - Static method in class com.tnsai.observability.errors.ErrorReports
-
Replace the active publisher entirely.
- setPublisher(AgentEventPublisher) - Static method in class com.tnsai.observability.events.AgentEvents
-
Override the publisher — primarily for tests.
- setRateLimit(RoleSpecReader.RoleSpec.RateLimitMeta) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- setReasoningStrategy(ReasoningStrategyHandle) - Method in class com.tnsai.agents.Agent
-
Sets the reasoning strategy (null to disable).
- setReasoningStrategy(ReasoningStrategyHandle) - Method in class com.tnsai.agents.AgentCognitiveSupport
- setReasoningStrategy(ReasoningStrategyHandle) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- setRequiredPermissions(List<String>) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.SecurityMeta
- setResetTimeoutMs(long) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CircuitBreakerMeta
- setResilience(RoleSpecReader.RoleSpec.ResilienceMeta) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setResilienceManager(AgentResilienceManager) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- setResponseFormat(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
- setRetry(RoleSpecReader.RoleSpec.RetryMeta) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- setSecurity(RoleSpecReader.RoleSpec.SecurityMeta) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setSensitive(boolean) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.SecurityMeta
- setShared(boolean) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.MemoryMeta
- setSpec(String, Object) - Method in class com.tnsai.eval.hooks.EvalContext
-
Sets metadata.
- setSpinnerEnabled(boolean) - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Enables or disables spinner during LLM calls.
- setStrategy(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ConversationMeta
- setStrategy(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RateLimitMeta
- setSupersedes(String) - Method in class com.tnsai.memory.strategy.MemoryEntry
-
Records that this entry supersedes an older entry.
- setSystemPromptSupplier(Supplier<String>) - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Sets the system prompt supplier.
- setTimeout(int) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ResilienceMeta
- settle(Quote) - Method in class com.tnsai.payment.NoOpPaymentBroker
- settle(Quote) - Method in interface com.tnsai.payment.PaymentBroker
-
Move funds for
quote. - Settled(String, String, Instant, Optional<String>) - Constructor for record class com.tnsai.payment.Settlement.Settled
-
Creates an instance of a
Settledrecord class. - Settlement - Interface in com.tnsai.payment
-
Outcome of
PaymentBroker.settle(com.tnsai.payment.Quote)(TNS-298). - Settlement.AlreadySettled - Record Class in com.tnsai.payment
-
Idempotency replay — a prior settlement with the same
Quote.idempotencyKeyalready succeeded; broker returns the originaltransactionIdso callers can reconcile. - Settlement.Expired - Record Class in com.tnsai.payment
-
Quote was past
Quote.expiresAtwhen settlement was attempted. - Settlement.Rejected - Record Class in com.tnsai.payment
-
Broker refused — insufficient funds, payer KYC failure, broker policy block.
- Settlement.Settled - Record Class in com.tnsai.payment
-
Funds moved successfully.
- setTone(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
- setToolCallFilter(ToolCallFilter) - Method in class com.tnsai.agents.Agent
-
Sets a filter controlling which tool calls are allowed.
- setToolCallFilter(ToolCallFilter) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Sets the tool call filter for permission enforcement.
- setToolCallFilter(ToolCallFilter) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- setToolCallHandler(LLMOrchestrator.ToolCallHandler) - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Sets the tool call handler.
- setToolCallListener(ToolCallListener) - Method in class com.tnsai.agents.Agent
-
Sets a listener for tool call lifecycle events.
- setToolCallListener(ToolCallListener) - Method in class com.tnsai.agents.execution.AgentToolExecutor
-
Sets the tool call listener for visualization.
- setToolCallListener(ToolCallListener) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- setToolsSupplier(Supplier<List<Map<String, Object>>>) - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Sets the tools supplier.
- setType(ActionType) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.ActionSpec
- setVariable(String, Object) - Method in interface com.tnsai.context.ContextManagerHandle
- setVariant(AgentVariant) - Method in class com.tnsai.agents.Agent
-
Sets the agent variant for runtime quality tier switching.
- setVariant(AgentVariant) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- setVariant(AgentVariant) - Method in class com.tnsai.agents.variant.VariantManager
-
Sets the variant.
- setVariantSelector(VariantSelector) - Method in class com.tnsai.agents.Agent
-
Sets the variant selector for automatic variant selection.
- setVariantSelector(VariantSelector) - Method in class com.tnsai.agents.capabilities.AgentCapabilities
- setVariantSpec(AgentVariant, VariantSpec) - Method in class com.tnsai.agents.variant.VariantManager
-
Sets a custom configuration for a variant.
- setVerbosity(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.CommunicationMeta
- setVersion(String) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec
- setWindowMs(int) - Method in class com.tnsai.metadata.RoleSpecReader.RoleSpec.RateLimitMeta
- severity() - Method in record class com.tnsai.agents.validation.ValidationIssue
-
Returns the value of the
severityrecord component. - severity() - Method in record class com.tnsai.hooks.HookResult.Block
-
Returns the value of the
severityrecord component. - Severity - Search tag in class com.tnsai.agents.validation.validators.LLMCapabilityValidator
- Section
- Severity - Search tag in class com.tnsai.agents.validation.validators.TenantScopeValidator
- Section
- Severity - Search tag in class com.tnsai.agents.validation.validators.ToolApprovalValidator
- Section
- Severity - Enum Class in com.tnsai.agents.validation
-
Severity of a
ValidationIssue. - Severity - Enum Class in com.tnsai.hooks
-
Severity of a
HookResult.Blockdecision (issue #58). - SEXUAL - Enum constant in enum class com.tnsai.annotations.InputGuardrail.ContentCategory
- shared() - Element in annotation interface com.tnsai.annotations.Memory
-
Whether to share memory with other agents.
- shared() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
Whether this role can be assigned to multiple agents simultaneously.
- SharedBlackboard - Class in com.tnsai.communication
-
Shared blackboard for multi-agent collaboration and coordination.
- SharedBlackboard() - Constructor for class com.tnsai.communication.SharedBlackboard
- SharedBlackboard.Entry - Class in com.tnsai.communication
-
Entry on the blackboard.
- SharedBlackboard.Entry.Builder - Class in com.tnsai.communication
- SharedBlackboard.EntryType - Enum Class in com.tnsai.communication
-
Types of blackboard entries.
- SharedBlackboard.VoteResult - Record Class in com.tnsai.communication
-
Vote result record.
- SharedBlackboard.VoteType - Enum Class in com.tnsai.communication
-
Vote types.
- Shared Memory Namespaces - Search tag in class com.tnsai.memory.AgentMemoryResolver
- Section
- SharedMemoryRegistry - Class in com.tnsai.memory
-
Registry for shared memory stores across agents.
- SharedMemoryStore - Class in com.tnsai.memory
-
A memory store wrapper that enables memory sharing between agents.
- SharedMemoryStore(MemoryStore, String) - Constructor for class com.tnsai.memory.SharedMemoryStore
-
Creates a SharedMemoryStore wrapping the given delegate.
- shareWith() - Element in annotation interface com.tnsai.annotations.Memory
-
Agent IDs to share memory with.
- SHELL - Enum constant in enum class com.tnsai.tools.SideEffect
-
Spawns a shell or executes binary commands.
- SHOPIFY_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Shopify Storefront API.
- shouldCheckpoint() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
- shouldCheckpoint() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ErrorInterrupt
- shouldCheckpoint() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ExternalInterrupt
- shouldCheckpoint() - Method in interface com.tnsai.agents.interrupt.InterruptEvent
-
Returns true if the agent should checkpoint its state.
- shouldCheckpoint() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.TimeoutInterrupt
- shouldCheckpoint() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.UserInterrupt
-
Returns the value of the
shouldCheckpointrecord component. - shouldProceed() - Method in interface com.tnsai.agents.execution.ToolCallAction
-
Whether the tool call should proceed immediately.
- shouldProceed() - Method in class com.tnsai.security.approval.InterruptResult
-
Checks if the agent should proceed with the action.
- shouldRetry(Exception, int) - Method in class com.tnsai.resilience.RetryPolicy
-
Returns true if the operation should be retried for the given exception and attempt number.
- shutdown() - Method in class com.tnsai.agents.lifecycle.IdleMonitor
-
Shuts down the scheduler.
- shutdown() - Method in class com.tnsai.agents.lifecycle.LifecycleManager
-
Shuts down the async executor.
- shutdown() - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
-
Called from Agent.stop() to end context conversations.
- shutdown() - Method in class com.tnsai.communication.AgentCommunicationManager
-
Shuts down the underlying transport.
- shutdown() - Method in class com.tnsai.communication.DefaultMessageAcknowledger
-
Shuts down the acknowledger and cancels all pending acknowledgments.
- shutdown() - Method in interface com.tnsai.communication.transport.CommunicationTransport
-
Stops the transport layer and releases resources.
- shutdown() - Method in class com.tnsai.events.handler.EventHandlerRegistry
-
Shuts down the async executor.
- shutdown() - Method in class com.tnsai.events.InMemoryEventPublisher
-
Closes all sessions and releases resources.
- sideEffect() - Element in annotation interface com.tnsai.annotations.Tool
-
Classification of this tool's observable effect (TNS-299).
- sideEffect(String, UnaryOperator<S>) - Static method in record class com.tnsai.reliability.DefaultResumableRun.Step
- SideEffect - Enum Class in com.tnsai.annotations
-
Classifies the observable effect a
Toolmethod has on the world (TNS-299). - SideEffect - Enum Class in com.tnsai.tools
-
What part of the world acan change.
invalid reference
Tool - sideEffecting() - Method in record class com.tnsai.reliability.DefaultResumableRun.Step
-
Returns the value of the
sideEffectingrecord component. - sign(AgentPrincipal) - Method in class com.tnsai.identity.LocalIdentityProvider
-
Sign an identity issued by this provider.
- signalType() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ExternalInterrupt
-
Returns the value of the
signalTyperecord component. - signature() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Returns the value of the
signaturerecord component. - signatureCopy() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Defensive copy of the signature bytes — mutations to the returned array don't affect the underlying record.
- simple(String, double) - Static method in class com.tnsai.context.decision.DecisionReasoning
-
Creates a simple reasoning with just a summary.
- SIMPLE - Enum constant in enum class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityLevel
-
Simple tasks: typos, minor fixes, basic queries
- SIMULATION_STATE_FILTER - Static variable in record class com.tnsai.rag.ChatRetrievalContext
- simulationState() - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns the value of the
simulationStaterecord component. - simulationState(String) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- singleton() - Element in annotation interface com.tnsai.agents.annotations.AgentIdentity
-
Whether this agent is a singleton instance.
- singleUse(boolean) - Method in class com.tnsai.security.approval.ApprovalToken.Builder
-
Sets whether token is single-use.
- SIX_PART_ANATOMY - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
6-Part Prompt Anatomy.
- size() - Method in class com.tnsai.agents.async.AsyncMsgHub
-
Gets the number of participants.
- size() - Method in class com.tnsai.communication.SharedBlackboard
-
Gets entry count.
- size() - Method in class com.tnsai.hooks.HookDispatcher
-
Current hook count — for tests and monitoring.
- size() - Method in interface com.tnsai.idempotency.IdempotencyStore
-
Approximate entry count.
- size() - Method in class com.tnsai.idempotency.InMemoryIdempotencyStore
- size() - Method in class com.tnsai.idempotency.PostgresIdempotencyStore
- size() - Method in class com.tnsai.idempotency.RedisIdempotencyStore
- size() - Method in class com.tnsai.knowledge.InMemoryKnowledgeBase
- size() - Method in interface com.tnsai.knowledge.KnowledgeBase
-
Gets the total number of documents in the knowledge base.
- size() - Method in class com.tnsai.memory.AbstractMemoryStore
-
Returns the current size of the history.
- size() - Method in class com.tnsai.memory.advanced.BM25Index
-
Returns the number of indexed entries.
- size() - Method in class com.tnsai.memory.advanced.SkillMemoryStore
-
Returns the number of stored skills.
- size() - Method in interface com.tnsai.memory.advanced.VectorIndex
-
Number of stored entries.
- size() - Method in class com.tnsai.memory.advanced.VectorMemoryStore
-
Returns the number of stored entries.
- size() - Method in class com.tnsai.memory.SharedMemoryRegistry
-
Returns the number of active namespaces.
- size() - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Returns total entry count.
- size() - Method in class com.tnsai.observability.errors.CapturingErrorReportPublisher
-
Number of reports captured so far.
- size() - Method in class com.tnsai.reliability.InMemoryCheckpointStore
-
Test helper: total checkpoint count across all runs.
- size() - Method in interface com.tnsai.resilience.dlq.DeadLetterQueue
-
Returns the current entry count.
- size() - Method in class com.tnsai.resilience.dlq.InMemoryDeadLetterQueue
- size() - Method in interface com.tnsai.spi.ToolRegistry
-
Returns the number of registered tools.
- size() - Method in class com.tnsai.tools.method.ToolMethodRegistry
- size(String) - Method in class com.tnsai.memory.NamespacedMemoryStore
-
Returns the number of messages in a specific namespace.
- sizeBytes() - Method in record class com.tnsai.llm.ModelInfo
-
Returns the value of the
sizeBytesrecord component. - sizeBytes(long) - Method in class com.tnsai.llm.ModelInfo.Builder
- Size cap - Search tag in class com.tnsai.prompt.ProjectContextLoader
- Section
- skill() - Method in record class com.tnsai.skills.ActiveSkill
-
Returns the value of the
skillrecord component. - Skill - Record Class in com.tnsai.memory.advanced
-
A structured skill extracted from agent experience.
- Skill - Record Class in com.tnsai.skills
-
On-demand modular knowledge layer between role and tools (TNS-289).
- Skill(String, String, List<String>, Instant) - Constructor for record class com.tnsai.memory.advanced.Skill
-
Creates an instance of a
Skillrecord class. - Skill(String, String, Optional<String>, String, List<String>, List<String>, boolean, boolean, Optional<String>, List<String>, Map<String, String>) - Constructor for record class com.tnsai.skills.Skill
-
Creates an instance of a
Skillrecord class. - SKILL_SCORED - Enum constant in enum class com.tnsai.annotations.Coordination.TaskDistribution
-
Skill-based routing with scoring
- Skill.Builder - Class in com.tnsai.skills
- SkillActivationEvent - Record Class in com.tnsai.events
-
Emitted whenever a
com.tnsai.skills.Skillis activated for an agent (TNS-289). - SkillActivationEvent(String, Instant, String, String, String, SkillActivationEvent.Source, List<String>) - Constructor for record class com.tnsai.events.SkillActivationEvent
-
Creates an instance of a
SkillActivationEventrecord class. - SkillActivationEvent.Source - Enum Class in com.tnsai.events
-
Why a skill was activated.
- SkillManager - Class in com.tnsai.skills
- SkillManager(String, SkillStore, SkillResolver, SkillResolverPolicy, int) - Constructor for class com.tnsai.skills.SkillManager
- SkillManager.SlashCommand - Record Class in com.tnsai.skills
-
Result of parsing a
/skill-name [args]user message. - SkillMdParser - Class in com.tnsai.skills
-
Parses a Claude Code-compatible
SKILL.mddocument into aSkill(TNS-289). - SkillMemoryStore - Class in com.tnsai.memory.advanced
-
File-based store for structured Markdown skill files.
- SkillMemoryStore(Path) - Constructor for class com.tnsai.memory.advanced.SkillMemoryStore
-
Creates a skill store backed by the given directory.
- skillName() - Method in record class com.tnsai.events.SkillActivationEvent
-
Returns the value of the
skillNamerecord component. - skillResolver(SkillResolver) - Method in class com.tnsai.agents.AgentBuilder
-
Override the resolver used when
AgentBuilder.skillResolverPolicyisAUTO. - SkillResolver - Interface in com.tnsai.skills
-
Ranks
Skills by their relevance to a user message (TNS-289). - skillResolverPolicy(SkillResolverPolicy) - Method in class com.tnsai.agents.AgentBuilder
- SkillResolverPolicy - Enum Class in com.tnsai.skills
-
How an agent surfaces and activates skills (TNS-289).
- SkillScopedToolCallFilter - Class in com.tnsai.skills
-
ToolCallFilterthat enforces theallowed-toolsfield of each active skill (TNS-289). - SkillScopedToolCallFilter(SkillManager) - Constructor for class com.tnsai.skills.SkillScopedToolCallFilter
- SkillSession - Class in com.tnsai.skills
-
Per-agent runtime state for the skill layer (TNS-289).
- SkillSession() - Constructor for class com.tnsai.skills.SkillSession
- SkillSpec - Annotation Interface in com.tnsai.annotations
-
Marks a class as a skill with metadata for routing and discovery.
- skillStore(SkillStore) - Method in class com.tnsai.agents.AgentBuilder
-
Wire a
SkillStoreso the agent can surface on-demand modular knowledge between role and tools (TNS-289). - SkillStore - Interface in com.tnsai.skills
-
SPI for skill discovery and lookup (TNS-289).
- SkillSubstitution - Class in com.tnsai.skills
-
Placeholder substitution for skill bodies and frontmatter strings (TNS-289).
- Skill vs Tool vs Capability vs RAG - Search tag in record class com.tnsai.skills.Skill
- Section
- SLASH_PREFIX - Static variable in class com.tnsai.skills.SkillManager
-
Magic prefix the user types to invoke a skill manually.
- SlashCommand(String, List<String>) - Constructor for record class com.tnsai.skills.SkillManager.SlashCommand
-
Creates an instance of a
SlashCommandrecord class. - Slf4jAgentEventPublisher - Class in com.tnsai.observability.events
-
Default
AgentEventPublisher— JSON-serializes the event and writes it via SLF4J at the level corresponding toEventLevel. - Slf4jAgentEventPublisher() - Constructor for class com.tnsai.observability.events.Slf4jAgentEventPublisher
-
Default: emit every level.
- Slf4jAgentEventPublisher(EventLevel) - Constructor for class com.tnsai.observability.events.Slf4jAgentEventPublisher
- Slf4jErrorReportPublisher - Class in com.tnsai.observability.errors
-
Default
ErrorReportPublisher— JSON-serialises the report and writes it via SLF4J at the level matching the report'sErrorCategory. - Slf4jErrorReportPublisher() - Constructor for class com.tnsai.observability.errors.Slf4jErrorReportPublisher
- SLIDING_WINDOW - Enum constant in enum class com.tnsai.annotations.Memory.Conversation.Strategy
-
Keep last N messages
- SLIDING_WINDOW - Enum constant in enum class com.tnsai.annotations.MemorySpec.PruneStrategy
-
Remove oldest messages first (FIFO)
- SLIDING_WINDOW - Enum constant in enum class com.tnsai.annotations.Resilience.RateLimit.Strategy
-
Sliding time window
- slidingWindowStrategy(SlidingWindowStrategy) - Method in class com.tnsai.memory.strategy.HybridStrategy.Builder
-
The sliding window strategy to use for recent messages.
- SlidingWindowStrategy - Class in com.tnsai.memory.strategy
-
Sliding window memory strategy that keeps the most recent messages.
- SlidingWindowStrategy.Builder - Class in com.tnsai.memory.strategy
-
Builder for SlidingWindowStrategy.
- SLOW - Enum constant in enum class com.tnsai.enums.AgentVariant.Speed
-
Slow, thorough processing
- snapshot() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns a snapshot of the current BDI state for serialization/debugging.
- snapshot() - Static method in class com.tnsai.observability.events.Breadcrumbs
-
Snapshot the current thread's breadcrumb list (oldest-first).
- snapshot() - Method in interface com.tnsai.spi.CognitiveModel
-
Returns a snapshot of the current cognitive state.
- snapshot(String) - Method in class com.tnsai.resilience.ResilienceMetrics
-
Snapshots the current state of
name, or empty if it was never recorded. - snapshotAll() - Method in class com.tnsai.resilience.ResilienceMetrics
-
Snapshots every recorded metric.
- snapshotContents() - Method in class com.tnsai.knowledge.InMemoryKnowledgeBase
-
Contents visible to a concurrent reader under the read lock.
- SnapshotDiff - Record Class in com.tnsai.context.snapshot
-
Represents the difference between two context snapshots.
- SnapshotDiff(String, String, Duration, List<Belief>, List<Belief>, List<Desire>, List<Desire>, List<Intention>, List<Intention>, List<Entity>, List<Entity>, Map<String, SnapshotDiff.VariableChange>, SnapshotDiff.DiffSummary) - Constructor for record class com.tnsai.context.snapshot.SnapshotDiff
-
Compact constructor with validation.
- SnapshotDiff.ChangeType - Enum Class in com.tnsai.context.snapshot
-
Type of change.
- SnapshotDiff.DiffSummary - Record Class in com.tnsai.context.snapshot
-
Summary of changes between snapshots.
- SnapshotDiff.VariableChange - Record Class in com.tnsai.context.snapshot
-
Represents a change to a variable.
- snapshotId(String) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- snapshotOldValues(ContractSpec, Map<String, Object>) - Method in class com.tnsai.actions.contracts.ContractValidator
-
Captures pre-execution values for every
old(...)sub-expression in the postconditions. - snapshotsByTrigger() - Method in record class com.tnsai.context.snapshot.SnapshotStore.SnapshotStoreStatistics
-
Returns the value of the
snapshotsByTriggerrecord component. - SnapshotStore - Interface in com.tnsai.context.snapshot
-
Interface for storing and retrieving context snapshots.
- SnapshotStore.SnapshotStoreStatistics - Record Class in com.tnsai.context.snapshot
-
Statistics about the snapshot store.
- SnapshotStoreStatistics(int, int, Instant, Instant, Map<SnapshotTrigger, Integer>) - Constructor for record class com.tnsai.context.snapshot.SnapshotStore.SnapshotStoreStatistics
-
Creates an instance of a
SnapshotStoreStatisticsrecord class. - snapshotSuppressedCounts() - Method in class com.tnsai.observability.errors.DedupingErrorReportPublisher
-
Visible for tests / SPI introspection.
- SnapshotTrigger - Enum Class in com.tnsai.context.snapshot
-
Defines when context snapshots are captured.
- softPreference(String) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Adds a single soft preference.
- softPreferences(List<String>) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Adds soft preferences (nice to have).
- source() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ExternalInterrupt
-
Returns the value of the
sourcerecord component. - source() - Method in class com.tnsai.annotations.ClassConfig
- source() - Element in annotation interface com.tnsai.annotations.KnowledgePolicy
-
The
Knowledge.name()of the source this policy governs. - source() - Method in record class com.tnsai.context.decision.DecisionTrigger
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.tnsai.environment.Percept
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.tnsai.events.SkillActivationEvent
-
Returns the value of the
sourcerecord component. - source() - Method in exception class com.tnsai.exceptions.KnowledgeNotReadyException
-
Returns the source name.
- source() - Method in record class com.tnsai.llm.LLMResolver.ResolutionResult
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.tnsai.models.chat.AudioPart
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.tnsai.models.chat.VideoPart
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.tnsai.rag.DocumentInput
-
Returns the value of the
sourcerecord component. - source() - Method in exception class com.tnsai.rag.DocumentProcessingException
-
Returns the canonical source URI.
- source() - Method in record class com.tnsai.rag.ExtractedDocument
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.tnsai.rag.KnowledgeEntry
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.tnsai.rag.KnowledgeUsage
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.tnsai.rag.SequentialConfig
-
Returns the value of the
sourcerecord component. - source(EntitySource) - Method in class com.tnsai.context.entity.Entity.Builder
- source(String) - Method in class com.tnsai.rag.SequentialConfig.Builder
-
Selects the exact knowledge-source name.
- SOURCE_CODE - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
Source-code family; language detection is performed after selection.
- SOURCE_LLM - Static variable in class com.tnsai.models.agent.Belief
-
Source constant for LLM-inferred beliefs.
- SOURCE_LOADING - Enum constant in enum class com.tnsai.rag.RetrievalException.Reason
-
A declared source could not be loaded completely.
- SOURCE_MEMORY - Static variable in class com.tnsai.models.agent.Belief
-
Source constant for memory-retrieved beliefs.
- SOURCE_PRIORITY - Enum constant in enum class com.tnsai.context.entity.ConflictResolution
-
Use the value from the highest priority source.
- SOURCE_REVISION_FILTER - Static variable in record class com.tnsai.rag.ChatRetrievalContext
- SOURCE_SENSOR - Static variable in class com.tnsai.models.agent.Belief
-
Source constant for sensor/API data.
- SOURCE_USER - Static variable in class com.tnsai.models.agent.Belief
-
Source constant for user-provided beliefs.
- sourceAgentId() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Returns the value of the
sourceAgentIdrecord component. - sourceAgentId() - Method in class com.tnsai.memory.strategy.MemoryEntry
- sourceAgentId(String) - Method in class com.tnsai.agents.groups.GroupEvent.Builder
- sourceId() - Method in record class com.tnsai.context.entity.EntityAttribute
-
Returns the value of the
sourceIdrecord component. - sourceName() - Method in class com.tnsai.rag.ChatKnowledgeBinding
-
Returns the first canonical source name; see
ChatKnowledgeBinding.config()for all of them. - sourceName() - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Returns the value of the
sourceNamerecord component. - sourceName() - Method in exception class com.tnsai.rag.DocumentProcessingException
-
Returns the knowledge-source declaration name.
- sourceName() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns the value of the
sourceNamerecord component. - sourceName() - Method in record class com.tnsai.rag.RetrievalEvidence.Provenance
-
Returns the value of the
sourceNamerecord component. - sourceRevision() - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns the value of the
sourceRevisionrecord component. - sourceRevision(String) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- sources() - Method in record class com.tnsai.rag.KnowledgeSelection
- sources() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
sourcesrecord component. - sources(String...) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- sources(List<EntitySource>) - Method in class com.tnsai.context.entity.Entity.Builder
- sources(List<String>) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- sourceSessionId() - Method in class com.tnsai.memory.strategy.MemoryEntry
- spanId() - Method in record class com.tnsai.hooks.HookContext
-
Returns the value of the
spanIdrecord component. - spanId() - Method in record class com.tnsai.observability.events.EventContext
-
Returns the value of the
spanIdrecord component. - spanId(String) - Method in class com.tnsai.hooks.HookContext.Builder
- spanId(String) - Method in class com.tnsai.observability.events.EventContext.Builder
- SPECIALIZED_SEARCH_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Domain-specific lookups.
- SPEECH_TO_TEXT_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Speech-to-text across the three most popular non-OpenAI providers, complementing
MediaTools.whisperTranscribe. - SPEED - Enum constant in enum class com.tnsai.agents.variant.VariantSelector.VariantPreference
-
Prioritize speed over quality
- spendCeilingUSD() - Method in record class com.tnsai.accountability.AuthorityScope
-
Returns the value of the
spendCeilingUSDrecord component. - spentUSD() - Method in record class com.tnsai.reliability.Progress.CostUpdate
-
Returns the value of the
spentUSDrecord component. - SPI Discovery - Search tag in interface com.tnsai.security.audit.AuditStore
- Section
- spiInterface() - Method in record class com.tnsai.hooks.events.OnSPILoad
-
Returns the value of the
spiInterfacerecord component. - SpiLoader - Class in com.tnsai.spi
-
Classloader-scoped cache for Java SPI providers.
- Spinner - Class in com.tnsai.utils
-
Terminal spinner for showing loading state.
- Spinner(String) - Constructor for class com.tnsai.utils.Spinner
-
Creates a spinner with the given message.
- Spinner(String, String[], boolean) - Constructor for class com.tnsai.utils.Spinner
-
Creates a spinner with custom configuration.
- Spinner(String, String[], boolean, PrintStream) - Constructor for class com.tnsai.utils.Spinner
-
Creates a spinner with custom output stream.
- SQL_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
JDBC SQL execution.
- SqliteCheckpointStore - Class in com.tnsai.reliability
-
Single-file SQLite-backed
CheckpointStore(TNS-299). - SqliteCheckpointStore(Path) - Constructor for class com.tnsai.reliability.SqliteCheckpointStore
- SQUARE_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Square Payments + Catalog.
- SSN - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.PIIType
- stackTraceDigest() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
stackTraceDigestrecord component. - stackTraceDigest(String) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- StackTraceNormalizer - Class in com.tnsai.observability.errors
-
Stack-trace normalization for stable error fingerprinting.
- stage() - Method in exception class com.tnsai.guardrails.GuardrailViolationException
- stage() - Method in exception class com.tnsai.rag.DocumentProcessingException
-
Returns the stable pipeline stage.
- STALE - Enum constant in enum class com.tnsai.rag.RetrievalDiagnostics.CacheOutcome
- StalenessDetector - Class in com.tnsai.memory.advanced
-
Detects contradictions between memory entries via Jaccard similarity on token sets.
- StalenessDetector() - Constructor for class com.tnsai.memory.advanced.StalenessDetector
-
Creates a detector with the default threshold of 0.9.
- StalenessDetector(double) - Constructor for class com.tnsai.memory.advanced.StalenessDetector
-
Creates a detector with a custom threshold.
- staleReason() - Method in class com.tnsai.memory.strategy.MemoryEntry
- STANDARD - Enum constant in enum class com.tnsai.agents.variant.VariantSpec.ToolSet
-
Standard tool set (most common tools)
- STANDARD - Enum constant in enum class com.tnsai.annotations.Security.AuditLevel
-
Log action name, caller, and parameters
- start() - Method in class com.tnsai.agents.Agent
-
No-op: protocols auto-start when annotations are detected.
- start() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Starts the group, transitioning from FORMED to ACTIVE.
- start() - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Starts the event bus.
- start() - Method in interface com.tnsai.protocols.ProtocolManagerHandle
-
Starts all configured protocol handlers.
- start() - Method in class com.tnsai.utils.Spinner
-
Starts the spinner animation.
- start(ActionMetadata, Role) - Static method in class com.tnsai.resilience.MeteredResolver
-
Opens a metered span for the given action invocation.
- start(String, String) - Static method in class com.tnsai.llm.ChatChunk
-
Creates a START chunk indicating stream beginning.
- START - Enum constant in enum class com.tnsai.annotations.Lifecycle.Phase
-
Agent activation.
- START - Enum constant in enum class com.tnsai.llm.ChatChunk.ChunkType
-
Stream has started, no content yet
- startAutoConsolidation(Duration) - Method in class com.tnsai.memory.MemoryConsolidationPipeline
-
Starts automatic consolidation at fixed intervals.
- startConversation() - Method in interface com.tnsai.context.ContextManagerHandle
- startConversation(String) - Method in interface com.tnsai.context.ContextManagerHandle
- started(String, String) - Static method in interface com.tnsai.agents.async.ChatEvent
- Started(String, String) - Constructor for record class com.tnsai.agents.async.ChatEvent.Started
- Started(Instant, String, String) - Constructor for record class com.tnsai.agents.async.ChatEvent.Started
-
Creates an instance of a
Startedrecord class. - startedAt() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
startedAtrecord component. - startHealthCheck(Duration) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Starts automatic health checking.
- STARTING - Enum constant in enum class com.tnsai.hooks.events.AgentState
-
Lazy initialisation in progress.
- startLine() - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Returns the value of the
startLinerecord component. - startMonitoring(Agent, int, Runnable) - Method in class com.tnsai.agents.lifecycle.IdleMonitor
-
Starts monitoring an agent for idle timeout.
- startSession(Agent) - Method in class com.tnsai.agents.async.SessionManager
-
Starts a new session for an agent.
- state() - Element in annotation interface com.tnsai.annotations.Effect
-
The state field that this effect modifies.
- state() - Method in record class com.tnsai.reliability.Checkpoint
-
Returns the value of the
staterecord component. - state() - Method in record class com.tnsai.state.Checkpointer.CheckpointTuple
-
Returns the value of the
staterecord component. - state(Class<T>, Supplier<? extends T>) - Method in class com.tnsai.rag.KnowledgeScope
-
Returns a lazily created resource owned by this scope.
- State - Annotation Interface in com.tnsai.annotations
-
Marks a field as agent state for planning.
- STATE_INVARIANT - Enum constant in enum class com.tnsai.invariants.InvariantViolationException.ViolationType
- State Components - Search tag in package com.tnsai.state
- Section
- stateCopy() - Method in record class com.tnsai.reliability.Checkpoint
- StateException - Exception Class in com.tnsai.state
-
Exception thrown when state operations fail.
- StateException(String) - Constructor for exception class com.tnsai.state.StateException
-
Creates a StateException with a message.
- StateException(String, Throwable) - Constructor for exception class com.tnsai.state.StateException
-
Creates a StateException with a message and cause.
- StateInfo(String, String, Class<?>, Field, String, String[]) - Constructor for record class com.tnsai.roles.metadata.RoleSpecExtractor.StateInfo
-
Creates an instance of a
StateInforecord class. - stateRecoveryManager - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- stateRecoveryManager(AgentStateRecoveryManager) - Method in class com.tnsai.agents.resilience.AgentResilienceManager.Builder
-
Sets the state recovery manager.
- states() - Method in record class com.tnsai.roles.export.ExportedRole
-
Returns the value of the
statesrecord component. - states() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.CachedRoleMetadata
-
Returns the value of the
statesrecord component. - StateValue(String, Class<?>, Object) - Constructor for record class com.tnsai.roles.metadata.RoleSpecExtractor.StateValue
-
Creates an instance of a
StateValuerecord class. - staticBeliefs() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns the static beliefs (from configuration).
- staticDesires() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns the static desires (from configuration).
- staticIntentions() - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Returns the static intentions (from configuration).
- Static Model Profiles - Search tag in class com.tnsai.llm.ModelCapabilities
- Section
- StaticToolMethod - Record Class in com.tnsai.tools.method
-
A
ToolMethodbacked by a discoveredTool-annotated method on a POJO instance. - StaticToolMethod(String, String, List<String>, boolean, Object, Method, List<ToolParameter>, Type) - Constructor for record class com.tnsai.tools.method.StaticToolMethod
-
Creates an instance of a
StaticToolMethodrecord class. - status() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
statusrecord component. - status() - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Returns the value of the
statusrecord component. - status() - Method in record class com.tnsai.events.RunEndEvent
-
Returns the value of the
statusrecord component. - status() - Method in record class com.tnsai.spi.CognitiveModel.Goal
-
Returns the value of the
statusrecord component. - status() - Method in record class com.tnsai.spi.CognitiveModel.Intention
-
Returns the value of the
statusrecord component. - status(DecisionOutcome.OutcomeStatus) - Method in class com.tnsai.context.decision.DecisionOutcome.Builder
- STATUS - Enum constant in enum class com.tnsai.communication.TaskMessageType
- StatusEvent - Record Class in com.tnsai.events
-
Event representing a status update during agent execution.
- StatusEvent(String, Instant, String, StatusEvent.StatusType, String, String, List<String>) - Constructor for record class com.tnsai.events.StatusEvent
-
Creates an instance of a
StatusEventrecord class. - StatusEvent.StatusType - Enum Class in com.tnsai.events
-
Types of status updates.
- statusType() - Method in record class com.tnsai.events.StatusEvent
-
Returns the value of the
statusTyperecord component. - stdioArgs() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Arguments for stdio command.
- stdioArgs() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
stdioArgsrecord component. - stdioCommand() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Command for stdio transport.
- stdioCommand() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
stdioCommandrecord component. - stdioEnv() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Environment variables for stdio process.
- stdioEnv() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
stdioEnvrecord component. - step() - Method in record class com.tnsai.events.ThoughtEvent
-
Returns the value of the
steprecord component. - step(DecisionReasoning.ReasoningStep) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- step(DefaultResumableRun.Step<S>) - Method in class com.tnsai.reliability.DefaultResumableRun.Builder
- step(String) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- step(String, String) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- Step(String, UnaryOperator<S>, boolean) - Constructor for record class com.tnsai.reliability.DefaultResumableRun.Step
-
Creates an instance of a
Steprecord class. - STEP_BACK - Enum constant in enum class com.tnsai.annotations.Search.QueryExpansion
-
Step-back prompting
- StepCompleted(Instant, int, String, Duration) - Constructor for record class com.tnsai.reliability.Progress.StepCompleted
-
Creates an instance of a
StepCompletedrecord class. - stepIndex() - Method in record class com.tnsai.reliability.Checkpoint
-
Returns the value of the
stepIndexrecord component. - stepIndex() - Method in record class com.tnsai.reliability.Progress.CheckpointSaved
-
Returns the value of the
stepIndexrecord component. - stepIndex() - Method in record class com.tnsai.reliability.Progress.RunFailed
-
Returns the value of the
stepIndexrecord component. - stepIndex() - Method in record class com.tnsai.reliability.Progress.StepCompleted
-
Returns the value of the
stepIndexrecord component. - stepIndex() - Method in record class com.tnsai.reliability.Progress.StepStarted
-
Returns the value of the
stepIndexrecord component. - Step model - Search tag in class com.tnsai.reliability.DefaultResumableRun
- Section
- stepName() - Method in record class com.tnsai.reliability.Progress.StepCompleted
-
Returns the value of the
stepNamerecord component. - stepName() - Method in record class com.tnsai.reliability.Progress.StepStarted
-
Returns the value of the
stepNamerecord component. - StepResult(String, boolean, String) - Constructor for record class com.tnsai.planning.PlannerHandle.StepResult
-
Creates an instance of a
StepResultrecord class. - steps() - Method in record class com.tnsai.spi.CognitiveModel.Intention
-
Returns the value of the
stepsrecord component. - steps(List<DecisionReasoning.ReasoningStep>) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- steps(List<DefaultResumableRun.Step<S>>) - Method in class com.tnsai.reliability.DefaultResumableRun.Builder
- StepStarted(Instant, int, String) - Constructor for record class com.tnsai.reliability.Progress.StepStarted
-
Creates an instance of a
StepStartedrecord class. - stop() - Method in class com.tnsai.agents.Agent
-
Stops the protocol manager, idle monitor, role registry and releases resources.
- stop() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Stops the group gracefully, allowing in-flight operations to complete.
- stop() - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Stops the event bus.
- stop() - Method in interface com.tnsai.protocols.ProtocolManagerHandle
-
Stops all protocol handlers.
- stop() - Method in class com.tnsai.utils.Spinner
-
Stops the spinner animation.
- STOP - Enum constant in enum class com.tnsai.annotations.Lifecycle.Phase
-
Normal shutdown.
- STOP - Enum constant in enum class com.tnsai.llm.ChatChunk.FinishReason
-
Natural end of response
- STOP_GROUP - Enum constant in enum class com.tnsai.agents.groups.GroupPolicy.FailurePolicy
-
Stop the entire group on any failure
- stopAutoConsolidation() - Method in class com.tnsai.memory.MemoryConsolidationPipeline
-
Stops automatic consolidation.
- stopCondition(String) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Sets the stop/completion condition.
- stopHealthCheck() - Method in interface com.tnsai.agents.groups.MembershipManager
-
Stops automatic health checking.
- stopMonitoring(Agent) - Method in class com.tnsai.agents.lifecycle.IdleMonitor
-
Stops monitoring an agent.
- stopNow() - Method in interface com.tnsai.agents.groups.AgentGroup
-
Stops the group immediately, canceling in-flight operations.
- STOPPED - Enum constant in enum class com.tnsai.agents.groups.GroupLifecycle
-
Group has stopped.
- STOPPED - Enum constant in enum class com.tnsai.hooks.events.AgentState
-
Fully stopped, resources released.
- STOPPING - Enum constant in enum class com.tnsai.agents.groups.GroupLifecycle
-
Group is stopping gracefully.
- STOPPING - Enum constant in enum class com.tnsai.hooks.events.AgentState
-
stop()has been called; in-flight work is being drained. - StopReason - Enum Class in com.tnsai.hooks.events
-
Why an agent is shutting down, carried by
AgentStop(issue #60). - store() - Element in annotation interface com.tnsai.annotations.Memory.Persistence
-
Storage backend.
- store() - Method in class com.tnsai.skills.SkillManager
- store(Entity) - Method in interface com.tnsai.context.entity.EntityResolver
-
Stores or updates an entity.
- store(Entity, String) - Method in interface com.tnsai.context.entity.EntityResolver
-
Stores an entity from a specific source.
- store(MemoryStore) - Method in class com.tnsai.memory.strategy.TieredContextLoader.Builder
-
Sets the memory store to load history from.
- STORE_UNAVAILABLE - Enum constant in enum class com.tnsai.idempotency.IdempotencyException.IdempotencyConflict
- storedAt() - Method in record class com.tnsai.idempotency.IdempotencyEntry
-
Returns the value of the
storedAtrecord component. - Strategies - Search tag in annotation interface com.tnsai.annotations.Search
- Section
- strategy() - Element in annotation interface com.tnsai.annotations.Coordination.Consensus
-
Consensus strategy.
- strategy() - Element in annotation interface com.tnsai.annotations.Memory.Conversation
-
Memory management strategy.
- strategy() - Element in annotation interface com.tnsai.annotations.Resilience.RateLimit
-
Rate limiting strategy.
- strategy() - Element in annotation interface com.tnsai.annotations.Search
-
Retrieval strategy.
- strategy() - Element in annotation interface com.tnsai.idempotency.Idempotent
-
How to derive the key.
- strategy() - Element in annotation interface com.tnsai.protocols.annotations.Debate
-
Strategy for determining consensus.
- strategy() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
strategyrecord component. - strategy() - Method in record class com.tnsai.rag.RetrievalEvidence.Provenance
-
Returns the value of the
strategyrecord component. - strategy() - Method in class com.tnsai.rag.SearchSettings
- strategy(Search.Strategy) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- strategy(Search.Strategy) - Method in class com.tnsai.rag.SearchSettings.Builder
- strategy(MemoryStrategy) - Method in class com.tnsai.memory.strategy.ManagedConversationMemory.Builder
-
Sets the memory strategy.
- strategy(PromptStrategy) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Adds a prompting strategy.
- strategyName() - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
-
Returns the value of the
strategyNamerecord component. - Strategy Phases - Search tag in class com.tnsai.memory.strategy.HybridStrategy
- Section
- stream(boolean) - Method in class com.tnsai.agents.async.ChatOptions.Builder
- streamChat(ChatRequest) - Method in class com.tnsai.llm.FallbackLLMClient
- streamChat(ChatRequest) - Method in interface com.tnsai.llm.LLMClient
-
Streams a chat response using the unified
ChatRequestmodel. - streamChat(String) - Method in class com.tnsai.agents.Agent
-
Streams response tokens without tool support.
- streamChat(String) - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Sends a message and returns a streaming response.
- streamChat(String) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- streamChat(String) - Method in class com.tnsai.agents.streaming.AgentStreamingSupport
-
Streams the LLM response token by token.
- streamChat(String, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>) - Method in class com.tnsai.llm.FallbackLLMClient
- streamChat(String, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>) - Method in interface com.tnsai.llm.LLMClient
-
Sends a chat message and streams the response token by token.
- streamChat(List<ContentPart>, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>) - Method in interface com.tnsai.llm.LLMClient
-
Sends a multimodal chat message and streams the response.
- streamChatWithConsumer(String, Consumer<String>) - Method in class com.tnsai.agents.execution.LLMOrchestrator
-
Sends a message with streaming and custom event handling.
- streamChatWithHandler(ChatRequest, Consumer<ChatChunk>) - Method in interface com.tnsai.llm.LLMClient
-
Streams a chat response via callbacks using the unified
ChatRequestmodel. - streamChatWithHandler(String, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>, Consumer<ChatChunk>) - Method in interface com.tnsai.llm.LLMClient
-
Streams a chat response via callbacks, supporting both text deltas and tool calls.
- streamChatWithRetrievedContext(String, String, Consumer<ChatChunk>) - Method in class com.tnsai.agents.Agent
-
Streams canonically fenced retrieved context while persisting only the original user message.
- streamChatWithRetrievedContext(String, String, Consumer<ChatChunk>) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- streamChatWithRetrievedContext(String, String, Consumer<ChatChunk>, ChatRetrievalContext) - Method in class com.tnsai.agents.Agent
-
Streams pre-rendered evidence with request-local retrieval lifecycle context.
- streamChatWithRetrievedContext(String, String, Consumer<ChatChunk>, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- streamChatWithSpec(ChatRequest) - Method in interface com.tnsai.llm.LLMClient
-
Streams a chat response with rich metadata using the unified
ChatRequestmodel. - streamChatWithSpec(String, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>) - Method in interface com.tnsai.llm.LLMClient
-
Sends a chat message and streams the response with rich metadata.
- streamChatWithTools(String, String, Consumer<ChatChunk>) - Method in class com.tnsai.agents.streaming.AgentStreamingSupport
- streamChatWithTools(String, String, Consumer<ChatChunk>, ChatRetrievalContext) - Method in class com.tnsai.agents.streaming.AgentStreamingSupport
- streamChatWithTools(String, Consumer<ChatChunk>) - Method in class com.tnsai.agents.Agent
-
Streams response with full tool-calling loop.
- streamChatWithTools(String, Consumer<ChatChunk>) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- streamChatWithTools(String, Consumer<ChatChunk>) - Method in class com.tnsai.agents.streaming.AgentStreamingSupport
-
Streams a response with full tool calling support via ChatChunk callbacks.
- streamChatWithTools(String, Consumer<ChatChunk>, ChatRetrievalContext) - Method in class com.tnsai.agents.Agent
-
Streams tools with request-local retrieval isolation and lifecycle context.
- streamChatWithTools(String, Consumer<ChatChunk>, ChatRetrievalContext) - Method in class com.tnsai.agents.orchestration.AgentOrchestrator
- streaming() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
Whether to enable streaming responses.
- streaming() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns the value of the
streamingrecord component. - STREAMING - Enum constant in enum class com.tnsai.enums.LLMCapability
-
Model can stream tokens incrementally — needed for
agent.streamChatWithTools(...). - streamingNotSupported(String, String) - Static method in exception class com.tnsai.exceptions.LLMCapabilityException
-
Factory for streaming not supported.
- strength() - Method in class com.tnsai.memory.strategy.MemoryEntry
- STRENGTHEN - Enum constant in enum class com.tnsai.annotations.Contract.InheritanceMode
-
Subclass can only strengthen (add) contracts
- strict() - Element in annotation interface com.tnsai.annotations.Contract
-
Whether to throw exception on contract violation.
- strict() - Element in annotation interface com.tnsai.invariants.InvariantCheck
-
Whether to throw exceptions on violation.
- strict() - Method in record class com.tnsai.metadata.ContractSpec
-
Returns the value of the
strictrecord component. - strict(boolean) - Method in class com.tnsai.metadata.ContractSpec.Builder
- strictMode(boolean) - Method in class com.tnsai.parser.JsonOutputParser.Builder
-
Enables strict mode (fails on unknown properties).
- Strictness - Search tag in annotation interface com.tnsai.annotations.Config
- Section
- stringValue(Map<String, Object>, String) - Static method in class com.tnsai.metadata.ActionParams
-
Returns the value bound to
namewhen it is a non-blank String. - STRUCTURAL - Enum constant in enum class com.tnsai.rag.ChunkContext
-
Deterministic prefix from origin, structural path, and line range.
- structuralPath() - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Returns the value of the
structuralPathrecord component. - structuralPath() - Method in record class com.tnsai.rag.DocumentBlock
-
Returns the value of the
structuralPathrecord component. - StructuralPath - Class in com.tnsai.rag
-
Builds and selects
structural paths. - STRUCTURED - Enum constant in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
- STRUCTURED_OUTPUT - Enum constant in enum class com.tnsai.enums.LLMCapability
-
Model can return structured JSON output mode (response_format with a JSON schema).
- STRUCTURED_THINKING - Enum constant in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Structured thinking protocol.
- structuredOutputNotSupported(String, String) - Static method in exception class com.tnsai.exceptions.LLMCapabilityException
-
Factory for structured output not supported.
- style() - Element in annotation interface com.tnsai.annotations.Communication
-
Communication style configuration.
- STYLE - Enum constant in enum class com.tnsai.communication.CommunicationViolationException.ViolationType
-
Style violation (tone, formality, etc.)
- subjects() - Method in class com.tnsai.security.InvocationContext
- Sub-packages - Search tag in package com.tnsai.models
- Section
- subscribe(GroupEvent.Type, Consumer<GroupEvent>) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Subscribes to events of a specific type.
- subscribe(String, Flow.Subscriber<TnsAIEvent>) - Method in class com.tnsai.events.InMemoryEventPublisher
- subscribe(String, Flow.Subscriber<TnsAIEvent>) - Method in interface com.tnsai.events.TnsAIEventPublisher
-
Subscribes to events for a specific session using a Flow.Subscriber.
- subscribe(String, Consumer<TnsAIEvent>) - Method in class com.tnsai.events.InMemoryEventPublisher
- subscribe(String, Consumer<TnsAIEvent>) - Method in interface com.tnsai.events.TnsAIEventPublisher
-
Subscribes to events for a specific session using a simple consumer.
- subscribe(String, Consumer<Progress>) - Method in class com.tnsai.reliability.InMemoryProgressSink
- subscribe(String, Consumer<Progress>) - Method in interface com.tnsai.reliability.ProgressSink
-
Register
listenerfor events onrunId. - subscribe(String, Consumer<MessageBroker.Message>) - Method in interface com.tnsai.spi.MessageBroker
-
Subscribes to messages for a specific agent.
- subscribe(Consumer<GroupEvent>) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Subscribes to all events.
- subscribe(Predicate<GroupEvent>, Consumer<GroupEvent>) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Subscribes to events matching a filter.
- SUBSCRIBE - Enum constant in enum class com.tnsai.communication.QueryMessageType
- subscribeFor(String, Consumer<GroupEvent>) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Subscribes to events targeted at a specific agent.
- subscribeFrom(String, Consumer<GroupEvent>) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Subscribes to events from a specific agent.
- subscriberCount(String) - Method in class com.tnsai.reliability.InMemoryProgressSink
-
Test helper: count of active (non-cancelled) subscribers for a run.
- subscribeTopic(String, Consumer<MessageBroker.Message>) - Method in interface com.tnsai.spi.MessageBroker
-
Subscribes to a topic.
- SUBTRACT - Enum constant in enum class com.tnsai.annotations.Effect.Operation
-
Subtract value from numeric state.
- success() - Method in record class com.tnsai.actions.model.ActionResponse
-
Returns the value of the
successrecord component. - success() - Method in record class com.tnsai.agents.async.ChatEvent.ToolResult
-
Returns the value of the
successrecord component. - success() - Static method in record class com.tnsai.agents.groups.MembershipManager.MembershipValidation
- success() - Element in annotation interface com.tnsai.annotations.CompletionSignal
-
Whether this completion signal indicates success.
- success() - Static method in class com.tnsai.context.decision.DecisionOutcome
-
Creates a builder for a successful outcome.
- success() - Method in record class com.tnsai.environment.ActionOutcome
-
Returns the value of the
successrecord component. - success() - Method in record class com.tnsai.events.ToolCallEndEvent
-
Returns the value of the
successrecord component. - success() - Method in record class com.tnsai.feedback.FeedbackCollector.ToolOutcome
-
Returns the value of the
successrecord component. - success() - Method in record class com.tnsai.llm.ParallelLLM.LLMResult
-
Returns the value of the
successrecord component. - success() - Method in record class com.tnsai.parser.RetryableParser.ParseAttempt
-
Returns the value of the
successrecord component. - success() - Method in record class com.tnsai.planning.PlannerHandle.PlanResult
-
Returns the value of the
successrecord component. - success() - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningResult
-
Returns the value of the
successrecord component. - success() - Method in record class com.tnsai.resilience.ResilienceMetrics.MetricSnapshot
-
Returns the value of the
successrecord component. - success(Entity, double, List<String>) - Static method in record class com.tnsai.context.entity.EntityResolutionResult
-
Creates a successful resolution result.
- success(Object) - Static method in record class com.tnsai.actions.model.ActionResponse
-
Creates a successful response with the given value.
- success(String) - Static method in record class com.tnsai.environment.ActionOutcome
- success(String) - Static method in record class com.tnsai.planning.PlannerHandle.StepResult
-
Creates a successful step result.
- success(String) - Static method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningResult
-
Creates a successful result.
- success(String, long) - Static method in record class com.tnsai.feedback.FeedbackCollector.ToolOutcome
- success(String, Percept) - Static method in record class com.tnsai.environment.ActionOutcome
- success(String, Object) - Static method in class com.tnsai.agents.execution.AgentToolExecutor.ToolCallResult
- success(String, String, long) - Static method in record class com.tnsai.llm.ParallelLLM.LLMResult
- success(String, String, Object, long) - Static method in record class com.tnsai.events.ToolCallEndEvent
-
Creates a successful tool call end event.
- success(String, Map<String, Object>) - Static method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningResult
-
Creates a successful result with metadata.
- success(T) - Static method in class com.tnsai.parser.ParseResult
-
Creates a successful parse result with default timing.
- success(T, String, long) - Static method in class com.tnsai.parser.ParseResult
-
Creates a successful parse result.
- SUCCESS - Enum constant in enum class com.tnsai.context.decision.DecisionOutcome.OutcomeStatus
-
Decision executed successfully
- successful() - Method in record class com.tnsai.llm.ParallelLLM.ParallelResults
- successfulDecisions() - Method in record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Returns the value of the
successfulDecisionsrecord component. - successRate() - Method in record class com.tnsai.resilience.ResilienceMetrics.MetricSnapshot
-
Convenience: success rate as a value in [0, 1]; 0 when no calls recorded.
- successThreshold() - Element in annotation interface com.tnsai.annotations.Resilience.CircuitBreaker
-
Number of successful calls needed in half-open state.
- successWithAlternatives(Entity, double, List<Entity>, List<String>) - Static method in record class com.tnsai.context.entity.EntityResolutionResult
-
Creates a successful resolution with alternatives.
- suggestedAction() - Method in record class com.tnsai.hooks.events.OnSessionIdle
-
Returns the value of the
suggestedActionrecord component. - suggestedRetryDelay() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
suggestedRetryDelayrecord component. - suggestedRetryDelay(Duration) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- suggestion() - Method in record class com.tnsai.agents.execution.ToolCallAction.Fallback
-
Returns the value of the
suggestionrecord component. - suggestionFor(String) - Static method in class com.tnsai.memory.vector.VectorStoreProviderRegistry
- suggestVariant(TaskComplexityAnalyzer.ComplexityResult) - Method in class com.tnsai.agents.variant.TaskComplexityAnalyzer
-
Suggests a variant based on complexity score.
- suggestVariant(String) - Method in class com.tnsai.agents.variant.VariantManager
-
Suggests a variant based on task description.
- sum() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Returns the value of the
sumrecord component. - summarize() - Element in annotation interface com.tnsai.annotations.Memory.Conversation
-
Whether to summarize old messages.
- summarize() - Method in class com.tnsai.context.decision.DecisionTrace
-
Generates a concise one-line summary.
- summarize(List<Map<String, Object>>) - Method in interface com.tnsai.memory.strategy.TieredContextLoader.LLMSummarizer
-
Summarizes the given messages into a condensed string.
- SUMMARIZE - Enum constant in enum class com.tnsai.annotations.MemorySpec.PruneStrategy
-
Summarize and compress old messages.
- summarizeAfter() - Element in annotation interface com.tnsai.annotations.Memory.Conversation
-
Summarization threshold (messages before summarizing).
- summarizeOnPrune() - Element in annotation interface com.tnsai.annotations.MemorySpec
-
Whether to summarize old messages instead of removing.
- summarizeOnPrune() - Method in record class com.tnsai.memory.MemoryConfig
-
Returns the value of the
summarizeOnPrunerecord component. - summarizeOnPrune(boolean) - Method in class com.tnsai.memory.MemoryConfig.Builder
- summarizer(LLMClient) - Method in class com.tnsai.memory.strategy.SummaryStrategy.Builder
-
Uses an LLM for summarization.
- summarizer(TieredContextLoader.LLMSummarizer) - Method in class com.tnsai.memory.strategy.TieredContextLoader.Builder
-
Sets the summarizer for Tier 2.
- summarizer(Function<List<Map<String, Object>>, String>) - Method in class com.tnsai.memory.strategy.SummaryStrategy.Builder
-
Sets a custom summarization function.
- summarizeRecentDecisions(int) - Method in interface com.tnsai.context.ContextManagerHandle
- summarizeThreshold(int) - Method in class com.tnsai.memory.strategy.HybridStrategy.Builder
-
Minimum messages before summarization kicks in.
- summary() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
summaryrecord component. - summary() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.LoadedContext
-
Returns the value of the
summaryrecord component. - summary(String) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- SUMMARY - Enum constant in enum class com.tnsai.annotations.Memory.Conversation.Strategy
-
Summarize old messages
- Summary Modes - Search tag in class com.tnsai.memory.strategy.SummaryStrategy
- Section
- summaryPrefix(String) - Method in class com.tnsai.memory.strategy.SummaryStrategy.Builder
-
Prefix to add before the summary.
- summaryStrategy(SummaryStrategy) - Method in class com.tnsai.memory.strategy.HybridStrategy.Builder
-
The summary strategy to use for old messages.
- SummaryStrategy - Class in com.tnsai.memory.strategy
-
Memory strategy that summarizes old messages to save tokens.
- SummaryStrategy.Builder - Class in com.tnsai.memory.strategy
-
Builder for SummaryStrategy.
- summaryTargetTokens(int) - Method in class com.tnsai.memory.strategy.SummaryStrategy.Builder
-
Target token count for the summary.
- summaryTemplate() - Element in annotation interface com.tnsai.annotations.Ephemeral
-
Custom summary template for removed results.
- summaryTokenBudget() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.TierConfig
-
Returns the value of the
summaryTokenBudgetrecord component. - SUPERMAJORITY - Enum constant in enum class com.tnsai.protocols.annotations.Debate.ConsensusStrategy
-
Requires threshold (default 66%).
- supersede(String, String, String) - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Adds a new memory that supersedes an existing one.
- supersededAt() - Method in class com.tnsai.memory.strategy.MemoryEntry
- supersededBy() - Method in class com.tnsai.memory.strategy.MemoryEntry
- supersedes() - Method in class com.tnsai.memory.strategy.MemoryEntry
- SUPERVISOR - Enum constant in enum class com.tnsai.annotations.Coordination.CoordinationRole
-
Supervises and can override
- Supported Annotations - Search tag in class com.tnsai.metadata.RoleSpecReader
- Section
- Supported by - Search tag in package com.tnsai.models.chat
- Section
- Supported Configurations - Search tag in class com.tnsai.memory.MemoryStoreFactory
- Section
- Supported Conversions - Search tag in class com.tnsai.actions.TypeConverter
- Section
- supportedFormats() - Method in interface com.tnsai.rag.ContentExtractor
-
Returns the concrete formats handled by this provider.
- Supported Methods - Search tag in annotation interface com.tnsai.annotations.DIDSpec
- Section
- Supported Models - Search tag in interface com.tnsai.spi.CognitiveModel
- Section
- Supported Patterns - Search tag in interface com.tnsai.spi.MessageBroker
- Section
- Supported Providers - Search tag in annotation interface com.tnsai.annotations.VectorMemory
- Section
- Supported Providers - Search tag in package com.tnsai.llm
- Section
- Supported types - Search tag in class com.tnsai.tools.method.JsonSchemaGenerator
- Section
- supportingFiles() - Method in record class com.tnsai.skills.Skill
-
Returns the value of the
supportingFilesrecord component. - supportingFiles(Map<String, String>) - Method in class com.tnsai.skills.Skill.Builder
- supports(Exception) - Method in interface com.tnsai.resilience.FallbackStrategy
-
Indicates whether this fallback can handle the provided exception.
- supports(String) - Method in interface com.tnsai.rag.ChunkContextGenerator
-
Returns whether this provider can serve
modelwithout calling out. - supportsCodeExecution() - Method in interface com.tnsai.llm.LLMCapabilities
-
Whether the model supports code execution (like Code Interpreter).
- supportsCodeExecution() - Method in class com.tnsai.llm.ModelCapabilities
- supportsFileUpload() - Method in interface com.tnsai.llm.LLMCapabilities
-
Whether the model supports file uploads.
- supportsFunctionCalling() - Method in interface com.tnsai.llm.LLMCapabilities
-
Whether the model supports function/tool calling.
- supportsFunctionCalling() - Method in class com.tnsai.llm.ModelCapabilities
- supportsModality(LLMCapabilities.Modality) - Method in interface com.tnsai.llm.LLMCapabilities
-
Checks if a specific modality is supported.
- supportsNesting() - Method in enum class com.tnsai.output.OutputFormat
-
Returns true if this format supports nested/hierarchical data.
- supportsParallelFunctionCalls() - Method in interface com.tnsai.llm.LLMCapabilities
-
Whether the model supports parallel function calls.
- supportsParallelFunctionCalls() - Method in class com.tnsai.llm.ModelCapabilities
- supportsReasoning() - Method in interface com.tnsai.llm.LLMCapabilities
-
Whether the model has reasoning/thinking capabilities (like o1).
- supportsReasoning() - Method in class com.tnsai.llm.ModelCapabilities
- supportsStreaming() - Method in interface com.tnsai.llm.LLMCapabilities
-
Whether the model supports streaming responses.
- supportsStreaming() - Method in class com.tnsai.llm.ModelCapabilities
- supportsStructuredOutput() - Method in interface com.tnsai.llm.LLMCapabilities
-
Whether the model supports structured JSON output mode.
- supportsStructuredOutput() - Method in class com.tnsai.llm.ModelCapabilities
- supportsSystemPrompt() - Method in interface com.tnsai.llm.LLMCapabilities
-
Whether the model supports system prompts.
- supportsSystemPrompt() - Method in class com.tnsai.llm.ModelCapabilities
- supportsType(OutputFormat, Class<?>) - Method in class com.tnsai.output.OutputSerializerRegistry
-
Checks if a format supports a given data type.
- supportsType(Class<?>) - Method in class com.tnsai.output.AbstractOutputSerializer
- supportsType(Class<?>) - Method in interface com.tnsai.output.OutputSerializer
-
Checks if this format supports the given data structure.
- supportsVision() - Method in interface com.tnsai.llm.LLMCapabilities
-
Whether the model can process images (vision capability).
- supportsVision() - Method in class com.tnsai.llm.ModelCapabilities
- supportsWebBrowsing() - Method in interface com.tnsai.llm.LLMCapabilities
-
Whether the model supports web browsing.
- supportsWebBrowsing() - Method in class com.tnsai.llm.ModelCapabilities
- surfacesAboveFailurePolicy() - Method in enum class com.tnsai.rag.RetrievalException.Reason
-
Returns whether this failure must reach the caller unmodified rather than being absorbed by
@Search.onFailure. - surrounding() - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Returns the value of the
surroundingrecord component. - SUSPEND - Enum constant in enum class com.tnsai.hooks.events.IdleAction
-
Suspend the underlying agent (release resources, keep session).
- Suspended(String, String, String) - Constructor for record class com.tnsai.reliability.Outcome.Suspended
-
Creates an instance of a
Suspendedrecord class. - SUSPENDED - Enum constant in enum class com.tnsai.spi.CognitiveModel.GoalStatus
- SUSPENDED - Enum constant in enum class com.tnsai.spi.CognitiveModel.IntentionStatus
- SYNONYM - Enum constant in enum class com.tnsai.annotations.Search.QueryExpansion
-
Generate synonyms
- SYSTEM_EVENT - Enum constant in enum class com.tnsai.context.decision.DecisionTrigger.TriggerType
-
Decision triggered by system event
- SYSTEM_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Low-level system primitives.
- systemEvent(String, Map<String, Object>) - Static method in record class com.tnsai.context.decision.DecisionTrigger
-
Creates a trigger from a system event.
- systemPrompt() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
System prompt override.
- systemPrompt() - Method in record class com.tnsai.identity.AgentDescriptor
-
Returns the value of the
systemPromptrecord component. - systemPrompt(String) - Method in class com.tnsai.agents.async.ChatOptions.Builder
- systemPrompt(String) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets the base system prompt (from AgentPromptBuilder).
- systemPrompt(String) - Method in class com.tnsai.identity.AgentDescriptor.Builder
- systemPrompt(String) - Method in class com.tnsai.llm.ChatRequest.Builder
-
Sets the system prompt.
- systemPromptOpt() - Method in class com.tnsai.llm.ChatRequest
-
System prompt as Optional (for bridging to existing LLMClient methods).
- systemPromptReserve(int) - Method in class com.tnsai.memory.strategy.TokenBudget.Builder
-
Sets tokens reserved for system prompt.
- systemTokens() - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Returns the value of the
systemTokensrecord component.
T
- table(String, Object, Object) - Static method in record class com.tnsai.events.ArtifactEvent
-
Creates a table artifact event.
- table(List<Map<String, Object>>, List<Map<String, Object>>) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a table component with columns and rows.
- table(Map<String, Object>) - Static method in record class com.tnsai.events.UiComponentEvent
-
Creates a table component.
- TABLE - Enum constant in enum class com.tnsai.events.ArtifactEvent.ArtifactType
- tag(String) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- tag(String...) - Method in class com.tnsai.prompt.PromptSpec.Builder
- tags() - Element in annotation interface com.tnsai.agents.annotations.AgentIdentity
-
Tags for categorization and discovery.
- tags() - Element in annotation interface com.tnsai.annotations.CompletionSignal
-
Tags for categorizing completion types.
- tags() - Element in annotation interface com.tnsai.annotations.EvalMetric
-
Tags for grouping and filtering metrics.
- tags() - Element in annotation interface com.tnsai.annotations.Metered
-
Static tags added to every metric emission (key=value format).
- tags() - Element in annotation interface com.tnsai.annotations.Utility
-
Tags for filtering/grouping actions.
- tags() - Method in record class com.tnsai.memory.advanced.Skill
-
Returns the value of the
tagsrecord component. - tags() - Method in record class com.tnsai.prompt.PromptSpec
-
Returns the value of the
tagsrecord component. - tags() - Method in record class com.tnsai.spi.ToolRegistry.ToolRegistryEntry
-
Returns the value of the
tagsrecord component. - tags(String...) - Method in class com.tnsai.spi.ToolRegistry.ToolRegistryEntry.Builder
- tags(List<String>) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- tags(Set<String>) - Method in class com.tnsai.prompt.PromptSpec.Builder
- target() - Method in record class com.tnsai.accountability.Action
-
Returns the value of the
targetrecord component. - target() - Method in exception class com.tnsai.exceptions.KnowledgeNotReadyException
-
Returns the instance whose knowledge was checked.
- target() - Method in record class com.tnsai.security.AccessRequest
-
Returns the value of the
targetrecord component. - target() - Method in record class com.tnsai.tools.method.StaticToolMethod
-
Returns the value of the
targetrecord component. - targetAgentId() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Returns the value of the
targetAgentIdrecord component. - targetAgentId(String) - Method in class com.tnsai.agents.groups.GroupEvent.Builder
- targetSystem() - Method in record class com.tnsai.security.AccessRequest
-
Returns the value of the
targetSystemrecord component. - targetSystems() - Method in record class com.tnsai.accountability.AuthorityScope
-
Returns the value of the
targetSystemsrecord component. - TASK_ASSIGNED - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Task assigned to a member
- TASK_COMPLETED - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Task completed by a member
- TASK_FAILED - Enum constant in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Task failed
- taskAssigned(String, GroupTask, String) - Static method in record class com.tnsai.agents.groups.GroupEvent
-
Creates a task assigned event.
- TaskCompleteException - Exception Class in com.tnsai.exceptions
-
Signals that a task has been completed and the agent loop should terminate.
- TaskCompleteException(String) - Constructor for exception class com.tnsai.exceptions.TaskCompleteException
-
Creates a completion exception with just a summary.
- TaskCompleteException(String, Object) - Constructor for exception class com.tnsai.exceptions.TaskCompleteException
-
Creates a completion exception with summary and result.
- TaskCompleteException(String, Object, boolean, Map<String, Object>) - Constructor for exception class com.tnsai.exceptions.TaskCompleteException
-
Creates a completion exception with all parameters.
- TaskComplexityAnalyzer - Class in com.tnsai.agents.variant
-
Analyzes task complexity to determine the appropriate agent variant.
- TaskComplexityAnalyzer() - Constructor for class com.tnsai.agents.variant.TaskComplexityAnalyzer
- TaskComplexityAnalyzer.ComplexityLevel - Enum Class in com.tnsai.agents.variant
-
Complexity levels.
- TaskComplexityAnalyzer.ComplexityResult - Record Class in com.tnsai.agents.variant
-
Complexity analysis result.
- taskDistribution() - Element in annotation interface com.tnsai.annotations.Coordination
-
Task distribution strategy.
- TaskMessageType - Enum Class in com.tnsai.communication
-
Task-related message types for direct task delegation.
- tasksCompleted() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns the value of the
tasksCompletedrecord component. - tasksFailed() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns the value of the
tasksFailedrecord component. - teams() - Element in annotation interface com.tnsai.annotations.Coordination
-
Team/group memberships.
- TECHNICAL - Enum constant in enum class com.tnsai.annotations.Communication.Tone
- temperature() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
Temperature for response randomness (0.0 - 2.0).
- temperature() - Method in record class com.tnsai.llm.LLMResolver.LLMSpec
-
Returns the value of the
temperaturerecord component. - temperature() - Method in interface com.tnsai.llm.LLMSpecSource
-
Returns the sampling temperature.
- temperature() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns the value of the
temperaturerecord component. - temperature(double) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- temperature(float) - Method in class com.tnsai.agents.async.ChatOptions.Builder
- temperature(float) - Method in class com.tnsai.llm.ChatRequest.Builder
-
Sets temperature override.
- template() - Element in annotation interface com.tnsai.annotations.State
-
Template key for custom prompt rendering.
- template() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateInfo
-
Returns the value of the
templaterecord component. - TemplateEngine - Interface in com.tnsai.prompt
-
Interface for template rendering engines.
- Template File Format - Search tag in annotation interface com.tnsai.annotations.PromptTemplates
- Section
- templateId() - Method in interface com.tnsai.rag.ChunkContextGenerator
-
Stable identity of this provider's situate prompt.
- templateVersion() - Method in interface com.tnsai.rag.ChunkContextGenerator
-
Provider-owned prompt revision.
- TEMPORAL - Enum constant in enum class com.tnsai.annotations.Search.Strategy
-
Time-weighted retrieval
- TenantAware - Interface in com.tnsai.spi
-
Opt-in marker SPI for components that honour
AgentBuilder.tenantId(...)— i.e. they keep one tenant's data observably separate from another's. - TenantContext - Class in com.tnsai.context
-
Thread-local tenant scope for tenant-aware runtime components.
- TenantContext.Scope - Class in com.tnsai.context
-
Restores the tenant that was active before
TenantContext.enter(String). - tenantId() - Method in record class com.tnsai.agents.validation.ValidationContext
-
Returns the value of the
tenantIdrecord component. - tenantId() - Method in record class com.tnsai.hooks.HookContext
-
Returns the value of the
tenantIdrecord component. - tenantId() - Method in record class com.tnsai.observability.events.EventContext
-
Returns the value of the
tenantIdrecord component. - tenantId() - Method in record class com.tnsai.rag.RetrievalScope
-
Returns the value of the
tenantIdrecord component. - tenantId() - Method in record class com.tnsai.spi.FlagContext
-
Returns the value of the
tenantIdrecord component. - tenantId(String) - Method in class com.tnsai.agents.AgentBuilder
-
Declares the tenant this agent is scoped to.
- tenantId(String) - Method in class com.tnsai.hooks.HookContext.Builder
- tenantId(String) - Method in class com.tnsai.observability.events.EventContext.Builder
- TenantScopeValidator - Class in com.tnsai.agents.validation.validators
-
AGENT-V012 — when an agent is configured with
AgentBuilder.tenantId(...), every wired component that holds tenant-scoped state must opt into theTenantAwaremarker SPI. - TenantScopeValidator() - Constructor for class com.tnsai.agents.validation.validators.TenantScopeValidator
- test() - Method in record class com.tnsai.hooks.HookMatcher.Predicate
-
Returns the value of the
testrecord component. - TEST_PROPOSAL - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- text() - Method in record class com.tnsai.models.chat.TextPart
-
Returns the value of the
textrecord component. - text() - Method in class com.tnsai.parser.FormatAwareOutputParser.Builder
- text(Class<T>) - Static method in class com.tnsai.parser.FormatAwareOutputParser
- TEXT - Enum constant in enum class com.tnsai.annotations.Communication.ResponseFormat
- TEXT - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.OutputFormat
- TEXT - Enum constant in enum class com.tnsai.llm.LLMCapabilities.Modality
- TEXT - Enum constant in enum class com.tnsai.output.OutputFormat
-
Plain Text.
- TEXT - Enum constant in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
- TEXT - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
Raw UTF-8 text.
- TEXT_TO_SPEECH_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Text-to-speech across the three most popular non-OpenAI providers, complementing
MediaTools.openaiTts. - TextDeltaEvent - Record Class in com.tnsai.events
-
Event representing a streaming text chunk from the LLM.
- TextDeltaEvent(String, Instant, String, String, String, boolean) - Constructor for record class com.tnsai.events.TextDeltaEvent
-
Creates an instance of a
TextDeltaEventrecord class. - textOnly(String) - Static method in class com.tnsai.llm.ChatResponse
- TextOutputSerializer - Class in com.tnsai.output.impl
-
Plain Text serializer.
- TextOutputSerializer() - Constructor for class com.tnsai.output.impl.TextOutputSerializer
- TextPart - Record Class in com.tnsai.models.chat
-
Represents a text part of a message.
- TextPart(String) - Constructor for record class com.tnsai.models.chat.TextPart
-
Creates an instance of a
TextPartrecord class. - TextSanitizer - Class in com.tnsai.utils
-
Cleans text payloads before they leave the process toward an external API.
- ThinkingPhase(String, String) - Constructor for record class com.tnsai.prompt.strategy.EnhancedResponse.ThinkingPhase
-
Creates an instance of a
ThinkingPhaserecord class. - ThoughtEvent - Record Class in com.tnsai.events
-
Event representing an agent's internal reasoning or thinking process.
- ThoughtEvent(String, Instant, String, String) - Constructor for record class com.tnsai.events.ThoughtEvent
-
Creates an instance of a
ThoughtEventrecord class. - threadId() - Method in record class com.tnsai.events.RunStartEvent
-
Returns the value of the
threadIdrecord component. - Thread-local - Search tag in class com.tnsai.observability.events.Breadcrumbs
- Section
- Thread safety - Search tag in class com.tnsai.agents.execution.ToolCallBatchPartitioner
- Section
- Thread safety - Search tag in class com.tnsai.observability.errors.DedupingErrorReportPublisher
- Section
- Thread safety - Search tag in class com.tnsai.resilience.ResilienceMetrics
- Section
- Thread safety - Search tag in interface com.tnsai.idempotency.IdempotencyStore
- Section
- Thread Safety - Search tag in class com.tnsai.actions.ActionExecutor
- Section
- Thread Safety - Search tag in class com.tnsai.agents.cognitive.CognitiveEngine
- Section
- Thread Safety - Search tag in class com.tnsai.context.snapshot.ContextSnapshot
- Section
- Thread Safety - Search tag in class com.tnsai.models.agent.Capability
- Section
- Thread Safety - Search tag in class com.tnsai.models.agent.Plan
- Section
- Thread Safety - Search tag in class com.tnsai.models.role.RoleIdentity
- Section
- Thread Safety - Search tag in package com.tnsai.actions
- Section
- Thread Safety - Search tag in package com.tnsai.memory
- Section
- threshold() - Element in annotation interface com.tnsai.annotations.Coordination.Consensus
-
Threshold for approval (0.0 - 1.0).
- threshold() - Element in annotation interface com.tnsai.annotations.EvalMetric
-
Minimum acceptable value for this metric (0.0 to 1.0).
- threshold() - Method in class com.tnsai.memory.advanced.StalenessDetector
-
Returns the configured threshold.
- THRESHOLD - Enum constant in enum class com.tnsai.annotations.Coordination.Consensus.Strategy
-
Exact threshold percentage
- THROW - Enum constant in enum class com.tnsai.protocols.annotations.MessageHandler.ErrorStrategy
-
Throw exception (stops processing)
- ThrowableContextDecorator - Class in com.tnsai.exceptions
-
Helper for the catch-side of framework boundaries.
- throwIfAborted() - Method in record class com.tnsai.rag.RetrievalRequest
-
Evaluates cancellation and deadline against the UTC system clock.
- throwIfAborted(Clock) - Method in record class com.tnsai.rag.RetrievalRequest
-
Throws when cooperative cancellation or the absolute deadline says this request must stop.
- throwIfCancelled() - Method in interface com.tnsai.cancellation.CancellationToken
-
Throws
CancellationExceptionif the token is cancelled. - throwIfErrors() - Method in record class com.tnsai.agents.validation.ValidationReport
-
Throws
AgentValidationExceptionif any errors were collected. - TICKET - Enum constant in enum class com.tnsai.context.entity.EntityType
-
Support ticket entity
- TICKETING - Enum constant in enum class com.tnsai.context.entity.EntitySource.SourceType
-
Support ticketing system
- tier() - Method in class com.tnsai.memory.strategy.MemoryEntry
- TierConfig(int, int, int, int) - Constructor for record class com.tnsai.memory.strategy.TieredContextLoader.TierConfig
-
Creates a TierConfig with validation.
- tierCounts() - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Returns entry count per tier.
- TieredContextLoader - Class in com.tnsai.memory.strategy
-
Loads conversation context in tiers with token budgets.
- TieredContextLoader.Builder - Class in com.tnsai.memory.strategy
-
Builder for TieredContextLoader.
- TieredContextLoader.LLMSummarizer - Interface in com.tnsai.memory.strategy
-
Functional interface for summarizing a list of messages.
- TieredContextLoader.LoadedContext - Record Class in com.tnsai.memory.strategy
-
Result of tiered context loading.
- TieredContextLoader.TierConfig - Record Class in com.tnsai.memory.strategy
-
Configuration for tier token budgets.
- TieredMemoryStore - Class in com.tnsai.memory.strategy
-
4-tier memory store with Ebbinghaus-inspired decay and promotion.
- TieredMemoryStore() - Constructor for class com.tnsai.memory.strategy.TieredMemoryStore
- TieredMemoryStore.ConsolidationResult - Record Class in com.tnsai.memory.strategy
-
Result of a consolidation cycle.
- timed() - Method in record class com.tnsai.security.SecurityFeatures
- TIMED_OUT - Enum constant in enum class com.tnsai.events.RunEndEvent.RunStatus
- TIMED_OUT - Enum constant in enum class com.tnsai.security.approval.InterruptResult.Outcome
-
Interrupt timed out waiting for response
- timedOut(String) - Static method in class com.tnsai.security.approval.InterruptResult
-
Creates a timed out result.
- timedOut(String, long) - Static method in record class com.tnsai.events.RunEndEvent
-
Creates a timed out run end event.
- timeElapsed() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
-
Returns the value of the
timeElapsedrecord component. - timeElapsed() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
timeElapsedrecord component. - timeout() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns the value of the
timeoutrecord component. - timeout() - Element in annotation interface com.tnsai.annotations.Coordination.Negotiation
-
Timeout as ISO-8601 duration (e.g.
- timeout() - Element in annotation interface com.tnsai.annotations.EventHandler
-
Timeout for handler execution in milliseconds.
- timeout() - Element in annotation interface com.tnsai.annotations.Lifecycle
-
Timeout for lifecycle method execution in milliseconds.
- timeout() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Request timeout in milliseconds.
- timeout() - Element in annotation interface com.tnsai.annotations.Resilience
-
Timeout in milliseconds.
- timeout() - Element in annotation interface com.tnsai.annotations.WebService
-
Request timeout in milliseconds.
- timeout() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns the value of the
timeoutrecord component. - timeout() - Method in class com.tnsai.hooks.external.ExternalScriptHook
- timeout() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
timeoutrecord component. - timeout() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns the value of the
timeoutrecord component. - timeout() - Element in annotation interface com.tnsai.protocols.annotations.MessageHandler
-
Timeout for handler execution in milliseconds.
- timeout() - Element in annotation interface com.tnsai.protocols.annotations.RequestReply
-
Request timeout in milliseconds.
- timeout() - Method in record class com.tnsai.security.approval.InterruptService.InterruptRequest
-
Returns the value of the
timeoutrecord component. - timeout(int) - Method in class com.tnsai.resilience.ResilienceRequest.Builder
-
Sets the timeout in milliseconds.
- timeout(long, long) - Static method in interface com.tnsai.agents.interrupt.InterruptEvent
-
Creates a timeout interrupt.
- timeout(String, long) - Static method in record class com.tnsai.events.ErrorEvent
-
Creates a timeout error event.
- timeout(String, long) - Static method in exception class com.tnsai.tools.spi.ToolException
-
Create a timeout error.
- timeout(String, Instant, int) - Static method in class com.tnsai.communication.AckResult
-
Creates a timeout result.
- timeout(Duration) - Method in class com.tnsai.agents.async.ChatOptions.Builder
- timeout(Duration) - Method in class com.tnsai.agents.groups.GroupTask.Builder
- timeout(Duration) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- timeout(Duration) - Method in class com.tnsai.communication.AcknowledgedMessage.Builder
-
Sets the acknowledgment timeout.
- timeout(Duration) - Method in class com.tnsai.hooks.external.ExternalScriptHook.Builder
- timeout(Duration) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- timeout(Duration) - Method in class com.tnsai.rag.RetrievalRequest.Builder
- timeout(Duration) - Method in class com.tnsai.spi.ResilienceStrategy.Builder
-
Configures timeout behavior.
- timeout(Duration, Clock) - Method in class com.tnsai.rag.ChatRetrievalContext.Builder
- timeout(Duration, Clock) - Method in class com.tnsai.rag.RetrievalRequest.Builder
- TIMEOUT - Enum constant in enum class com.tnsai.agents.groups.GroupTask.Status
-
Task timed out
- TIMEOUT - Enum constant in enum class com.tnsai.communication.AckMessageType
-
Internal type indicating acknowledgment timeout.
- TIMEOUT - Enum constant in enum class com.tnsai.communication.AckResult.Status
-
Acknowledgment timed out.
- TIMEOUT - Enum constant in enum class com.tnsai.context.decision.DecisionOutcome.OutcomeStatus
-
Decision execution timed out
- TIMEOUT - Enum constant in enum class com.tnsai.hooks.events.StopReason
-
Watchdog / supervisor terminated the agent after an idle / deadline timeout.
- TIMEOUT - Enum constant in enum class com.tnsai.rag.RetrievalException.Reason
-
The absolute request deadline elapsed.
- TIMEOUT - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Request timeout
- TimeoutException - Exception Class in com.tnsai.exceptions
-
Exception for operation timeout errors.
- TimeoutException(String, long) - Constructor for exception class com.tnsai.exceptions.TimeoutException
- TimeoutException(String, long, Throwable) - Constructor for exception class com.tnsai.exceptions.TimeoutException
- TimeoutException(String, Throwable, long) - Constructor for exception class com.tnsai.exceptions.TimeoutException
- TimeoutInterrupt(long, long) - Constructor for record class com.tnsai.agents.interrupt.InterruptEvent.TimeoutInterrupt
- TimeoutInterrupt(String, Instant, long, long) - Constructor for record class com.tnsai.agents.interrupt.InterruptEvent.TimeoutInterrupt
-
Creates an instance of a
TimeoutInterruptrecord class. - timeoutMs() - Element in annotation interface com.tnsai.annotations.Coordination.Consensus
-
Timeout for reaching consensus in milliseconds.
- timeoutMs() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
Request timeout in milliseconds.
- timeoutMs() - Element in annotation interface com.tnsai.annotations.Tool
-
Maximum wall-clock time for one invocation of this tool, in milliseconds.
- timeoutMs() - Method in record class com.tnsai.events.ApprovalRequestEvent
-
Returns the value of the
timeoutMsrecord component. - timeoutMs() - Method in record class com.tnsai.resilience.ResilienceConfig
-
Returns the value of the
timeoutMsrecord component. - timeoutMs() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns the value of the
timeoutMsrecord component. - timeoutMs(int) - Method in class com.tnsai.resilience.ResilienceConfig.Builder
- TimeoutPolicy - Record Class in com.tnsai.timeout
-
Framework-level timeout configuration for the four call categories the framework can issue (issue #16).
- TimeoutPolicy(Duration, Duration, Duration, Duration) - Constructor for record class com.tnsai.timeout.TimeoutPolicy
-
Creates an instance of a
TimeoutPolicyrecord class. - TimeoutPolicy.Builder - Class in com.tnsai.timeout
- TimeoutPolicy.Category - Enum Class in com.tnsai.timeout
-
The four call categories the framework times.
- timestamp() - Method in record class com.tnsai.agents.async.ChatEvent.Completed
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.async.ChatEvent.Error
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.async.ChatEvent.Started
-
Returns the value of the
timestamprecord component. - timestamp() - Method in interface com.tnsai.agents.async.ChatEvent
-
Gets the timestamp of this event.
- timestamp() - Method in record class com.tnsai.agents.async.ChatEvent.Token
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.async.ChatEvent.ToolCall
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.async.ChatEvent.ToolResult
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.execution.MemoryManager.AgentCheckpoint
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipHistoryEntry
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ErrorInterrupt
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ExternalInterrupt
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.TimeoutInterrupt
-
Returns the value of the
timestamprecord component. - timestamp() - Method in interface com.tnsai.agents.interrupt.InterruptEvent
-
Gets the timestamp when the interrupt was triggered.
- timestamp() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.UserInterrupt
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.context.decision.DecisionTrigger
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.environment.Percept
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.AgentHierarchyEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.ApprovalRequestEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.ArtifactEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.BDIUpdateEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.ErrorEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.RunEndEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.RunStartEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.SkillActivationEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.StatusEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.TextDeltaEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.ThoughtEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in interface com.tnsai.events.TnsAIEvent
-
Returns the timestamp when this event was created.
- timestamp() - Method in record class com.tnsai.events.ToolCallEndEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.ToolCallStartEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.events.UiComponentEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.AgentInit
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.AgentStart
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.AgentStop
-
Returns the value of the
timestamprecord component. - timestamp() - Method in interface com.tnsai.hooks.events.HookEvent
-
When the event was created.
- timestamp() - Method in record class com.tnsai.hooks.events.OnActionError
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.OnCapabilityDispatch
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.OnChunk
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.OnNotification
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.OnSessionIdle
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.OnSPILoad
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.OnStateTransition
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.PostAction
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.PostChat
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.PreAction
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.PreChat
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.SessionEnd
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.hooks.events.SessionStart
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.security.audit.AuditEvent
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.spi.CognitiveModel.Belief
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.spi.MessageBroker.Message
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.state.Checkpointer.CheckpointTuple
-
Returns the value of the
timestamprecord component. - timestamp(Instant) - Method in class com.tnsai.agents.groups.GroupEvent.Builder
- timestamp(Instant) - Method in class com.tnsai.communication.SharedBlackboard.Entry.Builder
- timestamp(Instant) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- timestamp(Instant) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- timestamp(Instant) - Method in class com.tnsai.observability.errors.ErrorReport.Builder
- timestamp(Instant) - Method in class com.tnsai.resilience.dlq.DeadLetterEntry.Builder
- timestamp(Instant) - Method in class com.tnsai.security.audit.AuditEvent.Builder
- timeToLive(Duration) - Method in class com.tnsai.security.approval.ApprovalToken.Builder
-
Sets time to live.
- title() - Method in record class com.tnsai.events.ArtifactEvent
-
Returns the value of the
titlerecord component. - title(String) - Method in class com.tnsai.communication.SharedBlackboard.Entry.Builder
- TnsAIEvent - Interface in com.tnsai.events
-
Sealed interface representing internal TnsAI events.
- TnsAIEventPublisher - Interface in com.tnsai.events
-
Interface for publishing and subscribing to TnsAI events.
- TnsAIEventPublisher.EventSubscription - Interface in com.tnsai.events
-
A subscription handle for cancelling event subscriptions.
- TnsAIException - Exception Class in com.tnsai.exceptions
-
Base exception for all TnsAI framework exceptions.
- TnsAIException(String) - Constructor for exception class com.tnsai.exceptions.TnsAIException
- TnsAIException(String, boolean) - Constructor for exception class com.tnsai.exceptions.TnsAIException
- TnsAIException(String, Throwable) - Constructor for exception class com.tnsai.exceptions.TnsAIException
- TnsAIException(String, Throwable, boolean) - Constructor for exception class com.tnsai.exceptions.TnsAIException
- to() - Method in record class com.tnsai.accountability.AuditQuery
-
Returns the value of the
torecord component. - to() - Method in record class com.tnsai.hooks.events.OnStateTransition
-
Returns the value of the
torecord component. - to() - Method in record class com.tnsai.security.audit.AuditQuery
-
Returns the value of the
torecord component. - to() - Method in record class com.tnsai.spi.MessageBroker.Message
-
Returns the value of the
torecord component. - to(String, String, Object) - Static method in record class com.tnsai.spi.MessageBroker.Message
-
Creates a directed message.
- to(Instant) - Method in class com.tnsai.accountability.AuditQuery.Builder
- to(Instant) - Method in class com.tnsai.security.audit.AuditQuery.Builder
- toActionMetadata() - Method in record class com.tnsai.metadata.ActionConfig
-
Converts this config into the runtime
ActionMetadatashape that reflection produces for@ActionSpecmethods — no reflectiveMethod; dispatch goes throughActionConfig.handler(). - toBuilder() - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Creates a builder pre-populated with this policy's values.
- toBuilder() - Method in record class com.tnsai.timeout.TimeoutPolicy
-
Returns a builder pre-populated with this policy's values.
- toBytes() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
-
Serializes this checkpoint to bytes.
- toDid(String) - Method in record class com.tnsai.identity.DIDConfig
-
Resolves this config to a DID string, applying the same default substitution as the annotation path: empty method →
wba, empty domain →local, empty agent id →fallbackAgentId. - toFormattedString() - Method in class com.tnsai.metadata.ToolExampleSpec
-
Formats the example for inclusion in prompts or documentation.
- TOGETHER - Enum constant in enum class com.tnsai.annotations.LLMSpec.Provider
- TOGGLE - Enum constant in enum class com.tnsai.annotations.Effect.Operation
-
Toggle boolean state.
- token(String, int) - Static method in interface com.tnsai.agents.async.ChatEvent
- Token(String, int) - Constructor for record class com.tnsai.agents.async.ChatEvent.Token
- Token(Instant, String, int) - Constructor for record class com.tnsai.agents.async.ChatEvent.Token
-
Creates an instance of a
Tokenrecord class. - TOKEN_BUCKET - Enum constant in enum class com.tnsai.annotations.Resilience.RateLimit.Strategy
-
Token bucket algorithm
- TOKEN_BUFFER - Enum constant in enum class com.tnsai.annotations.Memory.Conversation.Strategy
-
Token-based truncation
- TOKEN_LIMIT - Enum constant in enum class com.tnsai.annotations.MemorySpec.PruneStrategy
-
Remove based on token count
- tokenBudget(TokenBudget) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets the token budget.
- tokenBudget(TokenBudget) - Method in class com.tnsai.memory.strategy.ManagedConversationMemory.Builder
-
Sets the token budget.
- TokenBudget - Class in com.tnsai.memory.strategy
-
Configuration for token budget management.
- TokenBudget(long) - Constructor for class com.tnsai.agents.variant.VariantSelector.TokenBudget
- TokenBudget.Builder - Class in com.tnsai.memory.strategy
-
Builder for TokenBudget.
- Token Budget Allocation - Search tag in class com.tnsai.memory.strategy.TieredContextLoader
- Section
- TokenEstimator - Class in com.tnsai.context.assembler
-
Content-aware token estimator that improves on simple length/4 heuristics.
- TokenEstimator.ContentType - Enum Class in com.tnsai.context.assembler
-
Content type classification.
- tokenId(String) - Method in class com.tnsai.security.approval.ApprovalToken.Builder
-
Sets a custom token ID.
- Token Lifecycle - Search tag in class com.tnsai.security.approval.ApprovalToken
- Section
- tokens() - Method in record class com.tnsai.rag.KnowledgeUsage
-
Returns the value of the
tokensrecord component. - tokensSaved() - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
- Token Tracking - Search tag in class com.tnsai.llm.ChatChunk
- Section
- TokenUtils - Class in com.tnsai.utils
-
Utility for estimating token counts.
- TokenUtils() - Constructor for class com.tnsai.utils.TokenUtils
- toKey() - Method in record class com.tnsai.memory.MemoryNamespace
-
Returns the colon-delimited key for this namespace.
- toMap() - Method in class com.tnsai.actions.ActionParams
-
Returns all parameters as an unmodifiable map.
- toMap() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
- toMap() - Method in class com.tnsai.eval.hooks.EvalContext
-
Converts context to a map for serialization.
- toMap(Object) - Static method in class com.tnsai.actions.ParamBeanMapper
-
Convert the supplied input bean to a parameter map.
- toMessageList() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.LoadedContext
-
Combines all tiers into a single ordered message list.
- toMessageWithCorrelation() - Method in class com.tnsai.communication.AcknowledgedMessage
-
Returns the wrapped message with correlation ID added to metadata.
- tone() - Element in annotation interface com.tnsai.annotations.Communication.Style
-
Tone of communication.
- tone() - Element in annotation interface com.tnsai.annotations.CommunicationStyle
-
The tone of communication.
- tone() - Method in record class com.tnsai.models.agent.Communication
-
Returns the value of the
tonerecord component. - Tone - Enum Class in com.tnsai.enums.agent
-
Represents the communication tone of an agent.
- tonl() - Method in class com.tnsai.parser.FormatAwareOutputParser.Builder
- tonl(Class<T>) - Static method in class com.tnsai.parser.FormatAwareOutputParser
- TONL - Enum constant in enum class com.tnsai.output.OutputFormat
-
TONL (Token-Optimized Notation Language).
- TonlOutputSerializer - Class in com.tnsai.output.impl
-
TONL (Token-Optimized Notation Language) serializer.
- TonlOutputSerializer() - Constructor for class com.tnsai.output.impl.TonlOutputSerializer
- TonlOutputSerializer(boolean) - Constructor for class com.tnsai.output.impl.TonlOutputSerializer
- toNodeList(Agent) - Static method in class com.tnsai.agents.hierarchy.AgentHierarchyMapper
-
Converts an Agent hierarchy starting from the given root into a flat list of node maps.
- took() - Method in record class com.tnsai.reliability.Progress.StepCompleted
-
Returns the value of the
tookrecord component. - tool(String) - Static method in record class com.tnsai.agents.validation.Location
- Tool - Annotation Interface in com.tnsai.annotations
-
Marks a method as a tool that an LLM agent can call.
- TOOL - Enum constant in enum class com.tnsai.annotations.EvalMetric.MetricCategory
-
Tool usage and selection metrics
- TOOL_CALL - Enum constant in enum class com.tnsai.llm.ChatChunk.ChunkType
-
Tool/function call being streamed
- TOOL_CALL - Enum constant in enum class com.tnsai.timeout.TimeoutPolicy.Category
- TOOL_CALLS - Enum constant in enum class com.tnsai.llm.ChatChunk.FinishReason
-
Tool call requested
- TOOL_SELECTING - Enum constant in enum class com.tnsai.events.StatusEvent.StatusType
-
LLM is selecting which tools to use
- ToolApprovalValidator - Class in com.tnsai.agents.validation.validators
-
AGENT-V006 — at least one registered tool declares
@Tool(requiresConfirmation = true)but the agent has noToolCallFilterconfigured to gate the call. - ToolApprovalValidator() - Constructor for class com.tnsai.agents.validation.validators.ToolApprovalValidator
- ToolAuthenticationException - Exception Class in com.tnsai.tools.spi
-
Tool authentication failed — typically HTTP 401 from upstream, missing or invalid API key, expired bearer token.
- ToolAuthenticationException(String, String) - Constructor for exception class com.tnsai.tools.spi.ToolAuthenticationException
- ToolAuthenticationException(String, String, int, Throwable) - Constructor for exception class com.tnsai.tools.spi.ToolAuthenticationException
- ToolAuthorizationException - Exception Class in com.tnsai.tools.spi
-
Tool credential is valid but lacks permission for the requested operation — typically HTTP 403 from upstream, RBAC denial, scope mismatch on an OAuth token.
- ToolAuthorizationException(String, String, String) - Constructor for exception class com.tnsai.tools.spi.ToolAuthorizationException
- toolCall() - Method in record class com.tnsai.timeout.TimeoutPolicy
-
Returns the value of the
toolCallrecord component. - toolCall(ChatResponse.ToolCall) - Static method in class com.tnsai.llm.ChatChunk
-
Creates a TOOL_CALL chunk with structured ToolCall data.
- toolCall(String) - Static method in class com.tnsai.llm.ChatChunk
-
Creates a TOOL_CALL chunk with JSON content.
- toolCall(String, Map<String, Object>, String) - Static method in interface com.tnsai.agents.async.ChatEvent
- toolCall(Duration) - Method in class com.tnsai.timeout.TimeoutPolicy.Builder
- ToolCall(String, Map<String, Object>) - Constructor for class com.tnsai.llm.ChatResponse.ToolCall
- ToolCall(String, Map<String, Object>, String) - Constructor for record class com.tnsai.agents.async.ChatEvent.ToolCall
- ToolCall(Instant, String, Map<String, Object>, String) - Constructor for record class com.tnsai.agents.async.ChatEvent.ToolCall
-
Creates an instance of a
ToolCallrecord class. - ToolCallAction - Interface in com.tnsai.agents.execution
-
Represents the outcome of a
ToolCallFilterevaluation. - ToolCallAction.Allow - Record Class in com.tnsai.agents.execution
-
Allow the tool call to proceed as-is.
- ToolCallAction.Block - Record Class in com.tnsai.agents.execution
-
Block the tool call entirely.
- ToolCallAction.Fallback - Record Class in com.tnsai.agents.execution
-
Don't execute; suggest an alternative tool or approach.
- ToolCallAction.Guide - Record Class in com.tnsai.agents.execution
-
Don't execute; provide feedback for the agent to self-correct.
- ToolCallBatchPartitioner - Class in com.tnsai.agents.execution
-
Splits a batch of
ChatResponse.ToolCalls into ordered execution groups. - ToolCallBatchPartitioner(ToolCallBatchPartitioner.ToolCallClassifier) - Constructor for class com.tnsai.agents.execution.ToolCallBatchPartitioner
- ToolCallBatchPartitioner.ToolCallClassifier - Interface in com.tnsai.agents.execution
-
Strategy interface: callers implement to connect their Tool/ActionMetadata lookup with the partitioner.
- ToolCallEndEvent - Record Class in com.tnsai.events
-
Event indicating that a tool call has completed.
- ToolCallEndEvent(String, Instant, String, String, Object, boolean, String, long) - Constructor for record class com.tnsai.events.ToolCallEndEvent
-
Creates an instance of a
ToolCallEndEventrecord class. - toolCallFilter - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
-
TNS-611 — declarative
@AgentSpec.toolCallFilter, ornullwhen not set. - toolCallFilter() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Declarative
ToolCallFilterfor this agent (TNS-611). - toolCallFilter(ToolCallFilter) - Method in class com.tnsai.agents.AgentBuilder
-
Pre-build wiring of a
ToolCallFilter— the runtime gate consulted before each tool invocation. - ToolCallFilter - Interface in com.tnsai.agents.execution
-
Filter for controlling tool call execution.
- toolCallFilterSet() - Method in record class com.tnsai.agents.validation.ValidationContext
-
Returns the value of the
toolCallFilterSetrecord component. - toolCallId() - Method in record class com.tnsai.events.ToolCallEndEvent
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.tnsai.events.ToolCallStartEvent
-
Returns the value of the
toolCallIdrecord component. - Tool Calling (Function Calling) - Search tag in interface com.tnsai.llm.LLMClient
- Section
- ToolCallListener - Interface in com.tnsai.agents.execution
-
Listener for tool call lifecycle events.
- ToolCallNotSupportedException - Exception Class in com.tnsai.exceptions
-
Exception thrown when tools are sent to an LLM model that does not support function/tool calling.
- ToolCallNotSupportedException(String, String) - Constructor for exception class com.tnsai.exceptions.ToolCallNotSupportedException
-
Creates a ToolCallNotSupportedException.
- ToolCallNotSupportedException(String, String, Throwable) - Constructor for exception class com.tnsai.exceptions.ToolCallNotSupportedException
-
Creates a ToolCallNotSupportedException with a cause.
- ToolCallStartEvent - Record Class in com.tnsai.events
-
Event indicating that a tool call has started.
- ToolCallStartEvent(String, Instant, String, String, Map<String, Object>) - Constructor for record class com.tnsai.events.ToolCallStartEvent
-
Creates an instance of a
ToolCallStartEventrecord class. - ToolConfigurationException - Exception Class in com.tnsai.tools.spi
-
Tool itself is misconfigured — missing required environment variable, invalid endpoint URL, malformed credential file.
- ToolConfigurationException(String, String) - Constructor for exception class com.tnsai.tools.spi.ToolConfigurationException
- ToolConfigurationException(String, String, String, String) - Constructor for exception class com.tnsai.tools.spi.ToolConfigurationException
- ToolConflictException - Exception Class in com.tnsai.tools.spi
-
Tool failed due to a conflict against current upstream state — typically HTTP 409, optimistic-concurrency version mismatch, stale-resource update, unique-constraint violation.
- ToolConflictException(String, String, String) - Constructor for exception class com.tnsai.tools.spi.ToolConflictException
- toolDefinitionEstimate(int) - Method in class com.tnsai.memory.strategy.TokenBudget.Builder
-
Sets estimated tokens for tool definitions.
- toolError(String, String, String) - Static method in record class com.tnsai.events.ErrorEvent
-
Creates a tool execution error event.
- ToolExample - Record Class in com.tnsai.tools
-
Represents a usage example for a tool.
- ToolExample - Annotation Interface in com.tnsai.annotations
-
Defines an example for a tool/action to help LLMs understand usage patterns.
- ToolExample(String, String, String, String) - Constructor for record class com.tnsai.tools.ToolExample
-
Creates a tool example with validation.
- ToolExample.Builder - Class in com.tnsai.tools
-
Builder for ToolExample.
- ToolExampleSpec - Class in com.tnsai.metadata
-
Immutable metadata about a tool usage example.
- ToolExampleSpec(ToolExample) - Constructor for class com.tnsai.metadata.ToolExampleSpec
-
Creates example metadata from annotation.
- ToolExampleSpec(String, String, String, boolean, String) - Constructor for class com.tnsai.metadata.ToolExampleSpec
-
Creates example metadata with all fields.
- ToolException - Exception Class in com.tnsai.tools.spi
-
Exception thrown when a tool execution fails.
- ToolException(String) - Constructor for exception class com.tnsai.tools.spi.ToolException
-
Create a simple tool exception.
- ToolException(String, ToolException.ErrorType) - Constructor for exception class com.tnsai.tools.spi.ToolException
-
Create a tool exception with error type.
- ToolException(String, ToolException.ErrorType, Throwable) - Constructor for exception class com.tnsai.tools.spi.ToolException
-
Create a tool exception with error type and cause.
- ToolException(String, Throwable) - Constructor for exception class com.tnsai.tools.spi.ToolException
-
Create a tool exception with cause.
- ToolException.Builder - Class in com.tnsai.tools.spi
-
Builder for ToolException.
- ToolException.ErrorType - Enum Class in com.tnsai.tools.spi
-
Error type classification.
- ToolExternalServiceException - Exception Class in com.tnsai.tools.spi
-
Tool failed because the upstream external service returned a server-side error — typically HTTP 5xx, a connection reset, or any provider-side malfunction the tool itself did not cause.
- ToolExternalServiceException(String, String, String) - Constructor for exception class com.tnsai.tools.spi.ToolExternalServiceException
- ToolExternalServiceException(String, String, String, int, Throwable) - Constructor for exception class com.tnsai.tools.spi.ToolExternalServiceException
- ToolInputException - Exception Class in com.tnsai.tools.spi
-
Tool input was invalid — required field missing, type mismatch, value outside allowed range, schema violation.
- ToolInputException(String, String) - Constructor for exception class com.tnsai.tools.spi.ToolInputException
- ToolInputException(String, List<String>) - Constructor for exception class com.tnsai.tools.spi.ToolInputException
- ToolMethod - Interface in com.tnsai.tools.method
-
A tool method addressable by the LLM.
- ToolMethodDispatcher - Class in com.tnsai.tools.method
-
Dispatches an LLM tool call to a discovered
ToolMethod. - ToolMethodDispatcher(ToolMethodRegistry) - Constructor for class com.tnsai.tools.method.ToolMethodDispatcher
- ToolMethodDispatcher(ToolMethodRegistry, ObjectMapper) - Constructor for class com.tnsai.tools.method.ToolMethodDispatcher
- ToolMethodDispatcher(ToolMethodRegistry, ObjectMapper, IdempotencyStore) - Constructor for class com.tnsai.tools.method.ToolMethodDispatcher
-
Full constructor with an explicit
IdempotencyStore. - ToolMethodRegistry - Class in com.tnsai.tools.method
-
Discovers and indexes
Tool-annotated methods across a list of POJO tool-bearing instances. - ToolMethodRegistry(Collection<?>) - Constructor for class com.tnsai.tools.method.ToolMethodRegistry
-
Build a registry from a collection of POJO tool-bearing instances.
- ToolMethodRegistry(Collection<?>, Collection<DynamicToolMethod>) - Constructor for class com.tnsai.tools.method.ToolMethodRegistry
-
Build a registry from a collection of POJO tool-bearing instances and a list of pre-built
DynamicToolMethods (e.g. from MCP proxy discovery). - toolName() - Method in record class com.tnsai.agents.async.ChatEvent.ToolCall
-
Returns the value of the
toolNamerecord component. - toolName() - Method in record class com.tnsai.agents.validation.Location
-
Returns the value of the
toolNamerecord component. - toolName() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Specific tool name to invoke.
- toolName() - Method in record class com.tnsai.events.ToolCallEndEvent
-
Returns the value of the
toolNamerecord component. - toolName() - Method in record class com.tnsai.events.ToolCallStartEvent
-
Returns the value of the
toolNamerecord component. - toolName() - Method in record class com.tnsai.feedback.FeedbackCollector.ToolOutcome
-
Returns the value of the
toolNamerecord component. - toolName() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
toolNamerecord component. - toolName(String) - Method in class com.tnsai.tools.spi.ToolException.Builder
- toolNames() - Method in record class com.tnsai.identity.AgentDescriptor
-
Returns the value of the
toolNamesrecord component. - toolNames(List<String>) - Method in class com.tnsai.identity.AgentDescriptor.Builder
- ToolNotFoundException - Exception Class in com.tnsai.tools.spi
-
Remote resource the tool was asked to operate on does not exist — typically HTTP 404 from upstream, file-not-found, missing record.
- ToolNotFoundException(String, String) - Constructor for exception class com.tnsai.tools.spi.ToolNotFoundException
- ToolNotFoundException(String, String, Throwable) - Constructor for exception class com.tnsai.tools.spi.ToolNotFoundException
- ToolOutcome(String, boolean, long, String) - Constructor for record class com.tnsai.feedback.FeedbackCollector.ToolOutcome
-
Creates an instance of a
ToolOutcomerecord class. - ToolParam - Annotation Interface in com.tnsai.annotations
-
Per-parameter metadata for a
Tool-annotated method. - ToolParameter - Record Class in com.tnsai.tools.method
-
Metadata for a single parameter of a
ToolMethod. - ToolParameter(String, String, Type, boolean, String) - Constructor for record class com.tnsai.tools.method.ToolParameter
-
Creates an instance of a
ToolParameterrecord class. - ToolParameter(String, String, String, boolean, Object) - Constructor for record class com.tnsai.spi.ToolRegistry.ToolParameter
-
Creates an instance of a
ToolParameterrecord class. - toolPojos(Object...) - Method in class com.tnsai.agents.AgentBuilder
-
Adds tools by reflecting over POJO instances bearing
@Tool-annotated methods (the function-shape pattern, see RFC #188). - ToolRateLimitException - Exception Class in com.tnsai.tools.spi
-
Tool was rate-limited by upstream — typically HTTP 429.
- ToolRateLimitException(String, Duration) - Constructor for exception class com.tnsai.tools.spi.ToolRateLimitException
- ToolRateLimitException(String, Duration, Integer) - Constructor for exception class com.tnsai.tools.spi.ToolRateLimitException
- ToolRegistry - Interface in com.tnsai.spi
-
Registry for managing agent tools.
- ToolRegistry.ToolParameter - Record Class in com.tnsai.spi
-
Parameter definition for a tool.
- ToolRegistry.ToolRegistryEntry - Record Class in com.tnsai.spi
-
Definition of a tool available to agents.
- ToolRegistry.ToolRegistryEntry.Builder - Class in com.tnsai.spi
-
Builder for ToolRegistryEntry.
- ToolRegistry.ToolType - Enum Class in com.tnsai.spi
-
Type of tool.
- ToolRegistryEntry(String, String, List<ToolRegistry.ToolParameter>, List<String>, Map<String, Object>, ToolRegistry.ToolType) - Constructor for record class com.tnsai.spi.ToolRegistry.ToolRegistryEntry
-
Creates an instance of a
ToolRegistryEntryrecord class. - toolResult(String, Object, boolean) - Static method in interface com.tnsai.agents.async.ChatEvent
- ToolResult(String, Object, boolean) - Constructor for record class com.tnsai.agents.async.ChatEvent.ToolResult
- ToolResult(Instant, String, Object, boolean) - Constructor for record class com.tnsai.agents.async.ChatEvent.ToolResult
-
Creates an instance of a
ToolResultrecord class. - ToolResultSerializationException - Exception Class in com.tnsai.tools.spi
-
Tool produced a result that the framework could not marshal back to the caller — JSON encoding failed, return-type adapter missing, recursive object graph.
- ToolResultSerializationException(String, String, Throwable) - Constructor for exception class com.tnsai.tools.spi.ToolResultSerializationException
- ToolRiskLevel - Enum Class in com.tnsai.tools
-
Risk classification for a's execution.
invalid reference
Tool - tools() - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningContext
-
Returns the value of the
toolsrecord component. - tools(VariantSpec.ToolSet) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- tools(List<ToolMethod>) - Method in class com.tnsai.context.assembler.UnifiedContextAssembler.Builder
-
Sets the available tools for tool definition injection.
- tools(List<Map<String, Object>>) - Method in class com.tnsai.llm.ChatRequest.Builder
-
Sets the tool catalog as JSON-Schema fragments (
List<Map<String, Object>>per Anthropic-style tool-use). - ToolSchema - Class in com.tnsai.schema
-
Represents the JSON schema for a tool's parameters.
- ToolSchema() - Constructor for class com.tnsai.schema.ToolSchema
- ToolSchema.Property - Class in com.tnsai.schema
-
Represents a property in the JSON schema.
- ToolSchema.ToolSchemaBuilder - Class in com.tnsai.schema
-
Builder helper to easily add properties.
- ToolSchemaBuilder() - Constructor for class com.tnsai.schema.ToolSchema.ToolSchemaBuilder
- ToolSchemaGenerator - Class in com.tnsai.schema
-
Generates tool/function schemas for LLM function calling.
- ToolSchemaGenerator() - Constructor for class com.tnsai.schema.ToolSchemaGenerator
- toolSelecting(String, String, List<String>) - Static method in record class com.tnsai.events.StatusEvent
-
Creates a status event for tool selection phase.
- toolSet(VariantSpec.ToolSet) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- toolsOpt() - Method in class com.tnsai.llm.ChatRequest
-
Tools as Optional maps (for bridging to existing LLMClient methods).
- ToolTimeoutException - Exception Class in com.tnsai.tools.spi
-
Tool exceeded its execution deadline.
- ToolTimeoutException(String, Duration) - Constructor for exception class com.tnsai.tools.spi.ToolTimeoutException
- ToolTimeoutException(String, Duration, Throwable) - Constructor for exception class com.tnsai.tools.spi.ToolTimeoutException
- ToolUnexpectedException - Exception Class in com.tnsai.tools.spi
-
Catchall for tool failures that don't fit any other typed subclass — a pure
RuntimeExceptionthrown from inside the tool, anAssertionError, or anything else escaping the well-defined failure taxonomy. - ToolUnexpectedException(String, String, Throwable) - Constructor for exception class com.tnsai.tools.spi.ToolUnexpectedException
- ToolUserCanceledException - Exception Class in com.tnsai.tools.spi
-
Tool execution was canceled by the user — confirmation prompt declined, deadline elapsed before the user responded, or an explicit abort signal.
- ToolUserCanceledException(String, ToolUserCanceledException.CancelReason) - Constructor for exception class com.tnsai.tools.spi.ToolUserCanceledException
- ToolUserCanceledException.CancelReason - Enum Class in com.tnsai.tools.spi
-
Why the user-facing cancellation happened.
- toon() - Method in class com.tnsai.parser.FormatAwareOutputParser.Builder
- toon(Class<T>) - Static method in class com.tnsai.parser.FormatAwareOutputParser
- TOON - Enum constant in enum class com.tnsai.output.OutputFormat
-
TOON (Token-Optimized Object Notation).
- ToonOutputSerializer - Class in com.tnsai.output.impl
-
TOON (Token-Optimized Object Notation) serializer.
- ToonOutputSerializer() - Constructor for class com.tnsai.output.impl.ToonOutputSerializer
- toOptional() - Method in class com.tnsai.parser.ParseResult
-
Returns the value as an Optional.
- topic() - Element in annotation interface com.tnsai.protocols.annotations.Broadcast
-
Broadcast topic/channel name.
- topic() - Element in annotation interface com.tnsai.protocols.annotations.OnMessageReceived
-
Filter by topic (for BROADCAST and PUBSUB types).
- topic() - Method in record class com.tnsai.spi.MessageBroker.Message
-
Returns the value of the
topicrecord component. - topics() - Element in annotation interface com.tnsai.annotations.Communication.Messaging
-
Topics to subscribe to.
- topics() - Element in annotation interface com.tnsai.protocols.annotations.MessageHandler
-
Topics to subscribe to (for pub/sub).
- topics() - Element in annotation interface com.tnsai.protocols.annotations.PubSub
-
Topics this agent subscribes to or publishes.
- topK() - Element in annotation interface com.tnsai.annotations.Memory.Vector
-
Number of results to retrieve.
- topK() - Element in annotation interface com.tnsai.annotations.Search
-
Number of results to retrieve per source during ordinary ranked retrieval.
- topK() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
topKrecord component. - topK() - Method in class com.tnsai.rag.SearchSettings
- topK(int) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- topK(int) - Method in class com.tnsai.rag.SearchSettings.Builder
- topN() - Element in annotation interface com.tnsai.annotations.Search
-
Maximum number of results retained after ordinary retrieval reranking.
- topN() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns the value of the
topNrecord component. - topN() - Method in class com.tnsai.rag.SearchSettings
- topN(int) - Method in class com.tnsai.rag.RetrievalConfig.Builder
- topN(int) - Method in class com.tnsai.rag.SearchSettings.Builder
- topP() - Element in annotation interface com.tnsai.annotations.LLMSpec
-
Top-p (nucleus sampling) value.
- topP() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns the value of the
topPrecord component. - toPromptString() - Method in class com.tnsai.metadata.ActionMetadata
-
Creates a formatted string for prompt generation.
- toPromptString() - Method in class com.tnsai.metadata.DiscoveredRoleActions
-
Creates a formatted string for prompt generation.
- toPromptString() - Method in class com.tnsai.metadata.ParamSpec
-
Creates a formatted string for prompt generation.
- toRoot() - Method in class com.tnsai.agents.hierarchy.HierarchyBuilder
-
Moves context to the root agent.
- toString() - Method in record class com.tnsai.accountability.Action
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.accountability.AuditQuery
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.accountability.AuthorityScope
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.accountability.ReputationScore
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.actions.ActionParams
- toString() - Method in class com.tnsai.actions.ActionResult
- toString() - Method in record class com.tnsai.actions.model.ActionRequest
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.actions.model.ActionResponse
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.async.ChatEvent.Completed
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.async.ChatEvent.Error
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.async.ChatEvent.Started
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.async.ChatEvent.Token
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.async.ChatEvent.ToolCall
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.async.ChatEvent.ToolResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.cognitive.CognitiveEngine.BDISnapshot
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.execution.MemoryManager.AgentCheckpoint
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.execution.ToolCallAction.Allow
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.execution.ToolCallAction.Block
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.execution.ToolCallAction.Fallback
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.execution.ToolCallAction.Guide
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.groups.GroupMemberSpec
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.groups.GroupPolicy
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.groups.GroupTask
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipHistoryEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipStats
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipValidation
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.agents.interrupt.AgentCheckpoint
- toString() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.BudgetInterrupt
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ErrorInterrupt
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.ExternalInterrupt
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.TimeoutInterrupt
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.UserInterrupt
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.validation.Location
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.validation.ValidationContext
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.validation.ValidationIssue
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.validation.ValidationReport
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.agents.variant.VariantManager.VariantChangeEvent
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.agents.variant.VariantManager.VariantStats
- toString() - Method in record class com.tnsai.agents.variant.VariantSelector.SelectionResult
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.agents.variant.VariantSpec
- toString() - Method in class com.tnsai.communication.AcknowledgedMessage
- toString() - Method in class com.tnsai.communication.AckResult
- toString() - Method in class com.tnsai.communication.SharedBlackboard.Entry
- toString() - Method in record class com.tnsai.communication.SharedBlackboard.VoteResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.context.decision.DecisionInput
- toString() - Method in record class com.tnsai.context.decision.DecisionOutcome.OutcomeError
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.context.decision.DecisionOutcome
- toString() - Method in record class com.tnsai.context.decision.DecisionPolicy.PolicyRule
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.context.decision.DecisionPolicy
- toString() - Method in record class com.tnsai.context.decision.DecisionReasoning.Alternative
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.decision.DecisionReasoning.ReasoningStep
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.context.decision.DecisionReasoning
- toString() - Method in class com.tnsai.context.decision.DecisionTrace
- toString() - Method in record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.decision.DecisionTrigger
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.context.entity.Entity
- toString() - Method in record class com.tnsai.context.entity.EntityAttribute.AttributeHistory
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.entity.EntityAttribute
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.entity.EntityResolver.ResolverStatistics
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.context.entity.EntitySource
- toString() - Method in class com.tnsai.context.snapshot.ContextSnapshot
- toString() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.VariableChange
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.snapshot.SnapshotStore.SnapshotStoreStatistics
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.environment.ActionOutcome
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.environment.Percept
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricStats
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.AgentHierarchyEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.ApprovalRequestEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.ArtifactEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.BDIUpdateEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.ErrorEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.handler.EventHandlerMetadata
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.RunEndEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.RunStartEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.SkillActivationEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.StatusEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.TextDeltaEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.ThoughtEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.ToolCallEndEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.ToolCallStartEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.events.UiComponentEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.exceptions.ProviderDetails
-
Returns a string representation of this record class.
- toString() - Method in exception class com.tnsai.exceptions.TaskCompleteException
- toString() - Method in record class com.tnsai.feedback.FeedbackCollector.ToolOutcome
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.guardrails.InputGuardrailConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.guardrails.OutputGuardrailConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.AgentInit
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.AgentStart
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.AgentStop
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.OnActionError
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.OnCapabilityDispatch
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.OnChunk
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.OnNotification
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.OnSessionIdle
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.OnSPILoad
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.OnStateTransition
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.PostAction
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.PostChat
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.PreAction
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.PreChat
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.SessionEnd
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.events.SessionStart
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.HookContext
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.HookMatcher.All
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.HookMatcher.Predicate
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.HookMatcher.Regex
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.HookResult.Allow
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.HookResult.Block
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.hooks.HookResult.Modify
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.idempotency.IdempotencyEntry.FailureSnapshot
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.idempotency.IdempotencyEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.identity.AgentDescriptor
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.identity.Attestation
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.identity.DIDConfig
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.knowledge.Document
- toString() - Method in class com.tnsai.knowledge.SearchResult
- toString() - Method in class com.tnsai.llm.ChatRequest
- toString() - Method in record class com.tnsai.llm.LLMResolver.LLMSpec
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.llm.LLMResolver.ResolutionResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.llm.ModelInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.llm.ParallelLLM.LLMResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.llm.ParallelLLM.ParallelResults
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.memory.advanced.ScoredEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.memory.advanced.Skill
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.memory.AgentMemoryResolver.MemoryResolution
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.memory.MemoryConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.memory.MemoryNamespace
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.memory.strategy.MemoryEntry
- toString() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.LoadedContext
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.TierConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.memory.strategy.TieredMemoryStore.ConsolidationResult
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.memory.strategy.TokenBudget
- toString() - Method in record class com.tnsai.metadata.ActionConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.metadata.ContractConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.metadata.ContractSpec
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.metadata.WebServiceConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.models.agent.Communication
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.models.agent.Desire
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.models.chat.AudioPart
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.models.chat.ImagePart
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.models.chat.TextPart
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.models.chat.VideoPart
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.observability.errors.CauseInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.observability.errors.ErrorReport
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.observability.events.Breadcrumbs.Breadcrumb
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.observability.events.CapturingAgentEventPublisher.Captured
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.observability.events.EventContext
-
Returns a string representation of this record class.
- toString() - Method in exception class com.tnsai.parser.ParseException
- toString() - Method in class com.tnsai.parser.ParseResult
- toString() - Method in record class com.tnsai.parser.RetryableParser.ParseAttempt
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.payment.Quote
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.payment.Service
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.payment.Settlement.AlreadySettled
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.payment.Settlement.Expired
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.payment.Settlement.Rejected
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.payment.Settlement.Settled
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.PlannerHandle.PlanResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.PlannerHandle.PlanStep
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.PlannerHandle.StepResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.prompt.ProjectContextLoader.ProjectContext
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.prompt.PromptSpec
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.prompt.strategy.EnhancedPrompt
- toString() - Method in record class com.tnsai.prompt.strategy.EnhancedResponse.ThinkingPhase
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.prompt.strategy.PromptEnhancer.Example
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.ChatKnowledgeContext.Turn
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.ChunkContextGenerator.Request
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.DocumentBlock
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.DocumentInput
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.ExtractedDocument
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.ExtractionContext
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.KnowledgeEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.KnowledgeSelection
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.KnowledgeUsage
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.NormalizedDocumentChunker.Chunk
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.RetrievalConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.RetrievalDiagnostics
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.RetrievalEvidence.Provenance
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.RetrievalEvidence
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.RetrievalRequest
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.RetrievalResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.rag.RetrievalScope
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.rag.SearchSettings
- toString() - Method in record class com.tnsai.rag.SequentialConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningContext
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reasoning.ReasoningStrategyHandle.ReasoningResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Checkpoint
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.DefaultResumableRun.Step
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Outcome.Aborted
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Outcome.Completed
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Outcome.Failed
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Outcome.Suspended
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Progress.CheckpointSaved
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Progress.CostUpdate
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Progress.Heartbeat
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Progress.RunAborted
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Progress.RunCompleted
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Progress.RunFailed
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Progress.StepCompleted
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.Progress.StepStarted
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.reliability.RunConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.resilience.ResilienceConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.resilience.ResilienceMetrics.MetricSnapshot
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.roles.export.ExportedRole
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.CachedRoleMetadata
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.LLMExportSpec
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.ResponsibilityInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateValue
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.roles.Role
- toString() - Method in record class com.tnsai.security.AccessDeclaration
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.security.AccessRequest
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.security.AccessSubject
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.security.approval.ApprovalToken
- toString() - Method in class com.tnsai.security.approval.InterruptResult
- toString() - Method in record class com.tnsai.security.approval.InterruptService.InterruptRequest
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.security.audit.AuditEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.security.audit.AuditQuery
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.security.ExecutionRule
-
Returns a string representation of this record class.
- toString() - Method in exception class com.tnsai.security.SecurityException
- toString() - Method in record class com.tnsai.security.SecurityFeatures
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.skills.ActiveSkill
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.skills.Skill
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.skills.SkillManager.SlashCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.spi.CheckpointerFactory.ProviderInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.spi.CognitiveModel.Action
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.spi.CognitiveModel.Belief
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.spi.CognitiveModel.CognitiveState
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.spi.CognitiveModel.Goal
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.spi.CognitiveModel.Intention
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.spi.FlagContext
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.spi.Healthcheckable.HealthStatus
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.spi.MessageBroker.Message
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.spi.ToolRegistry.ToolParameter
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.spi.ToolRegistry.ToolRegistryEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.state.Checkpointer.CheckpointTuple
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.state.Checkpointer.Write
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.timeout.TimeoutPolicy
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.tools.method.DynamicToolMethod
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.tools.method.StaticToolMethod
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.tools.method.ToolParameter
-
Returns a string representation of this record class.
- toString() - Method in exception class com.tnsai.tools.spi.ToolException
- toString() - Method in record class com.tnsai.tools.ToolExample
-
Returns a string representation of this record class.
- total() - Method in record class com.tnsai.communication.SharedBlackboard.VoteResult
- total() - Method in record class com.tnsai.resilience.ResilienceMetrics.MetricSnapshot
-
Returns the value of the
totalrecord component. - totalBDIChanges() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
- totalContextWindow(int) - Method in class com.tnsai.memory.strategy.TokenBudget.Builder
-
Sets the total context window size.
- totalDuration() - Method in record class com.tnsai.reliability.Progress.RunCompleted
-
Returns the value of the
totalDurationrecord component. - totalDurationMs() - Method in record class com.tnsai.llm.ParallelLLM.ParallelResults
-
Returns the value of the
totalDurationMsrecord component. - totalEntities() - Method in record class com.tnsai.context.entity.EntityResolver.ResolverStatistics
-
Returns the value of the
totalEntitiesrecord component. - totalEntityChanges() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
- totalJoined() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipStats
-
Returns the value of the
totalJoinedrecord component. - totalLeft() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipStats
-
Returns the value of the
totalLeftrecord component. - totalMessagesProcessed() - Method in record class com.tnsai.memory.strategy.ManagedConversationMemory.MemoryStats
-
Returns the value of the
totalMessagesProcessedrecord component. - totalRemaining() - Method in record class com.tnsai.memory.strategy.TieredMemoryStore.ConsolidationResult
-
Returns the value of the
totalRemainingrecord component. - totalSnapshots() - Method in record class com.tnsai.context.snapshot.SnapshotStore.SnapshotStoreStatistics
-
Returns the value of the
totalSnapshotsrecord component. - totalSources() - Method in record class com.tnsai.context.entity.EntityResolver.ResolverStatistics
-
Returns the value of the
totalSourcesrecord component. - totalSteps() - Method in record class com.tnsai.reliability.Progress.RunCompleted
-
Returns the value of the
totalStepsrecord component. - totalTokenBudget() - Method in record class com.tnsai.memory.strategy.TieredContextLoader.TierConfig
-
Returns the value of the
totalTokenBudgetrecord component. - totalTokens() - Method in record class com.tnsai.agents.async.ChatEvent.Completed
-
Returns the value of the
totalTokensrecord component. - totalTokens() - Method in record class com.tnsai.context.assembler.UnifiedContextAssembler.AssembledContext
-
Returns the value of the
totalTokensrecord component. - totalTraces() - Method in record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Returns the value of the
totalTracesrecord component. - touch() - Method in record class com.tnsai.memory.advanced.Skill
-
Returns a new Skill with the lastUsed timestamp updated to now.
- toURI() - Method in class com.tnsai.identity.DID
-
Get DID as URI.
- traceAgentMessage(String, String, String, Map<String, Object>) - Method in class com.tnsai.utils.ConversationTracer
-
Traces a message sent between agents.
- Traced - Annotation Interface in com.tnsai.annotations
-
Adds trace ID propagation and structured logging to a method.
- TracedResolver - Class in com.tnsai.resilience
-
Resolves the
@Tracedannotation on an action method or its declaring Role class and produces aTracedSpanthat wraps the dispatch with structured trace logs. - TracedSpan - Class in com.tnsai.resilience
-
Per-invocation handle for a
@Tracedaction — opened byTracedResolver.open(com.tnsai.metadata.ActionMetadata, com.tnsai.roles.Role, java.util.Map<java.lang.String, java.lang.Object>)immediately before dispatch and closed in afinallyblock. - traceError(String, String) - Method in class com.tnsai.utils.ConversationTracer
-
Traces an error.
- traceId() - Method in record class com.tnsai.hooks.HookContext
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class com.tnsai.observability.events.EventContext
-
Returns the value of the
traceIdrecord component. - traceId(String) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- traceId(String) - Method in class com.tnsai.hooks.HookContext.Builder
- traceId(String) - Method in class com.tnsai.observability.events.EventContext.Builder
- traceLLMRequest(String, String, List<Map<String, Object>>, List<Map<String, Object>>) - Method in class com.tnsai.utils.ConversationTracer
-
Traces the context window being sent to LLM.
- traceLLMResponse(String, String) - Method in class com.tnsai.utils.ConversationTracer
-
Traces the LLM response.
- traceProvenance(String) - Method in class com.tnsai.memory.strategy.TieredMemoryStore
-
Traces provenance: returns the version chain for an entry.
- tracesByAction() - Method in record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Returns the value of the
tracesByActionrecord component. - tracesByOutcome() - Method in record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Returns the value of the
tracesByOutcomerecord component. - traceSearchTool(String, String) - Method in class com.tnsai.utils.ConversationTracer
-
Traces a search tool execution (brave_search, duckduckgo, arxiv, etc.).
- traceToolCall(String, String, Map<String, Object>, Object) - Method in class com.tnsai.utils.ConversationTracer
-
Traces a tool call made by LLM.
- trackedFingerprintCount() - Method in class com.tnsai.observability.errors.DedupingErrorReportPublisher
-
Total number of distinct fingerprints currently tracked.
- trackEntity(Entity) - Method in interface com.tnsai.context.ContextManagerHandle
- TRADING_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Polymarket prediction markets (read-only).
- transactionId() - Method in record class com.tnsai.payment.Settlement.AlreadySettled
-
Returns the value of the
transactionIdrecord component. - transactionId() - Method in record class com.tnsai.payment.Settlement.Settled
-
Returns the value of the
transactionIdrecord component. - transcriptPath() - Method in record class com.tnsai.hooks.HookContext
-
Returns the value of the
transcriptPathrecord component. - transcriptPath(Path) - Method in class com.tnsai.hooks.HookContext.Builder
- TRANSIENT - Enum constant in enum class com.tnsai.observability.errors.ErrorCategory
-
Will likely succeed on retry — network blip, overloaded model, transient 5xx.
- transport() - Element in annotation interface com.tnsai.protocols.annotations.Broadcast
-
Transport mode.
- transport() - Element in annotation interface com.tnsai.protocols.annotations.Debate
-
Transport mode.
- transport() - Element in annotation interface com.tnsai.protocols.annotations.DirectMessage
-
Transport mode.
- transport() - Element in annotation interface com.tnsai.protocols.annotations.PubSub
-
Transport mode.
- transport() - Element in annotation interface com.tnsai.protocols.annotations.RequestReply
-
Transport mode.
- TransportMode - Enum Class in com.tnsai.protocols.transport
-
Defines how agents communicate with each other.
- Transport Types - Search tag in annotation interface com.tnsai.annotations.MCPTool
- Section
- TRELLO_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Trello REST.
- trigger() - Method in record class com.tnsai.hooks.events.OnStateTransition
-
Returns the value of the
triggerrecord component. - trigger(InterruptEvent) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- trigger(DecisionTrigger) - Method in class com.tnsai.context.decision.DecisionTrace.Builder
- trigger(SnapshotTrigger) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- triggers() - Element in annotation interface com.tnsai.annotations.SkillSpec
-
Keywords that trigger this skill during natural language routing.
- truncate(String, Instant) - Method in interface com.tnsai.reliability.CheckpointStore
-
Drop every checkpoint for
runIdcaptured strictly beforebefore. - truncate(String, Instant) - Method in class com.tnsai.reliability.FilesystemCheckpointStore
- truncate(String, Instant) - Method in class com.tnsai.reliability.InMemoryCheckpointStore
- truncate(String, Instant) - Method in class com.tnsai.reliability.RedisCheckpointStore
- truncate(String, Instant) - Method in class com.tnsai.reliability.S3CheckpointStore
- truncate(String, Instant) - Method in class com.tnsai.reliability.SqliteCheckpointStore
- TRUNCATE - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.FailureAction
-
Return partial/truncated output
- truncateIfNeeded(Role, String) - Method in class com.tnsai.communication.CommunicationEnforcer
-
Truncates response to max length if needed.
- Trust - Search tag in annotation interface com.tnsai.annotations.Config
- Section
- trusted() - Method in record class com.tnsai.hooks.events.OnSPILoad
-
Returns the value of the
trustedrecord component. - tryRecover(ActionMetadata, Role, Map<String, Object>, Throwable, FallbackResolver.RetryCallback) - Static method in class com.tnsai.resilience.FallbackResolver
-
Attempts to recover from a failed action invocation by invoking the matching
@Fallbackhandler. - tryRecover(ActionMetadata, Role, Map<String, Object>, Throwable, FallbackResolver.RetryCallback, Consumer<Method>) - Static method in class com.tnsai.resilience.FallbackResolver
-
Managed dispatch supplies the common gate immediately before a fallback body.
- TSV - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
Tab-separated values.
- ttlSeconds() - Element in annotation interface com.tnsai.annotations.Memory.Persistence
-
Time-to-live in seconds.
- ttlSeconds() - Element in annotation interface com.tnsai.idempotency.Idempotent
-
How long the cached result is honored, in seconds.
- TTL semantics - Search tag in interface com.tnsai.idempotency.IdempotencyStore
- Section
- Turn(List<String>, List<String>) - Constructor for record class com.tnsai.rag.ChatKnowledgeContext.Turn
-
A turn with no usage rows.
- Turn(List<String>, List<String>, List<KnowledgeUsage>) - Constructor for record class com.tnsai.rag.ChatKnowledgeContext.Turn
-
Creates an instance of a
Turnrecord class. - TWITTER_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Twitter / X API v2.
- Two layers - Search tag in package com.tnsai.resilience
- Section
- type() - Method in record class com.tnsai.accountability.Action
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.agents.groups.GroupEvent
-
Returns the value of the
typerecord component. - type() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
REQUIRED: The type of action execution.
- type() - Element in annotation interface com.tnsai.annotations.Coordination.Negotiation
-
Negotiation protocol type.
- type() - Element in annotation interface com.tnsai.annotations.Knowledge
-
Knowledge source type, which selects the loader.
- type() - Element in annotation interface com.tnsai.annotations.LLMParam
-
Parameter type for JSON schema.
- type() - Element in annotation interface com.tnsai.annotations.MemorySpec
-
Type of memory store.
- type() - Element in annotation interface com.tnsai.annotations.Norm
-
The type of norm (obligation, prohibition, or permission).
- type() - Method in record class com.tnsai.context.decision.DecisionReasoning.ReasoningStep
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.context.decision.DecisionTrigger
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.events.ArtifactEvent
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.hooks.events.OnActionError
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.hooks.events.PostAction
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.hooks.events.PreAction
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.memory.MemoryConfig
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.metadata.ActionConfig
-
Returns the value of the
typerecord component. - type() - Element in annotation interface com.tnsai.protocols.annotations.OnMessageReceived
-
Filter by message type.
- type() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateInfo
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateValue
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.spi.CognitiveModel.Action
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.spi.ToolRegistry.ToolParameter
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.spi.ToolRegistry.ToolRegistryEntry
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.tools.method.ToolParameter
-
Returns the value of the
typerecord component. - type(GroupEvent.Type) - Method in class com.tnsai.agents.groups.GroupEvent.Builder
- type(MemorySpec.MemoryType) - Method in class com.tnsai.memory.MemoryConfig.Builder
- type(SharedBlackboard.EntryType) - Method in class com.tnsai.communication.SharedBlackboard.Entry.Builder
- type(EntitySource.SourceType) - Method in class com.tnsai.context.entity.EntitySource.Builder
- type(EntityType) - Method in class com.tnsai.context.entity.Entity.Builder
- type(ToolRegistry.ToolType) - Method in class com.tnsai.spi.ToolRegistry.ToolRegistryEntry.Builder
- type(ToolException.ErrorType) - Method in class com.tnsai.tools.spi.ToolException.Builder
- TYPE_ALERT - Static variable in record class com.tnsai.events.UiComponentEvent
- TYPE_CARD - Static variable in record class com.tnsai.events.UiComponentEvent
- TYPE_CHART - Static variable in record class com.tnsai.events.UiComponentEvent
- TYPE_CODE - Static variable in record class com.tnsai.events.UiComponentEvent
- TYPE_CUSTOM - Static variable in record class com.tnsai.events.UiComponentEvent
- TYPE_FORM - Static variable in record class com.tnsai.events.UiComponentEvent
- TYPE_IMAGE - Static variable in record class com.tnsai.events.UiComponentEvent
- TYPE_LIST - Static variable in record class com.tnsai.events.UiComponentEvent
- TYPE_MARKDOWN - Static variable in record class com.tnsai.events.UiComponentEvent
- TYPE_PROGRESS - Static variable in record class com.tnsai.events.UiComponentEvent
- TYPE_TABLE - Static variable in record class com.tnsai.events.UiComponentEvent
- Type Checking - Search tag in class com.tnsai.actions.TypeConverter
- Section
- TypeConverter - Class in com.tnsai.actions
-
Utility class for converting values between types in action parameter handling.
- TypedActionExecutor - Interface in com.tnsai.actions.executors
-
Interface for type-specific action executors.
- types() - Element in annotation interface com.tnsai.protocols.annotations.MessageHandler
-
Message types to handle.
- typeSchema(Type) - Static method in class com.tnsai.tools.method.JsonSchemaGenerator
-
Map a Java
Typeto its JSON Schema fragment.
U
- UiComponentEvent - Record Class in com.tnsai.events
-
Event representing a request to render a specific UI component in the frontend.
- UiComponentEvent(String, Instant, String, Map<String, Object>) - Constructor for record class com.tnsai.events.UiComponentEvent
-
Creates an instance of a
UiComponentEventrecord class. - UNANIMOUS - Enum constant in enum class com.tnsai.annotations.Coordination.Consensus.Strategy
-
All must agree
- UNANIMOUS - Enum constant in enum class com.tnsai.protocols.annotations.Debate.ConsensusStrategy
-
Everyone must agree (100%).
- UNAUTHORIZED - Enum constant in enum class com.tnsai.security.SecurityException.ViolationType
-
Unauthorized action attempt
- unauthorizedCause(Throwable) - Static method in exception class com.tnsai.security.SecurityException
-
Locate a terminal authorization denial through executor/timeout wrappers.
- unbounded() - Static method in record class com.tnsai.timeout.TimeoutPolicy
-
Every category is unbounded.
- UNBOUNDED - Static variable in record class com.tnsai.timeout.TimeoutPolicy
-
Sentinel for "no timeout" — call may run indefinitely.
- uncertainties(List<String>) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- uncertainty(String) - Method in class com.tnsai.context.decision.DecisionReasoning.Builder
- UNDER_MIN_LENGTH - Enum constant in enum class com.tnsai.guardrails.GuardrailViolationException.Cause
-
Value's character length was below
minLength/minChars. - UNHEALTHY - Enum constant in enum class com.tnsai.agents.groups.MembershipManager.MemberHealth
- unhealthyCount() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipStats
-
Returns the value of the
unhealthyCountrecord component. - UnifiedContextAssembler - Class in com.tnsai.context.assembler
-
Assembles LLM context from multiple sources in priority order with token budget enforcement.
- UnifiedContextAssembler.AssembledContext - Record Class in com.tnsai.context.assembler
-
Result of context assembly.
- UnifiedContextAssembler.Builder - Class in com.tnsai.context.assembler
-
Builder for UnifiedContextAssembler.
- unionAllowedTools() - Method in class com.tnsai.skills.SkillScopedToolCallFilter
-
Lower-cased union of
allowed-toolsdeclared by every active skill. - uniqueAgents() - Method in record class com.tnsai.context.decision.DecisionTraceStore.DecisionTraceStatistics
-
Returns the value of the
uniqueAgentsrecord component. - uniqueAgents() - Method in record class com.tnsai.context.snapshot.SnapshotStore.SnapshotStoreStatistics
-
Returns the value of the
uniqueAgentsrecord component. - unit() - Element in annotation interface com.tnsai.annotations.Knowledge
-
How each admitted FILE or HTTP/HTTPS URL source becomes retrieval documents.
- unit() - Method in record class com.tnsai.payment.Service
-
Returns the value of the
unitrecord component. - unit() - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns the value of the
unitrecord component. - unit(KnowledgeUnit) - Method in class com.tnsai.rag.KnowledgeSourceConfig.Builder
-
Sets the ingest-time slicing unit.
- unknown(String) - Static method in class com.tnsai.security.InvocationContext
-
Carries an unclassified ingress without granting any execution category.
- unknown(String, Instant) - Static method in record class com.tnsai.accountability.ReputationScore
-
Score for an agent with no recorded history.
- UNKNOWN - Enum constant in enum class com.tnsai.agents.groups.MembershipManager.MemberHealth
- UNKNOWN - Enum constant in enum class com.tnsai.context.decision.DecisionOutcome.OutcomeStatus
-
Outcome status is unknown
- UNKNOWN - Enum constant in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
-
Unknown or unclassified errors
- UNKNOWN - Enum constant in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Unknown error
- UNKNOWN - Enum constant in enum class com.tnsai.observability.errors.ErrorCategory
-
Could not classify — defensive fallback.
- UNKNOWN - Enum constant in enum class com.tnsai.security.AccessSubject.Kind
- UNKNOWN - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Unknown error
- UNKNOWN - Static variable in class com.tnsai.llm.ModelCapabilities
-
Unknown/default capabilities
- unreachable(String, Duration) - Static method in record class com.tnsai.spi.Healthcheckable.HealthStatus
-
The probe failed (network down, auth rejected, deadline missed, etc.).
- UNREADABLE - Enum constant in enum class com.tnsai.exceptions.KnowledgeNotReadyException.Problem
-
The configured file could not be read or split.
- unregister() - Method in interface com.tnsai.agents.variant.VariantManager.Registration
-
Unregisters the listener.
- unregister(String) - Method in interface com.tnsai.communication.transport.CommunicationTransport
-
Unregisters an agent from the transport layer.
- unregister(String) - Method in class com.tnsai.communication.transport.LocalTransport
- unregister(String) - Method in interface com.tnsai.spi.ToolRegistry
-
Unregisters a tool from the registry.
- unregister(String, String) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Unregisters an agent from the group.
- unregisterAgent(String) - Method in class com.tnsai.communication.AgentCommunicationManager
-
Unregisters an agent from the communication manager.
- unregisterSource(String) - Method in interface com.tnsai.context.entity.EntityResolver
-
Unregisters an entity source.
- unrestricted(Duration) - Static method in record class com.tnsai.accountability.AuthorityScope
-
Convenience: maximally-permissive scope; useful as a development default.
- unscoped() - Static method in record class com.tnsai.rag.RetrievalScope
-
Returns the canonical scope for requests without identity.
- Unset members - Search tag in annotation interface com.tnsai.annotations.Knowledge
- Section
- unsubscribe(String) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Unsubscribes using subscription ID.
- unsubscribe(String) - Method in interface com.tnsai.spi.MessageBroker
-
Unsubscribes from messages.
- UNSUBSCRIBE - Enum constant in enum class com.tnsai.communication.QueryMessageType
- unsubscribeAll(String) - Method in interface com.tnsai.agents.groups.GroupEventBus
-
Unsubscribes all subscriptions for an agent.
- UNSUPPORTED_FORMAT - Enum constant in enum class com.tnsai.rag.DocumentProcessingException.Stage
- untrackEntity(String) - Method in interface com.tnsai.context.ContextManagerHandle
- UNTRUSTED_CONTEXT_DISCLOSURE - Static variable in class com.tnsai.rag.RetrievedContextRenderer
-
System-level instruction shown exactly once whenever retrieved evidence is rendered.
- UPDATE - Enum constant in enum class com.tnsai.events.BDIUpdateEvent.Operation
- updateBeliefConfidence(String, double) - Method in class com.tnsai.agents.cognitive.CognitiveEngine
-
Updates the confidence of a belief with matching content.
- updatedAt() - Method in record class com.tnsai.prompt.PromptSpec
-
Returns the value of the
updatedAtrecord component. - updatedAt(Instant) - Method in class com.tnsai.prompt.PromptSpec.Builder
- updateMessage(String) - Method in class com.tnsai.utils.Spinner
-
Updates the spinner message while it's running.
- updateValue(Object, String, double, String) - Method in record class com.tnsai.context.entity.EntityAttribute
-
Creates a new attribute with updated value and adds current value to history.
- UPLOAD_REQUIRED - Enum constant in enum class com.tnsai.security.approval.InterruptReason
-
Additional information or file upload required from user.
- upsert(String, MemoryEntry, float[]) - Method in interface com.tnsai.memory.advanced.VectorIndex
-
Inserts or replaces one entry and its embedding.
- uptime() - Method in record class com.tnsai.agents.groups.GroupMetrics
-
Returns the value of the
uptimerecord component. - URL - Enum constant in enum class com.tnsai.annotations.Knowledge.Type
-
Documents fetched from HTTP/HTTPS through the bundled source loader.
- URL - Enum constant in enum class com.tnsai.models.chat.AudioPart.AudioSource
- URL - Enum constant in enum class com.tnsai.models.chat.VideoPart.VideoSource
- usage() - Method in record class com.tnsai.rag.ChatKnowledgeContext.Turn
-
Returns the value of the
usagerecord component. - Usage - Search tag in annotation interface com.tnsai.annotations.AgentSpec
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.AuditLog
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Communication
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.CompletionSignal
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Contract
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Coordination.Negotiation
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.DIDSpec
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Effect
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Ephemeral
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.EventEmitter
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.EventHandler
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Fallback
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Goal
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.GroupMember
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Idempotent
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Lifecycle
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Memory
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.MemorySpec
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Metered
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Norm
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.PromptTemplates
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.QualityGate
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.RoleSpec
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.SkillSpec
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.State
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Tool
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.ToolExample
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.ToolParam
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Traced
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Utility
- Section
- Usage - Search tag in annotation interface com.tnsai.annotations.Variant
- Section
- Usage - Search tag in annotation interface com.tnsai.invariants.InvariantCheck
- Section
- Usage - Search tag in annotation interface com.tnsai.protocols.annotations.MessageHandler
- Section
- Usage - Search tag in class com.tnsai.agents.async.AsyncMsgHub
- Section
- Usage - Search tag in class com.tnsai.agents.async.SessionManager
- Section
- Usage - Search tag in class com.tnsai.agents.cognitive.CognitiveEngine
- Section
- Usage - Search tag in class com.tnsai.agents.execution.LLMOrchestrator
- Section
- Usage - Search tag in class com.tnsai.agents.execution.MemoryManager
- Section
- Usage - Search tag in class com.tnsai.agents.init.AgentSpecExtractor
- Section
- Usage - Search tag in class com.tnsai.agents.resilience.AgentResilienceManager
- Section
- Usage - Search tag in class com.tnsai.agents.variant.VariantManager
- Section
- Usage - Search tag in class com.tnsai.agents.variant.VariantSpec
- Section
- Usage - Search tag in class com.tnsai.communication.CommunicationEnforcer
- Section
- Usage - Search tag in class com.tnsai.eval.hooks.EvalContext
- Section
- Usage - Search tag in class com.tnsai.events.handler.EventHandlerProcessor
- Section
- Usage - Search tag in class com.tnsai.events.handler.EventHandlerRegistry
- Section
- Usage - Search tag in class com.tnsai.llm.ChatRequest
- Section
- Usage - Search tag in class com.tnsai.llm.FallbackLLMClient
- Section
- Usage - Search tag in class com.tnsai.parser.JsonOutputParser
- Section
- Usage - Search tag in class com.tnsai.parser.OutputValidator
- Section
- Usage - Search tag in class com.tnsai.parser.ParseResult
- Section
- Usage - Search tag in class com.tnsai.parser.RetryableParser
- Section
- Usage - Search tag in class com.tnsai.prompt.strategy.EnhancedPrompt
- Section
- Usage - Search tag in class com.tnsai.prompt.strategy.EnhancedResponse
- Section
- Usage - Search tag in class com.tnsai.prompt.strategy.PromptEnhancer
- Section
- Usage - Search tag in class com.tnsai.spi.CheckpointerFactory
- Section
- Usage - Search tag in enum class com.tnsai.enums.AgentVariant
- Section
- Usage - Search tag in enum class com.tnsai.prompt.strategy.PromptStrategy
- Section
- Usage - Search tag in exception class com.tnsai.exceptions.TaskCompleteException
- Section
- Usage - Search tag in interface com.tnsai.agents.async.AsyncAgent
- Section
- Usage - Search tag in interface com.tnsai.agents.interrupt.InterruptibleAgent
- Section
- Usage - Search tag in interface com.tnsai.environment.Environment
- Section
- Usage - Search tag in interface com.tnsai.llm.LLMSpecSource
- Section
- Usage - Search tag in interface com.tnsai.parser.OutputParser
- Section
- Usage - Search tag in interface com.tnsai.prompt.PromptTemplate
- Section
- Usage - Search tag in interface com.tnsai.roles.export.RoleExporter
- Section
- Usage - Search tag in interface com.tnsai.spi.CognitiveModel
- Section
- Usage - Search tag in interface com.tnsai.spi.MessageBroker
- Section
- Usage - Search tag in interface com.tnsai.spi.ResilienceStrategy
- Section
- Usage - Search tag in interface com.tnsai.spi.ToolRegistry
- Section
- Usage - Search tag in package com.tnsai.observability.events
- Section
- Usage - Search tag in package com.tnsai.roles.export
- Section
- Usage - Search tag in record class com.tnsai.metadata.ContractConfig
- Section
- Usage - Search tag in record class com.tnsai.metadata.MCPToolConfig
- Section
- Usage - Search tag in record class com.tnsai.metadata.WebServiceConfig
- Section
- Usage - Search tag in record class com.tnsai.prompt.PromptSpec
- Section
- Usage - Search tag in record class com.tnsai.tools.ToolExample
- Section
- Usage Example - Search tag in annotation interface com.tnsai.agents.annotations.AgentIdentity
- Section
- Usage Example - Search tag in annotation interface com.tnsai.annotations.BeforeActionSpec
- Section
- Usage Example - Search tag in annotation interface com.tnsai.annotations.Header
- Section
- Usage Example - Search tag in annotation interface com.tnsai.roles.annotations.RoleDeclaration
- Section
- Usage Example - Search tag in class com.tnsai.agents.groups.AgentGroupBuilder
- Section
- Usage Example - Search tag in class com.tnsai.agents.groups.GroupRegistry
- Section
- Usage Example - Search tag in class com.tnsai.agents.lifecycle.IdleMonitor
- Section
- Usage Example - Search tag in class com.tnsai.agents.lifecycle.LifecycleManager
- Section
- Usage Example - Search tag in class com.tnsai.communication.AckResult
- Section
- Usage Example - Search tag in class com.tnsai.communication.AcknowledgedMessage
- Section
- Usage Example - Search tag in class com.tnsai.communication.DefaultMessageAcknowledger
- Section
- Usage Example - Search tag in class com.tnsai.context.assembler.TokenEstimator
- Section
- Usage Example - Search tag in class com.tnsai.context.assembler.UnifiedContextAssembler
- Section
- Usage Example - Search tag in class com.tnsai.context.decision.DecisionInput
- Section
- Usage Example - Search tag in class com.tnsai.context.decision.DecisionOutcome
- Section
- Usage Example - Search tag in class com.tnsai.context.decision.DecisionPolicy
- Section
- Usage Example - Search tag in class com.tnsai.context.decision.DecisionReasoning
- Section
- Usage Example - Search tag in class com.tnsai.context.decision.DecisionTrace
- Section
- Usage Example - Search tag in class com.tnsai.context.entity.Entity
- Section
- Usage Example - Search tag in class com.tnsai.context.entity.EntitySource
- Section
- Usage Example - Search tag in class com.tnsai.context.snapshot.ContextSnapshot
- Section
- Usage Example - Search tag in class com.tnsai.llm.ChatChunk
- Section
- Usage Example - Search tag in class com.tnsai.memory.MemoryStoreFactory
- Section
- Usage Example - Search tag in class com.tnsai.memory.strategy.HybridStrategy
- Section
- Usage Example - Search tag in class com.tnsai.memory.strategy.ManagedConversationMemory
- Section
- Usage Example - Search tag in class com.tnsai.memory.strategy.SlidingWindowStrategy
- Section
- Usage Example - Search tag in class com.tnsai.memory.strategy.SummaryStrategy
- Section
- Usage Example - Search tag in class com.tnsai.memory.strategy.TieredContextLoader
- Section
- Usage Example - Search tag in class com.tnsai.memory.strategy.TokenBudget
- Section
- Usage Example - Search tag in class com.tnsai.models.agent.Capability
- Section
- Usage Example - Search tag in class com.tnsai.models.agent.Plan
- Section
- Usage Example - Search tag in class com.tnsai.models.role.RoleIdentity
- Section
- Usage Example - Search tag in class com.tnsai.roles.metadata.RoleSpecExtractor
- Section
- Usage Example - Search tag in class com.tnsai.roles.registry.RoleRegistry
- Section
- Usage Example - Search tag in class com.tnsai.security.approval.ApprovalToken
- Section
- Usage Example - Search tag in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- Section
- Usage Example - Search tag in class com.tnsai.security.approval.InterruptService
- Section
- Usage Example - Search tag in enum class com.tnsai.context.snapshot.SnapshotTrigger
- Section
- Usage Example - Search tag in exception class com.tnsai.roles.registry.RoleAssignmentException
- Section
- Usage Example - Search tag in exception class com.tnsai.security.SecurityException
- Section
- Usage Example - Search tag in exception class com.tnsai.tools.spi.ToolException
- Section
- Usage Example - Search tag in interface com.tnsai.agents.groups.AgentGroup
- Section
- Usage Example - Search tag in interface com.tnsai.agents.groups.GroupEventBus
- Section
- Usage Example - Search tag in interface com.tnsai.communication.MessageAcknowledger
- Section
- Usage Example - Search tag in interface com.tnsai.context.decision.DecisionTraceStore
- Section
- Usage Example - Search tag in interface com.tnsai.context.entity.EntityResolver
- Section
- Usage Example - Search tag in interface com.tnsai.context.snapshot.SnapshotStore
- Section
- Usage Example - Search tag in interface com.tnsai.eval.hooks.EvalHook
- Section
- Usage Example - Search tag in interface com.tnsai.llm.LLMCapabilities
- Section
- Usage Example - Search tag in interface com.tnsai.memory.strategy.MemoryStrategy
- Section
- Usage Example - Search tag in interface com.tnsai.models.agent.BeliefRevisionStrategy
- Section
- Usage Example - Search tag in interface com.tnsai.models.agent.DesireConflictResolver
- Section
- Usage Example - Search tag in interface com.tnsai.planning.PlannerHandle
- Section
- Usage Example - Search tag in interface com.tnsai.reasoning.ReasoningStrategyHandle
- Section
- Usage Example - Search tag in interface com.tnsai.security.approval.ApprovalTokenStore
- Section
- Usage Example - Search tag in package com.tnsai.agents.annotations
- Section
- Usage Example - Search tag in package com.tnsai.exceptions
- Section
- Usage Example - Search tag in package com.tnsai.llm
- Section
- Usage Example - Search tag in package com.tnsai.memory
- Section
- Usage Example - Search tag in package com.tnsai.models.agent
- Section
- Usage Example - Search tag in package com.tnsai.models.chat
- Section
- Usage Example - Search tag in package com.tnsai.models.role
- Section
- Usage Example - Search tag in package com.tnsai.roles.annotations
- Section
- Usage Example - Search tag in package com.tnsai.state
- Section
- Usage Example - Search tag in record class com.tnsai.agents.groups.GroupMemberSpec
- Section
- Usage Example - Search tag in record class com.tnsai.agents.groups.GroupPolicy
- Section
- Usage Example - Search tag in record class com.tnsai.agents.groups.GroupTask
- Section
- Usage Example - Search tag in record class com.tnsai.context.decision.DecisionTrigger
- Section
- Usage Example - Search tag in record class com.tnsai.context.entity.EntityAttribute
- Section
- Usage Example - Search tag in record class com.tnsai.context.snapshot.SnapshotDiff
- Section
- Usage Example - Search tag in record class com.tnsai.models.agent.Communication
- Section
- Usage Examples - Search tag in annotation interface com.tnsai.annotations.VectorMemory
- Section
- Usage Examples - Search tag in class com.tnsai.actions.ActionExecutor
- Section
- Usage Examples - Search tag in class com.tnsai.actions.TypeConverter
- Section
- Usage Examples - Search tag in class com.tnsai.llm.ChatResponse
- Section
- Usage Examples - Search tag in class com.tnsai.models.agent.AgentIdentity
- Section
- Usage Examples - Search tag in class com.tnsai.models.agent.Belief
- Section
- Usage Examples - Search tag in class com.tnsai.models.agent.Intention
- Section
- Usage Examples - Search tag in class com.tnsai.protocols.models.Message
- Section
- Usage Examples - Search tag in record class com.tnsai.models.agent.Desire
- Section
- Usage Examples: - Search tag in class com.tnsai.utils.Validators
- Section
- Usage in BeforeAction - Search tag in class com.tnsai.actions.ActionParams
- Section
- Usage in Role - Search tag in annotation interface com.tnsai.annotations.LLMSpec
- Section
- Usage on Agent - Search tag in annotation interface com.tnsai.annotations.LLMSpec
- Section
- Usage on Classes - Search tag in annotation interface com.tnsai.annotations.EvalMetric
- Section
- Usage on Method - Search tag in annotation interface com.tnsai.annotations.InputGuardrail
- Section
- Usage on Method - Search tag in annotation interface com.tnsai.annotations.OutputGuardrail
- Section
- Usage on Method - Search tag in annotation interface com.tnsai.annotations.Security
- Section
- Usage on Method (Action-level) - Search tag in annotation interface com.tnsai.annotations.Resilience
- Section
- Usage on Methods - Search tag in annotation interface com.tnsai.annotations.EvalMetric
- Section
- Usage on Type - Search tag in annotation interface com.tnsai.annotations.Security
- Section
- Usage on Type (Role-level default) - Search tag in annotation interface com.tnsai.annotations.InputGuardrail
- Section
- Usage on Type (Role-level default) - Search tag in annotation interface com.tnsai.annotations.OutputGuardrail
- Section
- Usage on Type (Role-level default) - Search tag in annotation interface com.tnsai.annotations.Resilience
- Section
- Usage - Orchestrator - Search tag in annotation interface com.tnsai.annotations.Coordination
- Section
- Usage Pattern - Search tag in class com.tnsai.metadata.RoleSpecReader
- Section
- Usage - Simple - Search tag in class com.tnsai.llm.LLMResolver
- Section
- Usage with @Action - Search tag in annotation interface com.tnsai.annotations.MCPTool
- Section
- Usage with @Action - Search tag in annotation interface com.tnsai.annotations.WebService
- Section
- Usage - With Builder - Search tag in class com.tnsai.llm.LLMResolver
- Section
- Usage - Worker - Search tag in annotation interface com.tnsai.annotations.Coordination
- Section
- use() - Element in annotation interface com.tnsai.annotations.Knowledge
-
How this source reaches the model.
- use() - Method in record class com.tnsai.rag.KnowledgeEntry
-
Returns the value of the
userecord component. - USE_CACHE - Enum constant in enum class com.tnsai.annotations.Search.FallbackAction
-
Fall back to the expired cached result for the identical retrieval, rethrowing the failure when there is none.
- useBaseDirectory(ClassConfig.RunFile) - Static method in class com.tnsai.annotations.ClassConfig
-
Starts a new run as
ClassConfig.useBaseDirectory(Path)does, with theAgentssection of the run file the host read for it. - useBaseDirectory(Path) - Static method in class com.tnsai.annotations.ClassConfig
-
Starts a new run against a base directory.
- useBaseDirectory(Path, String, String) - Static method in class com.tnsai.annotations.ClassConfig
-
Starts a new run as
ClassConfig.useBaseDirectory(RunFile)does withRunFile.of(base, source, agents), so its keys match lazily. - usedSources() - Method in record class com.tnsai.context.entity.EntityResolutionResult
-
Returns the value of the
usedSourcesrecord component. - user(AccessSubject, AccessSubject, String, AuthorityScope) - Static method in class com.tnsai.security.InvocationContext
-
Host-owned human interaction boundary; the subject may be a stable anonymous chat identity.
- user(String) - Static method in interface com.tnsai.agents.interrupt.InterruptEvent
-
Creates a user interrupt with the given reason.
- USER - Enum constant in enum class com.tnsai.context.entity.EntityType
-
User entity (from auth, identity systems)
- USER - Enum constant in enum class com.tnsai.enums.ExecutionCaller
-
A human interaction, including work planned on that human's behalf.
- USER_ABORTED - Enum constant in enum class com.tnsai.hooks.events.StopReason
-
User aborted mid-operation (Ctrl-C, cancel button, API abort).
- USER_PREFERENCE - Enum constant in enum class com.tnsai.agents.variant.VariantSelector.SelectionReason
-
Adjusted based on user preference
- USER_REQUEST - Enum constant in enum class com.tnsai.context.decision.DecisionTrigger.TriggerType
-
Decision triggered by direct user request
- USER_REQUESTED - Enum constant in enum class com.tnsai.reliability.AbortReason
- USER_SLASH_COMMAND - Enum constant in enum class com.tnsai.events.SkillActivationEvent.Source
-
User typed
/skill-name [args]in chat. - userId() - Method in record class com.tnsai.agents.interrupt.InterruptEvent.UserInterrupt
-
Returns the value of the
userIdrecord component. - UserInterrupt(String) - Constructor for record class com.tnsai.agents.interrupt.InterruptEvent.UserInterrupt
- UserInterrupt(String, String) - Constructor for record class com.tnsai.agents.interrupt.InterruptEvent.UserInterrupt
- UserInterrupt(String, Instant, String, boolean) - Constructor for record class com.tnsai.agents.interrupt.InterruptEvent.UserInterrupt
-
Creates an instance of a
UserInterruptrecord class. - userInvocable() - Method in record class com.tnsai.skills.Skill
-
Returns the value of the
userInvocablerecord component. - userInvocable(boolean) - Method in class com.tnsai.skills.Skill.Builder
- userMessage() - Method in record class com.tnsai.hooks.events.PostChat
-
Returns the value of the
userMessagerecord component. - userMessage() - Method in record class com.tnsai.hooks.events.PreChat
-
Returns the value of the
userMessagerecord component. - userRequest(String, String) - Static method in record class com.tnsai.context.decision.DecisionTrigger
-
Creates a trigger from a user request.
- usesAnnotations(Class<?>) - Static method in class com.tnsai.roles.metadata.RoleSpecExtractor
- useTools(boolean) - Method in class com.tnsai.agents.async.ChatOptions.Builder
- utility() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Utility-based planning configuration.
- Utility - Annotation Interface in com.tnsai.annotations
-
Utility-based planning configuration for actions.
- UTILITY_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Math + hashing + datetime helpers.
- UUID - Enum constant in enum class com.tnsai.idempotency.KeyStrategy
-
Fresh ULID per call.
V
- @VectorMemory Support - Search tag in class com.tnsai.memory.AgentMemoryResolver
- Section
- valid() - Method in record class com.tnsai.agents.groups.MembershipManager.MembershipValidation
-
Returns the value of the
validrecord component. - validate() - Element in annotation interface com.tnsai.annotations.Contract
-
Whether to validate contracts at runtime.
- validate() - Method in record class com.tnsai.metadata.ContractSpec
-
Returns the value of the
validaterecord component. - validate(boolean) - Method in class com.tnsai.metadata.ContractSpec.Builder
- validate(Agent) - Method in interface com.tnsai.agents.groups.MembershipManager
-
Checks if an agent can join the group.
- validate(ValidationContext) - Method in interface com.tnsai.agents.validation.Validator
-
Inspect the agent configuration and return any issues detected.
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.ActionNameCollisionValidator
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.CapabilityClasspathValidator
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.ContractExpressionValidator
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.LLMCapabilityValidator
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.LLMHealthcheckValidator
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.LlmPresenceValidator
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.MCPServerReachabilityValidator
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.MemoryStoreReachabilityValidator
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.ResilienceConfigValidator
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.RolesPresentValidator
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.TenantScopeValidator
- validate(ValidationContext) - Method in class com.tnsai.agents.validation.validators.ToolApprovalValidator
- validate(ChatKnowledgeBinding, Object, String, List<KnowledgeEntry>, String) - Static method in class com.tnsai.rag.ChatKnowledgeBindingValidator
-
Checks a binding against the owner's declared knowledge.
- validate(Class<?>, List<KnowledgeEntry>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Checks every action of a class against the knowledge in its reach.
- validate(Class<?>, List<KnowledgeEntry>, Map<String, List<String>>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Like
KnowledgeDeclarations.validate(Class, List), with the knowledge of some actions given by name asKnowledgeDeclarations.forAction(Method, List, Map)takes it. - validate(Object) - Method in class com.tnsai.parser.OutputValidator
-
Validates the given object against its field constraints.
- validateAction(Method) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Checks what an action declares on its own: its type allows knowledge, each entry names a source once and sets no source member, and every member holds at most one value.
- validateAndConsume(String, String, String) - Method in interface com.tnsai.security.approval.ApprovalTokenStore
-
Validates the token binding and requires a successful consume.
- validateAndConsume(String, String, String) - Method in class com.tnsai.security.approval.InMemoryApprovalTokenStore
- validateConfiguration(Class<?>) - Method in interface com.tnsai.rag.RetrievalSpi
-
Validates the knowledge declarations on a target before that target can dispatch an action.
- validateConfiguration(Class<?>, List<KnowledgeEntry>, LLMClient) - Method in interface com.tnsai.rag.RetrievalSpi
-
Validates a target's knowledge once the knowledge around it is known: every action scope resolved against the target's own declarations plus
outer, and every DIRECT source measured against its budget. - validateConfiguration(Class<?>, List<KnowledgeEntry>, LLMClient, boolean) - Method in interface com.tnsai.rag.RetrievalSpi
-
Validates a target's knowledge as
RetrievalSpi.validateConfiguration(Class, java.util.List, com.tnsai.llm.LLMClient)does, for a host that locates FILE sources per run. - validateConfiguration(Class<?>, List<KnowledgeEntry>, LLMClient, Map<String, List<String>>) - Method in interface com.tnsai.rag.RetrievalSpi
-
Validates a target's knowledge as
RetrievalSpi.validateConfiguration(Class, java.util.List, com.tnsai.llm.LLMClient)does, with the knowledge of some actions given by name: an actionactionKnowledgenames sees the entries given there instead of the ones its@ActionSpecnames. - validateFully() - Method in class com.tnsai.agents.AgentBuilder
-
Run the full validator pipeline against the current builder state and return the resulting
ValidationReport. - validateInvariants() - Method in interface com.tnsai.actions.contracts.ActionContract
-
Runs before and after to ensure invariants hold.
- validateInvariants(ContractSpec, Map<String, Object>) - Method in class com.tnsai.actions.contracts.ContractValidator
-
Checks invariants (before and after execution).
- validateParameters() - Element in annotation interface com.tnsai.annotations.MCPTool
-
Whether to validate tool parameters against schema.
- validateParameters() - Method in record class com.tnsai.metadata.MCPToolConfig
-
Returns the value of the
validateParametersrecord component. - validatePostconditions(ContractSpec, Map<String, Object>, Object, Map<String, Object>) - Method in class com.tnsai.actions.contracts.ContractValidator
-
Checks postconditions after execution.
- validatePostConditions(ActionMetadata, Object) - Method in interface com.tnsai.actions.contracts.ActionContract
-
Runs after the action returns.
- validatePreconditions(ContractSpec, Map<String, Object>) - Method in class com.tnsai.actions.contracts.ContractValidator
-
Checks preconditions before execution.
- validatePreConditions(ActionMetadata, Map<String, Object>) - Method in interface com.tnsai.actions.contracts.ActionContract
-
Runs before the action is invoked.
- validateResponse(Role, String) - Method in class com.tnsai.communication.CommunicationEnforcer
-
Validates a response against communication constraints.
- validatesParameterNames() - Method in interface com.tnsai.guardrails.InputValidator
-
Returns whether this validator also protects parameter names before value validation.
- validatesParameterNames() - Method in class com.tnsai.guardrails.pii.PiiInputValidator
- validateSpec(Map<String, Object>) - Method in interface com.tnsai.spi.CheckpointerProvider
-
Validates the configuration without creating a Checkpointer.
- validateUnit(KnowledgeUnit, DocumentFormat) - Static method in class com.tnsai.rag.NormalizedDocumentChunker
-
Validates one explicit ingest unit against a concrete or AUTO format.
- validateVariables(Map<String, Object>) - Method in interface com.tnsai.prompt.PromptTemplate
-
Validates that all required variables are provided.
- VALIDATION - Enum constant in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
-
Validation or contract violations
- VALIDATION - Enum constant in enum class com.tnsai.rag.DocumentProcessingException.Stage
- VALIDATION - Enum constant in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Input validation failed
- VALIDATION_FAILURE - Enum constant in enum class com.tnsai.security.SecurityException.ViolationType
-
Input validation failure
- ValidationContext - Record Class in com.tnsai.agents.validation
-
Read-only snapshot of an
AgentBuilderstate passed to eachValidator. - ValidationContext(Optional<LLMClient>, List<Role>) - Constructor for record class com.tnsai.agents.validation.ValidationContext
-
Backwards-compatible 2-arg constructor — defaults every later-added field to its safe / empty value so existing validator test fixtures keep compiling.
- ValidationContext(Optional<LLMClient>, List<Role>, boolean) - Constructor for record class com.tnsai.agents.validation.ValidationContext
-
3-arg constructor — defaults
memoryStore,reachabilityTimeout, the V006 tool/filter flags,tenantId, andmcpServerUrls. - ValidationContext(Optional<LLMClient>, List<Role>, boolean, Duration) - Constructor for record class com.tnsai.agents.validation.ValidationContext
-
4-arg constructor — defaults
memoryStore, the V006 tool/filter flags,tenantId, andmcpServerUrls. - ValidationContext(Optional<LLMClient>, List<Role>, boolean, Optional<MemoryStore>, Duration) - Constructor for record class com.tnsai.agents.validation.ValidationContext
-
5-arg constructor (the pre-0.8.5 primary shape) — defaults the V006 tool/filter flags,
tenantId, andmcpServerUrlsso existing call sites keep compiling. - ValidationContext(Optional<LLMClient>, List<Role>, boolean, Optional<MemoryStore>, Duration, boolean, boolean) - Constructor for record class com.tnsai.agents.validation.ValidationContext
-
7-arg constructor (the V006 shape) — defaults
tenantIdandmcpServerUrlsso call sites added by issue #234 keep compiling. - ValidationContext(Optional<LLMClient>, List<Role>, boolean, Optional<MemoryStore>, Duration, boolean, boolean, Optional<String>) - Constructor for record class com.tnsai.agents.validation.ValidationContext
-
8-arg constructor (the V012 shape) — defaults
mcpServerUrlsso call sites added by issue #235 phase 2 keep compiling. - ValidationContext(Optional<LLMClient>, List<Role>, boolean, Optional<MemoryStore>, Duration, boolean, boolean, Optional<String>, Set<String>) - Constructor for record class com.tnsai.agents.validation.ValidationContext
-
Creates an instance of a
ValidationContextrecord class. - validationError(String, String) - Static method in exception class com.tnsai.tools.spi.ToolException
-
Create a validation error.
- ValidationException - Exception Class in com.tnsai.exceptions
-
Thrown when an action violates pre/post conditions or parameter contracts.
- ValidationException(String) - Constructor for exception class com.tnsai.exceptions.ValidationException
- ValidationException(String, Throwable) - Constructor for exception class com.tnsai.exceptions.ValidationException
- validationFailure(String, List<String>, String) - Static method in class com.tnsai.parser.ParseResult
-
Creates a failed parse result with validation errors.
- ValidationIssue - Record Class in com.tnsai.agents.validation
-
One detected configuration problem from
Validatorrun duringAgentBuilder.build()(issue #85). - ValidationIssue(Severity, String, String, Location, Optional<String>, Map<String, Object>) - Constructor for record class com.tnsai.agents.validation.ValidationIssue
-
Creates an instance of a
ValidationIssuerecord class. - ValidationIssue.Builder - Class in com.tnsai.agents.validation
- ValidationReport - Record Class in com.tnsai.agents.validation
-
Aggregate output of
AgentBuilder.build()pre-flight validation (issue #85). - ValidationReport(List<ValidationIssue>, List<ValidationIssue>, List<ValidationIssue>, Duration) - Constructor for record class com.tnsai.agents.validation.ValidationReport
-
Creates an instance of a
ValidationReportrecord class. - ValidationReport.Builder - Class in com.tnsai.agents.validation
- validator(OutputValidator) - Method in class com.tnsai.parser.JsonOutputParser.Builder
-
Sets a custom validator.
- Validator - Interface in com.tnsai.agents.validation
-
Pluggable pre-flight check run during
AgentBuilder.build()(issue #85). - validators() - Element in annotation interface com.tnsai.annotations.InputGuardrail
-
Validator classes to apply.
- validators() - Element in annotation interface com.tnsai.annotations.OutputGuardrail
-
Validator classes to apply.
- Validators - Class in com.tnsai.utils
-
Validation utility methods for null and empty checks.
- validFor() - Method in record class com.tnsai.accountability.AuthorityScope
-
Returns the value of the
validForrecord component. - value() - Method in record class com.tnsai.actions.model.ActionResponse
-
Returns the value of the
valuerecord component. - value() - Element in annotation interface com.tnsai.annotations.AfterActionSpec
-
The name of the action method this AfterAction belongs to.
- value() - Element in annotation interface com.tnsai.annotations.BeforeActionSpec
-
The name of the main action method that this pre-processor is linked to.
- value() - Element in annotation interface com.tnsai.annotations.Effect
-
The value to use in the operation.
- value() - Element in annotation interface com.tnsai.annotations.Header
-
Header value.
- value() - Element in annotation interface com.tnsai.annotations.LLMParams
- value() - Element in annotation interface com.tnsai.annotations.Norms
- value() - Element in annotation interface com.tnsai.annotations.OutputFormatSpec
-
The output format to use.
- value() - Element in annotation interface com.tnsai.annotations.PromptTemplates
-
Classpath resource path to the prompt template file.
- value() - Element in annotation interface com.tnsai.annotations.Utility
-
Expected value/benefit of this action.
- value() - Element in annotation interface com.tnsai.annotations.Variant
-
The variant to use for this action.
- value() - Method in record class com.tnsai.context.entity.EntityAttribute
-
Returns the value of the
valuerecord component. - value() - Method in record class com.tnsai.eval.hooks.EvalContext.MetricEvent
-
Returns the value of the
valuerecord component. - value() - Method in record class com.tnsai.identity.Attestation
-
Returns the value of the
valuerecord component. - value() - Element in annotation interface com.tnsai.output.annotations.Formatted
-
The output format to use for serialization.
- value() - Element in annotation interface com.tnsai.parser.OutputValidator.Max
- value() - Element in annotation interface com.tnsai.parser.OutputValidator.MaxLength
- value() - Element in annotation interface com.tnsai.parser.OutputValidator.Min
- value() - Element in annotation interface com.tnsai.parser.OutputValidator.MinLength
- value() - Element in annotation interface com.tnsai.parser.OutputValidator.Pattern
- value() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateValue
-
Returns the value of the
valuerecord component. - value() - Method in record class com.tnsai.state.Checkpointer.Write
-
Returns the value of the
valuerecord component. - valueAsString() - Method in record class com.tnsai.roles.metadata.RoleSpecExtractor.StateValue
- valueOf(String) - Static method in enum class com.tnsai.accountability.LiabilityClass
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.async.SessionManager.SessionState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.groups.GroupLifecycle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.groups.GroupPolicy.FailurePolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.groups.GroupPolicy.MemberSelectionStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.groups.GroupTask.Priority
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.groups.GroupTask.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.groups.MembershipManager.MemberHealth
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.groups.MembershipManager.MembershipAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.validation.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.variant.VariantSelector.SelectionReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.variant.VariantSelector.VariantPreference
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.agents.variant.VariantSpec.ToolSet
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Communication.Formality
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Communication.ResponseFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Communication.Tone
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Communication.Verbosity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Contract.InheritanceMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Coordination.Consensus.Strategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Coordination.CoordinationRole
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Coordination.NegotiationType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Coordination.TaskDistribution
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.DIDSpec.KeyType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Effect.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.EvalMetric.MetricCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.EventEmitter.Scope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.IdempotencyHint
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.InputGuardrail.ContentCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.InputGuardrail.FailureAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Knowledge.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Knowledge.Use
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.KnowledgePolicy.Presence
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Lifecycle.Phase
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.LLMSpec.Provider
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Memory.Conversation.Strategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Memory.Vector.Metric
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.MemorySpec.MemoryType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.MemorySpec.Persistence
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.MemorySpec.PruneStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.NormType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.OutputGuardrail.FailureAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.OutputGuardrail.OutputFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.OutputGuardrail.PIIType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.QualityGate.OnFail
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Resilience.RateLimit.Strategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Search.FallbackAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Search.QueryExpansion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Search.Strategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.Security.AuditLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.annotations.SideEffect
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.communication.AckMessageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.communication.AckResult.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.communication.CNPMessageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.communication.CommunicationViolationException.ViolationType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.communication.QueryMessageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.communication.SharedBlackboard.EntryType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.communication.SharedBlackboard.VoteType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.communication.TaskMessageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.context.assembler.TokenEstimator.ContentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.context.decision.DecisionOutcome.OutcomeStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.context.decision.DecisionTrigger.TriggerType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.context.entity.ConflictResolution
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.context.entity.EntityResolutionResult.ResolutionStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.context.entity.EntitySource.SourceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.context.entity.EntityType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.context.snapshot.SnapshotDiff.ChangeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.ActionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.agent.Formality
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.agent.Priority
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.agent.Tone
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.agent.Verbosity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.AgentVariant.Cost
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.AgentVariant.Quality
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.AgentVariant.Speed
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.AgentVariant
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.AuthType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.BuiltInTool
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.ExecutionCaller
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.HttpMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.LLMCapability
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.enums.role.ParamType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.events.ArtifactEvent.ArtifactType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.events.BDIUpdateEvent.BDIComponent
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.events.BDIUpdateEvent.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.events.RunEndEvent.RunStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.events.SkillActivationEvent.Source
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.events.StatusEvent.StatusType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.exceptions.KnowledgeNotReadyException.Problem
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.guardrails.GuardrailViolationException.Cause
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.guardrails.GuardrailViolationException.Stage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.hooks.events.AgentState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.hooks.events.IdleAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.hooks.events.NotificationKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.hooks.events.SessionCloseReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.hooks.events.SessionProtocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.hooks.events.StopReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.hooks.external.ScriptFailurePolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.hooks.HookFailurePolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.hooks.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.idempotency.IdempotencyException.IdempotencyConflict
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.idempotency.KeyStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.idempotency.RetryBehavior
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.invariants.InvariantViolationException.ViolationType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.llm.ChatChunk.ChunkType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.llm.ChatChunk.FinishReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.llm.LLMCapabilities.Modality
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.llm.LLMResolver.ResolutionSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.memory.strategy.MemoryTier
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.models.chat.AudioPart.AudioSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.models.chat.VideoPart.VideoSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.observability.errors.ErrorCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.observability.events.EventLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.output.OutputFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.prompt.ModelFamily
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.protocols.annotations.Debate.ConsensusStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.protocols.annotations.MessageHandler.ErrorStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.protocols.annotations.MessageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.protocols.callbacks.MessageCallbackDispatcher.FailureStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.protocols.models.Message.MessageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.protocols.transport.TransportMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.rag.ChunkContext
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.rag.DocumentFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.rag.DocumentProcessingException.Stage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.rag.KnowledgeUnit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.rag.RetrievalDiagnostics.CacheOutcome
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.rag.RetrievalException.Reason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.reliability.AbortReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.resilience.recovery.AgentHealthState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.resilience.recovery.RecoveryDecision.Action
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.security.AccessSubject.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.security.approval.ApprovalToken.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.security.approval.InterruptReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.security.approval.InterruptResult.Outcome
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.security.SecurityException.ViolationType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.skills.SkillResolverPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.spi.CognitiveModel.GoalStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.spi.CognitiveModel.IntentionStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.spi.ToolRegistry.ToolType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.timeout.TimeoutPolicy.Category
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.tools.SideEffect
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.tools.spi.ToolUserCanceledException.CancelReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.tools.ToolRiskLevel
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.tnsai.accountability.LiabilityClass
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.async.SessionManager.SessionState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.groups.GroupEvent.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.groups.GroupLifecycle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.groups.GroupPolicy.FailurePolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.groups.GroupPolicy.MemberSelectionStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.groups.GroupTask.Priority
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.groups.GroupTask.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.groups.MembershipManager.MemberHealth
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.groups.MembershipManager.MembershipAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.validation.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.variant.TaskComplexityAnalyzer.ComplexityLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.variant.VariantSelector.SelectionReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.variant.VariantSelector.VariantPreference
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.agents.variant.VariantSpec.ToolSet
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Communication.Formality
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Communication.ResponseFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Communication.Tone
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Communication.Verbosity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Contract.InheritanceMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Coordination.Consensus.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Coordination.CoordinationRole
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Coordination.NegotiationType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Coordination.TaskDistribution
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.DIDSpec.KeyType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Effect.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.EvalMetric.MetricCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.EventEmitter.Scope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.IdempotencyHint
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.InputGuardrail.ContentCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.InputGuardrail.FailureAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Knowledge.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Knowledge.Use
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.KnowledgePolicy.Presence
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Lifecycle.Phase
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.LLMSpec.Provider
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Memory.Conversation.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Memory.Vector.Metric
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.MemorySpec.MemoryType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.MemorySpec.Persistence
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.MemorySpec.PruneStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.NormType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.OutputGuardrail.FailureAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.OutputGuardrail.OutputFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.OutputGuardrail.PIIType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.QualityGate.OnFail
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Resilience.RateLimit.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Search.FallbackAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Search.QueryExpansion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Search.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.Security.AuditLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.annotations.SideEffect
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.communication.AckMessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.communication.AckResult.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.communication.CNPMessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.communication.CommunicationViolationException.ViolationType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.communication.QueryMessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.communication.SharedBlackboard.EntryType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.communication.SharedBlackboard.VoteType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.communication.TaskMessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.context.assembler.TokenEstimator.ContentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.context.decision.DecisionOutcome.OutcomeStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.context.decision.DecisionTrigger.TriggerType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.context.entity.ConflictResolution
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.context.entity.EntityResolutionResult.ResolutionStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.context.entity.EntitySource.SourceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.context.entity.EntityType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.context.snapshot.SnapshotDiff.ChangeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.context.snapshot.SnapshotTrigger
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.ActionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.agent.Formality
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.agent.Priority
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.agent.Tone
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.agent.Verbosity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.AgentVariant.Cost
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.AgentVariant.Quality
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.AgentVariant.Speed
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.AgentVariant
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.AuthType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.BuiltInTool
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.ExecutionCaller
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.HttpMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.LLMCapability
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.enums.role.ParamType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.events.ArtifactEvent.ArtifactType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.events.BDIUpdateEvent.BDIComponent
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.events.BDIUpdateEvent.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.events.RunEndEvent.RunStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.events.SkillActivationEvent.Source
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.events.StatusEvent.StatusType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.exceptions.ActionExecutionException.ErrorCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.exceptions.KnowledgeNotReadyException.Problem
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.exceptions.LLMException.ErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.guardrails.GuardrailViolationException.Cause
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.guardrails.GuardrailViolationException.Stage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.hooks.events.AgentState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.hooks.events.IdleAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.hooks.events.NotificationKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.hooks.events.SessionCloseReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.hooks.events.SessionProtocol
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.hooks.events.StopReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.hooks.external.ScriptFailurePolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.hooks.HookFailurePolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.hooks.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.idempotency.IdempotencyException.IdempotencyConflict
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.idempotency.KeyStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.idempotency.RetryBehavior
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.invariants.InvariantViolationException.ViolationType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.llm.ChatChunk.ChunkType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.llm.ChatChunk.FinishReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.llm.LLMCapabilities.Modality
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.llm.LLMResolver.ResolutionSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.memory.strategy.MemoryTier
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.models.chat.AudioPart.AudioSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.models.chat.VideoPart.VideoSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.observability.errors.ErrorCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.observability.events.EventLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.output.OutputFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.prompt.ModelFamily
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.prompt.strategy.PromptEnhancer.OutputFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.prompt.strategy.PromptStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.protocols.annotations.Debate.ConsensusStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.protocols.annotations.MessageHandler.ErrorStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.protocols.annotations.MessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.protocols.callbacks.MessageCallbackDispatcher.FailureStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.protocols.models.Message.MessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.protocols.transport.TransportMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.rag.ChunkContext
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.rag.DocumentFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.rag.DocumentProcessingException.Stage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.rag.KnowledgeUnit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.rag.RetrievalDiagnostics.CacheOutcome
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.rag.RetrievalException.Reason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.reliability.AbortReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.resilience.recovery.AgentHealthState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.resilience.recovery.RecoveryDecision.Action
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.security.AccessSubject.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.security.approval.ApprovalToken.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.security.approval.InterruptReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.security.approval.InterruptResult.Outcome
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.security.SecurityException.ViolationType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.skills.SkillResolverPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.spi.CognitiveModel.GoalStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.spi.CognitiveModel.IntentionStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.spi.ToolRegistry.ToolType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.timeout.TimeoutPolicy.Category
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.tools.SideEffect
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.tools.spi.ToolException.ErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.tools.spi.ToolUserCanceledException.CancelReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.tools.ToolRiskLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variable(String, Object) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- VariableChange(String, Object, Object, SnapshotDiff.ChangeType) - Constructor for record class com.tnsai.context.snapshot.SnapshotDiff.VariableChange
-
Creates an instance of a
VariableChangerecord class. - variableChanges() - Method in record class com.tnsai.context.snapshot.SnapshotDiff.DiffSummary
-
Returns the value of the
variableChangesrecord component. - variableChanges() - Method in record class com.tnsai.context.snapshot.SnapshotDiff
-
Returns the value of the
variableChangesrecord component. - variables(Map<String, Object>) - Method in class com.tnsai.agents.interrupt.AgentCheckpoint.Builder
- variables(Map<String, Object>) - Method in class com.tnsai.context.snapshot.ContextSnapshot.Builder
- variant() - Method in record class com.tnsai.agents.variant.VariantSelector.SelectionResult
-
Returns the value of the
variantrecord component. - variant(AgentVariant) - Method in class com.tnsai.agents.variant.VariantSpec.Builder
- Variant - Annotation Interface in com.tnsai.annotations
-
Overrides the agent's default variant for a specific action.
- VariantChangeEvent(AgentVariant, AgentVariant, String) - Constructor for record class com.tnsai.agents.variant.VariantManager.VariantChangeEvent
-
Creates an instance of a
VariantChangeEventrecord class. - VariantManager - Class in com.tnsai.agents.variant
-
Manages agent variants and handles runtime switching.
- VariantManager() - Constructor for class com.tnsai.agents.variant.VariantManager
-
Creates a manager with the default MEDIUM variant.
- VariantManager(AgentVariant) - Constructor for class com.tnsai.agents.variant.VariantManager
-
Creates a manager with the specified initial variant.
- VariantManager.Registration - Interface in com.tnsai.agents.variant
-
Handle returned by listener registration that allows unregistration.
- VariantManager.VariantChangeEvent - Record Class in com.tnsai.agents.variant
-
Event fired when variant changes.
- VariantManager.VariantStats - Class in com.tnsai.agents.variant
-
Statistics for a variant.
- VariantSelector - Class in com.tnsai.agents.variant
-
Intelligent variant selector for automatic quality tier selection.
- VariantSelector.Builder - Class in com.tnsai.agents.variant
-
Builder for VariantSelector.
- VariantSelector.SelectionReason - Enum Class in com.tnsai.agents.variant
-
Reasons for variant selection.
- VariantSelector.SelectionResult - Record Class in com.tnsai.agents.variant
-
Selection result with reasoning.
- VariantSelector.TokenBudget - Class in com.tnsai.agents.variant
-
Token budget for cost control.
- VariantSelector.VariantPreference - Enum Class in com.tnsai.agents.variant
-
User preference for quality/speed/cost trade-offs.
- VariantSelector.VariantStats - Class in com.tnsai.agents.variant
-
Statistics for a variant.
- VariantSpec - Class in com.tnsai.agents.variant
-
Configuration for an agent variant.
- VariantSpec.Builder - Class in com.tnsai.agents.variant
- VariantSpec.ToolSet - Enum Class in com.tnsai.agents.variant
-
Tool set levels.
- VariantStats() - Constructor for class com.tnsai.agents.variant.VariantSelector.VariantStats
- VariantStats(AgentVariant) - Constructor for class com.tnsai.agents.variant.VariantManager.VariantStats
- vector() - Element in annotation interface com.tnsai.annotations.Memory
-
Vector memory configuration.
- VECTOR - Enum constant in enum class com.tnsai.annotations.MemorySpec.MemoryType
-
Vector-based semantic memory
- VectorIndex - Interface in com.tnsai.memory.advanced
-
Storage backend for
VectorMemoryStore. - VectorMemory - Annotation Interface in com.tnsai.annotations
-
Configures vector memory for an Agent class.
- VectorMemoryStore - Class in com.tnsai.memory.advanced
-
In-memory vector store for semantic search over memory entries.
- VectorMemoryStore(EmbeddingFunction) - Constructor for class com.tnsai.memory.advanced.VectorMemoryStore
-
Creates a new in-memory vector memory store.
- VectorMemoryStore(EmbeddingFunction, VectorIndex) - Constructor for class com.tnsai.memory.advanced.VectorMemoryStore
-
Creates a store over an explicit backend.
- VectorSearchMemoryStore - Class in com.tnsai.memory.vector
-
Conversation
MemoryStorewhoseVectorSearchMemoryStore.search(java.lang.String, int)is backed by aVectorMemoryStoreinstead of TF-IDF. - VectorSearchMemoryStore(MemoryStore, VectorMemoryStore) - Constructor for class com.tnsai.memory.vector.VectorSearchMemoryStore
- VectorStoreProvider - Interface in com.tnsai.memory.vector
-
SPI matched against
@VectorMemory(provider = "..."). - VectorStoreProviderRegistry - Class in com.tnsai.memory.vector
-
ServiceLoader lookup for
VectorStoreProvider. - VERBOSE - Enum constant in enum class com.tnsai.annotations.Communication.Verbosity
- verbosity() - Element in annotation interface com.tnsai.annotations.Communication.Style
-
Verbosity level.
- verbosity() - Element in annotation interface com.tnsai.annotations.CommunicationStyle
-
The verbosity level of communication.
- verbosity() - Method in record class com.tnsai.models.agent.Communication
-
Returns the value of the
verbosityrecord component. - Verbosity - Enum Class in com.tnsai.enums.agent
-
Represents the verbosity level of agent communication.
- Verification - Search tag in class com.tnsai.identity.LocalIdentityProvider
- Section
- VerificationMethod() - Constructor for class com.tnsai.identity.DIDDocument.VerificationMethod
- verificationQuestions(int) - Method in class com.tnsai.prompt.strategy.PromptEnhancer.Builder
-
Sets number of verification questions for CoVe strategy.
- verify(String, byte[]) - Method in interface com.tnsai.identity.AgentPrincipalProvider
-
Verify
signatureattests toidaccording to this provider's trust root. - verify(String, byte[]) - Method in class com.tnsai.identity.LocalIdentityProvider
- version - Variable in class com.tnsai.agents.init.AgentInitializer.InitializationResult
- version() - Method in class com.tnsai.agents.Agent
-
Returns the agent version from @AgentSpec (default: "1.0.0").
- version() - Element in annotation interface com.tnsai.agents.annotations.AgentIdentity
-
Version of this agent definition.
- version() - Element in annotation interface com.tnsai.annotations.AgentSpec
-
Agent version (semantic versioning).
- version() - Element in annotation interface com.tnsai.annotations.RoleSpec
-
Role version (semantic versioning).
- version() - Method in interface com.tnsai.identity.AgentPrincipal
-
Version stamp that changes when the agent's behaviour changes — a new system prompt, a new tool catalog, a new underlying LLM model.
- version() - Method in record class com.tnsai.prompt.PromptSpec
-
Returns the value of the
versionrecord component. - version() - Method in interface com.tnsai.rag.ContentExtractor
-
Returns the provider version used by index fingerprints.
- version() - Element in annotation interface com.tnsai.roles.annotations.RoleDeclaration
-
Version of this role definition.
- version() - Method in record class com.tnsai.roles.export.ExportedRole
-
Returns the value of the
versionrecord component. - version(DocumentFormat) - Method in class com.tnsai.rag.ContentExtractorRegistry
-
Returns the registered extractor version for a concrete format.
- version(DocumentInput, ExtractionContext) - Method in class com.tnsai.rag.ContentExtractorRegistry
-
Returns the registered provider version for a concrete input format.
- version(String) - Method in class com.tnsai.agents.AgentBuilder
-
Sets the agent version — programmatic parity for
AgentSpec.version()(TNS-534). - version(String) - Method in class com.tnsai.prompt.PromptSpec.Builder
- VERY_FORMAL - Enum constant in enum class com.tnsai.annotations.Communication.Formality
- VERY_INFORMAL - Enum constant in enum class com.tnsai.annotations.Communication.Formality
- VICKREY - Enum constant in enum class com.tnsai.annotations.Coordination.NegotiationType
-
Vickrey - sealed bid, second-price.
- VIDEO - Enum constant in enum class com.tnsai.llm.LLMCapabilities.Modality
- VideoPart - Record Class in com.tnsai.models.chat
-
Represents a video part of a message.
- VideoPart(String, String, VideoPart.VideoSource) - Constructor for record class com.tnsai.models.chat.VideoPart
-
Creates an instance of a
VideoPartrecord class. - VideoPart.VideoSource - Enum Class in com.tnsai.models.chat
-
Video source type.
- Viewer-bound views and per-operation ACL - Search tag in class com.tnsai.memory.SharedMemoryStore
- Section
- viewFor(String) - Method in class com.tnsai.memory.SharedMemoryStore
-
Creates a view of this shared store bound to the given agent.
- VIOLENCE - Enum constant in enum class com.tnsai.annotations.InputGuardrail.ContentCategory
- VISION - Enum constant in enum class com.tnsai.enums.LLMCapability
-
Model accepts image inputs (multimodal).
- VISION_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Image analysis via Google Gemini 2.0 Flash.
- visionNotSupported(String, String) - Static method in exception class com.tnsai.exceptions.LLMCapabilityException
-
Factory for vision not supported.
- VISUALIZATION_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Lightweight visualisation primitives.
- vote(String, String, SharedBlackboard.VoteType) - Method in class com.tnsai.communication.SharedBlackboard
-
Casts a vote on an entry.
- VoteResult(int, int, int, Set<String>) - Constructor for record class com.tnsai.communication.SharedBlackboard.VoteResult
-
Creates an instance of a
VoteResultrecord class. - voters() - Method in record class com.tnsai.communication.SharedBlackboard.VoteResult
-
Returns the value of the
votersrecord component. - votingMember() - Element in annotation interface com.tnsai.annotations.Coordination
-
Whether agent participates in voting.
- votingWeight() - Element in annotation interface com.tnsai.annotations.Coordination
-
Voting weight for consensus (1-10).
W
- Walk semantics - Search tag in class com.tnsai.prompt.ProjectContextLoader
- Section
- WARN - Enum constant in enum class com.tnsai.annotations.InputGuardrail.FailureAction
-
Log warning and continue
- WARN - Enum constant in enum class com.tnsai.hooks.events.IdleAction
-
Send the client a "still there?"
- WARN - Enum constant in enum class com.tnsai.observability.events.EventLevel
- warning(String, String) - Static method in record class com.tnsai.agents.validation.ValidationIssue
- WARNING - Enum constant in enum class com.tnsai.agents.validation.Severity
-
Likely-but-not-certain problem — build proceeds; logged at WARN.
- warnings() - Method in record class com.tnsai.agents.validation.ValidationReport
-
Returns the value of the
warningsrecord component. - warnings() - Method in record class com.tnsai.rag.RetrievalDiagnostics
-
Returns the value of the
warningsrecord component. - wasBudgetConstrained() - Method in record class com.tnsai.agents.variant.VariantSelector.SelectionResult
-
Returns true if budget affected selection.
- wasOverridden() - Method in record class com.tnsai.agents.variant.VariantSelector.SelectionResult
-
Returns true if selection was overridden by annotation.
- WEAVIATE_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Weaviate vector-search.
- WEB_SCRAPING_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Heavyweight scraping for JS-rendered pages.
- WEB_SEARCH_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
Ten free / freemium web-search providers in one toolkit.
- WEB_SERVICE - Enum constant in enum class com.tnsai.enums.ActionType
- WEB_SERVICE - Enum constant in enum class com.tnsai.spi.ToolRegistry.ToolType
- WEB_SERVICE Action (REST API) - Search tag in annotation interface com.tnsai.annotations.ActionSpec
- Section
- webService() - Element in annotation interface com.tnsai.annotations.ActionSpec
-
Web service configuration for WEB_SERVICE actions.
- WebService - Annotation Interface in com.tnsai.annotations
-
Configures web service action execution.
- webServiceConfig() - Method in class com.tnsai.metadata.ActionMetadata
-
Returns a grouped view of all web service configuration.
- WebServiceConfig - Record Class in com.tnsai.metadata
-
Grouped configuration for WEB_SERVICE actions.
- WebServiceConfig(String, HttpMethod, ParamType, int, String, String, boolean, int, int, AuthType, String, String, String, String, Header[]) - Constructor for record class com.tnsai.metadata.WebServiceConfig
-
Creates an instance of a
WebServiceConfigrecord class. - WebServiceExecutor - Search tag in package com.tnsai.actions.executors
- Section
- WebServiceExecutor - Class in com.tnsai.actions.executors
-
Executor for WEB_SERVICE actions.
- WebServiceExecutor() - Constructor for class com.tnsai.actions.executors.WebServiceExecutor
- WebServiceExecutor(IdempotencyStore) - Constructor for class com.tnsai.actions.executors.WebServiceExecutor
-
Constructor with explicit
IdempotencyStore. - WEBSOCKET - Enum constant in enum class com.tnsai.hooks.events.SessionProtocol
-
WebSocket — duplex, long-lived.
- WEBSOCKET - Enum constant in enum class com.tnsai.protocols.transport.TransportMode
-
WebSocket based bidirectional communication.
- weight() - Element in annotation interface com.tnsai.annotations.Utility
-
Weight multiplier for this action's utility score.
- weighted() - Element in annotation interface com.tnsai.annotations.Coordination.Consensus
-
Whether to use weighted voting.
- WEIGHTED_CONFIDENCE - Enum constant in enum class com.tnsai.protocols.annotations.Debate.ConsensusStrategy
-
Weighted by agent confidence scores.
- What "same fingerprint" means - Search tag in class com.tnsai.observability.errors.DedupingErrorReportPublisher
- Section
- What goes in a record - Search tag in record class com.tnsai.accountability.Action
- Section
- What it produces - Search tag in class com.tnsai.identity.LocalIdentityProvider
- Section
- What this validator currently checks - Search tag in class com.tnsai.agents.validation.validators.TenantScopeValidator
- Section
- WHEN_CONFIGURED - Enum constant in enum class com.tnsai.annotations.KnowledgePolicy.Presence
-
The source is read only when a configuration points it elsewhere.
- whenToUse() - Method in record class com.tnsai.skills.Skill
-
Returns the value of the
whenToUserecord component. - whenToUse(String) - Method in class com.tnsai.skills.Skill.Builder
- When to Use - Search tag in annotation interface com.tnsai.annotations.CompletionSignal
- Section
- When to Use - Search tag in annotation interface com.tnsai.annotations.Ephemeral
- Section
- When to Use - Search tag in annotation interface com.tnsai.annotations.Utility
- Section
- where() - Method in class com.tnsai.annotations.ClassConfig.Level
- where(Class<?>) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Where a class declares its knowledge as a whole, for the rules over the whole list:
@AgentSpec onthe class,@RoleSpec onit, or@RoleSpec and @AgentSpec ona class that is both, thenwitheach configuration file that gives it knowledge. - where(Class<?>, String) - Static method in class com.tnsai.rag.KnowledgeDeclarations
-
Where an agent class's knowledge is declared when
overridesWheregives entries over it, asKnowledgeDeclarations.declared(Class, List, String)layers them:KnowledgeDeclarations.where(Class)andoverridesWhere, oroverridesWherealone for a class without@AgentSpec. - Which types are served - Search tag in annotation interface com.tnsai.annotations.Knowledge
- Section
- WHITESPACE_HEAVY - Enum constant in enum class com.tnsai.context.assembler.TokenEstimator.ContentType
-
Heavily whitespace-padded content.
- Who sees what - Search tag in annotation interface com.tnsai.annotations.Knowledge
- Section
- Why a broker - Search tag in interface com.tnsai.payment.PaymentBroker
- Section
- Why a marker, not a base-interface default method - Search tag in interface com.tnsai.spi.Healthcheckable
- Section
- Why a marker, not a method - Search tag in interface com.tnsai.spi.TenantAware
- Section
- Why a separate primitive - Search tag in interface com.tnsai.identity.AgentPrincipal
- Section
- whyBad() - Element in annotation interface com.tnsai.annotations.ToolExample
-
Explanation for negative examples - why this is wrong.
- Why Capabilities? - Search tag in interface com.tnsai.llm.LLMCapabilities
- Section
- Why in-memory in Phase 1 - Search tag in class com.tnsai.resilience.ResilienceMetrics
- Section
- Why JSON - Search tag in class com.tnsai.reliability.FilesystemCheckpointStore
- Section
- Why this exists - Search tag in annotation interface com.tnsai.capabilities.Capability
- Section
- Why this is build-time rather than runtime-discovered - Search tag in class com.tnsai.agents.validation.validators.ToolApprovalValidator
- Section
- Why this SPI exists - Search tag in interface com.tnsai.spi.McpClientFactory
- Section
- Why thread-local + MDC - Search tag in class com.tnsai.observability.events.AgentContext
- Section
- windowMs() - Element in annotation interface com.tnsai.annotations.Resilience.RateLimit
-
Time window in milliseconds.
- withAgent(String, String) - Method in record class com.tnsai.observability.events.EventContext
- withAnalyzer(TaskComplexityAnalyzer) - Method in class com.tnsai.agents.variant.VariantSelector.Builder
-
Sets a custom complexity analyzer.
- With Approval Token - Search tag in class com.tnsai.actions.ActionExecutor
- Section
- withAssignee(String) - Method in record class com.tnsai.agents.groups.GroupTask
-
Creates a copy with assignee.
- withAssistantResponse(String) - Method in record class com.tnsai.hooks.events.PostChat
-
Build a copy with
newResponsereplacingPostChat.assistantResponse. - withAttribute(EntityAttribute) - Method in class com.tnsai.context.entity.Entity
-
Creates a new entity with an updated attribute.
- withBelief(CognitiveModel.Belief) - Method in class com.tnsai.spi.CognitiveModel.BDIModelBuilder
- withBelief(String) - Method in class com.tnsai.spi.CognitiveModel.BDIModelBuilder
- withBudget(VariantSelector.TokenBudget) - Method in class com.tnsai.agents.variant.VariantSelector.Builder
-
Sets a token budget constraint.
- withCacheUsage(String, List<ChatResponse.ToolCall>, int, int, int, int) - Static method in class com.tnsai.llm.ChatResponse
-
Creates a response with cache usage metrics.
- withChunk(ChatChunk) - Method in record class com.tnsai.hooks.events.OnChunk
-
Build a copy with
newChunkreplacingOnChunk.chunk. - withConfidence(double) - Method in record class com.tnsai.context.entity.EntityAttribute
-
Creates a new attribute with updated confidence.
- withConfidence(double) - Method in class com.tnsai.memory.strategy.MemoryEntry
- withConfidence(double) - Method in class com.tnsai.models.agent.Belief
-
Creates a new belief with updated confidence.
- withConfidence(String, Object, String, double) - Static method in record class com.tnsai.context.entity.EntityAttribute
-
Creates an attribute with specified confidence.
- withContract(ContractSpec) - Method in record class com.tnsai.metadata.ActionConfig
-
Returns a copy of this config with the given
ContractSpecattached — the programmatic equivalent of annotating the action method with@Contract(TNS-637). - withDailyLimit(long) - Method in class com.tnsai.agents.variant.VariantSelector.Builder
-
Sets a daily token limit budget.
- withDetails(String, String, String, Map<String, Object>) - Static method in record class com.tnsai.events.ErrorEvent
-
Creates an error event with details.
- withEmbedding(float[]) - Method in class com.tnsai.knowledge.Document
-
Creates a copy of this document with a new embedding.
- withExamples(boolean) - Method in class com.tnsai.schema.ToolSchemaGenerator
-
Sets whether to include examples in generated schemas.
- withFailure(Throwable) - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Build a failure-outcome record.
- withGoal(CognitiveModel.Goal) - Method in class com.tnsai.spi.CognitiveModel.BDIModelBuilder
- withGoal(String) - Method in class com.tnsai.spi.CognitiveModel.BDIModelBuilder
- withGroup(String) - Method in record class com.tnsai.observability.events.EventContext
- withHeaders(Map<String, String>) - Method in record class com.tnsai.hooks.events.SessionStart
-
Build a copy with
newHeadersreplacingSessionStart.headers. - withHealth(MembershipManager.MemberHealth) - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns a new MemberInfo with updated health.
- withHeartbeat(Instant) - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns a new MemberInfo with updated heartbeat.
- withHistoryLimit(int) - Static method in class com.tnsai.memory.strategy.TokenBudget
-
Creates a budget with a specific history limit.
- withIdentityDefaults(RetrievalScope, String) - Method in record class com.tnsai.rag.ChatRetrievalContext
-
Fills missing scope components and agent identity from the active agent entry context without overriding values supplied by the application.
- withInputGuardrail(InputGuardrailConfig) - Method in record class com.tnsai.metadata.ActionConfig
-
Returns a copy of this config with the given per-action input guardrail (TNS-643) — the programmatic equivalent of a method-level
@InputGuardrail. - withLearning(boolean) - Method in class com.tnsai.agents.variant.VariantSelector.Builder
-
Enables or disables learning from history.
- withManager(AgentCommunicationManager) - Method in class com.tnsai.agents.hierarchy.HierarchyBuilder
-
Uses a custom communication manager instead of creating a new one.
- withMetadata(String, Map<String, Object>) - Static method in exception class com.tnsai.exceptions.TaskCompleteException
-
Creates a completion with metadata.
- withModel(String) - Method in class com.tnsai.agents.variant.VariantSpec
-
Creates a copy with a different model.
- withoutAttribute(String) - Method in class com.tnsai.context.entity.Entity
-
Creates a new entity with an attribute removed.
- withOutput(String, String, String) - Static method in record class com.tnsai.tools.ToolExample
-
Creates a tool example with expected output.
- withOutputGuardrail(OutputGuardrailConfig) - Method in record class com.tnsai.metadata.ActionConfig
-
Returns a copy of this config with the given per-action output guardrail (TNS-643) — the programmatic equivalent of a method-level
@OutputGuardrail. - withPath(String) - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Returns a copy of this declaration with only the location replaced.
- withPreference(VariantSelector.VariantPreference) - Method in class com.tnsai.agents.variant.VariantSelector.Builder
-
Sets the user preference.
- withProvenance(String, String) - Method in class com.tnsai.memory.strategy.MemoryEntry
- withReachabilityChecks(boolean) - Method in class com.tnsai.agents.AgentBuilder
-
Enable opt-in reachability probes during
AgentBuilder.build()(issue #85 phase 2a). - withReadTimeout(long, TimeUnit) - Static method in class com.tnsai.utils.HttpClientFactory
-
Creates a new client with custom read timeout only.
- withRequest(ActionRequest) - Method in record class com.tnsai.hooks.events.PreAction
-
Build a copy with
newRequestreplacingPreAction.request. - withResponse(ActionResponse) - Method in record class com.tnsai.hooks.events.PostAction
-
Build a copy with
newResponsereplacingPostAction.response. - withResult(Object) - Method in record class com.tnsai.agents.groups.GroupTask
-
Creates a copy with result.
- withResult(String, Object) - Static method in exception class com.tnsai.exceptions.TaskCompleteException
-
Creates a successful completion with result.
- withRole(String) - Method in record class com.tnsai.observability.events.EventContext
-
Returns a new context with the given field overridden.
- withSelection(Knowledge.Type, String, KnowledgeUnit) - Method in record class com.tnsai.rag.KnowledgeSourceConfig
-
Copies this configuration with optional type, path and unit selections.
- withSource(String) - Method in class com.tnsai.models.agent.Belief
-
Creates a new belief with updated source.
- withSpec(String, Object) - Method in class com.tnsai.communication.AgentMessage
-
Creates a new message with additional metadata.
- withSpec(String, String, Map<String, Object>, Map<String, Object>) - Static method in record class com.tnsai.events.ApprovalRequestEvent
-
Creates an approval request with metadata for UI customization.
- withStatus(GroupTask.Status) - Method in record class com.tnsai.agents.groups.GroupTask
-
Creates a copy with new status.
- withStrategy(PromptStrategy) - Static method in class com.tnsai.prompt.strategy.PromptEnhancer
-
Creates an enhancer with a single strategy.
- withSuccess(String) - Method in record class com.tnsai.accountability.AgentLiabilityRecord
-
Build a successful-outcome record.
- withSuggestedAction(IdleAction) - Method in record class com.tnsai.hooks.events.OnSessionIdle
-
Build a copy with
newActionreplacingOnSessionIdle.suggestedAction. - withTaskCompleted() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns a new MemberInfo with decremented active tasks.
- withTaskStarted() - Method in record class com.tnsai.agents.groups.MembershipManager.MemberInfo
-
Returns a new MemberInfo with incremented active tasks.
- withTimeout(long, TimeUnit) - Static method in class com.tnsai.utils.HttpClientFactory
-
Creates a new client with custom timeout for all operations.
- withTimeout(String, String, Map<String, Object>, long) - Static method in record class com.tnsai.events.ApprovalRequestEvent
-
Creates an approval request with custom timeout.
- withTimeouts(long, long, long, TimeUnit) - Static method in class com.tnsai.utils.HttpClientFactory
-
Creates a new client with custom timeouts for each operation.
- withToolCalls(String, List<ChatResponse.ToolCall>) - Static method in class com.tnsai.llm.ChatResponse
- withTTL(String, double, String, Duration) - Static method in class com.tnsai.models.agent.Belief
-
Creates a belief with a TTL (time-to-live).
- withUntrustedContextPolicy(String) - Static method in class com.tnsai.rag.RetrievedContextRenderer
-
Adds the canonical untrusted-context policy to a request system prompt.
- withUsage(String, List<ChatResponse.ToolCall>, int, int) - Static method in class com.tnsai.llm.ChatResponse
-
Creates a response with usage metrics.
- withUserMessage(String) - Method in record class com.tnsai.hooks.events.PreChat
-
Build a copy with
newUserMessagereplacingPreChat.userMessage. - withVariant(AgentVariant) - Method in class com.tnsai.agents.variant.VariantSpec
-
Creates a copy with a different variant.
- WORK_BLOCKED - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- WORK_COMPLETED - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- WORK_IN_PROGRESS - Enum constant in enum class com.tnsai.communication.SharedBlackboard.EntryType
- WORKER - Enum constant in enum class com.tnsai.annotations.Coordination.CoordinationRole
-
Executes tasks from orchestrator
- workers() - Element in annotation interface com.tnsai.annotations.Coordination
-
Worker agent IDs (for orchestrators).
- WORKING - Enum constant in enum class com.tnsai.annotations.MemorySpec.MemoryType
-
Key-value working memory
- WORKING - Enum constant in enum class com.tnsai.memory.strategy.MemoryTier
-
Raw observations, tool outputs, chat exchanges.
- workspace() - Method in record class com.tnsai.memory.MemoryNamespace
-
Returns the value of the
workspacerecord component. - wrap(ErrorReportPublisher) - Static method in class com.tnsai.observability.errors.DedupingErrorReportPublisher
-
Helper for callers building a default pipeline:
DedupingErrorReportPublisher.wrap(new Slf4jErrorReportPublisher())reads more naturally than the constructor in fluent code. - wrap(OutputParser<T>) - Static method in class com.tnsai.parser.RetryableParser
-
Creates a builder wrapping the given parser.
- wrap(Runnable) - Static method in class com.tnsai.observability.events.AgentContext
-
Captures the current context and returns a
Runnablethat runstaskwith that context applied on whatever thread executes it. - wrap(Runnable) - Static method in class com.tnsai.security.InvocationContext
- wrap(Throwable) - Static method in exception class com.tnsai.exceptions.TnsAIException
-
Wrap an arbitrary throwable in a
TnsAIExceptionso it carries a framework error code, retryable flag, and (via subclassing) flows uniformly throughErrorEmitter. - wrap(Callable<T>) - Static method in class com.tnsai.observability.events.AgentContext
-
Callable variant of
AgentContext.wrap(Runnable). - wrap(Callable<T>) - Static method in class com.tnsai.security.InvocationContext
-
Captures the current provenance and restores worker state on success, failure or cancellation.
- Write(String, Object, String) - Constructor for record class com.tnsai.state.Checkpointer.Write
-
Creates an instance of a
Writerecord class. - WRITE - Enum constant in enum class com.tnsai.annotations.SideEffect
-
Mutates state inside the framework or on a system the framework directly controls.
X
- XLSX - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
Office Open XML spreadsheet.
- XML - Enum constant in enum class com.tnsai.annotations.Communication.ResponseFormat
- XML - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.OutputFormat
- XML - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
XML document.
- XML_TOOLS - Enum constant in enum class com.tnsai.enums.BuiltInTool
-
XPath query against XML.
Y
- yaml() - Method in class com.tnsai.parser.FormatAwareOutputParser.Builder
- yaml(Class<T>) - Static method in class com.tnsai.parser.FormatAwareOutputParser
- YAML - Enum constant in enum class com.tnsai.annotations.OutputGuardrail.OutputFormat
- YAML - Enum constant in enum class com.tnsai.output.OutputFormat
-
YAML (YAML Ain't Markup Language).
- YAML - Enum constant in enum class com.tnsai.rag.DocumentFormat
-
YAML document.
- YamlOutputSerializer - Class in com.tnsai.output.impl
-
YAML output serializer.
- YamlOutputSerializer() - Constructor for class com.tnsai.output.impl.YamlOutputSerializer
- YamlRoleExporter - Class in com.tnsai.roles.export
-
Exports Role definitions to YAML format.
- YamlRoleExporter() - Constructor for class com.tnsai.roles.export.YamlRoleExporter
-
Creates a YamlRoleExporter with default indentation.
- YamlRoleExporter(int) - Constructor for class com.tnsai.roles.export.YamlRoleExporter
-
Creates a YamlRoleExporter with custom indentation.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form