Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- action() - Method in record class com.tnsai.norms.NormEntry
-
Returns the value of the
actionrecord component. - action() - Method in record class com.tnsai.norms.NormViolation
-
Returns the value of the
actionrecord component. - action(TransitionAction) - Method in class com.tnsai.fsm.Transition.Builder
-
Sets the transition action.
- action(PlanningAction) - Method in class com.tnsai.planning.UtilityAIPlanner.Builder
- action(String) - Method in class com.tnsai.reasoning.react.ReActStep.Builder
- actionHandler(ActionHandler) - Method in class com.tnsai.reasoning.react.ReActExecutor.Builder
-
Sets the action handler for executing actions identified during reasoning.
- ActionHandler - Interface in com.tnsai.reasoning.react
-
Handles action execution in a ReAct loop.
- actionInput(String) - Method in class com.tnsai.reasoning.react.ReActStep.Builder
- actionName() - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.TrackedResult
-
Returns the value of the
actionNamerecord component. - actionName() - Method in record class com.tnsai.planning.llm.LLMPlanStep
-
Returns the value of the
actionNamerecord component. - actionName() - Method in exception class com.tnsai.planning.PlanningFailureException
-
Returns the action the failure concerns: the one whose precondition search failed, or — for
PlanningFailureException.Reason.PRECONDITION_STALE— the planned step that was refused. - actions(List<PlanningAction>) - Method in class com.tnsai.planning.UtilityAIPlanner.Builder
- AdaptivePromptEnricher - Class in com.tnsai.learning
-
Enriches system prompts with learned rules from
FeedbackLearner. - AdaptivePromptEnricher(FeedbackLearner, FeedbackStore) - Constructor for class com.tnsai.learning.AdaptivePromptEnricher
-
Creates an enricher with the given feedback learner and store.
- AdaptiveReplanEngine - Class in com.tnsai.planning.llm
-
Executes LLM-generated plans with adaptive replanning on failure.
- AdaptiveReplanEngine.Builder - Class in com.tnsai.planning.llm
-
Builder for
AdaptiveReplanEngine. - addAssistantMessage(String) - Method in class com.tnsai.session.AgentSession
-
Adds an assistant message turn.
- addChild(String, String) - Method in class com.tnsai.reasoning.ThoughtNode
-
Creates a child node.
- addChild(String, String, GoTOperation) - Method in class com.tnsai.reasoning.got.GoTNode
- additionalContext(String) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner.Builder
-
Sets additional context to include in the planning prompt.
- addListener(StateMachineListener) - Method in class com.tnsai.fsm.StateMachine
-
Adds a listener.
- addMetadata(String, Object) - Method in class com.tnsai.session.AgentSession
-
Adds metadata to the session.
- addNorm(NormEntry) - Method in class com.tnsai.norms.NormEngine
-
Adds a norm dynamically at runtime.
- addReloadListener(Consumer<PromptTemplate>) - Method in class com.tnsai.prompt.PromptRegistry
-
Adds a listener for template reloads.
- addTag(String) - Method in class com.tnsai.session.AgentSession
-
Adds a tag to the session.
- addTags(String...) - Method in class com.tnsai.session.AgentSession
-
Adds multiple tags.
- addToolCall(String, Map<String, Object>) - Method in class com.tnsai.session.AgentSession
-
Adds a tool call turn.
- addToolResult(String, String) - Method in class com.tnsai.session.AgentSession
-
Adds a tool result turn.
- addTurn(ConversationTurn) - Method in class com.tnsai.session.AgentSession
-
Adds a turn to the session.
- addUserMessage(String) - Method in class com.tnsai.session.AgentSession
-
Adds a user message turn.
- after() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Returns the value of the
afterrecord component. - after(Instant) - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Filters knowledge extracted after this time.
- agent(String) - Method in class com.tnsai.session.SessionQuery.Builder
-
Sets the agent name filter.
- AgentConfigGenerator - Class in com.tnsai.autoteam
-
Generates detailed agent configurations (system prompts and tool assignments) from a
TeamPlan. - AgentContextManager - Class in com.tnsai.context.integration
-
Manages context graphs for an agent.
- AgentContextManager(String, SnapshotStore, DecisionTraceStore) - Constructor for class com.tnsai.context.integration.AgentContextManager
-
Creates an agent context manager.
- AgentContextManager(String, SnapshotStore, DecisionTraceStore, BDIContextMapper) - Constructor for class com.tnsai.context.integration.AgentContextManager
-
Creates an agent context manager with custom BDI mapper.
- agentCount() - Method in record class com.tnsai.autoteam.TeamPlan
-
Returns the number of agents in this plan.
- agentCustomizer(Function<AgentBuilder, AgentBuilder>) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Sets a customizer function applied to each AgentBuilder before building.
- agentName() - Method in record class com.tnsai.session.SessionQuery
-
Returns the value of the
agentNamerecord component. - agents() - Method in record class com.tnsai.autoteam.AutoTeamBuilder.Result
-
Returns the value of the
agentsrecord component. - agents() - Method in record class com.tnsai.autoteam.TeamPlan
-
Returns the value of the
agentsrecord component. - AgentSession - Class in com.tnsai.session
-
Represents a complete agent session with all conversation turns.
- AGGREGATE - Enum constant in enum class com.tnsai.reasoning.got.GoTOperation
-
Aggregate/merge multiple thoughts into one.
- aggregatedInsight() - Method in record class com.tnsai.reasoning.got.GoTResult
-
Returns the value of the
aggregatedInsightrecord component. - aggregation(Aggregation) - Method in class com.tnsai.reasoning.SelfConsistencyExecutor.Builder
-
Sets the aggregation strategy (default: MAJORITY_VOTE).
- Aggregation - Enum Class in com.tnsai.reasoning
-
Aggregation strategies for combining multiple reasoning paths.
- Algorithm - Search tag in class com.tnsai.planning.BackwardChainingPlanner
- Section
- Algorithm - Search tag in class com.tnsai.planning.UtilityAIPlanner
- Section
- all() - Static method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Creates a filter that accepts all knowledge.
- all(StopHook...) - Static method in interface com.tnsai.refinement.StopHook
-
Combine multiple stop hooks with AND logic.
- ALL - Enum constant in enum class com.tnsai.session.SessionQuery.SearchMode
-
Match all words
- allLeaves(List<ThoughtNode>) - Method in class com.tnsai.reasoning.ToTResult.Builder
- allNodes() - Method in record class com.tnsai.reasoning.got.GoTResult
-
Returns the value of the
allNodesrecord component. - allPaths(List<ReasoningPath>) - Method in class com.tnsai.reasoning.ConsistencyResult.Builder
- always() - Static method in interface com.tnsai.fsm.Guard
-
Creates a guard that always returns true.
- alwaysReason(boolean) - Method in class com.tnsai.reasoning.ReasoningRouter.Builder
-
Always use the reasoning model regardless of score.
- and(Guard) - Method in interface com.tnsai.fsm.Guard
-
Combines this guard with another using AND.
- andThen(StateAction) - Method in interface com.tnsai.fsm.StateAction
-
Chains this action with another.
- andThen(TransitionAction) - Method in interface com.tnsai.fsm.TransitionAction
-
Chains this action with another.
- answer() - Method in record class com.tnsai.reasoning.causal.CausalResult
-
Returns the value of the
answerrecord component. - answer(String) - Method in class com.tnsai.prompt.aot.AotResult.Builder
- answerContains(String) - Static method in interface com.tnsai.reasoning.react.StopCondition
-
Stops when the final answer contains the specified text (case-insensitive).
- answerCounts(Map<String, Integer>) - Method in class com.tnsai.reasoning.ConsistencyResult.Builder
- anthropic(LLMClient) - Method in class com.tnsai.reasoning.ExtendedThinkingClient.Builder
-
Sets the Anthropic client to use.
- Anthropic Extended Thinking - Search tag in class com.tnsai.reasoning.ExtendedThinkingClient
- Section
- antipattern() - Static method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Creates a builder for ANTIPATTERN type knowledge.
- ANTIPATTERN - Enum constant in enum class com.tnsai.session.extraction.ExtractionType
-
Anti-pattern or approach to avoid.
- antipatternCount() - Method in record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Returns the value of the
antipatternCountrecord component. - any(StopHook...) - Static method in interface com.tnsai.refinement.StopHook
-
Combine multiple stop hooks with OR logic.
- ANY - Enum constant in enum class com.tnsai.session.SessionQuery.SearchMode
-
Match any word
- anyOf(StopCondition...) - Static method in interface com.tnsai.reasoning.react.StopCondition
-
Combines multiple stop conditions with OR logic.
- AotProcessor - Class in com.tnsai.prompt.aot
-
Main processor for Atom of Thought (AoT) reasoning.
- AotProcessor(LLMClient) - Constructor for class com.tnsai.prompt.aot.AotProcessor
-
Creates an AotProcessor with default settings.
- AotProcessor.Builder - Class in com.tnsai.prompt.aot
- AotResult - Class in com.tnsai.prompt.aot
-
Result of Atom of Thought (AoT) processing.
- AotResult.Builder - Class in com.tnsai.prompt.aot
- AoT vs Chain-of-Thought - Search tag in class com.tnsai.prompt.aot.AotProcessor
- Section
- AoT vs Chain-of-Thought - Search tag in class com.tnsai.prompt.aot.Atom
- Section
- applyEffects(PlanningAction, Map<String, Object>) - Method in class com.tnsai.planning.BackwardChainingPlanner
- applyEffects(PlanningAction, Map<String, Object>) - Method in interface com.tnsai.planning.Planner
-
Simulates applying an action's effects to a state.
- applyEffects(PlanningAction, Map<String, Object>) - Method in class com.tnsai.planning.UtilityAIPlanner
- applyEffects(String, Map<String, Object>) - Static method in class com.tnsai.planning.ConditionEvaluator
-
Parses and applies postcondition effects to a state map.
- ApprovalDecision(PlanApprovalGate.ApprovalType, String, List<Integer>, List<Integer>) - Constructor for record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Creates an instance of a
ApprovalDecisionrecord class. - Approval Flow - Search tag in class com.tnsai.planning.llm.PlanApprovalGate
- Section
- approve() - Static method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Approve the plan as-is.
- APPROVED - Enum constant in enum class com.tnsai.planning.llm.PlanApprovalGate.ApprovalType
- arguments() - Method in record class com.tnsai.planning.llm.LLMPlanStep
-
Returns the value of the
argumentsrecord component. - assistant(String) - Static method in record class com.tnsai.session.ConversationTurn
-
Creates an assistant message turn.
- ASSISTANT_MESSAGE - Enum constant in enum class com.tnsai.session.TurnType
-
A response from the assistant.
- assistantMessages() - Method in class com.tnsai.session.replay.SessionReplay
-
Gets only assistant message steps.
- assistantMessages() - Method in record class com.tnsai.session.replay.SessionReplay.ReplayStats
-
Returns the value of the
assistantMessagesrecord component. - Atom - Class in com.tnsai.prompt.aot
-
Represents an atomic reasoning unit in Atom of Thought (AoT) processing.
- Atom.AtomStatus - Enum Class in com.tnsai.prompt.aot
-
Atom processing status.
- Atom.AtomType - Enum Class in com.tnsai.prompt.aot
-
Atom types for categorization.
- Atom.Builder - Class in com.tnsai.prompt.aot
- AtomGenerator - Class in com.tnsai.prompt.aot
-
Generates atomic reasoning units from complex problems.
- AtomGenerator(LLMClient) - Constructor for class com.tnsai.prompt.aot.AtomGenerator
-
Creates an AtomGenerator with LLM-based decomposition.
- AtomGenerator(LLMClient, int, boolean) - Constructor for class com.tnsai.prompt.aot.AtomGenerator
-
Creates an AtomGenerator with custom settings.
- atoms(List<Atom>) - Method in class com.tnsai.prompt.aot.AotResult.Builder
- AtomSolver - Class in com.tnsai.prompt.aot
-
Solves atoms in parallel with dependency resolution.
- AtomSolver(LLMClient) - Constructor for class com.tnsai.prompt.aot.AtomSolver
-
Creates an AtomSolver with default settings.
- AtomSolver(LLMClient, ExecutorService, int, boolean) - Constructor for class com.tnsai.prompt.aot.AtomSolver
-
Creates an AtomSolver with custom settings.
- AtomSynthesizer - Class in com.tnsai.prompt.aot
-
Synthesizes atom solutions into a final coherent answer.
- AtomSynthesizer(LLMClient) - Constructor for class com.tnsai.prompt.aot.AtomSynthesizer
-
Creates an AtomSynthesizer with default settings.
- AtomSynthesizer(LLMClient, AtomSynthesizer.SynthesisStrategy, float) - Constructor for class com.tnsai.prompt.aot.AtomSynthesizer
-
Creates an AtomSynthesizer with custom settings.
- AtomSynthesizer.SynthesisStrategy - Enum Class in com.tnsai.prompt.aot
-
Synthesis strategies.
- attempts() - Method in record class com.tnsai.output.validation.StructuredOutputExecutor.StructuredOutputResult
-
Returns the value of the
attemptsrecord component. - authorityScope(AuthorityScope) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Default
AuthorityScopestamped onto every generated agent's dispatch records. - autoApprove() - Static method in class com.tnsai.planning.llm.PlanApprovalGate
-
Creates a gate that auto-approves all plans (useful for testing/automation).
- autoApproveEmpty(boolean) - Method in class com.tnsai.planning.llm.PlanApprovalGate.Builder
-
Whether to auto-approve empty plans (default: true).
- AutoConsolidationManager - Class in com.tnsai.session.consolidation
-
Monitors conversation state and triggers consolidation automatically.
- AutoConsolidationManager.Builder - Class in com.tnsai.session.consolidation
- automatic() - Method in class com.tnsai.fsm.Transition.EventBuilder
-
Creates an automatic transition (no event trigger).
- AutoTeamBuilder - Class in com.tnsai.autoteam
-
Generates a fully configured multi-agent team from a natural language task description.
- AutoTeamBuilder.Result - Record Class in com.tnsai.autoteam
-
Result of the auto-team building process.
- availableActions(String) - Method in class com.tnsai.reasoning.react.ReActExecutor.Builder
-
Sets the description of available actions for the system prompt.
- averageConfidence() - Method in record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Returns the value of the
averageConfidencerecord component. - avgTurnsPerSession() - Method in record class com.tnsai.session.SearchableSessionStore.SessionStats
-
Returns the value of the
avgTurnsPerSessionrecord component.
B
- Backward Chaining - Search tag in package com.tnsai.planning
- Section
- BackwardChainingPlanner - Class in com.tnsai.planning
-
Default planner implementation using backward chaining algorithm.
- BackwardChainingPlanner(Class<?>) - Constructor for class com.tnsai.planning.BackwardChainingPlanner
-
Creates a planner from a role class.
- BackwardChainingPlanner(Class<?>, int) - Constructor for class com.tnsai.planning.BackwardChainingPlanner
-
Creates a planner from a role class with custom max depth.
- BackwardChainingPlanner(List<PlanningGoal>, List<PlanningAction>) - Constructor for class com.tnsai.planning.BackwardChainingPlanner
-
Creates a planner with explicit goals and actions.
- BackwardChainingPlanner(List<PlanningGoal>, List<PlanningAction>, int) - Constructor for class com.tnsai.planning.BackwardChainingPlanner
-
Creates a planner with explicit goals, actions, and max depth.
- balanced() - Static method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator.GenerationSpec
- baseTemperature(double) - Method in class com.tnsai.reasoning.SelfConsistencyExecutor.Builder
-
Sets the base temperature for sampling (default: 0.7).
- BDIContextMapper - Class in com.tnsai.context.integration
-
Maps BDI (Belief-Desire-Intention) model to Context Graph components.
- BDIContextMapper() - Constructor for class com.tnsai.context.integration.BDIContextMapper
-
Creates a mapper with default confidence threshold (0.7).
- BDIContextMapper(double) - Constructor for class com.tnsai.context.integration.BDIContextMapper
-
Creates a mapper with custom confidence threshold.
- BEAM_SEARCH - Enum constant in enum class com.tnsai.reasoning.PruningStrategy
-
Beam search - keep top-k branches at each level.
- beamWidth(int) - Method in class com.tnsai.reasoning.TreeOfThoughtsExecutor.Builder
-
Sets the beam width for beam search (default: 3).
- before() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Returns the value of the
beforerecord component. - before(Instant) - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Filters knowledge extracted before this time.
- Benefits - Search tag in class com.tnsai.prompt.aot.AotProcessor
- Section
- BEST_FIRST - Enum constant in enum class com.tnsai.reasoning.PruningStrategy
-
Best-first search - always expand the highest-scored node.
- bestLeaf(ThoughtNode) - Method in class com.tnsai.reasoning.ToTResult.Builder
- bestNode() - Method in record class com.tnsai.reasoning.got.GoTResult
-
Returns the value of the
bestNoderecord component. - bestPrompt(String) - Method in class com.tnsai.prompt.optimizer.OptimizationResult.Builder
- BranchEvaluator - Interface in com.tnsai.reasoning
-
Evaluates branches in Tree of Thoughts exploration.
- branchingFactor(int) - Method in class com.tnsai.reasoning.got.GraphOfThoughtsExecutor.Builder
- branchingFactor(int) - Method in class com.tnsai.reasoning.TreeOfThoughtsExecutor.Builder
-
Sets the number of candidate thoughts to generate (default: 3).
- build() - Method in class com.tnsai.context.compaction.CompactionConfig.Builder
- build() - Method in class com.tnsai.fsm.State.Builder
-
Builds the state.
- build() - Method in class com.tnsai.fsm.StateMachine.Builder
-
Builds the state machine.
- build() - Method in class com.tnsai.fsm.Transition.Builder
-
Builds the transition.
- build() - Method in class com.tnsai.learning.FeedbackLearner.Builder
- build() - Method in class com.tnsai.output.validation.StructuredOutputExecutor.Builder
- build() - Method in class com.tnsai.planning.llm.AdaptiveReplanEngine.Builder
-
Builds the engine.
- build() - Method in class com.tnsai.planning.llm.LLMDynamicPlanner.Builder
-
Builds the planner.
- build() - Method in class com.tnsai.planning.llm.PlanApprovalGate.Builder
-
Builds the gate.
- build() - Method in class com.tnsai.planning.PlanningAction.Builder
- build() - Method in class com.tnsai.planning.tasklist.TaskItem.Builder
- build() - Method in class com.tnsai.planning.tasklist.TaskListExecutor.Builder
- build() - Method in class com.tnsai.planning.UtilityAIPlanner.Builder
- build() - Method in class com.tnsai.prompt.aot.AotProcessor.Builder
- build() - Method in class com.tnsai.prompt.aot.AotResult.Builder
- build() - Method in class com.tnsai.prompt.aot.Atom.Builder
- build() - Method in class com.tnsai.prompt.optimizer.OptimizationResult.Builder
- build() - Method in class com.tnsai.prompt.optimizer.PromptOptimizer.Builder
- build() - Method in class com.tnsai.prompt.optimizer.TestCase.Builder
- build() - Method in class com.tnsai.prompt.SimplePromptTemplate.Builder
-
Builds the template.
- build() - Method in class com.tnsai.reasoning.causal.CausalReasoner.Builder
- build() - Method in class com.tnsai.reasoning.ConsistencyResult.Builder
- build() - Method in class com.tnsai.reasoning.ExtendedThinkingClient.Builder
-
Builds the ExtendedThinkingClient.
- build() - Method in class com.tnsai.reasoning.got.GraphOfThoughtsExecutor.Builder
- build() - Method in class com.tnsai.reasoning.react.ReActExecutor.Builder
- build() - Method in class com.tnsai.reasoning.react.ReActResult.Builder
- build() - Method in class com.tnsai.reasoning.react.ReActStep.Builder
- build() - Method in class com.tnsai.reasoning.ReasoningPath.Builder
- build() - Method in class com.tnsai.reasoning.ReasoningRouter.Builder
-
Builds the ReasoningRouter.
- build() - Method in class com.tnsai.reasoning.SelfConsistencyExecutor.Builder
-
Builds the SelfConsistencyExecutor.
- build() - Method in class com.tnsai.reasoning.ThinkingResult.Builder
- build() - Method in class com.tnsai.reasoning.ThoughtNode.Builder
- build() - Method in class com.tnsai.reasoning.ToTResult.Builder
- build() - Method in class com.tnsai.reasoning.TreeOfThoughtsExecutor.Builder
-
Builds the TreeOfThoughtsExecutor.
- build() - Method in class com.tnsai.reasoning.VerificationResult.Builder
- build() - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Builds the CompletionCriteria.
- build() - Method in class com.tnsai.refinement.RefinementLoop.Builder
- build() - Method in class com.tnsai.session.consolidation.AutoConsolidationManager.Builder
- build() - Method in class com.tnsai.session.consolidation.MemoryConsolidationPipeline.Builder
- build() - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Builds the ExtractedKnowledge instance.
- build() - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Builds the filter.
- build() - Method in class com.tnsai.session.SessionQuery.Builder
-
Builds the query.
- build(String) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Generates the team for the given task description.
- buildContextPrompt() - Method in interface com.tnsai.planning.tasklist.ProgressMemory
-
Builds a context prompt from all stored learnings.
- builder() - Static method in record class com.tnsai.context.compaction.CompactionConfig
-
Creates a builder for fluent configuration.
- builder() - Static method in class com.tnsai.learning.FeedbackLearner
- builder() - Static method in class com.tnsai.output.validation.StructuredOutputExecutor
- builder() - Static method in class com.tnsai.planning.llm.AdaptiveReplanEngine
-
Creates a new builder.
- builder() - Static method in class com.tnsai.planning.llm.LLMDynamicPlanner
-
Creates a new builder.
- builder() - Static method in class com.tnsai.planning.llm.PlanApprovalGate
-
Creates a new builder.
- builder() - Static method in class com.tnsai.planning.tasklist.TaskListExecutor
-
Creates a new builder.
- builder() - Static method in class com.tnsai.planning.UtilityAIPlanner
-
Creates a builder for UtilityAIPlanner.
- builder() - Static method in class com.tnsai.prompt.aot.AotProcessor
- builder() - Static method in class com.tnsai.prompt.aot.AotResult
- builder() - Static method in class com.tnsai.prompt.aot.Atom
- builder() - Static method in class com.tnsai.prompt.optimizer.OptimizationResult
- builder() - Static method in class com.tnsai.prompt.optimizer.PromptOptimizer
- builder() - Static method in class com.tnsai.prompt.optimizer.TestCase
-
Builder for test cases.
- builder() - Static method in class com.tnsai.reasoning.causal.CausalReasoner
- builder() - Static method in class com.tnsai.reasoning.ConsistencyResult
-
Creates a new builder for ConsistencyResult.
- builder() - Static method in class com.tnsai.reasoning.ExtendedThinkingClient
-
Creates a new builder for ExtendedThinkingClient.
- builder() - Static method in class com.tnsai.reasoning.got.GraphOfThoughtsExecutor
- builder() - Static method in class com.tnsai.reasoning.react.ReActExecutor
- builder() - Static method in class com.tnsai.reasoning.react.ReActResult
- builder() - Static method in class com.tnsai.reasoning.react.ReActStep
- builder() - Static method in class com.tnsai.reasoning.ReasoningPath
-
Creates a new builder for ReasoningPath.
- builder() - Static method in class com.tnsai.reasoning.ReasoningRouter
-
Creates a new builder for ReasoningRouter.
- builder() - Static method in class com.tnsai.reasoning.SelfConsistencyExecutor
-
Creates a new builder for SelfConsistencyExecutor.
- builder() - Static method in class com.tnsai.reasoning.ThinkingResult
-
Creates a new builder for ThinkingResult.
- builder() - Static method in class com.tnsai.reasoning.ThoughtNode
-
Creates a new builder for ThoughtNode.
- builder() - Static method in class com.tnsai.reasoning.ToTResult
-
Creates a new builder for ToTResult.
- builder() - Static method in class com.tnsai.reasoning.TreeOfThoughtsExecutor
-
Creates a new builder for TreeOfThoughtsExecutor.
- builder() - Static method in class com.tnsai.reasoning.VerificationResult
-
Creates a new builder for VerificationResult.
- builder() - Static method in class com.tnsai.refinement.CompletionCriteria
-
Creates a new builder.
- builder() - Static method in class com.tnsai.refinement.RefinementLoop
-
Creates a new builder for RefinementLoop.
- builder() - Static method in class com.tnsai.session.consolidation.AutoConsolidationManager
- builder() - Static method in class com.tnsai.session.consolidation.MemoryConsolidationPipeline
- builder() - Static method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Creates a general builder.
- builder() - Static method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Creates a builder.
- builder() - Static method in record class com.tnsai.session.SessionQuery
-
Creates a builder.
- builder(String) - Static method in class com.tnsai.fsm.State
-
Creates a builder for a state with the given name.
- builder(String) - Static method in class com.tnsai.fsm.StateMachine
-
Creates a builder with the given name.
- builder(String) - Static method in record class com.tnsai.planning.PlanningAction
-
Creates a builder for PlanningAction.
- builder(String) - Static method in record class com.tnsai.planning.tasklist.TaskItem
-
Creates a new builder.
- builder(String) - Static method in class com.tnsai.prompt.SimplePromptTemplate
-
Creates a builder for templates.
- Builder() - Constructor for class com.tnsai.context.compaction.CompactionConfig.Builder
- Builder() - Constructor for class com.tnsai.planning.UtilityAIPlanner.Builder
- Builder() - Constructor for class com.tnsai.prompt.aot.AotProcessor.Builder
- Builder() - Constructor for class com.tnsai.prompt.aot.AotResult.Builder
- Builder() - Constructor for class com.tnsai.prompt.aot.Atom.Builder
- Builder() - Constructor for class com.tnsai.prompt.optimizer.OptimizationResult.Builder
- Builder() - Constructor for class com.tnsai.prompt.optimizer.PromptOptimizer.Builder
- Builder() - Constructor for class com.tnsai.prompt.optimizer.TestCase.Builder
- Builder() - Constructor for class com.tnsai.session.extraction.ExtractedKnowledge.Builder
- Builder() - Constructor for class com.tnsai.session.extraction.KnowledgeFilter.Builder
- Builder() - Constructor for class com.tnsai.session.SessionQuery.Builder
- Builder(String) - Constructor for class com.tnsai.planning.PlanningAction.Builder
- BuiltInChecks - Class in com.tnsai.refinement
-
Built-in criteria checks for the refinement loop.
C
- calculateReasoningScore(String) - Method in class com.tnsai.reasoning.ReasoningRouter
-
Calculates a reasoning score for the given query.
- calculateUtility(PlanningAction, Map<String, Object>) - Method in class com.tnsai.planning.UtilityAIPlanner
-
Calculates total utility score for an action.
- cancel() - Method in class com.tnsai.session.AgentSession
-
Marks the session as cancelled.
- CANCELLED - Enum constant in enum class com.tnsai.session.SessionOutcome
-
Session was cancelled by the user.
- candidateStrategies(List<PromptStrategy>) - Method in class com.tnsai.prompt.optimizer.PromptOptimizer.Builder
- canFire(StateMachineContext) - Method in class com.tnsai.fsm.Transition
-
Evaluates the guard condition.
- capabilities() - Method in record class com.tnsai.autoteam.GeneratedAgentConfig
-
Returns the value of the
capabilitiesrecord component. - capabilities(List<CapabilityDescriptor>) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner.Builder
-
Sets all available capabilities.
- capability(CapabilityDescriptor) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner.Builder
-
Adds a capability that the planner can use in plans.
- CapabilityDescriptor - Record Class in com.tnsai.planning.llm
-
Describes an available capability (tool or action) for the LLM planner.
- CapabilityDescriptor(String, String, Map<String, String>, Set<String>) - Constructor for record class com.tnsai.planning.llm.CapabilityDescriptor
-
Creates an instance of a
CapabilityDescriptorrecord class. - caseSensitive() - Method in record class com.tnsai.session.SessionQuery
-
Returns the value of the
caseSensitiverecord component. - caseSensitive(boolean) - Method in class com.tnsai.session.SessionQuery.Builder
-
Sets case sensitivity for text search.
- category(String) - Method in class com.tnsai.prompt.optimizer.TestCase.Builder
- causalModel(String) - Method in class com.tnsai.reasoning.causal.CausalReasoner.Builder
- CausalQueryType - Enum Class in com.tnsai.reasoning.causal
-
Types of causal queries.
- CausalReasoner - Class in com.tnsai.reasoning.causal
-
Causal reasoning engine for why, what-if, and intervention queries.
- CausalReasoner.Builder - Class in com.tnsai.reasoning.causal
- CausalResult - Record Class in com.tnsai.reasoning.causal
-
Result of a causal reasoning query.
- CausalResult(CausalQueryType, String, String, double) - Constructor for record class com.tnsai.reasoning.causal.CausalResult
-
Creates an instance of a
CausalResultrecord class. - chat(String, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>) - Method in class com.tnsai.reasoning.ReasoningRouter
- check(CriteriaCheck) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds a custom CriteriaCheck.
- checkAction(String, Predicate<String>) - Method in class com.tnsai.norms.NormEngine
-
Checks if an action is allowed given the current context.
- checkConflict(String, String) - Method in interface com.tnsai.intelligence.knowledge.ContradictionDetector.ConflictChecker
-
Checks if two fact strings contradict each other.
- checkObligations(Set<String>, Predicate<String>) - Method in class com.tnsai.norms.NormEngine
-
Checks for obligation violations — obligations that are active but have not been fulfilled.
- CHECKPOINT - Enum constant in enum class com.tnsai.session.TurnType
-
A checkpoint or state snapshot.
- CheckpointerDecisionTraceStore - Class in com.tnsai.context.decision.impl
-
Checkpointer-backed implementation of DecisionTraceStore.
- CheckpointerDecisionTraceStore(Checkpointer) - Constructor for class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
-
Creates a new CheckpointerDecisionTraceStore.
- CheckpointerSnapshotStore - Class in com.tnsai.context.snapshot.impl
-
Checkpointer-backed implementation of SnapshotStore.
- CheckpointerSnapshotStore(Checkpointer) - Constructor for class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
-
Creates a new CheckpointerSnapshotStore.
- CheckResult(List<NormViolation>) - Constructor for record class com.tnsai.norms.NormEngine.CheckResult
-
Creates an instance of a
CheckResultrecord class. - cleanupOldSnapshots(Instant) - Method in class com.tnsai.context.integration.AgentContextManager
- cleanupOldTraces(Instant) - Method in class com.tnsai.context.integration.AgentContextManager
- clear() - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
-
Clears all data from the store.
- clear() - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
-
Clears all traces.
- clear() - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
-
Clears all entities and sources.
- clear() - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
-
Clears all data from the store.
- clear() - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
-
Clears all snapshots.
- clear() - Method in class com.tnsai.fsm.StateMachineContext
-
Clears all data.
- clear() - Method in interface com.tnsai.learning.FeedbackStore
- clear() - Method in interface com.tnsai.planning.tasklist.ProgressMemory
-
Clears all stored learnings.
- clear() - Method in class com.tnsai.prompt.PromptRegistry
-
Clears all templates.
- clear() - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- clear() - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- clear() - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Clears all stored knowledge.
- clear() - Method in class com.tnsai.session.FileSessionStore
- clear() - Method in interface com.tnsai.session.SessionStore
-
Clears all sessions (use with caution).
- clearAll() - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Clears all tracked results for all actions.
- clearResults(String) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Clears all tracked results for an action.
- clearTrackedEntities() - Method in class com.tnsai.context.integration.AgentContextManager
- clearVariables() - Method in class com.tnsai.context.integration.AgentContextManager
- codeSnippets() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
codeSnippetsrecord component. - codeSnippets(List<String>) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets the code snippets.
- com.tnsai.autoteam - package com.tnsai.autoteam
-
Automatic team generation from natural language task descriptions.
- com.tnsai.context.compaction - package com.tnsai.context.compaction
-
Context compaction for long-running agent sessions.
- com.tnsai.context.decision.impl - package com.tnsai.context.decision.impl
-
Default implementations of the decision tracking storage interfaces.
- com.tnsai.context.entity.impl - package com.tnsai.context.entity.impl
-
Default implementations of the entity resolution interfaces.
- com.tnsai.context.ephemeral - package com.tnsai.context.ephemeral
-
Ephemeral context management for tool outputs.
- com.tnsai.context.integration - package com.tnsai.context.integration
-
Integration layer between TnsAI agents and the context graph subsystem.
- com.tnsai.context.snapshot.impl - package com.tnsai.context.snapshot.impl
-
Default implementations of the context snapshot storage interfaces.
- com.tnsai.fsm - package com.tnsai.fsm
-
Finite State Machine (FSM) framework for modeling agent behavioral states.
- com.tnsai.intelligence.knowledge - package com.tnsai.intelligence.knowledge
-
Knowledge management with temporal validity and contradiction detection.
- com.tnsai.learning - package com.tnsai.learning
- com.tnsai.learning.integration - package com.tnsai.learning.integration
- com.tnsai.norms - package com.tnsai.norms
-
Norms and social rules engine for BDI agents.
- com.tnsai.output.validation - package com.tnsai.output.validation
- com.tnsai.planning - package com.tnsai.planning
-
Planning system for goal-oriented agents.
- com.tnsai.planning.integration - package com.tnsai.planning.integration
- com.tnsai.planning.llm - package com.tnsai.planning.llm
-
LLM-powered dynamic planning with adaptive replanning and approval gates.
- com.tnsai.planning.tasklist - package com.tnsai.planning.tasklist
-
Task list execution system for the Ralph Pattern.
- com.tnsai.prompt - package com.tnsai.prompt
- com.tnsai.prompt.aot - package com.tnsai.prompt.aot
-
Atom of Thought (AoT) reasoning framework for parallel problem decomposition.
- com.tnsai.prompt.optimizer - package com.tnsai.prompt.optimizer
-
Automated prompt optimization through iterative refinement and evaluation.
- com.tnsai.reasoning - package com.tnsai.reasoning
-
Large Reasoning Model (LRM) patterns for advanced reasoning capabilities.
- com.tnsai.reasoning.causal - package com.tnsai.reasoning.causal
- com.tnsai.reasoning.got - package com.tnsai.reasoning.got
- com.tnsai.reasoning.integration - package com.tnsai.reasoning.integration
- com.tnsai.reasoning.react - package com.tnsai.reasoning.react
-
ReAct (Reason + Act + Observe) pattern implementation.
- com.tnsai.refinement - package com.tnsai.refinement
-
Iterative refinement loop for persistent output improvement.
- com.tnsai.session - package com.tnsai.session
-
Session history and knowledge extraction for agents.
- com.tnsai.session.consolidation - package com.tnsai.session.consolidation
- com.tnsai.session.extraction - package com.tnsai.session.extraction
-
Knowledge extraction from agent sessions.
- com.tnsai.session.replay - package com.tnsai.session.replay
-
Session replay functionality.
- combine(Consideration...) - Static method in interface com.tnsai.planning.Consideration
-
Combines multiple considerations with equal weights.
- combine(List<ValidationResult>) - Static method in record class com.tnsai.output.validation.ValidationResult
-
Combines multiple validation results.
- combined(BranchEvaluator...) - Static method in interface com.tnsai.reasoning.BranchEvaluator
-
Creates a combined evaluator that averages multiple evaluators.
- compact(List<Map<String, Object>>, CompactionConfig) - Method in interface com.tnsai.context.compaction.ContextCompactor
-
Compacts the given messages according to configuration.
- compact(List<Map<String, Object>>, CompactionConfig) - Method in class com.tnsai.context.compaction.LLMContextCompactor
- compact(List<Map<String, Object>>, CompactionConfig) - Method in class com.tnsai.context.compaction.TruncatingCompactor
- compact(List<Map<String, Object>>, CompactionConfig) - Method in class com.tnsai.context.compaction.TwoPhaseCompactor
- compactedMessageCount() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns the value of the
compactedMessageCountrecord component. - compactedTokens() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns the value of the
compactedTokensrecord component. - compactionConfig(CompactionConfig) - Method in class com.tnsai.session.consolidation.MemoryConsolidationPipeline.Builder
- CompactionConfig - Record Class in com.tnsai.context.compaction
-
Configuration for context compaction.
- CompactionConfig() - Constructor for record class com.tnsai.context.compaction.CompactionConfig
-
Creates config with defaults.
- CompactionConfig(double, int) - Constructor for record class com.tnsai.context.compaction.CompactionConfig
-
Creates config with threshold ratio and preserve count.
- CompactionConfig(double, int, boolean, int, String, String, int, boolean, int) - Constructor for record class com.tnsai.context.compaction.CompactionConfig
-
Creates an instance of a
CompactionConfigrecord class. - CompactionConfig.Builder - Class in com.tnsai.context.compaction
-
Builder for CompactionConfig.
- compactionPerformed() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns the value of the
compactionPerformedrecord component. - Compaction Process - Search tag in class com.tnsai.context.compaction.LLMContextCompactor
- Section
- CompactionResult - Record Class in com.tnsai.context.compaction
-
Result of a context compaction operation.
- CompactionResult(List<Map<String, Object>>, int, int, int, int, int, String, boolean) - Constructor for record class com.tnsai.context.compaction.CompactionResult
-
Creates an instance of a
CompactionResultrecord class. - Compaction Strategies - Search tag in package com.tnsai.context.compaction
- Section
- compactSummary() - Method in class com.tnsai.session.replay.SessionReplay
-
Generates a compact summary.
- compilerCheck(String) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds a shell command check (e.g., compiler, linter).
- complete(SessionOutcome) - Method in class com.tnsai.session.AgentSession
-
Marks the session as complete.
- COMPLETED - Enum constant in enum class com.tnsai.fsm.StateMachine.Status
- COMPLETED - Enum constant in enum class com.tnsai.planning.tasklist.TaskStatus
- completedCount() - Method in record class com.tnsai.planning.llm.PlanExecutionResult
-
Returns the number of successfully executed steps.
- completedCount() - Method in record class com.tnsai.planning.tasklist.TaskListResult
-
Returns the value of the
completedCountrecord component. - completionCriteria(CompletionCriteria) - Method in class com.tnsai.refinement.RefinementLoop.Builder
- CompletionCriteria - Class in com.tnsai.refinement
-
Defines completion criteria for the refinement loop.
- CompletionCriteria.Builder - Class in com.tnsai.refinement
-
Builder for CompletionCriteria.
- completionRate() - Method in record class com.tnsai.planning.tasklist.TaskListResult
-
Returns the completion rate as a percentage (0.0 to 1.0).
- complexityThreshold(int) - Method in class com.tnsai.prompt.aot.AotProcessor.Builder
- Components - Search tag in package com.tnsai.autoteam
- Section
- Components - Search tag in package com.tnsai.planning.llm
- Section
- COMPUTATION - Enum constant in enum class com.tnsai.prompt.aot.Atom.AtomType
-
Calculation or computation atom
- CONCATENATE - Enum constant in enum class com.tnsai.prompt.aot.AtomSynthesizer.SynthesisStrategy
-
Concatenate all results
- condition() - Method in record class com.tnsai.norms.NormEntry
-
Returns the value of the
conditionrecord component. - condition() - Method in record class com.tnsai.planning.PlanningGoal
-
Returns the value of the
conditionrecord component. - ConditionEvaluator - Class in com.tnsai.planning
-
Evaluates condition expressions against a state (belief) map.
- confidence() - Method in record class com.tnsai.intelligence.knowledge.ContradictionDetector.Contradiction
-
Returns the value of the
confidencerecord component. - confidence() - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Returns the value of the
confidencerecord component. - confidence() - Method in record class com.tnsai.reasoning.causal.CausalResult
-
Returns the value of the
confidencerecord component. - confidence() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
confidencerecord component. - confidence(double) - Method in class com.tnsai.reasoning.ConsistencyResult.Builder
- confidence(double) - Method in class com.tnsai.reasoning.VerificationResult.Builder
- confidence(double) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets the confidence score.
- confidence(float) - Method in class com.tnsai.prompt.aot.AotResult.Builder
- consensusAnswer(String) - Method in class com.tnsai.reasoning.ConsistencyResult.Builder
- consideration(Consideration) - Method in class com.tnsai.planning.UtilityAIPlanner.Builder
- Consideration - Interface in com.tnsai.planning
-
A consideration that contributes to an action's utility score.
- considerations(Consideration...) - Method in class com.tnsai.planning.UtilityAIPlanner.Builder
- ConsistencyResult - Class in com.tnsai.reasoning
-
Result of a self-consistency reasoning execution.
- ConsistencyResult.Builder - Class in com.tnsai.reasoning
-
Builder for ConsistencyResult.
- consolidate(AgentSession) - Method in class com.tnsai.session.consolidation.MemoryConsolidationPipeline
-
Consolidates a session's memory.
- consolidatedMessageCount() - Method in record class com.tnsai.session.consolidation.ConsolidationResult
-
Returns the value of the
consolidatedMessageCountrecord component. - ConsolidationResult - Record Class in com.tnsai.session.consolidation
-
Result of a memory consolidation operation.
- ConsolidationResult(String, String, List<ExtractedKnowledge>, int, int, Duration) - Constructor for record class com.tnsai.session.consolidation.ConsolidationResult
-
Creates an instance of a
ConsolidationResultrecord class. - ConsolidationTrigger - Enum Class in com.tnsai.session.consolidation
-
When to trigger memory consolidation.
- contains(String) - Method in class com.tnsai.prompt.PromptRegistry
-
Checks if a template exists.
- content() - Method in record class com.tnsai.learning.Feedback
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.planning.tasklist.ProgressMemory.Learning
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.session.ConversationTurn
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.session.replay.ReplayStep
-
Gets the turn content.
- content(String) - Method in class com.tnsai.prompt.SimplePromptTemplate.Builder
-
Sets the template content.
- content(String) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets the main content.
- contentPreview(int) - Method in record class com.tnsai.session.replay.ReplayStep
-
Gets a truncated version of the content.
- contextCompactor(ContextCompactor) - Method in class com.tnsai.session.consolidation.MemoryConsolidationPipeline.Builder
- ContextCompactor - Interface in com.tnsai.context.compaction
-
Interface for context compaction strategies.
- Contradiction(TemporalKnowledge, TemporalKnowledge, String, double) - Constructor for record class com.tnsai.intelligence.knowledge.ContradictionDetector.Contradiction
-
Compact constructor with validation.
- ContradictionDetector - Class in com.tnsai.intelligence.knowledge
-
Detects contradictions between incoming and existing temporal knowledge.
- ContradictionDetector(ContradictionDetector.ConflictChecker) - Constructor for class com.tnsai.intelligence.knowledge.ContradictionDetector
-
Creates a detector with the given conflict checker, using the system UTC clock for temporal-validity checks against existing facts.
- ContradictionDetector(ContradictionDetector.ConflictChecker, Clock) - Constructor for class com.tnsai.intelligence.knowledge.ContradictionDetector
-
Creates a detector with an explicit
Clock— primarily for tests that pin time so they don't drift past hard-codedvalidUntilbounds. - ContradictionDetector.ConflictChecker - Interface in com.tnsai.intelligence.knowledge
-
Strategy for checking whether two facts conflict with each other.
- ContradictionDetector.Contradiction - Record Class in com.tnsai.intelligence.knowledge
-
A detected contradiction between two temporal knowledge items.
- ConversationTurn - Record Class in com.tnsai.session
-
Represents a single turn in an agent conversation.
- ConversationTurn(String, Instant, TurnType, String, String, Map<String, Object>) - Constructor for record class com.tnsai.session.ConversationTurn
-
Jackson constructor.
- correctedResult(String) - Method in class com.tnsai.reasoning.VerificationResult.Builder
- correction(String) - Static method in record class com.tnsai.learning.Feedback
- CORRECTION - Enum constant in enum class com.tnsai.learning.FeedbackType
-
User provided a correction or improvement.
- cost() - Static method in interface com.tnsai.planning.Consideration
-
Creates a cost consideration (lower cost = higher score).
- cost() - Method in record class com.tnsai.planning.PlanningAction
-
Returns the value of the
costrecord component. - cost(float) - Static method in interface com.tnsai.planning.Consideration
-
Creates a weighted cost consideration.
- cost(int) - Method in class com.tnsai.planning.PlanningAction.Builder
- count() - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- count() - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- count() - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- count() - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- count() - Method in interface com.tnsai.learning.FeedbackStore
- count() - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- count() - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- count() - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Gets the total count of stored knowledge.
- count() - Method in class com.tnsai.session.FileSessionStore
- count() - Method in interface com.tnsai.session.SessionStore
-
Counts total sessions.
- countByAgent(String) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- countByAgent(String) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- countByAgent(String) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- countByAgent(String) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- countByType(ExtractionType) - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- countByType(ExtractionType) - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- countByType(ExtractionType) - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Gets count by type.
- create() - Static method in class com.tnsai.autoteam.AutoTeamBuilder
-
Creates a new AutoTeamBuilder instance.
- create(TurnType, String, String) - Static method in record class com.tnsai.session.ConversationTurn
-
Creates a turn with minimal parameters.
- create(TurnType, String, String, Map<String, Object>) - Static method in record class com.tnsai.session.ConversationTurn
-
Creates a turn with metadata.
- create(Class<?>) - Method in class com.tnsai.planning.integration.DefaultPlannerHandleFactory
- create(String) - Method in class com.tnsai.learning.integration.DefaultFeedbackCollectorFactory
- create(String) - Method in class com.tnsai.reasoning.integration.DefaultReasoningStrategyHandleFactory
- create(String, SnapshotStore, DecisionTraceStore) - Method in class com.tnsai.context.integration.DefaultContextManagerFactory
- createPolicyFromBeliefs(List<Belief>) - Method in class com.tnsai.context.integration.BDIContextMapper
-
Creates decision policy from beliefs about rules.
- createReasoning(List<Belief>, List<Desire>, Intention) - Method in class com.tnsai.context.integration.BDIContextMapper
-
Creates decision reasoning from BDI state.
- createReasoningFromIntention(Intention) - Method in class com.tnsai.context.integration.BDIContextMapper
-
Creates simple reasoning from intention only.
- createSnapshot(SnapshotTrigger) - Method in class com.tnsai.context.integration.AgentContextManager
- createSnapshot(SnapshotTrigger, List<Belief>, List<Desire>, List<Intention>) - Method in class com.tnsai.context.integration.AgentContextManager
- createTrace(DecisionTrace.Builder) - Method in class com.tnsai.context.integration.AgentContextManager
- createTriggerFromBeliefChange(Belief, Belief) - Method in class com.tnsai.context.integration.BDIContextMapper
-
Creates a decision trigger from belief change.
- createTriggerFromIntention(Intention, String) - Method in class com.tnsai.context.integration.BDIContextMapper
-
Creates a decision trigger from intention activation.
- criteria() - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Returns the value of the
criteriarecord component. - criteria(CompletionCriteria) - Method in class com.tnsai.planning.tasklist.TaskItem.Builder
- CriteriaCheck - Interface in com.tnsai.refinement
-
Interface for criteria checks in the refinement loop.
- current() - Method in class com.tnsai.session.replay.SessionReplay
-
Gets the current step.
- currentStateColor(String) - Method in class com.tnsai.fsm.StateMachineVisualizer.DotOptions
- custom(String, Predicate<String>, String) - Static method in class com.tnsai.refinement.BuiltInChecks
-
Custom predicate check.
- custom(String, Predicate<Map<String, Object>>) - Static method in interface com.tnsai.output.validation.ValidationRule
-
Custom validation with a predicate.
- custom(Predicate<IterationResult>) - Static method in interface com.tnsai.refinement.StopHook
-
Stop based on custom condition.
- customCheck(String, Predicate<String>) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds a custom check with a predicate.
- customCheck(String, Predicate<String>, String) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds a custom check with a predicate and fail message.
- Customization - Search tag in class com.tnsai.autoteam.AutoTeamBuilder
- Section
- CYCLIC_PRECONDITION - Enum constant in enum class com.tnsai.planning.PlanningFailureException.Reason
-
The same target precondition was reached with the same simulated state.
D
- data() - Method in record class com.tnsai.fsm.Event
-
Returns the value of the
datarecord component. - Data Types - Search tag in package com.tnsai.autoteam
- Section
- Data Types - Search tag in package com.tnsai.planning.llm
- Section
- dateRange(LocalDate, LocalDate) - Method in class com.tnsai.session.SessionQuery.Builder
-
Sets the date range.
- deadline() - Method in record class com.tnsai.planning.PlanningGoal
-
Returns the value of the
deadlinerecord component. - decay(double, Duration) - Method in enum class com.tnsai.session.consolidation.ForgettingCurve
-
Calculates the decayed score based on age.
- decision() - Static method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Creates a builder for DECISION type knowledge.
- DECISION - Enum constant in enum class com.tnsai.session.extraction.ExtractionType
-
Architectural or design decision.
- decisionCount() - Method in record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Returns the value of the
decisionCountrecord component. - decompose(String) - Method in class com.tnsai.autoteam.TaskDecomposer
-
Decomposes a task description into a team plan.
- decompose(String) - Method in class com.tnsai.prompt.aot.AtomGenerator
-
Decomposes a problem into atoms.
- DEFAULT_LIMIT - Static variable in record class com.tnsai.session.extraction.KnowledgeFilter
-
Default limit for search results.
- DEFAULT_LIMIT - Static variable in record class com.tnsai.session.SessionQuery
-
Default limit for search results.
- DEFAULT_MAX_ARG_LENGTH - Static variable in class com.tnsai.context.compaction.TruncatingCompactor
-
Default maximum argument length before truncation.
- DEFAULT_MAX_SUMMARY_TOKENS - Static variable in record class com.tnsai.context.compaction.CompactionConfig
-
Default max summary tokens.
- DEFAULT_MIN_MESSAGES - Static variable in record class com.tnsai.context.compaction.CompactionConfig
-
Default minimum messages for compaction.
- DEFAULT_PRESERVE_LAST_N - Static variable in record class com.tnsai.context.compaction.CompactionConfig
-
Default number of messages to preserve.
- DEFAULT_SUMMARY_PROMPT - Static variable in record class com.tnsai.context.compaction.CompactionConfig
-
Default summary prompt template.
- DEFAULT_THRESHOLD_RATIO - Static variable in record class com.tnsai.context.compaction.CompactionConfig
-
Default threshold ratio (80%).
- DEFAULT_TOOL_RESULT_PRUNING_THRESHOLD - Static variable in record class com.tnsai.context.compaction.CompactionConfig
-
Default tool-result pruning threshold (tokens).
- defaultConsiderations() - Method in class com.tnsai.planning.UtilityAIPlanner.Builder
- DefaultContextManagerFactory - Class in com.tnsai.context.integration
-
Default factory for creating
AgentContextManagerinstances. - DefaultContextManagerFactory() - Constructor for class com.tnsai.context.integration.DefaultContextManagerFactory
- DefaultFeedbackCollectorFactory - Class in com.tnsai.learning.integration
-
Default
FeedbackCollector.Factoryimplementation. - DefaultFeedbackCollectorFactory() - Constructor for class com.tnsai.learning.integration.DefaultFeedbackCollectorFactory
- DefaultPlannerHandleFactory - Class in com.tnsai.planning.integration
-
Default factory for creating
PlannerHandleinstances. - DefaultPlannerHandleFactory() - Constructor for class com.tnsai.planning.integration.DefaultPlannerHandleFactory
- DefaultPromptEvaluator - Class in com.tnsai.prompt.optimizer
-
Default evaluator using keyword matching and similarity metrics.
- DefaultPromptEvaluator() - Constructor for class com.tnsai.prompt.optimizer.DefaultPromptEvaluator
- DefaultPromptEvaluator(float, float, float) - Constructor for class com.tnsai.prompt.optimizer.DefaultPromptEvaluator
- DefaultReasoningStrategyHandleFactory - Class in com.tnsai.reasoning.integration
-
Default factory for creating
ReasoningStrategyHandleinstances by name. - DefaultReasoningStrategyHandleFactory() - Constructor for class com.tnsai.reasoning.integration.DefaultReasoningStrategyHandleFactory
- defaults() - Static method in class com.tnsai.fsm.StateMachineVisualizer.DotOptions
- defaults() - Static method in class com.tnsai.fsm.StateMachineVisualizer.MermaidOptions
- delete(String) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- delete(String) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- delete(String) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- delete(String) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- delete(String) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- delete(String) - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- delete(String) - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- delete(String) - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Deletes knowledge by ID.
- delete(String) - Method in class com.tnsai.session.FileSessionStore
- delete(String) - Method in interface com.tnsai.session.SessionStore
-
Deletes a session.
- deleteByAgent(String) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- deleteByAgent(String) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- deleteByAgent(String) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- deleteByAgent(String) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- deleteOlderThan(Instant) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- deleteOlderThan(Instant) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- deleteOlderThan(Instant) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- deleteOlderThan(Instant) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- dependencies() - Method in record class com.tnsai.autoteam.TeamPlan
-
Returns the value of the
dependenciesrecord component. - dependencies(List<String>) - Method in class com.tnsai.prompt.aot.Atom.Builder
- depth(int) - Method in class com.tnsai.reasoning.ThoughtNode.Builder
- DEPTH_LIMITED - Enum constant in enum class com.tnsai.reasoning.PruningStrategy
-
Depth-limited - explore all branches up to max depth.
- description() - Method in record class com.tnsai.norms.NormEntry
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.planning.llm.CapabilityDescriptor
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.planning.llm.LLMPlanStep
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.planning.PlanningAction
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.planning.PlanningGoal
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.tnsai.session.replay.ReplayStep
-
Returns the value of the
descriptionrecord component. - description(String) - Method in class com.tnsai.planning.PlanningAction.Builder
- description(String) - Method in class com.tnsai.planning.tasklist.TaskItem.Builder
- description(String) - Method in class com.tnsai.prompt.aot.Atom.Builder
- detect(TemporalKnowledge, List<TemporalKnowledge>) - Method in class com.tnsai.intelligence.knowledge.ContradictionDetector
-
Detects contradictions between an incoming fact and a list of existing facts.
- diffSnapshots(String, String) - Method in class com.tnsai.context.integration.AgentContextManager
-
Computes diff between two snapshots.
- direction(String) - Method in class com.tnsai.fsm.StateMachineVisualizer.DotOptions
- DotOptions() - Constructor for class com.tnsai.fsm.StateMachineVisualizer.DotOptions
- duration() - Method in record class com.tnsai.reasoning.got.GoTResult
-
Returns the value of the
durationrecord component. - duration() - Method in record class com.tnsai.session.consolidation.ConsolidationResult
-
Returns the value of the
durationrecord component. - duration() - Method in record class com.tnsai.session.replay.SessionReplay.ReplayStats
-
Returns the value of the
durationrecord component. - duration(Duration) - Method in class com.tnsai.reasoning.react.ReActResult.Builder
- duration(Duration) - Method in class com.tnsai.reasoning.react.ReActStep.Builder
- duration(Duration) - Method in class com.tnsai.reasoning.ReasoningPath.Builder
- duration(Duration) - Method in class com.tnsai.reasoning.ToTResult.Builder
- dynamicTool(DynamicToolMethod) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Adds a
DynamicToolMethod(e.g. an MCP proxy) to the pool of tools that can be assigned to generated agents. - dynamicTools(List<DynamicToolMethod>) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Adds a batch of
DynamicToolMethods.
E
- edgeCaseFocused() - Static method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator.GenerationSpec
- elapsedTime() - Method in record class com.tnsai.session.replay.ReplayStep
-
Returns the value of the
elapsedTimerecord component. - empty() - Static method in record class com.tnsai.learning.FeedbackLearner.LearningResult
- empty(String) - Static method in class com.tnsai.prompt.aot.AotResult
-
Creates an empty result for empty input.
- end() - Method in record class com.tnsai.session.SessionSearchResult.MatchPosition
-
Returns the value of the
endrecord component. - endConversation() - Method in class com.tnsai.context.integration.AgentContextManager
- endDate() - Method in record class com.tnsai.session.SessionQuery
-
Returns the value of the
endDaterecord component. - enrich(String) - Method in class com.tnsai.learning.AdaptivePromptEnricher
-
Enriches the base system prompt with learned rules and preferences.
- ensureConversation() - Method in class com.tnsai.context.integration.AgentContextManager
- EphemeralConfig(int) - Constructor for record class com.tnsai.context.ephemeral.EphemeralContextManager.EphemeralConfig
- EphemeralConfig(int, boolean, String) - Constructor for record class com.tnsai.context.ephemeral.EphemeralContextManager.EphemeralConfig
-
Creates an instance of a
EphemeralConfigrecord class. - EphemeralContextManager - Class in com.tnsai.context.ephemeral
-
Manages ephemeral tool outputs to prevent context explosion.
- EphemeralContextManager() - Constructor for class com.tnsai.context.ephemeral.EphemeralContextManager
-
Creates a new ephemeral context manager.
- EphemeralContextManager.EphemeralConfig - Record Class in com.tnsai.context.ephemeral
-
Configuration for an ephemeral action.
- EphemeralContextManager.TrackedResult - Record Class in com.tnsai.context.ephemeral
-
Tracks a single tool result.
- equals(Object) - Method in record class com.tnsai.autoteam.AutoTeamBuilder.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.autoteam.GeneratedAgentConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.autoteam.TeamPlan
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.compaction.CompactionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.EphemeralConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.TrackedResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.fsm.Event
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.tnsai.fsm.State
- equals(Object) - Method in record class com.tnsai.fsm.StateMachineContext.StateTransitionRecord
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.intelligence.knowledge.ContradictionDetector.Contradiction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.learning.Feedback
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.learning.FeedbackLearner.LearningResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.norms.NormEngine.CheckResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.norms.NormEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.norms.NormViolation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.output.validation.StructuredOutputExecutor.StructuredOutputResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.output.validation.ValidationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.llm.CapabilityDescriptor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.llm.LLMPlan
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.llm.LLMPlanStep
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.llm.PlanExecutionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.llm.StepExecutionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.PlanningAction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.PlanningGoal
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.tasklist.ProgressMemory.Learning
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.tasklist.TaskList
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.planning.tasklist.TaskListResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.IterationRecord
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.StrategyRecord
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reasoning.causal.CausalResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.reasoning.got.GoTResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.refinement.RefinementResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.consolidation.ConsolidationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.ConversationTurn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.replay.ReplayStep
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.replay.SessionReplay.ReplayStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.SearchableSessionStore.SessionStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.SessionQuery
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.SessionSearchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.SessionSearchResult.MatchedTurn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.session.SessionSearchResult.MatchPosition
-
Indicates whether some other object is "equal to" this one.
- equals(String, Object) - Static method in interface com.tnsai.fsm.Guard
-
Creates a guard that checks if a context value equals expected.
- error() - Method in record class com.tnsai.planning.llm.StepExecutionResult
-
Returns the value of the
errorrecord component. - ERROR - Enum constant in enum class com.tnsai.reasoning.react.ReActStatus
-
An error occurred during execution.
- ERROR - Enum constant in enum class com.tnsai.refinement.RefinementStatus
- ERROR - Enum constant in enum class com.tnsai.session.TurnType
-
An error that occurred during the conversation.
- errorMessage(String) - Method in class com.tnsai.prompt.aot.AotResult.Builder
- errors() - Method in record class com.tnsai.output.validation.StructuredOutputExecutor.StructuredOutputResult
-
Returns the value of the
errorsrecord component. - errors() - Method in record class com.tnsai.output.validation.ValidationResult
-
Returns the value of the
errorsrecord component. - estimate(String) - Static method in class com.tnsai.reasoning.TokenEstimator
-
Estimates token count from text length.
- estimateTokens(List<Map<String, Object>>) - Method in interface com.tnsai.context.compaction.ContextCompactor
-
Estimates token count for a list of messages.
- estimateTokens(List<Map<String, Object>>) - Method in class com.tnsai.context.compaction.LLMContextCompactor
- estimateTokens(List<Map<String, Object>>) - Method in class com.tnsai.context.compaction.TruncatingCompactor
- estimateTokens(List<Map<String, Object>>) - Method in class com.tnsai.context.compaction.TwoPhaseCompactor
- Evaluable - Interface in com.tnsai.reasoning
-
Contract for thought nodes that can be evaluated by a
BranchEvaluator. - evaluate(StateMachineContext) - Method in interface com.tnsai.fsm.Guard
-
Evaluates the guard condition.
- evaluate(PlanningAction, Map<String, Object>) - Method in interface com.tnsai.planning.Consideration
-
Evaluates this consideration for the given action and state.
- evaluate(Evaluable, String) - Method in interface com.tnsai.reasoning.BranchEvaluator
-
Evaluates a thought node and returns a score (0.0 - 1.0).
- evaluate(String) - Method in class com.tnsai.refinement.CompletionCriteria
-
Evaluates all checks against the output.
- evaluate(String) - Method in interface com.tnsai.refinement.CriteriaCheck
-
Evaluates the output against this criterion.
- evaluate(String, String) - Method in class com.tnsai.prompt.optimizer.DefaultPromptEvaluator
- evaluate(String, String) - Method in interface com.tnsai.prompt.optimizer.PromptEvaluator
-
Evaluates a response against expected output.
- evaluate(String, Map<String, Object>) - Static method in class com.tnsai.planning.ConditionEvaluator
-
Evaluates a condition expression against the given state.
- evaluator(PromptEvaluator) - Method in class com.tnsai.prompt.optimizer.PromptOptimizer.Builder
- evaluator(BranchEvaluator) - Method in class com.tnsai.reasoning.got.GraphOfThoughtsExecutor.Builder
- evaluator(BranchEvaluator) - Method in class com.tnsai.reasoning.TreeOfThoughtsExecutor.Builder
-
Sets the branch evaluator.
- event() - Method in record class com.tnsai.fsm.StateMachineContext.StateTransitionRecord
-
Returns the value of the
eventrecord component. - Event - Record Class in com.tnsai.fsm
-
Represents an event that triggers state transitions.
- Event(String, Map<String, Object>) - Constructor for record class com.tnsai.fsm.Event
-
Creates an event with the given name.
- eventDataEquals(String, Object) - Static method in interface com.tnsai.fsm.Guard
-
Creates a guard that checks event data.
- evictExpired() - Method in class com.tnsai.session.FileSessionStore
-
Evicts sessions older than the configured
maxAgeDays(based on session start time). - EXACT - Enum constant in enum class com.tnsai.session.SessionQuery.SearchMode
-
Match exact phrase
- EXAMPLE_COLLECTION - Enum constant in enum class com.tnsai.learning.LearningStrategy
-
Collect good examples for few-shot prompting.
- Examples - Search tag in class com.tnsai.planning.ConditionEvaluator
- Section
- execute(Agent) - Method in class com.tnsai.planning.tasklist.TaskListExecutor
-
Executes the task list with an agent.
- execute(Agent, String) - Method in class com.tnsai.refinement.RefinementLoop
-
Executes the refinement loop with an agent.
- execute(StateMachineContext) - Method in interface com.tnsai.fsm.StateAction
-
Executes the action.
- execute(StateMachineContext, State, State) - Method in interface com.tnsai.fsm.TransitionAction
-
Executes the action.
- execute(LLMClient) - Method in class com.tnsai.planning.tasklist.TaskListExecutor
-
Executes the task list with an LLM client.
- execute(LLMClient, String) - Method in class com.tnsai.refinement.RefinementLoop
-
Executes the refinement loop with an LLM client.
- execute(LLMPlanStep) - Method in interface com.tnsai.planning.llm.StepExecutor
-
Executes a single plan step and returns the result.
- execute(String) - Method in class com.tnsai.planning.llm.AdaptiveReplanEngine
-
Generates and executes a plan for the given goal, replanning on failure.
- execute(String) - Method in class com.tnsai.reasoning.react.ReActExecutor
-
Executes the ReAct loop for the given question/task.
- execute(String, String) - Method in interface com.tnsai.reasoning.react.ActionHandler
-
Executes an action and returns the observation.
- execute(String, Map<String, Object>) - Method in class com.tnsai.planning.llm.AdaptiveReplanEngine
-
Generates and executes a plan for the given goal with state context.
- execute(List<PlannerHandle.PlanStep>, Object) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner
- executeAction(StateMachineContext) - Method in class com.tnsai.fsm.Transition
-
Executes the transition action if present.
- executeAction(PlanningAction) - Method in class com.tnsai.planning.PlanExecutor
-
Executes a single action on the role instance.
- executeOnEntry(StateMachineContext) - Method in class com.tnsai.fsm.State
-
Executes the entry action if present.
- executeOnExit(StateMachineContext) - Method in class com.tnsai.fsm.State
-
Executes the exit action if present.
- executePlan(LLMPlan) - Method in class com.tnsai.planning.llm.AdaptiveReplanEngine
-
Executes an already-generated plan, replanning on failure.
- executePlan(LLMPlan, Map<String, Object>) - Method in class com.tnsai.planning.llm.AdaptiveReplanEngine
-
Executes an already-generated plan with state context, replanning on failure.
- executeWithTrace(String, Supplier<T>) - Method in class com.tnsai.context.integration.AgentContextManager
- executeWithTrace(String, Supplier<T>, Supplier<List<Belief>>, Supplier<List<Desire>>, Supplier<List<Intention>>) - Method in class com.tnsai.context.integration.AgentContextManager
- Executing a plan - Search tag in package com.tnsai.planning
- Section
- EXHAUSTIVE - Enum constant in enum class com.tnsai.reasoning.PruningStrategy
-
No pruning - explore all branches (expensive).
- existing() - Method in record class com.tnsai.intelligence.knowledge.ContradictionDetector.Contradiction
-
Returns the value of the
existingrecord component. - exists(String) - Method in class com.tnsai.session.FileSessionStore
-
Cheap existence check: consults the in-memory index and verifies the session file exists on disk, without parsing any JSON.
- exists(String) - Method in interface com.tnsai.session.SessionStore
-
Checks if a session exists.
- expectedOutput(String) - Method in class com.tnsai.prompt.optimizer.TestCase.Builder
- explainDecision(String) - Method in class com.tnsai.context.integration.AgentContextManager
- explanation() - Method in record class com.tnsai.intelligence.knowledge.ContradictionDetector.Contradiction
-
Returns the value of the
explanationrecord component. - explore(String) - Method in class com.tnsai.reasoning.got.GraphOfThoughtsExecutor
-
Explores the problem space using Graph of Thoughts.
- explore(String) - Method in class com.tnsai.reasoning.TreeOfThoughtsExecutor
-
Explores the problem space using Tree of Thoughts.
- EXPONENTIAL - Enum constant in enum class com.tnsai.session.consolidation.ForgettingCurve
-
Exponential decay (Ebbinghaus-inspired).
- ExtendedThinkingClient - Class in com.tnsai.reasoning
-
Extended thinking mode client for deep reasoning tasks.
- ExtendedThinkingClient.Builder - Class in com.tnsai.reasoning
-
Builder for ExtendedThinkingClient.
- extract(AgentSession) - Method in interface com.tnsai.session.extraction.KnowledgeExtractor
-
Extracts all types of knowledge from a session.
- extract(AgentSession, Set<ExtractionType>) - Method in interface com.tnsai.session.extraction.KnowledgeExtractor
-
Extracts specific types of knowledge from a session.
- extract(AgentSession, Set<ExtractionType>) - Method in class com.tnsai.session.extraction.LLMKnowledgeExtractor
- extractAll(List<AgentSession>) - Method in interface com.tnsai.session.extraction.KnowledgeExtractor
-
Extracts knowledge from multiple sessions.
- extractAll(List<AgentSession>, Set<ExtractionType>) - Method in interface com.tnsai.session.extraction.KnowledgeExtractor
-
Extracts knowledge from multiple sessions with specific types.
- extractBeliefs() - Method in class com.tnsai.planning.PlanExecutor
-
Extracts current state from @State annotated fields.
- extractedAnswer(String) - Method in class com.tnsai.reasoning.ReasoningPath.Builder
- extractedAt() - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Returns the value of the
extractedAtrecord component. - extractedAt() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
extractedAtrecord component. - extractedAt(Instant) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets the extraction timestamp.
- extractedKnowledge() - Method in record class com.tnsai.session.consolidation.ConsolidationResult
-
Returns the value of the
extractedKnowledgerecord component. - ExtractedKnowledge - Record Class in com.tnsai.session.extraction
-
Represents knowledge extracted from a session.
- ExtractedKnowledge(String, ExtractionType, String, String, String, String, List<String>, List<String>, List<String>, double, Instant, Map<String, Object>) - Constructor for record class com.tnsai.session.extraction.ExtractedKnowledge
-
Creates an instance of a
ExtractedKnowledgerecord class. - ExtractedKnowledge.Builder - Class in com.tnsai.session.extraction
-
Builder for ExtractedKnowledge.
- ExtractionType - Enum Class in com.tnsai.session.extraction
-
Types of knowledge that can be extracted from sessions.
- extractState(Object) - Static method in class com.tnsai.planning.BackwardChainingPlanner
-
Extracts current state from
@Stateannotated fields, including fields inherited from superclasses, which core'sRoleSpecExtractoralso collects. - extractThinking(boolean) - Method in class com.tnsai.reasoning.ExtendedThinkingClient.Builder
-
Whether to extract and separate thinking from answer (default: true).
- extractVariables(String) - Method in class com.tnsai.prompt.SimpleTemplateEngine
F
- fact() - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Returns the value of the
factrecord component. - fail(String) - Method in class com.tnsai.session.AgentSession
-
Marks the session as failed.
- failed(String, String) - Static method in class com.tnsai.prompt.aot.AotResult
-
Creates a failed result.
- FAILED - Enum constant in enum class com.tnsai.fsm.StateMachine.Status
- FAILED - Enum constant in enum class com.tnsai.planning.tasklist.TaskStatus
- FAILED - Enum constant in enum class com.tnsai.prompt.aot.Atom.AtomStatus
- FAILED - Enum constant in enum class com.tnsai.session.SessionOutcome
-
Session failed with an error.
- failedCount() - Method in record class com.tnsai.planning.llm.PlanExecutionResult
-
Returns the number of failed steps.
- failedSessions() - Method in record class com.tnsai.session.SearchableSessionStore.SessionStats
-
Returns the value of the
failedSessionsrecord component. - failure(String) - Static method in record class com.tnsai.output.validation.ValidationResult
- failure(String) - Static method in record class com.tnsai.planning.llm.StepExecutionResult
-
Creates a failure result.
- failure(String, String) - Static method in record class com.tnsai.planning.llm.StepExecutionResult
-
Creates a failure result with partial output.
- failure(List<String>) - Static method in record class com.tnsai.output.validation.ValidationResult
- Features - Search tag in class com.tnsai.prompt.optimizer.PromptOptimizer
- Section
- Feedback - Record Class in com.tnsai.learning
-
Represents user or system feedback on agent output.
- Feedback(String, FeedbackType, String, String, Instant, Map<String, Object>) - Constructor for record class com.tnsai.learning.Feedback
-
Creates an instance of a
Feedbackrecord class. - feedbackAnalyzed() - Method in record class com.tnsai.learning.FeedbackLearner.LearningResult
-
Returns the value of the
feedbackAnalyzedrecord component. - FeedbackLearner - Class in com.tnsai.learning
-
Learns from user feedback to improve agent behavior over time.
- FeedbackLearner.Builder - Class in com.tnsai.learning
- FeedbackLearner.LearningResult - Record Class in com.tnsai.learning
-
Result of a learning cycle.
- feedbackStore(FeedbackStore) - Method in class com.tnsai.learning.FeedbackLearner.Builder
- FeedbackStore - Interface in com.tnsai.learning
-
Storage for agent feedback records.
- FeedbackType - Enum Class in com.tnsai.learning
-
Types of feedback that can be provided on agent output.
- file(String) - Static method in interface com.tnsai.session.extraction.KnowledgeStore
-
Creates a file-based knowledge store.
- file(String) - Static method in interface com.tnsai.session.SearchableSessionStore
-
Creates a searchable file-based session store.
- file(String) - Static method in interface com.tnsai.session.SessionStore
-
Creates a file-based session store.
- file(Path) - Static method in interface com.tnsai.planning.tasklist.ProgressMemory
-
Creates a file-based progress memory.
- File Format - Search tag in class com.tnsai.prompt.PromptLoader
- Section
- FileKnowledgeStore - Class in com.tnsai.session.extraction
-
File-based implementation of KnowledgeStore.
- FileKnowledgeStore(String) - Constructor for class com.tnsai.session.extraction.FileKnowledgeStore
-
Creates a file-based knowledge store.
- FileSessionStore - Class in com.tnsai.session
-
File-based implementation of SessionStore.
- FileSessionStore(String) - Constructor for class com.tnsai.session.FileSessionStore
-
Creates a file session store with no retention (existing behavior).
- FileSessionStore(String, long) - Constructor for class com.tnsai.session.FileSessionStore
-
Creates a file session store with opt-in age-based retention.
- filterSteps(Predicate<ReplayStep>) - Method in class com.tnsai.session.replay.SessionReplay
-
Gets steps filtered by predicate.
- finalAnswer(String) - Method in class com.tnsai.reasoning.react.ReActResult.Builder
- finalAnswer(String) - Method in class com.tnsai.reasoning.ThinkingResult.Builder
- finalAnswerDetected() - Static method in interface com.tnsai.reasoning.react.StopCondition
-
Stops when the LLM indicates it has a final answer (detects "Final Answer:" pattern).
- finalOutput() - Method in record class com.tnsai.refinement.RefinementResult
-
Returns the value of the
finalOutputrecord component. - findActionsForGoal(PlanningGoal, Map<String, Object>) - Method in class com.tnsai.planning.BackwardChainingPlanner
- findActionsForGoal(PlanningGoal, Map<String, Object>) - Method in interface com.tnsai.planning.Planner
-
Finds actions that can help achieve a goal.
- findActionsForGoal(PlanningGoal, Map<String, Object>) - Method in class com.tnsai.planning.UtilityAIPlanner
- findApplicableActions(Map<String, Object>) - Method in class com.tnsai.planning.BackwardChainingPlanner
- findApplicableActions(Map<String, Object>) - Method in interface com.tnsai.planning.Planner
-
Finds actions whose preconditions are satisfied.
- findApplicableActions(Map<String, Object>) - Method in class com.tnsai.planning.UtilityAIPlanner
- findByAction(String) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- findByAction(String) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- findByAgent(String) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- findByAgent(String) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- findByAgent(String) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- findByAgent(String) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- findByAgent(String) - Method in class com.tnsai.session.FileSessionStore
- findByAgent(String) - Method in interface com.tnsai.session.SessionStore
-
Lists sessions for a specific agent.
- findByAgentAndTimeRange(String, Instant, Instant) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- findByAgentAndTimeRange(String, Instant, Instant) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- findByAuthor(String) - Method in class com.tnsai.prompt.PromptRegistry
-
Finds templates by author.
- findByConversation(String) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- findByConversation(String) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- findByConversation(String) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- findByConversation(String) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- findByDate(LocalDate) - Method in class com.tnsai.session.FileSessionStore
- findByDate(LocalDate) - Method in interface com.tnsai.session.SessionStore
-
Lists sessions for a specific date.
- findByDateRange(LocalDate, LocalDate) - Method in class com.tnsai.session.FileSessionStore
- findByDateRange(LocalDate, LocalDate) - Method in interface com.tnsai.session.SessionStore
-
Lists sessions in a date range.
- findById(String) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- findById(String) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- findById(String) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- findById(String) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- findByOutcome(DecisionOutcome.OutcomeStatus) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- findByOutcome(DecisionOutcome.OutcomeStatus) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- findByOutcome(SessionOutcome) - Method in class com.tnsai.session.FileSessionStore
- findByOutcome(SessionOutcome) - Method in interface com.tnsai.session.SessionStore
-
Lists sessions with a specific outcome.
- findByProject(String) - Method in class com.tnsai.session.FileSessionStore
- findByProject(String) - Method in interface com.tnsai.session.SessionStore
-
Lists sessions for a specific project.
- findByTag(String) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- findByTag(String) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- findByTag(String) - Method in class com.tnsai.prompt.PromptRegistry
-
Finds templates by tag.
- findByTag(String) - Method in class com.tnsai.session.FileSessionStore
- findByTag(String) - Method in interface com.tnsai.session.SessionStore
-
Lists sessions with a specific tag.
- findByTimeRange(Instant, Instant) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- findByTimeRange(Instant, Instant) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- findByTimeRange(Instant, Instant) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- findByTimeRange(Instant, Instant) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- findByToolUsage(String) - Method in class com.tnsai.session.SearchableFileSessionStore
- findByToolUsage(String) - Method in interface com.tnsai.session.SearchableSessionStore
-
Searches for sessions containing a specific tool call.
- findByTrigger(SnapshotTrigger) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- findByTrigger(SnapshotTrigger) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- findByTriggerType(DecisionTrigger.TriggerType) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- findByTriggerType(DecisionTrigger.TriggerType) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- findChildren(String) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- findChildren(String) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- findDecisionsByAction(String) - Method in class com.tnsai.context.integration.AgentContextManager
- findDecisionsInCurrentConversation() - Method in class com.tnsai.context.integration.AgentContextManager
- findFailedDecisions() - Method in class com.tnsai.context.integration.AgentContextManager
- findLatestByAgent(String) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- findLatestByAgent(String) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- findPotentialDuplicates(Entity, double) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- findPrecedents(DecisionTrace, double) - Method in class com.tnsai.context.integration.AgentContextManager
- findRecent(int) - Method in class com.tnsai.session.FileSessionStore
- findRecent(int) - Method in interface com.tnsai.session.SessionStore
-
Gets the most recent sessions.
- findRecentByAgent(String, int) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- findRecentByAgent(String, int) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- findSatisfiedGoals(Map<String, Object>) - Method in class com.tnsai.planning.BackwardChainingPlanner
- findSatisfiedGoals(Map<String, Object>) - Method in interface com.tnsai.planning.Planner
-
Finds goals that are currently satisfied.
- findSatisfiedGoals(Map<String, Object>) - Method in class com.tnsai.planning.UtilityAIPlanner
- findSimilar(DecisionTrace, double) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- findSimilar(DecisionTrace, double) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- findSimilar(ExtractedKnowledge, int) - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- findSimilar(ExtractedKnowledge, int) - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- findSimilar(ExtractedKnowledge, int) - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Finds knowledge similar to the given item.
- findSimilar(String, int) - Method in class com.tnsai.session.SearchableFileSessionStore
- findSimilar(String, int) - Method in interface com.tnsai.session.SearchableSessionStore
-
Gets sessions similar to the given session.
- findSnapshot(String) - Method in class com.tnsai.context.integration.AgentContextManager
- findSuccessfulDecisions() - Method in class com.tnsai.context.integration.AgentContextManager
- findTrace(String) - Method in class com.tnsai.context.integration.AgentContextManager
- findUnsatisfiedGoals(Map<String, Object>) - Method in class com.tnsai.planning.BackwardChainingPlanner
- findUnsatisfiedGoals(Map<String, Object>) - Method in interface com.tnsai.planning.Planner
-
Finds goals that are not currently satisfied.
- findUnsatisfiedGoals(Map<String, Object>) - Method in class com.tnsai.planning.UtilityAIPlanner
- fire(Event) - Method in class com.tnsai.fsm.StateMachine
-
Fires an event to trigger transitions.
- first() - Method in class com.tnsai.session.replay.SessionReplay
-
Goes to the first step.
- fontName(String) - Method in class com.tnsai.fsm.StateMachineVisualizer.DotOptions
- forgettingCurve(ForgettingCurve) - Method in class com.tnsai.session.consolidation.MemoryConsolidationPipeline.Builder
- ForgettingCurve - Enum Class in com.tnsai.session.consolidation
-
Memory decay strategies based on forgetting curves.
- format() - Method in class com.tnsai.reasoning.react.ReActStep
-
Returns a formatted representation of this step.
- Formation Selection Logic - Search tag in class com.tnsai.autoteam.TopologySelector
- Section
- FREE_FORM - Enum constant in enum class com.tnsai.reasoning.react.ThoughtFormat
-
Free-form reasoning where the LLM can express thoughts naturally.
- from(Ephemeral) - Static method in record class com.tnsai.context.ephemeral.EphemeralContextManager.EphemeralConfig
-
Creates config from annotation.
- from(State) - Static method in class com.tnsai.fsm.Transition
-
Starts building a transition from the given state.
- from(LocalDate) - Method in class com.tnsai.session.SessionQuery.Builder
-
Sets the start date.
- fromAnnotations(Class<?>) - Static method in class com.tnsai.norms.NormEngine
-
Creates a NormEngine from annotations on a class.
- fromPlannerOutput(String, List<PlanningAction>) - Static method in record class com.tnsai.planning.tasklist.TaskList
-
Creates a TaskList from planner output, bridging GOAP planning to task execution.
- fromState() - Method in record class com.tnsai.fsm.StateMachineContext.StateTransitionRecord
-
Returns the value of the
fromStaterecord component. - fulfills() - Method in record class com.tnsai.planning.PlanningAction
-
Returns the value of the
fulfillsrecord component. - fulfills(String...) - Method in class com.tnsai.planning.PlanningAction.Builder
- fulfillsGoal(String) - Method in record class com.tnsai.planning.PlanningAction
-
Checks if this action fulfills the specified goal.
G
- generate(String) - Method in class com.tnsai.output.validation.StructuredOutputExecutor
-
Generates structured output with validation and retry.
- generate(String, int) - Method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator
-
Generates test cases for a task.
- generate(String, int, SyntheticDataGenerator.GenerationSpec) - Method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator
-
Generates test cases with custom configuration.
- GENERATE - Enum constant in enum class com.tnsai.reasoning.got.GoTOperation
-
Generate new thoughts from existing ones.
- generateAndReview(LLMDynamicPlanner, String) - Method in class com.tnsai.planning.llm.PlanApprovalGate
-
Generates a plan and reviews it in one step.
- generateAndReview(LLMDynamicPlanner, String, Map<String, Object>) - Method in class com.tnsai.planning.llm.PlanApprovalGate
-
Generates a plan with state context and reviews it.
- generateConfigs(TeamPlan) - Method in class com.tnsai.autoteam.AgentConfigGenerator
-
Generates enriched agent configurations with tailored system prompts.
- GeneratedAgentConfig - Record Class in com.tnsai.autoteam
-
Configuration for a single agent within a generated team.
- GeneratedAgentConfig(String, String, String, List<String>, List<String>, Map<String, Object>) - Constructor for record class com.tnsai.autoteam.GeneratedAgentConfig
-
Creates a validated GeneratedAgentConfig.
- generateEdgeCases(String, int) - Method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator
-
Generates edge cases specifically.
- generateGoldenDataset(String, int) - Method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator
-
Generates a golden dataset (high-quality reference examples).
- generatePlan(String) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner
-
Generates a plan for the given natural-language goal.
- generatePlan(String, Map<String, Object>) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner
-
Generates a plan for the given goal with current state context.
- generateSummary(String, int) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Generates a summary message for removed results.
- generator(AtomGenerator) - Method in class com.tnsai.prompt.aot.AotProcessor.Builder
- get(String) - Method in class com.tnsai.fsm.StateMachineContext
-
Gets a value from the context.
- get(String) - Method in class com.tnsai.prompt.PromptRegistry
-
Gets a template by name.
- getAction() - Method in class com.tnsai.fsm.Transition
-
Gets the transition action.
- getAction() - Method in class com.tnsai.reasoning.react.ReActStep
- getAction(String) - Method in interface com.tnsai.planning.Planner
-
Finds an action by name.
- getActionInput() - Method in class com.tnsai.reasoning.react.ReActStep
- getActions() - Method in class com.tnsai.planning.BackwardChainingPlanner
- getActions() - Method in interface com.tnsai.planning.Planner
-
Returns all registered actions.
- getActions() - Method in class com.tnsai.planning.UtilityAIPlanner
- getActionsByUtility(Map<String, Object>) - Method in class com.tnsai.planning.UtilityAIPlanner
-
Gets all actions sorted by utility (highest first).
- getActiveObligations(Predicate<String>) - Method in class com.tnsai.norms.NormEngine
-
Gets all active obligations for the current context.
- getActivePermissions(Predicate<String>) - Method in class com.tnsai.norms.NormEngine
-
Gets all active permissions for the current context.
- getActiveProhibitions(Predicate<String>) - Method in class com.tnsai.norms.NormEngine
-
Gets all active prohibitions for the current context.
- getAgentId() - Method in class com.tnsai.context.integration.AgentContextManager
- getAgentName() - Method in class com.tnsai.session.AgentSession
- getAll() - Method in interface com.tnsai.learning.FeedbackStore
- getAll() - Method in class com.tnsai.prompt.PromptRegistry
-
Gets all registered templates.
- getAllDecisions() - Method in class com.tnsai.context.integration.AgentContextManager
- getAllLeaves() - Method in class com.tnsai.reasoning.ToTResult
-
Gets all leaf nodes (complete paths).
- getAllNorms() - Method in class com.tnsai.norms.NormEngine
-
Gets all registered norms.
- getAllPaths() - Method in class com.tnsai.reasoning.ConsistencyResult
-
Gets all reasoning paths generated.
- getAllSteps() - Method in class com.tnsai.session.replay.SessionReplay
-
Gets all steps as a list.
- getAnswer() - Method in class com.tnsai.prompt.aot.AotResult
- getAnswerCounts() - Method in class com.tnsai.reasoning.ConsistencyResult
-
Gets the count of each unique answer.
- getAnthropicClient() - Method in class com.tnsai.reasoning.ExtendedThinkingClient
-
Gets the underlying Anthropic client.
- getAtomCount() - Method in class com.tnsai.prompt.aot.AotResult
-
Returns number of atoms used.
- getAtoms() - Method in class com.tnsai.prompt.aot.AotResult
- getAvailableEvents() - Method in class com.tnsai.fsm.StateMachine
-
Gets available events from current state.
- getAverageAtomConfidence() - Method in class com.tnsai.prompt.aot.AotResult
-
Returns average confidence across all atoms.
- getAverageScore() - Method in class com.tnsai.reasoning.ThoughtNode
-
Gets the average score along the path to this node.
- getBdiMapper() - Method in class com.tnsai.context.integration.AgentContextManager
-
Gets the BDI mapper.
- getBestLeaf() - Method in class com.tnsai.reasoning.ToTResult
-
Gets the best leaf node (highest scoring complete path).
- getBestPath() - Method in class com.tnsai.reasoning.ToTResult
-
Gets the best reasoning path as a string.
- getBestPrompt() - Method in class com.tnsai.prompt.optimizer.OptimizationResult
- getBestScore() - Method in record class com.tnsai.reasoning.got.GoTResult
- getBestScore() - Method in class com.tnsai.reasoning.ToTResult
-
Gets the best path score.
- getBestThought() - Method in record class com.tnsai.reasoning.got.GoTResult
- getBySession(String) - Method in interface com.tnsai.learning.FeedbackStore
- getByType(FeedbackType) - Method in interface com.tnsai.learning.FeedbackStore
- getCapabilities() - Method in class com.tnsai.planning.llm.LLMDynamicPlanner
-
Returns the configured capabilities.
- getCategory() - Method in class com.tnsai.prompt.optimizer.TestCase
- getChecks() - Method in class com.tnsai.refinement.CompletionCriteria
-
Gets all criteria checks.
- getChildren() - Method in class com.tnsai.reasoning.got.GoTNode
- getChildren() - Method in class com.tnsai.reasoning.ThoughtNode
-
Gets the child nodes.
- getCompletionReason() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
- getComplexityScore(String) - Method in class com.tnsai.prompt.aot.AotProcessor
-
Returns the complexity score for a question.
- getConfidence() - Method in class com.tnsai.prompt.aot.AotResult
- getConfidence() - Method in class com.tnsai.prompt.aot.Atom
- getConfidence() - Method in class com.tnsai.reasoning.ConsistencyResult
-
Gets the confidence score (0.0 - 1.0).
- getConfidence() - Method in class com.tnsai.reasoning.VerificationResult
-
Gets the confidence score (0.0 - 1.0).
- getConfidenceThreshold() - Method in class com.tnsai.context.integration.BDIContextMapper
-
Gets the confidence threshold used by this mapper.
- getConfig(String) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Gets the configuration for an action.
- getConsecutiveNoActionCount() - Method in class com.tnsai.reasoning.react.StopCondition.StopContext
- getConsensusAnswer() - Method in class com.tnsai.reasoning.ConsistencyResult
-
Gets the consensus answer (most common answer across reasoning paths).
- getContent() - Method in class com.tnsai.prompt.SimplePromptTemplate
- getContext() - Method in class com.tnsai.fsm.StateMachine
-
Gets the context.
- getCorrectedResult() - Method in class com.tnsai.reasoning.VerificationResult
-
Gets the auto-corrected result, if available.
- getCumulativeScore() - Method in class com.tnsai.reasoning.ThoughtNode
-
Gets the cumulative score along the path to this node.
- getCurrentConversationId() - Method in class com.tnsai.context.integration.AgentContextManager
- getCurrentEvent() - Method in class com.tnsai.fsm.StateMachineContext
-
Gets the current event being processed.
- getCurrentIndex() - Method in class com.tnsai.session.replay.SessionReplay
-
Gets the current step index.
- getCurrentPrompt() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
- getCurrentScore() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
- getCurrentState() - Method in class com.tnsai.fsm.StateMachine
-
Gets the current state.
- getCurrentState() - Method in class com.tnsai.fsm.StateMachineContext
-
Gets the current state.
- getData() - Method in class com.tnsai.fsm.StateMachineContext
-
Gets all data as an unmodifiable map.
- getData(String) - Method in record class com.tnsai.fsm.Event
-
Gets data by key.
- getDataOrDefault(String, T) - Method in record class com.tnsai.fsm.Event
-
Gets data with default.
- getDecisionCount() - Method in class com.tnsai.context.integration.AgentContextManager
- getDependencies() - Method in class com.tnsai.prompt.aot.Atom
- getDepth() - Method in interface com.tnsai.reasoning.Evaluable
-
Gets the depth of this node (root = 0).
- getDepth() - Method in class com.tnsai.reasoning.got.GoTNode
- getDepth() - Method in class com.tnsai.reasoning.ThoughtNode
-
Gets the depth of this node (root = 0).
- getDescription() - Method in class com.tnsai.prompt.aot.Atom
- getDescription() - Method in interface com.tnsai.refinement.CriteriaCheck
-
Gets a description of what this check validates.
- getDescription() - Method in enum class com.tnsai.session.extraction.ExtractionType
-
Gets a human-readable description.
- getDetailedTrace() - Method in class com.tnsai.prompt.aot.AotResult
-
Returns detailed trace of atom processing.
- getDuration() - Method in class com.tnsai.reasoning.react.ReActResult
-
Gets the total execution duration.
- getDuration() - Method in class com.tnsai.reasoning.react.ReActStep
- getDuration() - Method in class com.tnsai.reasoning.ReasoningPath
-
Gets the execution duration.
- getDuration() - Method in class com.tnsai.reasoning.ToTResult
-
Gets the exploration duration.
- getDuration() - Method in class com.tnsai.session.AgentSession
-
Gets the session duration.
- getDurationMillis() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
- getEndTime() - Method in class com.tnsai.session.AgentSession
- getError() - Method in class com.tnsai.fsm.StateMachineContext
-
Gets the error message if any.
- getErrorMessage() - Method in class com.tnsai.prompt.aot.AotResult
- getEventName() - Method in class com.tnsai.fsm.Transition
-
Gets the triggering event name.
- getExpectedOutput() - Method in class com.tnsai.prompt.optimizer.TestCase
- getExtractedAnswer() - Method in class com.tnsai.reasoning.ReasoningPath
-
Gets the extracted final answer from this reasoning path.
- getFinalAnswer() - Method in class com.tnsai.reasoning.react.ReActResult
-
Gets the final answer produced by the ReAct loop.
- getFinalAnswer() - Method in class com.tnsai.reasoning.ThinkingResult
-
Gets the final answer after thinking.
- getFinalAnswer() - Method in class com.tnsai.reasoning.ThoughtNode
-
Gets the final answer generated for this leaf node.
- getFinalScore() - Method in record class com.tnsai.refinement.RefinementResult
- getFirstUserMessage() - Method in class com.tnsai.session.AgentSession
-
Gets the first user message.
- getFirstUserMessage() - Method in record class com.tnsai.session.SessionSearchResult
-
Gets the first user message from the session.
- getGoal(String) - Method in interface com.tnsai.planning.Planner
-
Finds a goal by name.
- getGoals() - Method in class com.tnsai.planning.BackwardChainingPlanner
- getGoals() - Method in interface com.tnsai.planning.Planner
-
Returns all registered goals.
- getGoals() - Method in class com.tnsai.planning.UtilityAIPlanner
- getGuard() - Method in class com.tnsai.fsm.Transition
-
Gets the guard condition.
- getHistory() - Method in class com.tnsai.fsm.StateMachineContext
-
Gets the transition history.
- getId() - Method in class com.tnsai.prompt.aot.Atom
- getId() - Method in interface com.tnsai.reasoning.Evaluable
-
Gets the node identifier.
- getId() - Method in class com.tnsai.reasoning.got.GoTNode
- getId() - Method in class com.tnsai.reasoning.ThoughtNode
-
Gets the node identifier.
- getId() - Method in class com.tnsai.session.AgentSession
- getImprovement() - Method in class com.tnsai.prompt.optimizer.OptimizationResult
- getImprovement() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
- getImprovementPercentage() - Method in class com.tnsai.prompt.optimizer.OptimizationResult
-
Returns the percentage improvement.
- getInput() - Method in class com.tnsai.prompt.optimizer.TestCase
- getInvalidSteps() - Method in class com.tnsai.reasoning.VerificationResult
-
Gets the list of invalid/problematic steps.
- getIssues() - Method in class com.tnsai.reasoning.VerificationResult
-
Gets the list of identified issues.
- getIterationCount() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
- getIterations() - Method in class com.tnsai.prompt.optimizer.OptimizationResult
- getIterations() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
- getKey() - Method in enum class com.tnsai.session.extraction.ExtractionType
-
Gets the key used for storage and lookup.
- getLastIteration() - Method in record class com.tnsai.refinement.RefinementResult
- getLastTurn() - Method in class com.tnsai.session.AgentSession
-
Gets the last turn.
- getLearnedPreferences() - Method in class com.tnsai.learning.AdaptivePromptEnricher
-
Returns the current learned preferences.
- getLearnedRules() - Method in class com.tnsai.learning.AdaptivePromptEnricher
-
Returns the current learned rules (prompt adjustments).
- getLearnings() - Method in interface com.tnsai.planning.tasklist.ProgressMemory
-
Gets all recorded learnings.
- getMaxArgLength() - Method in class com.tnsai.context.compaction.TruncatingCompactor
-
Returns the configured max argument length.
- getMaxDepthReached() - Method in class com.tnsai.reasoning.ToTResult
-
Gets the maximum depth reached in exploration.
- getMaxTokens() - Method in class com.tnsai.reasoning.ReasoningRouter
- getMessagesSinceLastConsolidation() - Method in class com.tnsai.session.consolidation.AutoConsolidationManager
-
Returns the number of messages recorded since the last consolidation.
- getMetadata() - Method in class com.tnsai.session.AgentSession
- getMetadataValue(String) - Method in record class com.tnsai.session.ConversationTurn
-
Gets a metadata value.
- getMinConfidence() - Method in interface com.tnsai.session.extraction.KnowledgeExtractor
-
Gets the minimum confidence threshold for extraction.
- getMinConfidence() - Method in class com.tnsai.session.extraction.LLMKnowledgeExtractor
- getModel() - Method in class com.tnsai.reasoning.ReasoningRouter
- getName() - Method in record class com.tnsai.fsm.Event
-
Gets the event name (alias for name()).
- getName() - Method in class com.tnsai.fsm.State
-
Gets the state name.
- getName() - Method in class com.tnsai.fsm.StateMachine
-
Gets the state machine name.
- getName() - Method in interface com.tnsai.planning.Consideration
-
Gets a descriptive name for this consideration.
- getName() - Method in class com.tnsai.prompt.SimplePromptTemplate
- getName() - Method in class com.tnsai.prompt.SimpleTemplateEngine
- getName() - Method in interface com.tnsai.refinement.CriteriaCheck
-
Gets the name of this check.
- getName() - Method in interface com.tnsai.refinement.StopHook
-
Gets the name of this stop hook.
- getNames() - Method in class com.tnsai.prompt.PromptRegistry
-
Gets all registered template names.
- getObservation() - Method in class com.tnsai.reasoning.react.ReActStep
- getOnEntry() - Method in class com.tnsai.fsm.State
-
Gets the entry action.
- getOnExit() - Method in class com.tnsai.fsm.State
-
Gets the exit action.
- getOperation() - Method in class com.tnsai.reasoning.got.GoTNode
- getOrDefault(String, PromptTemplate) - Method in class com.tnsai.prompt.PromptRegistry
-
Gets a template with a default fallback.
- getOrDefault(String, T) - Method in class com.tnsai.fsm.StateMachineContext
-
Gets a value with a default.
- getOriginalPrompt() - Method in class com.tnsai.prompt.optimizer.OptimizationResult
- getOriginalPrompt() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
- getOriginalQuestion() - Method in class com.tnsai.prompt.aot.AotResult
- getOrNull(String) - Method in class com.tnsai.prompt.PromptRegistry
-
Gets a template by name, or null if not found.
- getOutcome() - Method in class com.tnsai.session.AgentSession
- getOutputTokens() - Method in class com.tnsai.reasoning.ThinkingResult
-
Gets the number of tokens in the final output.
- getParent() - Method in class com.tnsai.reasoning.ThoughtNode
-
Gets the parent node, if any.
- getParents() - Method in class com.tnsai.reasoning.got.GoTNode
- getPath() - Method in class com.tnsai.reasoning.ThoughtNode
-
Gets the path from root to this node.
- getPathId() - Method in class com.tnsai.reasoning.ReasoningPath
-
Gets the path identifier (0-based index).
- getPlan() - Method in class com.tnsai.planning.PlanExecutor
-
Gets the current plan without executing it.
- getPlanner() - Method in class com.tnsai.planning.PlanExecutor
-
Gets the underlying planner.
- getPriority() - Method in class com.tnsai.fsm.Transition
-
Gets the priority (higher = more preferred).
- getPriority() - Method in class com.tnsai.prompt.aot.Atom
- getProjectPath() - Method in class com.tnsai.session.AgentSession
- getPrompt() - Method in class com.tnsai.prompt.aot.Atom
- getPrunedNodes() - Method in class com.tnsai.reasoning.ToTResult
-
Gets the number of nodes pruned.
- getReasoning() - Method in class com.tnsai.prompt.aot.AotResult
- getReasoningChain() - Method in class com.tnsai.reasoning.ReasoningPath
-
Gets the full reasoning chain text.
- getReasoningModel() - Method in class com.tnsai.reasoning.ReasoningRouter
-
Gets the reasoning model.
- getReasoningTrace() - Method in class com.tnsai.reasoning.react.ReActResult
-
Gets the full reasoning trace as a formatted string.
- getRecent(int) - Method in interface com.tnsai.learning.FeedbackStore
- getRecentDecisions(int) - Method in class com.tnsai.context.integration.AgentContextManager
- getRecentSnapshots(int) - Method in class com.tnsai.context.integration.AgentContextManager
- getRegisteredActions() - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Gets all registered ephemeral action names.
- getRegisteredGoals() - Method in class com.tnsai.planning.llm.LLMDynamicPlanner
- getRelevantLearnings(Set<String>) - Method in interface com.tnsai.planning.tasklist.ProgressMemory
-
Gets learnings relevant to the specified tags.
- getRequiredChecks() - Method in class com.tnsai.refinement.CompletionCriteria
-
Gets required checks only.
- getResult() - Method in class com.tnsai.fsm.StateMachineContext
-
Gets the result of the state machine execution.
- getResult(String) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Gets a specific result by ID.
- getResultCount(String) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Gets the count of tracked results for an action.
- getResults(String) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Gets all tracked results for an action.
- getResultsToRemove(String) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Gets the IDs of results that should be removed from context.
- getRoleInstance() - Method in class com.tnsai.planning.PlanExecutor
-
Gets the role instance.
- getRoot() - Method in class com.tnsai.reasoning.ToTResult
-
Gets the root node of the exploration tree.
- getSatisfiedGoals() - Method in class com.tnsai.planning.PlanExecutor
-
Gets the list of satisfied goals.
- getScore() - Method in class com.tnsai.prompt.optimizer.OptimizationResult
- getScore() - Method in class com.tnsai.reasoning.got.GoTNode
- getScore() - Method in class com.tnsai.reasoning.ThoughtNode
-
Gets the evaluation score.
- getSession() - Method in class com.tnsai.prompt.optimizer.OptimizationResult
- getSession() - Method in class com.tnsai.session.replay.SessionReplay
-
Gets the session being replayed.
- getSessionId() - Method in record class com.tnsai.session.SessionSearchResult
-
Gets the session ID.
- getSnapshotCount() - Method in class com.tnsai.context.integration.AgentContextManager
- getSnapshotStatistics() - Method in class com.tnsai.context.integration.AgentContextManager
- getSnapshotStore() - Method in class com.tnsai.context.integration.AgentContextManager
-
Gets the snapshot store.
- getSolution() - Method in class com.tnsai.prompt.aot.Atom
- getSolvedAtomCount() - Method in class com.tnsai.prompt.aot.AotResult
-
Returns number of successfully solved atoms.
- getSource() - Method in class com.tnsai.fsm.Transition
-
Gets the source state.
- getSource(String) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- getSources() - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- getSpec() - Method in class com.tnsai.fsm.State
-
Gets all metadata.
- getSpec() - Method in class com.tnsai.prompt.SimplePromptTemplate
- getSpec(String) - Method in class com.tnsai.fsm.State
-
Gets metadata value by key.
- getStandardModel() - Method in class com.tnsai.reasoning.ReasoningRouter
-
Gets the standard model.
- getStartTime() - Method in class com.tnsai.session.AgentSession
- getStates() - Method in class com.tnsai.fsm.StateMachine
-
Gets all states.
- getStatistics() - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- getStatistics() - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- getStatistics() - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- getStatistics() - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- getStatistics() - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- getStats() - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Gets statistics about tracked results.
- getStats() - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- getStats() - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- getStats() - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Gets statistics about stored knowledge.
- getStats() - Method in class com.tnsai.session.replay.SessionReplay
-
Gets statistics about the session.
- getStats() - Method in class com.tnsai.session.SearchableFileSessionStore
- getStats() - Method in interface com.tnsai.session.SearchableSessionStore
-
Gets statistics about sessions.
- getStatus() - Method in class com.tnsai.fsm.StateMachine
-
Gets the status.
- getStatus() - Method in class com.tnsai.prompt.aot.Atom
- getStatus() - Method in class com.tnsai.reasoning.react.ReActResult
-
Gets the execution status.
- getStep(int) - Method in class com.tnsai.session.replay.SessionReplay
-
Gets a step by index without changing position.
- getStepCount() - Method in class com.tnsai.reasoning.react.ReActResult
-
Gets the number of steps executed.
- getStepNumber() - Method in class com.tnsai.reasoning.react.ReActStep
- getSteps() - Method in class com.tnsai.reasoning.react.ReActResult
-
Gets all reasoning steps (thought → action → observation).
- getStrategiesApplied() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
- getSuggestions() - Method in class com.tnsai.reasoning.VerificationResult
-
Gets the correction suggestions.
- getSummary() - Method in class com.tnsai.prompt.aot.AotResult
-
Returns a summary of the AoT processing.
- getSummary() - Method in class com.tnsai.prompt.optimizer.OptimizationResult
-
Returns a summary of the optimization.
- getSummary() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
-
Returns a summary of the session.
- getSummary() - Method in class com.tnsai.reasoning.VerificationResult
-
Gets a summary of the verification.
- getTags() - Method in class com.tnsai.session.AgentSession
- getTarget() - Method in class com.tnsai.fsm.Transition
-
Gets the target state.
- getTemperature() - Method in class com.tnsai.reasoning.ReasoningPath
-
Gets the temperature used for this path.
- getTemperature() - Method in class com.tnsai.reasoning.ReasoningRouter
- getThinkingBlocks() - Method in class com.tnsai.reasoning.ThinkingResult
-
Gets individual thinking blocks (if available).
- getThinkingBudget() - Method in class com.tnsai.reasoning.ExtendedThinkingClient
-
Gets the thinking budget.
- getThinkingProcess() - Method in class com.tnsai.reasoning.ThinkingResult
-
Gets the full thinking process text.
- getThinkingTokens() - Method in class com.tnsai.reasoning.ThinkingResult
-
Gets the number of tokens used for thinking.
- getThought() - Method in interface com.tnsai.reasoning.Evaluable
-
Gets the thought content at this node.
- getThought() - Method in class com.tnsai.reasoning.got.GoTNode
- getThought() - Method in class com.tnsai.reasoning.react.ReActStep
- getThought() - Method in class com.tnsai.reasoning.ThoughtNode
-
Gets the thought content at this node.
- getThoughtChain() - Method in interface com.tnsai.reasoning.Evaluable
-
Gets the combined thought chain from root to this node.
- getThoughtChain() - Method in class com.tnsai.reasoning.got.GoTNode
- getThoughtChain() - Method in class com.tnsai.reasoning.ThoughtNode
-
Gets the combined thought chain from root to this node.
- getThreshold() - Method in class com.tnsai.reasoning.ReasoningRouter
-
Gets the routing threshold.
- getTimeoutMs() - Method in class com.tnsai.fsm.State
-
Gets the timeout in milliseconds.
- getTimestamp() - Method in class com.tnsai.reasoning.react.ReActStep
- getTokenCount() - Method in class com.tnsai.reasoning.ReasoningPath
-
Gets the token count for this path.
- getToolName() - Method in record class com.tnsai.session.ConversationTurn
-
Gets the tool name if this is a tool-related turn.
- getToolName() - Method in record class com.tnsai.session.replay.ReplayStep
-
Gets the tool name if this is a tool-related step.
- getTopPaths(int) - Method in class com.tnsai.reasoning.ToTResult
-
Gets the top-k best paths.
- getTotalLLMCalls() - Method in class com.tnsai.reasoning.react.ReActResult
-
Gets the total number of LLM calls made.
- getTotalNodes() - Method in class com.tnsai.reasoning.ToTResult
-
Gets the total number of nodes explored.
- getTotalPaths() - Method in class com.tnsai.reasoning.ConsistencyResult
-
Gets the total number of reasoning paths generated.
- getTotalTokens() - Method in class com.tnsai.reasoning.ThinkingResult
-
Gets the total token usage.
- getTraceStatistics() - Method in class com.tnsai.context.integration.AgentContextManager
- getTraceStore() - Method in class com.tnsai.context.integration.AgentContextManager
-
Gets the trace store.
- getTrackedEntities() - Method in class com.tnsai.context.integration.AgentContextManager
- getTransitionCount() - Method in class com.tnsai.fsm.StateMachine
-
Gets the transition count.
- getTransitionCount() - Method in class com.tnsai.fsm.StateMachineContext
-
Gets the number of transitions that occurred.
- getTransitions() - Method in class com.tnsai.fsm.StateMachine
-
Gets all transitions.
- getTriggers() - Method in class com.tnsai.session.consolidation.AutoConsolidationManager
-
Returns the configured triggers.
- getTurnCount() - Method in class com.tnsai.session.AgentSession
-
Gets the number of turns.
- getTurns() - Method in class com.tnsai.session.AgentSession
- getTurnsByType(TurnType) - Method in class com.tnsai.session.AgentSession
-
Gets turns of a specific type.
- getType() - Method in class com.tnsai.prompt.aot.Atom
- getUnsatisfiedGoals() - Method in class com.tnsai.planning.PlanExecutor
-
Gets the list of unsatisfied goals.
- getUnsatisfiedGoals(Map<String, Object>) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner
- getVariable(String) - Method in class com.tnsai.context.integration.AgentContextManager
- getVariable(String, Class<T>) - Method in class com.tnsai.context.integration.AgentContextManager
- getVariables() - Method in class com.tnsai.prompt.SimplePromptTemplate
- getWeight() - Method in interface com.tnsai.planning.Consideration
-
Gets the weight of this consideration.
- getWeight() - Method in class com.tnsai.prompt.optimizer.TestCase
- global() - Static method in class com.tnsai.prompt.PromptRegistry
-
Gets the global registry instance.
- goal() - Method in record class com.tnsai.planning.llm.LLMPlan
-
Returns the value of the
goalrecord component. - goal(PlanningGoal) - Method in class com.tnsai.planning.UtilityAIPlanner.Builder
- GOAL_UNSATISFIED_AFTER_EXECUTION - Enum constant in enum class com.tnsai.planning.PlanningFailureException.Reason
-
A goal the plan set out to establish — unsatisfied when the plan was produced, and satisfied by the plan's declared effects — was not satisfied by the real
@Stateonce the plan had executed. - goalName() - Method in exception class com.tnsai.planning.PlanningFailureException
-
Returns the unsatisfied goal planning was working on.
- goals(List<PlanningGoal>) - Method in class com.tnsai.planning.UtilityAIPlanner.Builder
- GOAP Bridge - Search tag in package com.tnsai.planning.tasklist
- Section
- goldenDataset() - Static method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator.GenerationSpec
- goodExamples() - Method in record class com.tnsai.learning.FeedbackLearner.LearningResult
-
Returns the value of the
goodExamplesrecord component. - GoTNode - Class in com.tnsai.reasoning.got
-
A node in a Graph of Thoughts.
- goTo(int) - Method in class com.tnsai.session.replay.SessionReplay
-
Goes to a specific step by index.
- GoTOperation - Enum Class in com.tnsai.reasoning.got
-
Operations available in Graph of Thoughts.
- GoTResult - Record Class in com.tnsai.reasoning.got
-
Result of a Graph of Thoughts exploration.
- GoTResult(GoTNode, GoTNode, List<GoTNode>, String, int, int, Duration) - Constructor for record class com.tnsai.reasoning.got.GoTResult
-
Creates an instance of a
GoTResultrecord class. - GraphOfThoughtsExecutor - Class in com.tnsai.reasoning.got
-
Graph of Thoughts (GoT) executor for complex problem solving.
- GraphOfThoughtsExecutor.Builder - Class in com.tnsai.reasoning.got
- greaterThan(String, double) - Static method in interface com.tnsai.fsm.Guard
-
Creates a guard that checks if a numeric value is greater than threshold.
- GREEDY - Enum constant in enum class com.tnsai.reasoning.PruningStrategy
-
Greedy - always pick the single best branch.
- group() - Method in record class com.tnsai.autoteam.AutoTeamBuilder.Result
-
Returns the value of the
grouprecord component. - Guard - Interface in com.tnsai.fsm
-
Functional interface for transition guard conditions.
H
- has(String) - Method in class com.tnsai.fsm.StateMachineContext
-
Checks if a key exists.
- hasAction() - Method in class com.tnsai.reasoning.react.ReActStep
-
Returns true if this step includes an action (not just a thought).
- hasCategory() - Method in class com.tnsai.prompt.optimizer.TestCase
- hasCodeSnippets() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Checks if this knowledge has code snippets.
- hasCondition() - Method in record class com.tnsai.norms.NormEntry
-
Returns true if this norm has a condition expression.
- hasConverged() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
-
Checks if the optimization has converged.
- hasCriteria() - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Checks if this task has completion criteria.
- hasData(String) - Method in record class com.tnsai.fsm.Event
-
Checks if data exists.
- hasDeadline() - Method in record class com.tnsai.planning.PlanningGoal
-
Checks if this goal has a deadline.
- hasDependencies() - Method in record class com.tnsai.autoteam.TeamPlan
-
Returns whether any inter-agent dependencies exist.
- hasDependencies() - Method in class com.tnsai.prompt.aot.Atom
- hasError() - Method in class com.tnsai.fsm.StateMachineContext
-
Returns whether there's an error.
- hasErrors() - Method in class com.tnsai.reasoning.VerificationResult
-
Returns true if there are any errors.
- hasFilters() - Method in record class com.tnsai.session.SessionQuery
-
Checks if this query has any filters.
- hasFinalAnswer() - Method in class com.tnsai.reasoning.ThoughtNode
-
Returns true if this node has a final answer.
- hashCode() - Method in record class com.tnsai.autoteam.AutoTeamBuilder.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.autoteam.GeneratedAgentConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.autoteam.TeamPlan
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.EphemeralConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.TrackedResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.fsm.Event
-
Returns a hash code value for this object.
- hashCode() - Method in class com.tnsai.fsm.State
- hashCode() - Method in record class com.tnsai.fsm.StateMachineContext.StateTransitionRecord
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.intelligence.knowledge.ContradictionDetector.Contradiction
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.learning.Feedback
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.learning.FeedbackLearner.LearningResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.norms.NormEngine.CheckResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.norms.NormEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.norms.NormViolation
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.output.validation.StructuredOutputExecutor.StructuredOutputResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.output.validation.ValidationResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.llm.CapabilityDescriptor
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.llm.LLMPlan
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.llm.LLMPlanStep
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.llm.PlanExecutionResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.llm.StepExecutionResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.PlanningAction
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.PlanningGoal
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.tasklist.ProgressMemory.Learning
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.tasklist.TaskList
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.planning.tasklist.TaskListResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.IterationRecord
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.StrategyRecord
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reasoning.causal.CausalResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.reasoning.got.GoTResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.refinement.RefinementResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.consolidation.ConsolidationResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.ConversationTurn
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.replay.ReplayStep
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.replay.SessionReplay.ReplayStats
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.SearchableSessionStore.SessionStats
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.SessionQuery
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.SessionSearchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.SessionSearchResult.MatchedTurn
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.session.SessionSearchResult.MatchPosition
-
Returns a hash code value for this object.
- hasKey(String) - Static method in interface com.tnsai.fsm.Guard
-
Creates a guard that checks if a context key exists.
- hasKnowledge() - Method in record class com.tnsai.session.consolidation.ConsolidationResult
- hasLearnings() - Method in record class com.tnsai.learning.FeedbackLearner.LearningResult
- hasMatches() - Method in record class com.tnsai.session.SessionSearchResult
-
Checks if this result has matched turns.
- hasMetadata(String) - Method in record class com.tnsai.session.ConversationTurn
-
Checks if this turn has a specific metadata key.
- hasNext() - Method in class com.tnsai.session.replay.SessionReplay
- hasObservation() - Method in class com.tnsai.reasoning.react.ReActStep
-
Returns true if this step includes an observation.
- hasPostcondition() - Method in record class com.tnsai.planning.PlanningAction
-
Checks if this action has a postcondition.
- hasPrecondition() - Method in record class com.tnsai.planning.PlanningAction
-
Checks if this action has a precondition.
- hasPrevious() - Method in class com.tnsai.session.replay.SessionReplay
-
Checks if there is a previous step.
- hasRelatedFiles() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Checks if this knowledge has related files.
- hasSolution() - Method in record class com.tnsai.reasoning.got.GoTResult
- hasSolution() - Method in class com.tnsai.reasoning.ToTResult
-
Returns true if a solution was found.
- hasTag(String) - Static method in interface com.tnsai.planning.Consideration
-
Creates a tag-based consideration.
- hasTag(String) - Method in record class com.tnsai.planning.PlanningAction
-
Checks if this action has the specified tag.
- hasTag(String) - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Checks if this task has the specified tag.
- hasTagFilter() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Checks if this filter has any tag restrictions.
- hasTextFilter() - Method in record class com.tnsai.session.SessionQuery
-
Checks if this query has a text filter.
- hasThinking() - Method in class com.tnsai.reasoning.ThinkingResult
-
Returns true if extended thinking was used.
- hasTimeFilter() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Checks if this filter has any time restrictions.
- hasTimeout() - Method in class com.tnsai.fsm.State
-
Returns whether this state has a timeout.
- hasTypeFilter() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Checks if this filter has any type restrictions.
- hasWarnings() - Method in class com.tnsai.reasoning.VerificationResult
-
Returns true if there are any warnings.
- heuristic() - Static method in interface com.tnsai.reasoning.BranchEvaluator
-
Creates a simple heuristic evaluator based on thought length and keywords.
- HIERARCHICAL - Enum constant in enum class com.tnsai.autoteam.TopologySelector.Formation
- HIGHEST_CONFIDENCE - Enum constant in enum class com.tnsai.prompt.aot.AtomSynthesizer.SynthesisStrategy
-
Select highest confidence result
- highlight() - Method in record class com.tnsai.session.SessionSearchResult.MatchedTurn
-
Returns the value of the
highlightrecord component. - highlightCurrentState(boolean) - Method in class com.tnsai.fsm.StateMachineVisualizer.DotOptions
- highlightCurrentState(boolean) - Method in class com.tnsai.fsm.StateMachineVisualizer.MermaidOptions
- highlights() - Method in record class com.tnsai.session.SessionSearchResult
-
Returns the value of the
highlightsrecord component. - history() - Method in record class com.tnsai.refinement.RefinementResult
-
Returns the value of the
historyrecord component.
I
- id() - Method in record class com.tnsai.autoteam.GeneratedAgentConfig
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.TrackedResult
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.learning.Feedback
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.session.ConversationTurn
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
idrecord component. - id(String) - Method in class com.tnsai.planning.tasklist.TaskItem.Builder
- id(String) - Method in class com.tnsai.prompt.aot.Atom.Builder
- id(String) - Method in class com.tnsai.reasoning.ThoughtNode.Builder
- id(String) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets the ID.
- Implementation Example - Search tag in interface com.tnsai.context.compaction.ContextCompactor
- Section
- Implementation Example - Search tag in interface com.tnsai.planning.Planner
- Section
- IN_PROGRESS - Enum constant in enum class com.tnsai.prompt.aot.Atom.AtomStatus
- IN_PROGRESS - Enum constant in enum class com.tnsai.refinement.RefinementStatus
- IN_PROGRESS - Enum constant in enum class com.tnsai.session.SessionOutcome
-
Session is still in progress.
- includeCornerCases() - Method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator.GenerationSpec
- includeEdgeCases() - Method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator.GenerationSpec
- includeStateDescriptions(boolean) - Method in class com.tnsai.fsm.StateMachineVisualizer.MermaidOptions
- includeTitle(boolean) - Method in class com.tnsai.fsm.StateMachineVisualizer.MermaidOptions
- incoming() - Method in record class com.tnsai.intelligence.knowledge.ContradictionDetector.Contradiction
-
Returns the value of the
incomingrecord component. - index() - Method in record class com.tnsai.session.replay.ReplayStep
-
Returns the value of the
indexrecord component. - initial() - Method in class com.tnsai.fsm.State.Builder
-
Marks this as an initial state.
- initial(String) - Static method in class com.tnsai.fsm.State
-
Creates an initial state with the given name.
- initialState(State) - Method in class com.tnsai.fsm.StateMachine.Builder
-
Sets the initial state explicitly.
- inMemory() - Static method in interface com.tnsai.learning.FeedbackStore
-
Creates an in-memory feedback store.
- inMemory() - Static method in interface com.tnsai.planning.tasklist.ProgressMemory
-
Creates an in-memory progress memory.
- inMemory() - Static method in interface com.tnsai.session.extraction.KnowledgeStore
-
Creates an in-memory knowledge store.
- InMemoryDecisionTraceStore - Class in com.tnsai.context.decision.impl
-
In-memory implementation of DecisionTraceStore for development and testing.
- InMemoryDecisionTraceStore() - Constructor for class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- InMemoryEntityResolver - Class in com.tnsai.context.entity.impl
-
In-memory implementation of EntityResolver for development and testing.
- InMemoryEntityResolver() - Constructor for class com.tnsai.context.entity.impl.InMemoryEntityResolver
- InMemoryKnowledgeStore - Class in com.tnsai.session.extraction
-
In-memory implementation of KnowledgeStore.
- InMemoryKnowledgeStore() - Constructor for class com.tnsai.session.extraction.InMemoryKnowledgeStore
- InMemorySnapshotStore - Class in com.tnsai.context.snapshot.impl
-
In-memory implementation of SnapshotStore for development and testing.
- InMemorySnapshotStore() - Constructor for class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- input(String) - Method in class com.tnsai.prompt.optimizer.TestCase.Builder
- Integration with ToolCallFilter - Search tag in class com.tnsai.planning.llm.PlanApprovalGate
- Section
- internal(State) - Static method in class com.tnsai.fsm.Transition
-
Creates an internal transition (self-loop).
- intervene(String, Map<String, Object>) - Method in class com.tnsai.reasoning.causal.CausalReasoner
- INTERVENTION - Enum constant in enum class com.tnsai.reasoning.causal.CausalQueryType
-
What would happen if we intervene?
- invalid(String) - Static method in class com.tnsai.reasoning.VerificationResult
-
Creates an invalid result with errors.
- isAllCompleted() - Method in record class com.tnsai.planning.tasklist.TaskListResult
-
Returns true if all tasks completed successfully.
- isAllowed() - Method in record class com.tnsai.norms.NormEngine.CheckResult
- isAssistantMessage() - Method in record class com.tnsai.session.replay.ReplayStep
-
Checks if this is an assistant message.
- isAutomatic() - Method in class com.tnsai.fsm.Transition
-
Returns whether this is an automatic transition (no event required).
- isComplete() - Method in class com.tnsai.prompt.optimizer.OptimizationSession
- isComplete() - Method in class com.tnsai.session.AgentSession
-
Checks if session is complete.
- isConfident(double) - Method in class com.tnsai.reasoning.ConsistencyResult
-
Returns true if confidence is above the given threshold.
- isConfident(float) - Method in class com.tnsai.prompt.aot.AotResult
-
Returns true if confidence is above threshold.
- isEmpty() - Method in record class com.tnsai.planning.llm.LLMPlan
-
Returns true if the plan has no steps.
- isEmpty() - Method in record class com.tnsai.planning.tasklist.TaskList
-
Returns true if the task list is empty.
- isEmpty() - Method in class com.tnsai.session.replay.SessionReplay
-
Checks if the session is empty.
- isEphemeral(String) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Checks if an action is registered as ephemeral.
- isEvaluated() - Method in class com.tnsai.reasoning.got.GoTNode
- isEvaluated() - Method in class com.tnsai.reasoning.ThoughtNode
-
Returns true if this node has been evaluated.
- isExecutable() - Method in record class com.tnsai.planning.PlanningAction
-
Checks if this action is executable (has method reference).
- isExpired() - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Checks if this knowledge has expired (not valid at the current instant).
- isFirst() - Method in record class com.tnsai.session.replay.ReplayStep
-
Returns the value of the
isFirstrecord component. - isGoalSatisfied(PlanningGoal, Map<String, Object>) - Method in interface com.tnsai.planning.Planner
-
Checks if a goal is satisfied.
- isGoalSatisfied(PlanningGoal, Map<String, Object>) - Method in class com.tnsai.planning.UtilityAIPlanner
- isGoalSatisfied(String) - Method in class com.tnsai.planning.PlanExecutor
-
Checks if a specific goal is satisfied.
- isGoalSatisfied(String, Map<String, Object>) - Method in class com.tnsai.planning.BackwardChainingPlanner
- isGoalSatisfied(String, Map<String, Object>) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner
- isGoalSatisfied(String, Map<String, Object>) - Method in interface com.tnsai.planning.Planner
-
Checks if a specific goal is satisfied.
- isGoalSatisfied(String, Map<String, Object>) - Method in class com.tnsai.planning.UtilityAIPlanner
- isGoldenDataset() - Method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator.GenerationSpec
- isHighConfidence() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Checks if this knowledge has high confidence (threshold 0.8).
- isHighConfidence(double) - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Checks if this knowledge has high confidence.
- isInitial() - Method in class com.tnsai.fsm.State
-
Returns whether this is an initial state.
- isInTerminalState() - Method in class com.tnsai.fsm.StateMachine
-
Returns whether the state machine is in a terminal state.
- isInternal() - Method in class com.tnsai.fsm.Transition
-
Returns whether this is a self-transition (internal).
- isLast() - Method in record class com.tnsai.session.replay.ReplayStep
-
Returns the value of the
isLastrecord component. - isLead() - Method in record class com.tnsai.autoteam.GeneratedAgentConfig
-
Returns whether this agent is designated as a team lead.
- isLeaf() - Method in class com.tnsai.reasoning.got.GoTNode
- isLeaf() - Method in class com.tnsai.reasoning.ThoughtNode
-
Returns true if this is a leaf node.
- isMergeNode() - Method in class com.tnsai.reasoning.got.GoTNode
- isPermanent() - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Checks if this knowledge has no expiry date.
- isPreconditionSatisfied(PlanningAction, Map<String, Object>) - Method in interface com.tnsai.planning.Planner
-
Checks if an action's precondition is satisfied.
- isPruned() - Method in class com.tnsai.reasoning.ThoughtNode
-
Returns true if this node has been pruned.
- isRequired() - Method in interface com.tnsai.refinement.CriteriaCheck
-
Returns true if this check is required (vs. nice-to-have).
- isRoot() - Method in class com.tnsai.reasoning.got.GoTNode
- isRoot() - Method in class com.tnsai.reasoning.ThoughtNode
-
Returns true if this is the root node.
- isRunning() - Method in class com.tnsai.fsm.StateMachine
-
Returns whether the state machine is running.
- isSolved() - Method in class com.tnsai.prompt.aot.Atom
- isSuccess() - Method in class com.tnsai.prompt.aot.AotResult
- isSuccess() - Method in class com.tnsai.reasoning.react.ReActResult
-
Returns true if the execution completed successfully with a final answer.
- isSuccess() - Method in record class com.tnsai.refinement.RefinementResult
- isSuccess() - Method in class com.tnsai.session.AgentSession
-
Checks if session was successful.
- issues(List<ReasoningIssue>) - Method in class com.tnsai.reasoning.VerificationResult.Builder
- isTerminal() - Method in class com.tnsai.fsm.State
-
Returns whether this is a terminal (final) state.
- isToolCall() - Method in record class com.tnsai.session.replay.ReplayStep
-
Checks if this is a tool call.
- isToolResult() - Method in record class com.tnsai.session.replay.ReplayStep
-
Checks if this is a tool result.
- isUnanimous() - Method in class com.tnsai.reasoning.ConsistencyResult
-
Returns true if there was unanimous agreement across all paths.
- isUserMessage() - Method in record class com.tnsai.session.replay.ReplayStep
-
Checks if this is a user message.
- isValid() - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Checks if this knowledge is valid at the current instant.
- isValid() - Method in class com.tnsai.reasoning.VerificationResult
-
Returns true if the reasoning is valid.
- isValid(Instant) - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Checks if this knowledge is valid at a specific instant.
- isViolation() - Method in record class com.tnsai.norms.NormEngine.CheckResult
- iteration() - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.IterationRecord
-
Returns the value of the
iterationrecord component. - iterationCount() - Method in record class com.tnsai.refinement.RefinementResult
-
Returns the value of the
iterationCountrecord component. - IterationRecord(int, String, float, Instant) - Constructor for record class com.tnsai.prompt.optimizer.OptimizationSession.IterationRecord
-
Creates an instance of a
IterationRecordrecord class. - iterations(int) - Method in class com.tnsai.prompt.optimizer.OptimizationResult.Builder
K
- keepLast() - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.EphemeralConfig
-
Returns the value of the
keepLastrecord component. - keepSummary() - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.EphemeralConfig
-
Returns the value of the
keepSummaryrecord component. - Key Classes - Search tag in package com.tnsai.norms
- Section
- Key Classes - Search tag in package com.tnsai.reasoning.react
- Section
- knowledgeCount() - Method in record class com.tnsai.session.consolidation.ConsolidationResult
- knowledgeExtractor(KnowledgeExtractor) - Method in class com.tnsai.session.consolidation.MemoryConsolidationPipeline.Builder
- KnowledgeExtractor - Interface in com.tnsai.session.extraction
-
Extracts knowledge from agent sessions.
- KnowledgeFilter - Record Class in com.tnsai.session.extraction
-
Filter for searching extracted knowledge.
- KnowledgeFilter(Set<ExtractionType>, double, Set<String>, boolean, String, String, Instant, Instant, int) - Constructor for record class com.tnsai.session.extraction.KnowledgeFilter
-
Creates an instance of a
KnowledgeFilterrecord class. - KnowledgeFilter.Builder - Class in com.tnsai.session.extraction
-
Builder for KnowledgeFilter.
- KnowledgeStats(int, int, int, int, int, int, int, double) - Constructor for record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Creates an instance of a
KnowledgeStatsrecord class. - knowledgeStore(KnowledgeStore) - Method in class com.tnsai.session.consolidation.MemoryConsolidationPipeline.Builder
- KnowledgeStore - Interface in com.tnsai.session.extraction
-
Store for extracted knowledge.
- KnowledgeStore.KnowledgeStats - Record Class in com.tnsai.session.extraction
-
Statistics about stored knowledge.
L
- last() - Method in class com.tnsai.session.replay.SessionReplay
-
Goes to the last step.
- lastDays(int) - Method in class com.tnsai.session.SessionQuery.Builder
-
Filters to last N days.
- learn() - Method in class com.tnsai.learning.FeedbackLearner
-
Analyzes collected feedback and produces learning results.
- learning() - Static method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Creates a builder for LEARNING type knowledge.
- Learning(String, String, Set<String>, Instant) - Constructor for record class com.tnsai.planning.tasklist.ProgressMemory.Learning
-
Creates an instance of a
Learningrecord class. - LEARNING - Enum constant in enum class com.tnsai.session.extraction.ExtractionType
-
Lesson learned from the session.
- learningCount() - Method in record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Returns the value of the
learningCountrecord component. - LearningResult(List<String>, List<String>, List<String>, int) - Constructor for record class com.tnsai.learning.FeedbackLearner.LearningResult
-
Creates an instance of a
LearningResultrecord class. - LearningStrategy - Enum Class in com.tnsai.learning
-
Strategies for learning from feedback.
- lessThan(String, double) - Static method in interface com.tnsai.fsm.Guard
-
Creates a guard that checks if a numeric value is less than threshold.
- liabilitySink(LiabilitySink) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Liability sink every generated agent publishes
AgentLiabilityRecords to. - limit() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Returns the value of the
limitrecord component. - limit() - Method in record class com.tnsai.session.SessionQuery
-
Returns the value of the
limitrecord component. - limit(int) - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Sets maximum number of results.
- limit(int) - Method in class com.tnsai.session.SessionQuery.Builder
-
Sets the result limit.
- LINEAR - Enum constant in enum class com.tnsai.session.consolidation.ForgettingCurve
-
Linear decay: score decreases linearly over time.
- lintCheck(String) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds a lint check.
- listBySession(String) - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- listBySession(String) - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- listBySession(String) - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Lists all knowledge by session.
- listBySource(String) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- listByType(EntityType) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- listByType(ExtractionType) - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- listByType(ExtractionType) - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- listByType(ExtractionType) - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Lists all knowledge by type.
- listRecent(int) - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- listRecent(int) - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- listRecent(int) - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Lists recent knowledge.
- listSessionIds() - Method in class com.tnsai.session.FileSessionStore
- listSessionIds() - Method in interface com.tnsai.session.SessionStore
-
Lists all session IDs.
- llm(LLMClient) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Sets the LLM client used for task decomposition and prompt generation.
- llm(LLMClient) - Method in class com.tnsai.learning.FeedbackLearner.Builder
- llm(LLMClient) - Method in class com.tnsai.output.validation.StructuredOutputExecutor.Builder
- llm(LLMClient) - Method in class com.tnsai.planning.llm.AdaptiveReplanEngine.Builder
-
Sets the LLM client for replanning.
- llm(LLMClient) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner.Builder
-
Sets the LLM client to use for plan generation.
- llm(LLMClient) - Static method in interface com.tnsai.reasoning.BranchEvaluator
-
Creates an LLM-based evaluator.
- llm(LLMClient) - Method in class com.tnsai.reasoning.causal.CausalReasoner.Builder
- llm(LLMClient) - Method in class com.tnsai.reasoning.got.GraphOfThoughtsExecutor.Builder
- llm(LLMClient) - Method in class com.tnsai.reasoning.react.ReActExecutor.Builder
-
Sets the LLM client for reasoning.
- llm(LLMClient) - Method in class com.tnsai.reasoning.SelfConsistencyExecutor.Builder
-
Sets the LLM client to use for reasoning.
- llm(LLMClient) - Method in class com.tnsai.reasoning.TreeOfThoughtsExecutor.Builder
-
Sets the LLM client for thought generation.
- LLM_SYNTHESIS - Enum constant in enum class com.tnsai.prompt.aot.AtomSynthesizer.SynthesisStrategy
-
Use LLM to synthesize
- LLM_SYNTHESIS - Enum constant in enum class com.tnsai.reasoning.Aggregation
-
Use LLM to synthesize the best answer from all paths.
- llmCheck(LLMClient, String, double) - Static method in class com.tnsai.refinement.BuiltInChecks
-
Use LLM to evaluate quality.
- llmCheck(String, double) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds an LLM-based check.
- llmClient(LLMClient) - Method in class com.tnsai.prompt.aot.AotProcessor.Builder
- llmClient(LLMClient) - Method in class com.tnsai.prompt.optimizer.PromptOptimizer.Builder
- LLMContextCompactor - Class in com.tnsai.context.compaction
-
LLM-based context compactor that summarizes old messages.
- LLMContextCompactor(LLMClient) - Constructor for class com.tnsai.context.compaction.LLMContextCompactor
-
Creates a compactor with the given LLM client.
- LLMDynamicPlanner - Class in com.tnsai.planning.llm
-
LLM-powered dynamic planner that uses a language model to decompose natural-language goals into executable step sequences.
- LLMDynamicPlanner.Builder - Class in com.tnsai.planning.llm
-
Builder for
LLMDynamicPlanner. - LLMKnowledgeExtractor - Class in com.tnsai.session.extraction
-
LLM-based knowledge extractor.
- LLMKnowledgeExtractor(LLMClient) - Constructor for class com.tnsai.session.extraction.LLMKnowledgeExtractor
-
Creates an extractor with default settings.
- LLMKnowledgeExtractor(LLMClient, double) - Constructor for class com.tnsai.session.extraction.LLMKnowledgeExtractor
-
Creates an extractor with custom confidence threshold.
- LLMOutputParser - Class in com.tnsai.reasoning
-
Utility for parsing structured content from LLM responses.
- LLMPlan - Record Class in com.tnsai.planning.llm
-
An LLM-generated execution plan.
- LLMPlan(String, List<LLMPlanStep>, String) - Constructor for record class com.tnsai.planning.llm.LLMPlan
-
Creates an instance of a
LLMPlanrecord class. - LLMPlanStep - Record Class in com.tnsai.planning.llm
-
A single step in an LLM-generated plan.
- LLMPlanStep(int, String, String, Map<String, Object>, String) - Constructor for record class com.tnsai.planning.llm.LLMPlanStep
-
Creates an instance of a
LLMPlanSteprecord class. - load(String) - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- load(String) - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- load(String) - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Loads knowledge by ID.
- load(String) - Method in class com.tnsai.session.FileSessionStore
- load(String) - Method in interface com.tnsai.session.SessionStore
-
Loads a session by ID.
- loadDirectory(Path) - Method in class com.tnsai.prompt.PromptLoader
-
Loads all templates from a directory recursively.
- loadDirectory(Path) - Method in class com.tnsai.prompt.PromptRegistry
-
Loads templates from a directory.
- loadDirectory(Path, boolean) - Method in class com.tnsai.prompt.PromptRegistry
-
Loads templates from a directory with optional hot-reload.
- loadDirectory(Path, String) - Method in class com.tnsai.prompt.PromptLoader
-
Loads templates from a directory matching a glob pattern.
- loadFromFile(Path) - Method in class com.tnsai.prompt.PromptLoader
-
Loads a template from a file path.
- loadFromResource(String) - Method in class com.tnsai.prompt.PromptLoader
-
Loads a template from a classpath resource.
- loadFromResource(String) - Method in class com.tnsai.prompt.PromptRegistry
-
Loads templates from a resource path.
- loadFromResources(String, String...) - Method in class com.tnsai.prompt.PromptLoader
-
Loads templates from classpath directory.
- logging() - Static method in interface com.tnsai.fsm.StateMachineListener
-
Creates a simple logging listener.
M
- MAJORITY_VOTE - Enum constant in enum class com.tnsai.reasoning.Aggregation
-
Simple majority vote - the most common answer wins.
- mapBeliefsToInput(List<Belief>) - Method in class com.tnsai.context.integration.BDIContextMapper
-
Maps beliefs to decision input.
- mapBeliefsToInput(List<Belief>, String) - Method in class com.tnsai.context.integration.BDIContextMapper
-
Maps beliefs to decision input with a query.
- mapDesiresToGoal(List<Desire>) - Method in class com.tnsai.context.integration.BDIContextMapper
-
Maps desires to a goal description.
- mapDesireToGoal(Desire) - Method in class com.tnsai.context.integration.BDIContextMapper
-
Maps a single desire to a goal.
- mapIntentionToAction(Intention) - Method in class com.tnsai.context.integration.BDIContextMapper
-
Maps an intention to an action name.
- markComplete(String) - Method in class com.tnsai.prompt.optimizer.OptimizationSession
-
Marks the session as complete.
- matchAnyTag() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Returns the value of the
matchAnyTagrecord component. - matchAnyTag(boolean) - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Sets tag matching mode.
- MatchedTurn(int, ConversationTurn, String, List<SessionSearchResult.MatchPosition>) - Constructor for record class com.tnsai.session.SessionSearchResult.MatchedTurn
-
Creates an instance of a
MatchedTurnrecord class. - matchedTurns() - Method in record class com.tnsai.session.SessionSearchResult
-
Returns the value of the
matchedTurnsrecord component. - matches(ExtractedKnowledge) - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Tests if knowledge matches this filter.
- matchesEvent(Event) - Method in class com.tnsai.fsm.Transition
-
Checks if this transition matches the given event.
- matchesPattern(String) - Static method in class com.tnsai.refinement.BuiltInChecks
-
Check that output matches a regex pattern.
- matchesPattern(String) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds a regex pattern check.
- MatchPosition(int, int) - Constructor for record class com.tnsai.session.SessionSearchResult.MatchPosition
-
Creates an instance of a
MatchPositionrecord class. - MAX_DEPTH_EXCEEDED - Enum constant in enum class com.tnsai.planning.PlanningFailureException.Reason
-
The configured recursion depth was exhausted on an acyclic branch.
- MAX_ITERATIONS - Enum constant in enum class com.tnsai.refinement.RefinementStatus
- MAX_ITERATIONS - Enum constant in enum class com.tnsai.session.SessionOutcome
-
Session exceeded maximum iterations.
- MAX_STEPS_REACHED - Enum constant in enum class com.tnsai.reasoning.react.ReActStatus
-
Reached maximum steps without a final answer.
- maxAgents(int) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Sets the maximum number of agents to generate.
- maxAtoms(int) - Method in class com.tnsai.prompt.aot.AotProcessor.Builder
- maxConcurrency(int) - Method in class com.tnsai.reasoning.SelfConsistencyExecutor.Builder
-
Sets maximum concurrency for parallel execution (default: 5).
- maxDepth() - Method in class com.tnsai.planning.BackwardChainingPlanner
-
Configured recursion budget.
- maxDepth() - Method in exception class com.tnsai.planning.PlanningFailureException
-
Returns the depth budget in force when planning failed.
- maxDepth(int) - Method in class com.tnsai.reasoning.TreeOfThoughtsExecutor.Builder
-
Sets the maximum exploration depth (default: 5).
- maxDepthReached(int) - Method in class com.tnsai.reasoning.ToTResult.Builder
- maxIterations(int) - Method in class com.tnsai.prompt.optimizer.PromptOptimizer.Builder
- maxIterations(int) - Method in class com.tnsai.refinement.RefinementLoop.Builder
- maxIterationsPerTask(int) - Method in class com.tnsai.planning.tasklist.TaskListExecutor.Builder
- maxNodes(int) - Method in class com.tnsai.reasoning.got.GraphOfThoughtsExecutor.Builder
- maxReplanAttempts(int) - Method in class com.tnsai.planning.llm.AdaptiveReplanEngine.Builder
-
Sets the maximum number of replan attempts (default: 3).
- maxRetries(int) - Method in class com.tnsai.output.validation.StructuredOutputExecutor.Builder
- maxSteps(int) - Method in class com.tnsai.reasoning.react.ReActExecutor.Builder
-
Sets the maximum number of reasoning steps (default: 10).
- maxSummaryTokens() - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Returns the value of the
maxSummaryTokensrecord component. - maxSummaryTokens(int) - Method in class com.tnsai.context.compaction.CompactionConfig.Builder
- maxTransitions(int) - Method in class com.tnsai.fsm.StateMachine.Builder
-
Sets the maximum number of transitions allowed.
- MCTS - Enum constant in enum class com.tnsai.reasoning.PruningStrategy
-
Monte Carlo Tree Search - balance exploration vs exploitation.
- MemoryConsolidationPipeline - Class in com.tnsai.session.consolidation
-
Automated memory consolidation pipeline.
- MemoryConsolidationPipeline.Builder - Class in com.tnsai.session.consolidation
- merge(String, String, List<GoTNode>) - Static method in class com.tnsai.reasoning.got.GoTNode
-
Creates a merge node from multiple parent nodes.
- mergeCount() - Method in record class com.tnsai.reasoning.got.GoTResult
-
Returns the value of the
mergeCountrecord component. - mergeEntities(List<Entity>, ConflictResolution) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- MermaidOptions() - Constructor for class com.tnsai.fsm.StateMachineVisualizer.MermaidOptions
- MESSAGE_COUNT - Enum constant in enum class com.tnsai.session.consolidation.ConsolidationTrigger
-
Consolidate when message count exceeds threshold.
- messageCountThreshold(int) - Method in class com.tnsai.session.consolidation.AutoConsolidationManager.Builder
-
Message count at which to trigger consolidation.
- messageReduction() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns the message reduction count.
- messages() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns the value of the
messagesrecord component. - metadata() - Method in record class com.tnsai.learning.Feedback
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.planning.tasklist.TaskList
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.session.ConversationTurn
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
metadatarecord component. - metadata(PromptSpec) - Method in class com.tnsai.prompt.SimplePromptTemplate.Builder
-
Sets the metadata.
- metadata(String, Object) - Method in class com.tnsai.fsm.State.Builder
-
Adds metadata.
- metadata(String, Object) - Method in class com.tnsai.planning.tasklist.TaskItem.Builder
- metadata(Map<String, Object>) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets additional metadata.
- method() - Method in record class com.tnsai.planning.PlanningAction
-
Returns the value of the
methodrecord component. - method(Method) - Method in class com.tnsai.planning.PlanningAction.Builder
- metrics() - Method in record class com.tnsai.refinement.RefinementResult
-
Returns the value of the
metricsrecord component. - minConfidence() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Returns the value of the
minConfidencerecord component. - minConfidence(double) - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Sets minimum confidence threshold.
- minConfidence(float) - Method in class com.tnsai.prompt.aot.AotProcessor.Builder
- minFeedbackForLearning(int) - Method in class com.tnsai.learning.FeedbackLearner.Builder
- minKnowledgeConfidence(double) - Method in class com.tnsai.session.consolidation.MemoryConsolidationPipeline.Builder
- minLines(int) - Static method in class com.tnsai.refinement.BuiltInChecks
-
Check minimum line count.
- minLines(int) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds a minimum line count check.
- minMessagesForCompaction() - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Returns the value of the
minMessagesForCompactionrecord component. - minMessagesForCompaction(int) - Method in class com.tnsai.context.compaction.CompactionConfig.Builder
- MODIFIED - Enum constant in enum class com.tnsai.planning.llm.PlanApprovalGate.ApprovalType
- modify(List<Integer>, List<Integer>) - Static method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Approve with both removals and reordering.
- mustContain(String...) - Static method in class com.tnsai.refinement.BuiltInChecks
-
Check that output contains required strings.
- mustContain(String...) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds required content checks.
- mustNotContain(String...) - Static method in class com.tnsai.refinement.BuiltInChecks
-
Check that output does not contain forbidden strings.
- mustNotContain(String...) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds forbidden content checks.
N
- name() - Method in record class com.tnsai.fsm.Event
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.planning.llm.CapabilityDescriptor
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.planning.PlanningAction
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.planning.PlanningGoal
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.planning.tasklist.TaskList
-
Returns the value of the
namerecord component. - negate() - Method in interface com.tnsai.fsm.Guard
-
Negates this guard.
- NEGATIVE - Enum constant in enum class com.tnsai.learning.FeedbackType
-
User disapproved of the output.
- never() - Static method in interface com.tnsai.fsm.Guard
-
Creates a guard that always returns false.
- newOrder() - Method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Returns the value of the
newOrderrecord component. - next() - Method in class com.tnsai.session.replay.SessionReplay
- noActionFor(int) - Static method in interface com.tnsai.reasoning.react.StopCondition
-
Stops when a specific number of consecutive steps have no action.
- noCompaction(List<Map<String, Object>>, int) - Static method in record class com.tnsai.context.compaction.CompactionResult
-
Creates a result indicating no compaction was needed.
- nodeShape(String) - Method in class com.tnsai.fsm.StateMachineVisualizer.DotOptions
- noImprovement(String, float) - Static method in class com.tnsai.prompt.optimizer.OptimizationResult
-
Creates a result indicating no improvement was found.
- NONE - Enum constant in enum class com.tnsai.session.consolidation.ForgettingCurve
-
No decay - all memories retain full importance.
- noop() - Static method in interface com.tnsai.fsm.StateAction
-
Creates a no-op action.
- noop() - Static method in interface com.tnsai.fsm.TransitionAction
-
Creates a no-op action.
- norm() - Method in record class com.tnsai.norms.NormViolation
-
Returns the value of the
normrecord component. - NormEngine - Class in com.tnsai.norms
-
Runtime norm evaluation and enforcement engine.
- NormEngine.CheckResult - Record Class in com.tnsai.norms
-
Result of checking an action against norms.
- NormEntry - Record Class in com.tnsai.norms
-
Runtime representation of a norm extracted from annotations.
- NormEntry(NormType, String, String, String, int) - Constructor for record class com.tnsai.norms.NormEntry
-
Creates an instance of a
NormEntryrecord class. - NormViolation - Record Class in com.tnsai.norms
-
Represents a violation of a norm.
- NormViolation(NormEntry, String, String) - Constructor for record class com.tnsai.norms.NormViolation
- NormViolation(NormEntry, String, String, Instant) - Constructor for record class com.tnsai.norms.NormViolation
-
Creates an instance of a
NormViolationrecord class. - NOT_STARTED - Enum constant in enum class com.tnsai.fsm.StateMachine.Status
- notNull(String) - Static method in interface com.tnsai.output.validation.ValidationRule
-
Field must not be null.
- numPaths(int) - Method in class com.tnsai.reasoning.SelfConsistencyExecutor.Builder
-
Sets the number of reasoning paths to generate (default: 5).
O
- observation(String) - Method in class com.tnsai.reasoning.react.ReActStep.Builder
- of(int, ConversationTurn, String) - Static method in record class com.tnsai.session.SessionSearchResult.MatchedTurn
-
Creates a matched turn.
- of(int, ConversationTurn, Duration, int) - Static method in record class com.tnsai.session.replay.ReplayStep
-
Creates a replay step.
- of(int, String, String) - Static method in record class com.tnsai.planning.llm.LLMPlanStep
-
Creates a simple step with just action name and description.
- of(int, String, String, Map<String, Object>) - Static method in record class com.tnsai.planning.llm.LLMPlanStep
-
Creates a step with arguments.
- of(NormEntry...) - Static method in class com.tnsai.norms.NormEngine
-
Creates a NormEngine from explicit norm entries.
- of(AgentSession) - Static method in class com.tnsai.session.replay.SessionReplay
-
Creates a replay for the given session.
- of(AgentSession) - Static method in record class com.tnsai.session.SessionSearchResult
-
Creates a result with just the session.
- of(AgentSession, double) - Static method in record class com.tnsai.session.SessionSearchResult
-
Creates a result with score.
- of(String) - Static method in record class com.tnsai.fsm.Event
-
Creates an event with the given name.
- of(String) - Static method in class com.tnsai.fsm.State
-
Creates a simple state with the given name.
- of(String, String) - Static method in record class com.tnsai.planning.llm.CapabilityDescriptor
-
Creates a simple capability with name and description only.
- of(String, String) - Static method in record class com.tnsai.planning.PlanningGoal
-
Creates a simple goal with defaults.
- of(String, String) - Static method in record class com.tnsai.planning.tasklist.TaskItem
-
Creates a simple task with name and description.
- of(String, String) - Static method in class com.tnsai.prompt.SimplePromptTemplate
-
Creates a simple template with name and content.
- of(String, String, Priority) - Static method in record class com.tnsai.planning.PlanningGoal
-
Creates a goal with priority.
- of(String, String, String, String...) - Static method in record class com.tnsai.planning.PlanningAction
-
Creates a PlanningAction without method reference.
- of(String, String, Map<String, String>) - Static method in record class com.tnsai.planning.llm.CapabilityDescriptor
-
Creates a capability with parameters.
- of(String, List<TaskItem>) - Static method in record class com.tnsai.planning.tasklist.TaskList
-
Creates a simple task list.
- of(String, Map<String, Object>) - Static method in record class com.tnsai.fsm.Event
-
Creates an event with data.
- of(List<NormEntry>) - Static method in class com.tnsai.norms.NormEngine
-
Creates a NormEngine from a list of norm entries.
- offset() - Method in record class com.tnsai.session.SessionQuery
-
Returns the value of the
offsetrecord component. - offset(int) - Method in class com.tnsai.session.SessionQuery.Builder
-
Sets the result offset for pagination.
- ofTypes(ExtractionType...) - Static method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Creates a filter for specific types.
- ok() - Static method in record class com.tnsai.output.validation.ValidationResult
- on(String) - Method in class com.tnsai.fsm.Transition.EventBuilder
-
Sets the triggering event.
- ON_SESSION_END - Enum constant in enum class com.tnsai.session.consolidation.ConsolidationTrigger
-
Consolidate when a session ends.
- onAllTestsPass() - Static method in interface com.tnsai.refinement.StopHook
-
Stop when all tests pass.
- onCompileSuccess() - Static method in interface com.tnsai.refinement.StopHook
-
Stop when the output compiles successfully.
- onCompleted(StateMachine) - Method in interface com.tnsai.fsm.StateMachineListener
-
Called when the state machine reaches a terminal state.
- onCostExceeds(int) - Static method in interface com.tnsai.refinement.StopHook
-
Stop if cost (tokens) exceeds budget.
- onEntry(StateAction) - Method in class com.tnsai.fsm.State.Builder
-
Sets the entry action.
- onExit(StateAction) - Method in class com.tnsai.fsm.State.Builder
-
Sets the exit action.
- onIteration(Consumer<IterationResult>) - Method in class com.tnsai.refinement.RefinementLoop.Builder
- onMessageAdded(AgentSession, int) - Method in class com.tnsai.session.consolidation.AutoConsolidationManager
-
Called when a message is added to the conversation.
- onNoImprovement(int) - Static method in interface com.tnsai.refinement.StopHook
-
Stop if no improvement for N iterations.
- onNoTransition(StateMachine, State, Event) - Method in interface com.tnsai.fsm.StateMachineListener
-
Called when an event doesn't match any transition.
- onScoreAbove(double) - Static method in interface com.tnsai.refinement.StopHook
-
Stop when score exceeds threshold.
- onSessionEnd(AgentSession) - Method in class com.tnsai.session.consolidation.AutoConsolidationManager
-
Called when a session ends.
- onStateEntered(StateMachine, State, Event) - Method in interface com.tnsai.fsm.StateMachineListener
-
Called when a state is entered.
- onStateExited(StateMachine, State, Event) - Method in interface com.tnsai.fsm.StateMachineListener
-
Called when a state is exited.
- onTaskComplete(Consumer<TaskResult>) - Method in class com.tnsai.planning.tasklist.TaskListExecutor.Builder
- onTransition(StateMachine, State, State, Event) - Method in interface com.tnsai.fsm.StateMachineListener
-
Called when a transition occurs.
- operations(List<GoTOperation>) - Method in class com.tnsai.reasoning.got.GraphOfThoughtsExecutor.Builder
- OptimizationResult - Class in com.tnsai.prompt.optimizer
-
Result of prompt optimization.
- OptimizationResult.Builder - Class in com.tnsai.prompt.optimizer
- OptimizationSession - Class in com.tnsai.prompt.optimizer
-
Tracks progress of a prompt optimization session.
- OptimizationSession(String) - Constructor for class com.tnsai.prompt.optimizer.OptimizationSession
- OptimizationSession.IterationRecord - Record Class in com.tnsai.prompt.optimizer
-
Record of a single optimization iteration.
- OptimizationSession.StrategyRecord - Record Class in com.tnsai.prompt.optimizer
-
Record of a strategy application.
- optimize(String, List<TestCase>) - Method in class com.tnsai.prompt.optimizer.PromptOptimizer
-
Optimizes a prompt using test cases.
- or(Guard) - Method in interface com.tnsai.fsm.Guard
-
Combines this guard with another using OR.
- originalMessageCount() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns the value of the
originalMessageCountrecord component. - originalMessageCount() - Method in record class com.tnsai.session.consolidation.ConsolidationResult
-
Returns the value of the
originalMessageCountrecord component. - originalPrompt(String) - Method in class com.tnsai.prompt.optimizer.OptimizationResult.Builder
- originalQuestion(String) - Method in class com.tnsai.prompt.aot.AotResult.Builder
- originalTokens() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns the value of the
originalTokensrecord component. - outcome() - Method in record class com.tnsai.session.SessionQuery
-
Returns the value of the
outcomerecord component. - outcome(SessionOutcome) - Method in class com.tnsai.session.SessionQuery.Builder
-
Sets the outcome filter.
- output() - Method in record class com.tnsai.planning.llm.StepExecutionResult
-
Returns the value of the
outputrecord component. - outputFormat(OutputFormat) - Method in class com.tnsai.output.validation.StructuredOutputExecutor.Builder
- outputTokens(int) - Method in class com.tnsai.reasoning.ThinkingResult.Builder
P
- parallel(boolean) - Method in class com.tnsai.reasoning.SelfConsistencyExecutor.Builder
-
Enables or disables parallel execution (default: true).
- PARALLEL - Enum constant in enum class com.tnsai.autoteam.TopologySelector.Formation
- parallelExecution(boolean) - Method in class com.tnsai.prompt.aot.AotProcessor.Builder
- parameters() - Method in record class com.tnsai.autoteam.GeneratedAgentConfig
-
Returns the value of the
parametersrecord component. - parameters() - Method in record class com.tnsai.planning.llm.CapabilityDescriptor
-
Returns the value of the
parametersrecord component. - parent(ThoughtNode) - Method in class com.tnsai.reasoning.ThoughtNode.Builder
- parse(Path) - Static method in class com.tnsai.planning.tasklist.PRDParser
-
Parses a PRD file into a TaskList.
- parseNumberedList(String) - Static method in class com.tnsai.reasoning.LLMOutputParser
-
Parses a numbered list from LLM output.
- parseNumberedList(String, int) - Static method in class com.tnsai.reasoning.LLMOutputParser
-
Parses a numbered list, limiting results to the given count.
- parseString(String) - Static method in class com.tnsai.planning.tasklist.PRDParser
-
Parses a PRD JSON string into a TaskList.
- parseTemplate(String, String) - Method in class com.tnsai.prompt.PromptLoader
-
Parses a template from content string.
- pathId(int) - Method in class com.tnsai.reasoning.ReasoningPath.Builder
- pattern() - Static method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Creates a builder for PATTERN type knowledge.
- pattern(String, String) - Static method in interface com.tnsai.output.validation.ValidationRule
-
String field must match a regex pattern.
- PATTERN - Enum constant in enum class com.tnsai.session.extraction.ExtractionType
-
Recurring code or design pattern.
- patternCount() - Method in record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Returns the value of the
patternCountrecord component. - PENDING - Enum constant in enum class com.tnsai.planning.tasklist.TaskStatus
- PENDING - Enum constant in enum class com.tnsai.prompt.aot.Atom.AtomStatus
- persistent() - Method in record class com.tnsai.planning.PlanningGoal
-
Returns the value of the
persistentrecord component. - pipeline(MemoryConsolidationPipeline) - Method in class com.tnsai.session.consolidation.AutoConsolidationManager.Builder
- plan() - Method in record class com.tnsai.autoteam.AutoTeamBuilder.Result
-
Returns the value of the
planrecord component. - plan() - Method in record class com.tnsai.planning.llm.PlanExecutionResult
-
Returns the value of the
planrecord component. - plan(String) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Generates only the team plan without building agents.
- plan(Map<String, Object>) - Method in class com.tnsai.planning.BackwardChainingPlanner
- plan(Map<String, Object>) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner
- plan(Map<String, Object>) - Method in interface com.tnsai.planning.Planner
-
Creates a plan to achieve unsatisfied goals.
- plan(Map<String, Object>) - Method in class com.tnsai.planning.UtilityAIPlanner
- plan(Map<String, Object>, boolean) - Method in class com.tnsai.planning.BackwardChainingPlanner
- plan(Map<String, Object>, boolean) - Method in interface com.tnsai.planning.Planner
-
Creates a plan with optional chaining.
- plan(Map<String, Object>, boolean) - Method in class com.tnsai.planning.UtilityAIPlanner
- PlanApprovalGate - Class in com.tnsai.planning.llm
-
Plan-level human-in-the-loop approval gate.
- PlanApprovalGate.ApprovalDecision - Record Class in com.tnsai.planning.llm
-
Represents the user's decision after reviewing a plan.
- PlanApprovalGate.ApprovalType - Enum Class in com.tnsai.planning.llm
-
Type of plan approval decision.
- PlanApprovalGate.Builder - Class in com.tnsai.planning.llm
-
Builder for
PlanApprovalGate. - PlanApprovalGate.PlanReviewCallback - Interface in com.tnsai.planning.llm
-
Callback for presenting a plan to the user for review.
- PlanExecutionResult - Record Class in com.tnsai.planning.llm
-
Result of executing an entire LLM-generated plan.
- PlanExecutionResult(LLMPlan, List<StepExecutionResult>, boolean, int) - Constructor for record class com.tnsai.planning.llm.PlanExecutionResult
-
Creates an instance of a
PlanExecutionResultrecord class. - PlanExecutor - Class in com.tnsai.planning
-
Executes plans generated by a
Planneron a role instance. - PlanExecutor(Object) - Constructor for class com.tnsai.planning.PlanExecutor
-
Creates an executor for a role instance.
- PlanExecutor(Object, Planner) - Constructor for class com.tnsai.planning.PlanExecutor
-
Creates an executor with a custom planner.
- planForGoal(String, Map<String, Object>) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner
- planForGoalWithChaining(PlanningGoal, Map<String, Object>, int) - Method in class com.tnsai.planning.BackwardChainingPlanner
-
Plans for a single goal using backward chaining.
- planner(LLMDynamicPlanner) - Method in class com.tnsai.planning.llm.AdaptiveReplanEngine.Builder
-
Sets the planner used for initial plan generation.
- Planner - Interface in com.tnsai.planning
-
Service Provider Interface for planning algorithms.
- PlannerHandle SPI - Search tag in class com.tnsai.planning.llm.LLMDynamicPlanner
- Section
- PlanningAction - Record Class in com.tnsai.planning
-
Runtime representation of a planning action.
- PlanningAction(String, String, String, String, Set<String>, Method) - Constructor for record class com.tnsai.planning.PlanningAction
-
Canonical constructor with defaults for backward compatibility.
- PlanningAction(String, String, String, String, Set<String>, Method, int, int, float, Set<String>) - Constructor for record class com.tnsai.planning.PlanningAction
-
Creates an instance of a
PlanningActionrecord class. - PlanningAction.Builder - Class in com.tnsai.planning
-
Builder for PlanningAction.
- PlanningFailureException - Exception Class in com.tnsai.planning
-
Typed failure raised when planning cannot produce a plan for an unsatisfied goal, or when a produced plan stops holding while it executes.
- PlanningFailureException.Reason - Enum Class in com.tnsai.planning
-
Why planning ended without a plan.
- PlanningGoal - Record Class in com.tnsai.planning
-
Runtime representation of a planning goal.
- PlanningGoal(String, String, Priority, String, boolean, int) - Constructor for record class com.tnsai.planning.PlanningGoal
-
Creates an instance of a
PlanningGoalrecord class. - Planning Process - Search tag in class com.tnsai.planning.llm.LLMDynamicPlanner
- Section
- Planning Process - Search tag in interface com.tnsai.planning.Planner
- Section
- positions() - Method in record class com.tnsai.session.SessionSearchResult.MatchedTurn
-
Returns the value of the
positionsrecord component. - POSITIVE - Enum constant in enum class com.tnsai.learning.FeedbackType
-
User approved the output.
- postcondition() - Method in record class com.tnsai.planning.PlanningAction
-
Returns the value of the
postconditionrecord component. - postcondition(String) - Method in class com.tnsai.planning.PlanningAction.Builder
- PRD Format - Search tag in class com.tnsai.planning.tasklist.PRDParser
- Section
- PRDParser - Class in com.tnsai.planning.tasklist
-
Parser for PRD (Product Requirements Document) JSON files.
- precondition() - Method in record class com.tnsai.planning.PlanningAction
-
Returns the value of the
preconditionrecord component. - precondition() - Method in exception class com.tnsai.planning.PlanningFailureException
-
Returns the precondition the failure concerns: the one being searched when the failure occurred, or — for
PlanningFailureException.Reason.PRECONDITION_STALE— the clause that no longer held. - precondition(String) - Method in class com.tnsai.planning.PlanningAction.Builder
- PRECONDITION_STALE - Enum constant in enum class com.tnsai.planning.PlanningFailureException.Reason
-
A planned step's precondition no longer held against freshly extracted state when execution reached it, so it was not executed.
- preconditionSatisfied() - Static method in interface com.tnsai.planning.Consideration
-
Creates a precondition satisfaction consideration.
- preference(String) - Static method in record class com.tnsai.learning.Feedback
- PREFERENCE - Enum constant in enum class com.tnsai.learning.FeedbackType
-
User expressed a preference for future behavior.
- PREFERENCE_LEARNING - Enum constant in enum class com.tnsai.learning.LearningStrategy
-
Learn user preferences for output style, tone, etc.
- preferences() - Method in record class com.tnsai.learning.FeedbackLearner.LearningResult
-
Returns the value of the
preferencesrecord component. - preserveLastN() - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Returns the value of the
preserveLastNrecord component. - preserveLastN(int) - Method in class com.tnsai.context.compaction.CompactionConfig.Builder
- preserveSystemPrompt() - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Returns the value of the
preserveSystemPromptrecord component. - preserveSystemPrompt(boolean) - Method in class com.tnsai.context.compaction.CompactionConfig.Builder
- previous() - Method in class com.tnsai.session.replay.SessionReplay
-
Goes to the previous step.
- principalProvider(AgentPrincipalProvider) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Identity provider that mints an
AgentPrincipalfor each generated agent. - priority() - Method in record class com.tnsai.norms.NormEntry
-
Returns the value of the
priorityrecord component. - priority() - Method in record class com.tnsai.planning.PlanningGoal
-
Returns the value of the
priorityrecord component. - priority() - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Returns the value of the
priorityrecord component. - priority(int) - Method in class com.tnsai.fsm.Transition.Builder
-
Sets the priority (higher = more preferred).
- priority(int) - Method in class com.tnsai.prompt.aot.Atom.Builder
- priority(Priority) - Method in class com.tnsai.planning.tasklist.TaskItem.Builder
- problem() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
problemrecord component. - problem(String) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets the problem (for SOLUTION and ANTIPATTERN types).
- process(String) - Method in class com.tnsai.prompt.aot.AotProcessor
-
Processes a question using Atom of Thought reasoning.
- Process - Search tag in class com.tnsai.autoteam.TaskDecomposer
- Section
- processForced(String) - Method in class com.tnsai.prompt.aot.AotProcessor
-
Forces AoT processing regardless of complexity.
- progressMemory(ProgressMemory) - Method in class com.tnsai.planning.tasklist.TaskListExecutor.Builder
- ProgressMemory - Interface in com.tnsai.planning.tasklist
-
Persistent learning store for cross-task knowledge transfer.
- ProgressMemory.Learning - Record Class in com.tnsai.planning.tasklist
-
A recorded learning from task execution.
- project(String) - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Filters by project path.
- project(String) - Method in class com.tnsai.session.SessionQuery.Builder
-
Sets the project path filter.
- projectPath() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Returns the value of the
projectPathrecord component. - projectPath() - Method in record class com.tnsai.session.SessionQuery
-
Returns the value of the
projectPathrecord component. - prompt() - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.IterationRecord
-
Returns the value of the
promptrecord component. - prompt(String) - Method in class com.tnsai.prompt.aot.Atom.Builder
- PROMPT_ADJUSTMENT - Enum constant in enum class com.tnsai.learning.LearningStrategy
-
Adjust system prompt based on feedback patterns.
- promptAdjustments() - Method in record class com.tnsai.learning.FeedbackLearner.LearningResult
-
Returns the value of the
promptAdjustmentsrecord component. - PromptEvaluator - Interface in com.tnsai.prompt.optimizer
-
Evaluates prompt responses against expected outputs.
- PromptLoader - Class in com.tnsai.prompt
-
Loads prompt templates from files and resources.
- PromptLoader() - Constructor for class com.tnsai.prompt.PromptLoader
- PromptOptimizer - Class in com.tnsai.prompt.optimizer
-
Automated prompt optimization framework.
- PromptOptimizer.Builder - Class in com.tnsai.prompt.optimizer
- PromptRegistry - Class in com.tnsai.prompt
-
Central registry for prompt templates with hot-reload support.
- PromptRegistry() - Constructor for class com.tnsai.prompt.PromptRegistry
-
Creates a new registry.
- prune() - Method in class com.tnsai.reasoning.ThoughtNode
-
Marks this node as pruned.
- pruneAll() - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Prunes all ephemeral actions.
- prunedNodes(int) - Method in class com.tnsai.reasoning.ToTResult.Builder
- pruneResults(String) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Prunes old results for an action.
- pruneThreshold(double) - Method in class com.tnsai.reasoning.TreeOfThoughtsExecutor.Builder
-
Sets the score threshold for pruning (default: 0.3).
- pruning(PruningStrategy) - Method in class com.tnsai.reasoning.TreeOfThoughtsExecutor.Builder
-
Sets the pruning strategy (default: BEAM_SEARCH).
- PruningStrategy - Enum Class in com.tnsai.reasoning
-
Pruning strategies for Tree of Thoughts exploration.
Q
- queryType() - Method in record class com.tnsai.reasoning.causal.CausalResult
-
Returns the value of the
queryTyperecord component. - Quick Start - Search tag in package com.tnsai.context.compaction
- Section
- Quick Start - Search tag in package com.tnsai.context.ephemeral
- Section
- Quick Start - Search tag in package com.tnsai.planning
- Section
- Quick Start - Search tag in package com.tnsai.planning.tasklist
- Section
- Quick Start - Search tag in package com.tnsai.session
- Section
R
- range(String, double, double) - Static method in interface com.tnsai.output.validation.ValidationRule
-
Numeric field must be within range.
- ReActExecutor - Class in com.tnsai.reasoning.react
-
ReAct (Reason + Act + Observe) executor for agentic reasoning.
- ReActExecutor.Builder - Class in com.tnsai.reasoning.react
-
Builder for ReActExecutor.
- ReActResult - Class in com.tnsai.reasoning.react
-
Result of a ReAct (Reason + Act + Observe) execution.
- ReActResult.Builder - Class in com.tnsai.reasoning.react
- ReActStatus - Enum Class in com.tnsai.reasoning.react
-
Status of a ReAct execution.
- ReActStep - Class in com.tnsai.reasoning.react
-
Represents a single step in a ReAct (Reason + Act + Observe) loop.
- ReActStep.Builder - Class in com.tnsai.reasoning.react
- reason() - Method in record class com.tnsai.norms.NormViolation
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Returns the value of the
reasonrecord component. - reason() - Method in exception class com.tnsai.planning.PlanningFailureException
-
Returns why planning ended without a plan.
- reason(String) - Method in class com.tnsai.reasoning.SelfConsistencyExecutor
-
Executes self-consistency reasoning on the given question.
- reasoning() - Method in record class com.tnsai.autoteam.TeamPlan
-
Returns the value of the
reasoningrecord component. - reasoning() - Method in record class com.tnsai.planning.llm.LLMPlan
-
Returns the value of the
reasoningrecord component. - reasoning() - Method in record class com.tnsai.planning.llm.LLMPlanStep
-
Returns the value of the
reasoningrecord component. - reasoning() - Method in record class com.tnsai.reasoning.causal.CausalResult
-
Returns the value of the
reasoningrecord component. - reasoning(String) - Method in class com.tnsai.prompt.aot.AotResult.Builder
- REASONING - Enum constant in enum class com.tnsai.prompt.aot.Atom.AtomType
-
Core reasoning/logic atom
- reasoningChain(String) - Method in class com.tnsai.reasoning.ReasoningPath.Builder
- reasoningModel(LLMClient) - Method in class com.tnsai.reasoning.ReasoningRouter.Builder
-
Sets the reasoning-specialized model (e.g., o1, DeepSeek-R1).
- ReasoningPath - Class in com.tnsai.reasoning
-
Represents a single reasoning path in self-consistency or tree-of-thoughts execution.
- ReasoningPath.Builder - Class in com.tnsai.reasoning
-
Builder for ReasoningPath.
- ReasoningRouter - Class in com.tnsai.reasoning
-
Routes queries to reasoning-specialized models based on task complexity.
- ReasoningRouter.Builder - Class in com.tnsai.reasoning
-
Builder for ReasoningRouter.
- ReasoningVerifier - Class in com.tnsai.reasoning
-
Verifies reasoning chains for logical consistency and factual accuracy.
- ReasoningVerifier(LLMClient) - Constructor for class com.tnsai.reasoning.ReasoningVerifier
-
Creates a new ReasoningVerifier with the given LLM client.
- ReasoningVerifier(LLMClient, boolean) - Constructor for class com.tnsai.reasoning.ReasoningVerifier
-
Creates a new ReasoningVerifier with auto-correction option.
- recent(int) - Static method in record class com.tnsai.session.SessionQuery
-
Creates a query for recent sessions.
- recordedAt() - Method in record class com.tnsai.planning.tasklist.ProgressMemory.Learning
-
Returns the value of the
recordedAtrecord component. - recordFeedback(Feedback) - Method in class com.tnsai.learning.FeedbackLearner
-
Records feedback.
- recordIteration(int, String, float) - Method in class com.tnsai.prompt.optimizer.OptimizationSession
-
Records an iteration result.
- recordLearning(String, String, Set<String>) - Method in interface com.tnsai.planning.tasklist.ProgressMemory
-
Records a learning from a completed task.
- recordStrategy(PromptStrategy, float) - Method in class com.tnsai.prompt.optimizer.OptimizationSession
-
Records a successful strategy application.
- Reference - Search tag in class com.tnsai.prompt.aot.AotProcessor
- Section
- Reference - Search tag in class com.tnsai.prompt.optimizer.PromptOptimizer
- Section
- REFINE - Enum constant in enum class com.tnsai.reasoning.got.GoTOperation
-
Refine an existing thought to improve quality.
- RefinementLoop - Class in com.tnsai.refinement
-
Iterative refinement loop for persistent output improvement.
- RefinementLoop.Builder - Class in com.tnsai.refinement
-
Builder for RefinementLoop.
- RefinementResult - Record Class in com.tnsai.refinement
-
Result of a refinement loop execution.
- RefinementResult(String, int, List<IterationResult>, RefinementStatus, Duration, Map<String, Object>) - Constructor for record class com.tnsai.refinement.RefinementResult
-
Creates an instance of a
RefinementResultrecord class. - RefinementStatus - Enum Class in com.tnsai.refinement
-
Status of refinement completion.
- refresh() - Method in class com.tnsai.learning.AdaptivePromptEnricher
-
Forces a re-learning cycle, bypassing the feedback count cache.
- refuseProtectedSteps(Object, List<PlanningAction>) - Static method in class com.tnsai.planning.PlanExecutor
-
Refuses planned actions that declare an execution policy or
@Security. - REGEX - Enum constant in enum class com.tnsai.session.SessionQuery.SearchMode
-
Regular expression
- register(PromptTemplate) - Method in class com.tnsai.prompt.PromptRegistry
-
Registers a template.
- registerAction(String, int) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Registers an action as ephemeral with the specified keepLast count.
- registerAction(String, EphemeralContextManager.EphemeralConfig) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Registers an action as ephemeral with full config.
- registerAll(PromptTemplate...) - Method in class com.tnsai.prompt.PromptRegistry
-
Registers multiple templates.
- registerAll(Map<String, PromptTemplate>) - Method in class com.tnsai.prompt.PromptRegistry
-
Registers multiple templates from a map.
- registerFromMethod(Method) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Registers an action from its method annotation.
- registerSource(EntitySource) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- reject(String) - Static method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Reject the plan with a reason.
- REJECTED - Enum constant in enum class com.tnsai.planning.llm.PlanApprovalGate.ApprovalType
- relatedFiles() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
relatedFilesrecord component. - relatedFiles(List<String>) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets the related files.
- remainingFrom(int) - Method in record class com.tnsai.planning.llm.LLMPlan
-
Creates a new plan with only the remaining steps starting from the given index.
- remove(String) - Method in class com.tnsai.fsm.StateMachineContext
-
Removes a value from the context.
- remove(String) - Method in class com.tnsai.prompt.PromptRegistry
-
Removes a template.
- removedSteps() - Method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Returns the value of the
removedStepsrecord component. - removeListener(StateMachineListener) - Method in class com.tnsai.fsm.StateMachine
-
Removes a listener.
- removeReloadListener(Consumer<PromptTemplate>) - Method in class com.tnsai.prompt.PromptRegistry
-
Removes a reload listener.
- removeSteps(List<Integer>) - Static method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Approve with step removals.
- removeVariable(String) - Method in class com.tnsai.context.integration.AgentContextManager
- render(String, Map<String, Object>) - Method in class com.tnsai.prompt.SimpleTemplateEngine
- render(Map<String, Object>) - Method in class com.tnsai.prompt.SimplePromptTemplate
- reorder(List<Integer>) - Static method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Approve with reordering.
- replanCount() - Method in record class com.tnsai.planning.llm.PlanExecutionResult
-
Returns the value of the
replanCountrecord component. - Replanning Process - Search tag in class com.tnsai.planning.llm.AdaptiveReplanEngine
- Section
- ReplayStats(int, int, int, int, int, Duration) - Constructor for record class com.tnsai.session.replay.SessionReplay.ReplayStats
-
Creates an instance of a
ReplayStatsrecord class. - ReplayStep - Record Class in com.tnsai.session.replay
-
Represents a single step in a session replay.
- ReplayStep(int, ConversationTurn, String, Duration, boolean, boolean) - Constructor for record class com.tnsai.session.replay.ReplayStep
-
Creates an instance of a
ReplaySteprecord class. - replayUntil(Predicate<ReplayStep>) - Method in class com.tnsai.session.replay.SessionReplay
-
Replays until a condition is met.
- requireDiversity() - Method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator.GenerationSpec
- Research Reference - Search tag in class com.tnsai.reasoning.SelfConsistencyExecutor
- Section
- Research Reference - Search tag in class com.tnsai.reasoning.TreeOfThoughtsExecutor
- Section
- Research Reference - Search tag in class com.tnsai.reasoning.got.GraphOfThoughtsExecutor
- Section
- Research Reference - Search tag in class com.tnsai.reasoning.react.ReActExecutor
- Section
- Research Reference - Search tag in package com.tnsai.reasoning.react
- Section
- Research References - Search tag in package com.tnsai.reasoning
- Section
- reset() - Method in class com.tnsai.fsm.StateMachine
-
Resets the state machine.
- reset() - Method in class com.tnsai.session.replay.SessionReplay
-
Resets the replay to the beginning.
- resolve(String) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- resolveByAttributes(Map<String, Object>) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- Response Curves - Search tag in interface com.tnsai.planning.Consideration
- Section
- restore(String, String, Instant, Instant, String, List<ConversationTurn>, Map<String, Object>, List<String>, SessionOutcome) - Static method in class com.tnsai.session.AgentSession
-
Restores a session from saved data.
- result() - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.TrackedResult
-
Returns the value of the
resultrecord component. - Result(AgentGroup, TeamPlan, List<Agent>) - Constructor for record class com.tnsai.autoteam.AutoTeamBuilder.Result
-
Creates a validated Result.
- results() - Method in record class com.tnsai.planning.tasklist.TaskListResult
-
Returns the value of the
resultsrecord component. - RETRIEVAL - Enum constant in enum class com.tnsai.prompt.aot.Atom.AtomType
-
Data retrieval or lookup atom
- review(LLMPlan) - Method in interface com.tnsai.planning.llm.PlanApprovalGate.PlanReviewCallback
-
Reviews a plan and returns an approval decision.
- review(LLMPlan) - Method in class com.tnsai.planning.llm.PlanApprovalGate
-
Reviews a plan through the approval gate.
- reviewCallback(PlanApprovalGate.PlanReviewCallback) - Method in class com.tnsai.planning.llm.PlanApprovalGate.Builder
-
Sets the callback for plan review.
- role() - Method in record class com.tnsai.autoteam.GeneratedAgentConfig
-
Returns the value of the
rolerecord component. - role() - Method in record class com.tnsai.session.ConversationTurn
-
Returns the value of the
rolerecord component. - root() - Method in record class com.tnsai.reasoning.got.GoTResult
-
Returns the value of the
rootrecord component. - root(ThoughtNode) - Method in class com.tnsai.reasoning.ToTResult.Builder
- root(String) - Static method in class com.tnsai.reasoning.got.GoTNode
- root(String) - Static method in class com.tnsai.reasoning.ThoughtNode
-
Creates a root node.
- rules(List<ValidationRule>) - Method in class com.tnsai.output.validation.StructuredOutputExecutor.Builder
- RUNNING - Enum constant in enum class com.tnsai.fsm.StateMachine.Status
S
- save(DecisionTrace) - Method in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- save(DecisionTrace) - Method in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- save(ContextSnapshot) - Method in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- save(ContextSnapshot) - Method in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- save(Feedback) - Method in interface com.tnsai.learning.FeedbackStore
- save(AgentSession) - Method in class com.tnsai.session.FileSessionStore
- save(AgentSession) - Method in interface com.tnsai.session.SessionStore
-
Saves a session.
- save(ExtractedKnowledge) - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- save(ExtractedKnowledge) - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- save(ExtractedKnowledge) - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Saves knowledge to the store.
- saveAll(List<ExtractedKnowledge>) - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Saves multiple knowledge items.
- saveIntermediateResults(boolean) - Method in class com.tnsai.refinement.RefinementLoop.Builder
- score() - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.IterationRecord
-
Returns the value of the
scorerecord component. - score() - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.StrategyRecord
-
Returns the value of the
scorerecord component. - score() - Method in record class com.tnsai.session.SessionSearchResult
-
Returns the value of the
scorerecord component. - score(double) - Method in class com.tnsai.reasoning.ThoughtNode.Builder
- score(float) - Method in class com.tnsai.prompt.optimizer.OptimizationResult.Builder
- SCORE - Enum constant in enum class com.tnsai.reasoning.got.GoTOperation
-
Score/evaluate a thought's quality.
- search(SessionQuery) - Method in class com.tnsai.session.SearchableFileSessionStore
- search(SessionQuery) - Method in interface com.tnsai.session.SearchableSessionStore
-
Searches sessions with a query.
- search(String) - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Searches knowledge by text query.
- search(String) - Method in interface com.tnsai.session.SearchableSessionStore
-
Searches sessions with a simple text query.
- search(String, KnowledgeFilter) - Method in class com.tnsai.session.extraction.FileKnowledgeStore
- search(String, KnowledgeFilter) - Method in class com.tnsai.session.extraction.InMemoryKnowledgeStore
- search(String, KnowledgeFilter) - Method in interface com.tnsai.session.extraction.KnowledgeStore
-
Searches knowledge with filter.
- SEARCH_BUDGET_EXCEEDED - Enum constant in enum class com.tnsai.planning.PlanningFailureException.Reason
-
The bounded search expansion budget was exhausted.
- SearchableFileSessionStore - Class in com.tnsai.session
-
File-based session store with search capabilities.
- SearchableFileSessionStore(String) - Constructor for class com.tnsai.session.SearchableFileSessionStore
-
Creates a searchable file session store.
- SearchableSessionStore - Interface in com.tnsai.session
-
Extended session store with search capabilities.
- SearchableSessionStore.SessionStats - Record Class in com.tnsai.session
-
Session statistics.
- searchByAttribute(String, Object) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- searchMode() - Method in record class com.tnsai.session.SessionQuery
-
Returns the value of the
searchModerecord component. - searchMode(SessionQuery.SearchMode) - Method in class com.tnsai.session.SessionQuery.Builder
-
Sets the search mode.
- select(TeamPlan) - Static method in class com.tnsai.autoteam.TopologySelector
-
Selects the optimal formation for the given team plan.
- selectBestAction(Map<String, Object>) - Method in class com.tnsai.planning.UtilityAIPlanner
-
Selects the action with highest utility score.
- selectModel(String) - Method in class com.tnsai.reasoning.ReasoningRouter
-
Determines which model to use for the query.
- SelfConsistencyExecutor - Class in com.tnsai.reasoning
-
Self-Consistency reasoning executor.
- SelfConsistencyExecutor.Builder - Class in com.tnsai.reasoning
-
Builder for SelfConsistencyExecutor.
- SEQUENTIAL - Enum constant in enum class com.tnsai.autoteam.TopologySelector.Formation
- session() - Method in record class com.tnsai.session.SessionSearchResult
-
Returns the value of the
sessionrecord component. - session(OptimizationSession) - Method in class com.tnsai.prompt.optimizer.OptimizationResult.Builder
- session(String) - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Filters by session ID.
- sessionCount() - Method in record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Returns the value of the
sessionCountrecord component. - sessionId() - Method in record class com.tnsai.learning.Feedback
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.session.consolidation.ConsolidationResult
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Returns the value of the
sessionIdrecord component. - sessionId(String) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets the session ID.
- SessionOutcome - Enum Class in com.tnsai.session
-
Outcome of an agent session.
- SessionQuery - Record Class in com.tnsai.session
-
Query builder for searching sessions.
- SessionQuery(String, String, String, List<String>, SessionOutcome, LocalDate, LocalDate, int, int, boolean, SessionQuery.SearchMode) - Constructor for record class com.tnsai.session.SessionQuery
-
Creates an instance of a
SessionQueryrecord class. - SessionQuery.Builder - Class in com.tnsai.session
-
Builder for SessionQuery.
- SessionQuery.SearchMode - Enum Class in com.tnsai.session
-
Search mode for text queries.
- SessionReplay - Class in com.tnsai.session.replay
-
Provides replay functionality for agent sessions.
- SessionReplay.ReplayStats - Record Class in com.tnsai.session.replay
-
Statistics about a session replay.
- SessionSearchResult - Record Class in com.tnsai.session
-
Result of a session search operation.
- SessionSearchResult(AgentSession, double, List<SessionSearchResult.MatchedTurn>, List<String>) - Constructor for record class com.tnsai.session.SessionSearchResult
-
Creates an instance of a
SessionSearchResultrecord class. - SessionSearchResult.MatchedTurn - Record Class in com.tnsai.session
-
A matched turn within a session.
- SessionSearchResult.MatchPosition - Record Class in com.tnsai.session
-
Position of a match within content.
- SessionStats(int, int, int, long, double, List<String>, List<String>) - Constructor for record class com.tnsai.session.SearchableSessionStore.SessionStats
-
Creates an instance of a
SessionStatsrecord class. - SessionStore - Interface in com.tnsai.session
-
Interface for storing and retrieving agent sessions.
- set(String, Object) - Method in class com.tnsai.fsm.StateMachineContext
-
Sets a value in the context.
- setConfidence(float) - Method in class com.tnsai.prompt.aot.Atom
- setConsecutiveNoActionCount(int) - Method in class com.tnsai.reasoning.react.StopCondition.StopContext
- setError(String) - Method in class com.tnsai.fsm.StateMachineContext
-
Sets an error message.
- setFinalAnswer(String) - Method in class com.tnsai.reasoning.ThoughtNode
-
Sets the final answer for this leaf node.
- setResult(Object) - Method in class com.tnsai.fsm.StateMachineContext
-
Sets the result.
- setScore(double) - Method in class com.tnsai.reasoning.got.GoTNode
- setScore(double) - Method in class com.tnsai.reasoning.ThoughtNode
-
Sets the evaluation score.
- setSolution(String) - Method in class com.tnsai.prompt.aot.Atom
- setStatus(Atom.AtomStatus) - Method in class com.tnsai.prompt.aot.Atom
- setVariable(String, Object) - Method in class com.tnsai.context.integration.AgentContextManager
- shellCommand(String) - Static method in class com.tnsai.refinement.BuiltInChecks
-
Run a shell command and check exit code.
- shouldCompact(int, int, CompactionConfig) - Method in interface com.tnsai.context.compaction.ContextCompactor
-
Checks if compaction is needed based on current token count.
- shouldCompact(int, int, CompactionConfig) - Method in class com.tnsai.context.compaction.TwoPhaseCompactor
-
Two-phase shouldCompact: checks threshold and delegates to phase 1 first.
- shouldStop(ReActStep, StopCondition.StopContext) - Method in interface com.tnsai.reasoning.react.StopCondition
-
Evaluates whether the loop should stop.
- shouldStop(IterationResult) - Method in interface com.tnsai.refinement.StopHook
-
Evaluates whether the loop should stop.
- showAutoTransitions(boolean) - Method in class com.tnsai.fsm.StateMachineVisualizer.DotOptions
- showAutoTransitions(boolean) - Method in class com.tnsai.fsm.StateMachineVisualizer.MermaidOptions
- showGuards(boolean) - Method in class com.tnsai.fsm.StateMachineVisualizer.DotOptions
- showGuards(boolean) - Method in class com.tnsai.fsm.StateMachineVisualizer.MermaidOptions
- shutdown() - Method in class com.tnsai.prompt.aot.AotProcessor
-
Shuts down resources.
- shutdown() - Method in class com.tnsai.prompt.aot.AtomSolver
-
Shuts down the executor.
- simple() - Static method in class com.tnsai.prompt.optimizer.SyntheticDataGenerator.GenerationSpec
- SimplePromptTemplate - Class in com.tnsai.prompt
-
Simple prompt template implementation using the SimpleTemplateEngine.
- SimplePromptTemplate.Builder - Class in com.tnsai.prompt
-
Builder for SimplePromptTemplate.
- SimpleTemplateEngine - Class in com.tnsai.prompt
-
Simple template engine with {{variable}} syntax.
- SimpleTemplateEngine() - Constructor for class com.tnsai.prompt.SimpleTemplateEngine
- singleAtom(String) - Static method in class com.tnsai.prompt.aot.AtomGenerator
-
Creates a simple single-atom decomposition for trivial problems.
- size() - Method in record class com.tnsai.planning.llm.LLMPlan
-
Returns the number of steps in this plan.
- size() - Method in interface com.tnsai.planning.tasklist.ProgressMemory
-
Returns the number of stored learnings.
- size() - Method in record class com.tnsai.planning.tasklist.TaskList
-
Returns the number of tasks.
- size() - Method in class com.tnsai.prompt.PromptRegistry
-
Gets the number of registered templates.
- size() - Method in class com.tnsai.session.replay.SessionReplay
-
Gets the total number of steps.
- SKIPPED - Enum constant in enum class com.tnsai.planning.tasklist.TaskStatus
- SKIPPED - Enum constant in enum class com.tnsai.prompt.aot.Atom.AtomStatus
- solution() - Static method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Creates a builder for SOLUTION type knowledge.
- SOLUTION - Enum constant in enum class com.tnsai.session.extraction.ExtractionType
-
Problem-solution pair.
- solutionCount() - Method in record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Returns the value of the
solutionCountrecord component. - solve(List<Atom>) - Method in class com.tnsai.prompt.aot.AtomSolver
-
Solves all atoms respecting dependencies.
- SOLVED - Enum constant in enum class com.tnsai.prompt.aot.Atom.AtomStatus
- solver(AtomSolver) - Method in class com.tnsai.prompt.aot.AotProcessor.Builder
- solveSingle(Atom) - Method in class com.tnsai.prompt.aot.AtomSolver
-
Solves a single atom without dependencies.
- source() - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Returns the value of the
sourcerecord component. - SPI Registration - Search tag in interface com.tnsai.planning.Planner
- Section
- standardModel(LLMClient) - Method in class com.tnsai.reasoning.ReasoningRouter.Builder
-
Sets the standard model for simple queries.
- start() - Method in class com.tnsai.fsm.StateMachine
-
Starts the state machine.
- start() - Method in record class com.tnsai.session.SessionSearchResult.MatchPosition
-
Returns the value of the
startrecord component. - start(StateMachineContext) - Method in class com.tnsai.fsm.StateMachine
-
Starts the state machine with the given context.
- start(String, String) - Static method in class com.tnsai.session.AgentSession
-
Starts a new session.
- start(String, String, String) - Static method in class com.tnsai.session.AgentSession
-
Starts a new session with custom ID.
- startConversation() - Method in class com.tnsai.context.integration.AgentContextManager
- startConversation(String) - Method in class com.tnsai.context.integration.AgentContextManager
- startDate() - Method in record class com.tnsai.session.SessionQuery
-
Returns the value of the
startDaterecord component. - state(State) - Method in class com.tnsai.fsm.StateMachine.Builder
-
Adds a state.
- State - Class in com.tnsai.fsm
-
Represents a state in a Finite State Machine.
- State.Builder - Class in com.tnsai.fsm
-
Builder for State.
- StateAction - Interface in com.tnsai.fsm
-
Functional interface for state entry/exit actions.
- StateMachine - Class in com.tnsai.fsm
-
A Finite State Machine implementation for bounded agent autonomy.
- StateMachine.Builder - Class in com.tnsai.fsm
-
Builder for StateMachine.
- StateMachine.Status - Enum Class in com.tnsai.fsm
-
State machine status.
- StateMachineContext - Class in com.tnsai.fsm
-
Context object passed to state actions and guards.
- StateMachineContext() - Constructor for class com.tnsai.fsm.StateMachineContext
-
Creates a new context.
- StateMachineContext(Map<String, Object>) - Constructor for class com.tnsai.fsm.StateMachineContext
-
Creates a context with initial data.
- StateMachineContext.StateTransitionRecord - Record Class in com.tnsai.fsm
-
Record of a state transition.
- StateMachineException - Exception Class in com.tnsai.fsm
-
Exception thrown when state machine operations fail.
- StateMachineException(String) - Constructor for exception class com.tnsai.fsm.StateMachineException
-
Creates exception with message.
- StateMachineException(String, Throwable) - Constructor for exception class com.tnsai.fsm.StateMachineException
-
Creates exception with message and cause.
- StateMachineListener - Interface in com.tnsai.fsm
-
Listener interface for state machine events.
- StateMachineVisualizer - Class in com.tnsai.fsm
-
Generates visual representations of state machines.
- StateMachineVisualizer.DotOptions - Class in com.tnsai.fsm
-
Options for Graphviz DOT generation.
- StateMachineVisualizer.MermaidOptions - Class in com.tnsai.fsm
-
Options for Mermaid diagram generation.
- states(State...) - Method in class com.tnsai.fsm.StateMachine.Builder
-
Adds multiple states.
- StateTransitionRecord(String, String, String, long) - Constructor for record class com.tnsai.fsm.StateMachineContext.StateTransitionRecord
-
Creates an instance of a
StateTransitionRecordrecord class. - status() - Method in record class com.tnsai.refinement.RefinementResult
-
Returns the value of the
statusrecord component. - status(ReActStatus) - Method in class com.tnsai.reasoning.react.ReActResult.Builder
- StepExecutionResult - Record Class in com.tnsai.planning.llm
-
Result of executing a single plan step.
- StepExecutionResult(boolean, String, String) - Constructor for record class com.tnsai.planning.llm.StepExecutionResult
-
Creates an instance of a
StepExecutionResultrecord class. - stepExecutor(StepExecutor) - Method in class com.tnsai.planning.llm.AdaptiveReplanEngine.Builder
-
Sets the step executor that provides execution logic.
- StepExecutor - Interface in com.tnsai.planning.llm
-
Functional interface for executing a single plan step.
- stepIndex() - Method in record class com.tnsai.planning.llm.LLMPlanStep
-
Returns the value of the
stepIndexrecord component. - stepNumber(int) - Method in class com.tnsai.reasoning.react.ReActStep.Builder
- stepResults() - Method in record class com.tnsai.planning.llm.PlanExecutionResult
-
Returns the value of the
stepResultsrecord component. - steps() - Method in record class com.tnsai.planning.llm.LLMPlan
-
Returns the value of the
stepsrecord component. - steps(List<ReActStep>) - Method in class com.tnsai.reasoning.react.ReActResult.Builder
- stopCondition(StopCondition) - Method in class com.tnsai.reasoning.react.ReActExecutor.Builder
-
Sets the stop condition for early termination.
- StopCondition - Interface in com.tnsai.reasoning.react
-
Determines when a ReAct loop should stop.
- StopCondition.StopContext - Class in com.tnsai.reasoning.react
-
Mutable context for stop conditions that need to track state across steps.
- StopContext() - Constructor for class com.tnsai.reasoning.react.StopCondition.StopContext
- stopHook(StopHook) - Method in class com.tnsai.refinement.RefinementLoop.Builder
- StopHook - Interface in com.tnsai.refinement
-
Stop hooks for controlling when the refinement loop should terminate.
- stopOnFirstFailure(boolean) - Method in class com.tnsai.planning.tasklist.TaskListExecutor.Builder
- STOPPED - Enum constant in enum class com.tnsai.reasoning.react.ReActStatus
-
Stopped by a stop condition.
- STOPPED - Enum constant in enum class com.tnsai.refinement.RefinementStatus
- stopWatching() - Method in class com.tnsai.prompt.PromptRegistry
-
Stops watching directories and releases resources.
- Storage Format - Search tag in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- Section
- Storage Format - Search tag in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- Section
- Storage Structure - Search tag in package com.tnsai.session
- Section
- store(Entity) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- store(Entity, String) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- strategies(List<LearningStrategy>) - Method in class com.tnsai.learning.FeedbackLearner.Builder
- strategy() - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.StrategyRecord
-
Returns the value of the
strategyrecord component. - StrategyRecord(PromptStrategy, float, Instant) - Constructor for record class com.tnsai.prompt.optimizer.OptimizationSession.StrategyRecord
-
Creates an instance of a
StrategyRecordrecord class. - stream() - Method in class com.tnsai.session.replay.SessionReplay
-
Returns a stream of all steps.
- streamChat(String, Optional<String>, Optional<List<Map<String, Object>>>, Optional<List<Map<String, Object>>>) - Method in class com.tnsai.reasoning.ReasoningRouter
- STRUCTURED - Enum constant in enum class com.tnsai.reasoning.react.ThoughtFormat
-
Structured format with explicit Thought/Action/Action Input/Observation labels.
- StructuredOutputExecutor<T> - Class in com.tnsai.output.validation
-
Ensures LLM outputs conform to expected schema with automatic retry.
- StructuredOutputExecutor.Builder<T> - Class in com.tnsai.output.validation
- StructuredOutputExecutor.StructuredOutputResult<T> - Record Class in com.tnsai.output.validation
-
Result of a structured output generation attempt.
- StructuredOutputResult(boolean, T, List<String>, int) - Constructor for record class com.tnsai.output.validation.StructuredOutputExecutor.StructuredOutputResult
-
Creates an instance of a
StructuredOutputResultrecord class. - success() - Method in record class com.tnsai.output.validation.StructuredOutputExecutor.StructuredOutputResult
-
Returns the value of the
successrecord component. - success() - Method in record class com.tnsai.planning.llm.PlanExecutionResult
-
Returns the value of the
successrecord component. - success() - Method in record class com.tnsai.planning.llm.StepExecutionResult
-
Returns the value of the
successrecord component. - success() - Method in class com.tnsai.session.AgentSession
-
Marks the session as successful.
- success(boolean) - Method in class com.tnsai.prompt.aot.AotResult.Builder
- success(String) - Static method in record class com.tnsai.planning.llm.StepExecutionResult
-
Creates a successful result.
- success(List<Map<String, Object>>, int, int, int, int, String) - Static method in record class com.tnsai.context.compaction.CompactionResult
-
Creates a result for successful compaction.
- SUCCESS - Enum constant in enum class com.tnsai.reasoning.react.ReActStatus
-
Completed successfully with a final answer.
- SUCCESS - Enum constant in enum class com.tnsai.refinement.RefinementStatus
- SUCCESS - Enum constant in enum class com.tnsai.session.SessionOutcome
-
Session completed successfully.
- successfulSessions() - Method in record class com.tnsai.session.SearchableSessionStore.SessionStats
-
Returns the value of the
successfulSessionsrecord component. - suggestedFormation() - Method in record class com.tnsai.autoteam.TeamPlan
-
Returns the value of the
suggestedFormationrecord component. - suggestions(List<String>) - Method in class com.tnsai.reasoning.VerificationResult.Builder
- suggestStrategies(String) - Method in class com.tnsai.prompt.optimizer.PromptOptimizer
-
Suggests strategies based on task analysis.
- summarize() - Method in class com.tnsai.session.replay.SessionReplay
-
Generates a text summary of the session.
- summarizedMessageCount() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns the value of the
summarizedMessageCountrecord component. - summarizeRecentDecisions(int) - Method in class com.tnsai.context.integration.AgentContextManager
- summarizerModel() - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Returns the value of the
summarizerModelrecord component. - summarizerModel(String) - Method in class com.tnsai.context.compaction.CompactionConfig.Builder
- summary() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns the value of the
summaryrecord component. - summary() - Method in record class com.tnsai.session.consolidation.ConsolidationResult
-
Returns the value of the
summaryrecord component. - summary() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
summaryrecord component. - summary(String) - Method in class com.tnsai.reasoning.VerificationResult.Builder
- summary(String) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets the summary.
- summaryPromptTemplate() - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Returns the value of the
summaryPromptTemplaterecord component. - summaryPromptTemplate(String) - Method in class com.tnsai.context.compaction.CompactionConfig.Builder
- summaryTemplate() - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.EphemeralConfig
-
Returns the value of the
summaryTemplaterecord component. - Syntax - Search tag in class com.tnsai.prompt.SimpleTemplateEngine
- Section
- SYNTHESIS - Enum constant in enum class com.tnsai.prompt.aot.Atom.AtomType
-
Synthesis of multiple results
- synthesisStrategy(AtomSynthesizer.SynthesisStrategy) - Method in class com.tnsai.prompt.aot.AotProcessor.Builder
- synthesize(String, List<Atom>) - Method in class com.tnsai.prompt.aot.AtomSynthesizer
-
Synthesizes atom solutions into a final result.
- synthesizer(AtomSynthesizer) - Method in class com.tnsai.prompt.aot.AotProcessor.Builder
- SyntheticDataGenerator - Class in com.tnsai.prompt.optimizer
-
Generates synthetic test data for prompt optimization.
- SyntheticDataGenerator(LLMClient) - Constructor for class com.tnsai.prompt.optimizer.SyntheticDataGenerator
- SyntheticDataGenerator.GenerationSpec - Class in com.tnsai.prompt.optimizer
-
Configuration for test case generation.
- system(String) - Static method in record class com.tnsai.session.ConversationTurn
-
Creates a system message turn.
- SYSTEM_MESSAGE - Enum constant in enum class com.tnsai.session.TurnType
-
A system message or instruction.
- systemPrompt() - Method in record class com.tnsai.autoteam.GeneratedAgentConfig
-
Returns the value of the
systemPromptrecord component. - systemPrompt(String) - Method in class com.tnsai.output.validation.StructuredOutputExecutor.Builder
- systemPrompt(String) - Method in class com.tnsai.reasoning.react.ReActExecutor.Builder
-
Overrides the default system prompt entirely.
- systemPrompt(String) - Method in class com.tnsai.reasoning.SelfConsistencyExecutor.Builder
-
Sets an optional system prompt.
T
- tag(String) - Method in class com.tnsai.session.SessionQuery.Builder
-
Adds a single tag.
- tags() - Method in record class com.tnsai.planning.llm.CapabilityDescriptor
-
Returns the value of the
tagsrecord component. - tags() - Method in record class com.tnsai.planning.PlanningAction
-
Returns the value of the
tagsrecord component. - tags() - Method in record class com.tnsai.planning.tasklist.ProgressMemory.Learning
-
Returns the value of the
tagsrecord component. - tags() - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Returns the value of the
tagsrecord component. - tags() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
tagsrecord component. - tags() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Returns the value of the
tagsrecord component. - tags() - Method in record class com.tnsai.session.SessionQuery
-
Returns the value of the
tagsrecord component. - tags(String...) - Method in class com.tnsai.planning.PlanningAction.Builder
- tags(String...) - Method in class com.tnsai.planning.tasklist.TaskItem.Builder
- tags(String...) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets tags from varargs.
- tags(String...) - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Filters by tags (must match all tags).
- tags(String...) - Method in class com.tnsai.session.SessionQuery.Builder
-
Adds tags to filter by.
- tags(List<String>) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets the tags.
- tags(Set<String>) - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Filters by tags (must match all tags).
- targetScore(float) - Method in class com.tnsai.prompt.optimizer.PromptOptimizer.Builder
- targetType(Class<T>) - Method in class com.tnsai.output.validation.StructuredOutputExecutor.Builder
- task(String) - Method in class com.tnsai.refinement.RefinementLoop.Builder
- TaskDecomposer - Class in com.tnsai.autoteam
-
Uses LLM to decompose a natural-language task into agent roles and capabilities.
- taskDescription() - Method in record class com.tnsai.autoteam.TeamPlan
-
Returns the value of the
taskDescriptionrecord component. - taskId() - Method in record class com.tnsai.planning.tasklist.ProgressMemory.Learning
-
Returns the value of the
taskIdrecord component. - TaskItem - Record Class in com.tnsai.planning.tasklist
-
A single task in a task list.
- TaskItem(String, String, String, Priority, CompletionCriteria, Set<String>, Map<String, Object>) - Constructor for record class com.tnsai.planning.tasklist.TaskItem
-
Canonical constructor with validation and defaults.
- TaskItem.Builder - Class in com.tnsai.planning.tasklist
-
Builder for TaskItem.
- taskList(TaskList) - Method in class com.tnsai.planning.tasklist.TaskListExecutor.Builder
- TaskList - Record Class in com.tnsai.planning.tasklist
-
An ordered list of tasks to execute.
- TaskList(String, List<TaskItem>, Map<String, Object>) - Constructor for record class com.tnsai.planning.tasklist.TaskList
-
Canonical constructor with validation.
- TaskListExecutor - Class in com.tnsai.planning.tasklist
-
Executes a task list using iterative refinement for each task.
- TaskListExecutor.Builder - Class in com.tnsai.planning.tasklist
-
Builder for TaskListExecutor.
- taskListName() - Method in record class com.tnsai.planning.tasklist.TaskListResult
-
Returns the value of the
taskListNamerecord component. - TaskListResult - Record Class in com.tnsai.planning.tasklist
-
Result of executing a complete task list.
- TaskListResult(String, List<TaskResult>, int, int, Duration) - Constructor for record class com.tnsai.planning.tasklist.TaskListResult
-
Creates an instance of a
TaskListResultrecord class. - tasks() - Method in record class com.tnsai.planning.tasklist.TaskList
-
Returns the value of the
tasksrecord component. - TaskStatus - Enum Class in com.tnsai.planning.tasklist
-
Execution status of a task item.
- teamName() - Method in record class com.tnsai.autoteam.TeamPlan
-
Returns the value of the
teamNamerecord component. - TeamPlan - Record Class in com.tnsai.autoteam
-
Intermediate representation of a generated team plan.
- TeamPlan(String, String, String, List<GeneratedAgentConfig>, String, Map<String, List<String>>) - Constructor for record class com.tnsai.autoteam.TeamPlan
-
Creates a validated TeamPlan.
- temperature(double) - Method in class com.tnsai.reasoning.ReasoningPath.Builder
- temperature(float) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Sets the LLM temperature for decomposition and prompt generation.
- temperature(float) - Method in class com.tnsai.planning.llm.LLMDynamicPlanner.Builder
-
Sets the LLM temperature for plan generation (default: 0.2).
- temperatureVariance(double) - Method in class com.tnsai.reasoning.SelfConsistencyExecutor.Builder
-
Sets the temperature variance between paths (default: 0.1).
- TemporalKnowledge - Record Class in com.tnsai.intelligence.knowledge
-
A fact with temporal validity boundaries.
- TemporalKnowledge(String, String, Instant, Instant, Instant, double) - Constructor for record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Compact constructor with validation.
- terminal() - Method in class com.tnsai.fsm.State.Builder
-
Marks this as a terminal (final) state.
- terminal(String) - Static method in class com.tnsai.fsm.State
-
Creates a terminal (final) state with the given name.
- TestCase - Class in com.tnsai.prompt.optimizer
-
Test case for prompt optimization.
- TestCase(String, String) - Constructor for class com.tnsai.prompt.optimizer.TestCase
-
Creates a test case with default weight.
- TestCase(String, String, String) - Constructor for class com.tnsai.prompt.optimizer.TestCase
-
Creates a test case with category.
- TestCase(String, String, String, float) - Constructor for class com.tnsai.prompt.optimizer.TestCase
-
Creates a test case with all fields.
- TestCase.Builder - Class in com.tnsai.prompt.optimizer
- testCommand(String) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds a test command check.
- text() - Method in record class com.tnsai.session.SessionQuery
-
Returns the value of the
textrecord component. - text(String) - Method in class com.tnsai.session.SessionQuery.Builder
-
Sets the text to search for.
- text(String) - Static method in record class com.tnsai.session.SessionQuery
-
Creates a simple text query.
- The plan-to-execute contract - Search tag in class com.tnsai.planning.PlanExecutor
- Section
- think() - Method in class com.tnsai.planning.PlanExecutor
-
Executes one thinking cycle.
- think(boolean) - Method in class com.tnsai.planning.PlanExecutor
-
Executes one thinking cycle with optional chaining.
- think(String) - Method in class com.tnsai.reasoning.ExtendedThinkingClient
-
Performs extended thinking on the given problem.
- think(String, Optional<String>) - Method in class com.tnsai.reasoning.ExtendedThinkingClient
-
Performs extended thinking with an optional system prompt.
- THINKING - Enum constant in enum class com.tnsai.session.TurnType
-
A thinking/reasoning step (for Chain-of-Thought).
- thinkingBlocks(List<String>) - Method in class com.tnsai.reasoning.ThinkingResult.Builder
- thinkingBudget(int) - Method in class com.tnsai.reasoning.ExtendedThinkingClient.Builder
-
Sets the thinking budget in tokens (default: 10000).
- thinkingProcess(String) - Method in class com.tnsai.reasoning.ThinkingResult.Builder
- ThinkingResult - Class in com.tnsai.reasoning
-
Result from extended thinking mode execution.
- ThinkingResult.Builder - Class in com.tnsai.reasoning
-
Builder for ThinkingResult.
- thinkingTokens(int) - Method in class com.tnsai.reasoning.ThinkingResult.Builder
- thinkWithHistory(String, List<Map<String, Object>>) - Method in class com.tnsai.reasoning.ExtendedThinkingClient
-
Performs extended thinking with conversation history.
- thought(String) - Method in class com.tnsai.reasoning.react.ReActStep.Builder
- thought(String) - Method in class com.tnsai.reasoning.ThoughtNode.Builder
- thoughtFormat(ThoughtFormat) - Method in class com.tnsai.reasoning.react.ReActExecutor.Builder
-
Sets the thought format (default: STRUCTURED).
- ThoughtFormat - Enum Class in com.tnsai.reasoning.react
-
Format for the thought phase of ReAct.
- ThoughtNode - Class in com.tnsai.reasoning
-
Represents a node in a Tree of Thoughts exploration.
- ThoughtNode.Builder - Class in com.tnsai.reasoning
-
Builder for ThoughtNode.
- Thread Safety - Search tag in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- Section
- Thread Safety - Search tag in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- Section
- Thread Safety - Search tag in class com.tnsai.context.ephemeral.EphemeralContextManager
- Section
- Thread Safety - Search tag in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- Section
- threshold(double) - Method in class com.tnsai.reasoning.ReasoningRouter.Builder
-
Sets the threshold for routing to reasoning model (default: 0.5).
- THRESHOLD - Enum constant in enum class com.tnsai.reasoning.Aggregation
-
Return the first answer that appears more than threshold times.
- thresholdRatio() - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Returns the value of the
thresholdRatiorecord component. - thresholdRatio(double) - Method in class com.tnsai.context.compaction.CompactionConfig.Builder
- thumbsDown(String) - Static method in record class com.tnsai.learning.Feedback
- thumbsUp(String) - Static method in record class com.tnsai.learning.Feedback
- TIME_INTERVAL - Enum constant in enum class com.tnsai.session.consolidation.ConsolidationTrigger
-
Consolidate at regular time intervals.
- timeout(long) - Method in class com.tnsai.fsm.State.Builder
-
Sets the state timeout in milliseconds.
- timeout(Duration) - Method in class com.tnsai.reasoning.got.GraphOfThoughtsExecutor.Builder
- timeout(Duration) - Method in class com.tnsai.reasoning.react.ReActExecutor.Builder
-
Sets the execution timeout (default: 5 minutes).
- timeout(Duration) - Method in class com.tnsai.reasoning.SelfConsistencyExecutor.Builder
-
Sets timeout for parallel execution (default: 5 minutes).
- timeout(Duration) - Method in class com.tnsai.reasoning.TreeOfThoughtsExecutor.Builder
-
Sets the exploration timeout (default: 10 minutes).
- timeout(Duration) - Method in class com.tnsai.refinement.RefinementLoop.Builder
- TIMEOUT - Enum constant in enum class com.tnsai.fsm.StateMachine.Status
- TIMEOUT - Enum constant in enum class com.tnsai.reasoning.react.ReActStatus
-
Execution timed out.
- TIMEOUT - Enum constant in enum class com.tnsai.refinement.RefinementStatus
- TIMEOUT - Enum constant in enum class com.tnsai.session.SessionOutcome
-
Session timed out.
- timeoutPerTask(Duration) - Method in class com.tnsai.planning.tasklist.TaskListExecutor.Builder
- timestamp() - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.TrackedResult
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.fsm.StateMachineContext.StateTransitionRecord
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.learning.Feedback
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.norms.NormViolation
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.IterationRecord
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.StrategyRecord
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.session.ConversationTurn
-
Returns the value of the
timestamprecord component. - timestamp(Instant) - Method in class com.tnsai.reasoning.react.ReActStep.Builder
- to(State) - Method in class com.tnsai.fsm.Transition.SourceBuilder
-
Sets the target state.
- to(LocalDate) - Method in class com.tnsai.session.SessionQuery.Builder
-
Sets the end date.
- toDisplayString() - Method in record class com.tnsai.planning.llm.LLMPlan
-
Formats the plan for display to users.
- toDot(StateMachine) - Static method in class com.tnsai.fsm.StateMachineVisualizer
-
Generates Graphviz DOT syntax.
- toDot(StateMachine, StateMachineVisualizer.DotOptions) - Static method in class com.tnsai.fsm.StateMachineVisualizer
-
Generates Graphviz DOT syntax with options.
- TOKEN_LIMIT - Enum constant in enum class com.tnsai.session.consolidation.ConsolidationTrigger
-
Consolidate when token count exceeds threshold.
- tokenBudget(int) - Method in class com.tnsai.session.consolidation.AutoConsolidationManager.Builder
-
Total token budget for the model's context window.
- tokenCount(int) - Method in class com.tnsai.reasoning.ReasoningPath.Builder
- TokenEstimator - Class in com.tnsai.reasoning
-
Rough token count estimator for text content.
- tokenReductionRatio() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns the token reduction ratio.
- tokenThresholdPercent(int) - Method in class com.tnsai.session.consolidation.AutoConsolidationManager.Builder
-
Percentage of token budget at which to trigger consolidation.
- toMermaid(StateMachine) - Static method in class com.tnsai.fsm.StateMachineVisualizer
-
Generates Mermaid state diagram syntax.
- toMermaid(StateMachine, StateMachineVisualizer.MermaidOptions) - Static method in class com.tnsai.fsm.StateMachineVisualizer
-
Generates Mermaid state diagram syntax with options.
- TOOL_CALL - Enum constant in enum class com.tnsai.session.TurnType
-
A tool/function call by the assistant.
- TOOL_RESULT - Enum constant in enum class com.tnsai.session.TurnType
-
The result of a tool execution.
- toolCall(String, Map<String, Object>) - Static method in record class com.tnsai.session.ConversationTurn
-
Creates a tool call turn.
- toolCalls() - Method in record class com.tnsai.session.replay.SessionReplay.ReplayStats
-
Returns the value of the
toolCallsrecord component. - toolCalls() - Method in class com.tnsai.session.replay.SessionReplay
-
Gets only tool call steps.
- toolNames() - Method in record class com.tnsai.autoteam.GeneratedAgentConfig
-
Returns the value of the
toolNamesrecord component. - toolPojos(Object...) - Method in class com.tnsai.autoteam.AutoTeamBuilder
-
Adds tools by reflecting over POJO instances bearing
@Tool-annotated methods (the function-shape pattern, see RFC #188). - toolResult(String, String) - Static method in record class com.tnsai.session.ConversationTurn
-
Creates a tool result turn.
- toolResultPruningEnabled() - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Returns the value of the
toolResultPruningEnabledrecord component. - toolResultPruningEnabled(boolean) - Method in class com.tnsai.context.compaction.CompactionConfig.Builder
- toolResultPruningThreshold() - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Returns the value of the
toolResultPruningThresholdrecord component. - toolResultPruningThreshold(int) - Method in class com.tnsai.context.compaction.CompactionConfig.Builder
- topAgents() - Method in record class com.tnsai.session.SearchableSessionStore.SessionStats
-
Returns the value of the
topAgentsrecord component. - TopologySelector - Class in com.tnsai.autoteam
-
Analyzes inter-agent dependencies and selects the optimal coordination formation.
- TopologySelector.Formation - Enum Class in com.tnsai.autoteam
-
Supported formation types.
- toPromptString() - Method in record class com.tnsai.planning.llm.CapabilityDescriptor
-
Formats this capability for inclusion in an LLM prompt.
- topTags() - Method in record class com.tnsai.session.SearchableSessionStore.SessionStats
-
Returns the value of the
topTagsrecord component. - toState() - Method in record class com.tnsai.fsm.StateMachineContext.StateTransitionRecord
-
Returns the value of the
toStaterecord component. - toString() - Method in record class com.tnsai.autoteam.AutoTeamBuilder.Result
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.autoteam.GeneratedAgentConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.autoteam.TeamPlan
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.compaction.CompactionConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.compaction.CompactionResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.EphemeralConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.context.ephemeral.EphemeralContextManager.TrackedResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.fsm.Event
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.fsm.State
- toString() - Method in class com.tnsai.fsm.StateMachine
- toString() - Method in record class com.tnsai.fsm.StateMachineContext.StateTransitionRecord
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.fsm.Transition
- toString() - Method in record class com.tnsai.intelligence.knowledge.ContradictionDetector.Contradiction
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.learning.Feedback
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.learning.FeedbackLearner.LearningResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.norms.NormEngine.CheckResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.norms.NormEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.norms.NormViolation
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.output.validation.StructuredOutputExecutor.StructuredOutputResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.output.validation.ValidationResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.llm.CapabilityDescriptor
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.llm.LLMPlan
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.llm.LLMPlanStep
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.llm.PlanExecutionResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.llm.StepExecutionResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.PlanningAction
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.PlanningGoal
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.tasklist.ProgressMemory.Learning
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.tasklist.TaskItem
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.tasklist.TaskList
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.planning.tasklist.TaskListResult
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.prompt.aot.AotResult
- toString() - Method in class com.tnsai.prompt.aot.Atom
- toString() - Method in class com.tnsai.prompt.optimizer.OptimizationResult
- toString() - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.IterationRecord
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.prompt.optimizer.OptimizationSession.StrategyRecord
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.prompt.optimizer.TestCase
- toString() - Method in class com.tnsai.prompt.SimplePromptTemplate
- toString() - Method in record class com.tnsai.reasoning.causal.CausalResult
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.reasoning.ConsistencyResult
- toString() - Method in class com.tnsai.reasoning.got.GoTNode
- toString() - Method in record class com.tnsai.reasoning.got.GoTResult
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.reasoning.react.ReActResult
- toString() - Method in class com.tnsai.reasoning.react.ReActStep
- toString() - Method in class com.tnsai.reasoning.ReasoningPath
- toString() - Method in class com.tnsai.reasoning.ThinkingResult
- toString() - Method in class com.tnsai.reasoning.ThoughtNode
- toString() - Method in class com.tnsai.reasoning.ToTResult
- toString() - Method in class com.tnsai.reasoning.VerificationResult
- toString() - Method in record class com.tnsai.refinement.RefinementResult
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.session.AgentSession
- toString() - Method in record class com.tnsai.session.consolidation.ConsolidationResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.session.ConversationTurn
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.session.replay.ReplayStep
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.session.replay.SessionReplay.ReplayStats
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.session.SearchableSessionStore.SessionStats
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.session.SessionQuery
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.session.SessionSearchResult.MatchedTurn
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.session.SessionSearchResult.MatchPosition
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.session.SessionSearchResult
-
Returns a string representation of this record class.
- totalCount() - Method in record class com.tnsai.planning.tasklist.TaskListResult
-
Returns the value of the
totalCountrecord component. - totalCount() - Method in record class com.tnsai.session.extraction.KnowledgeStore.KnowledgeStats
-
Returns the value of the
totalCountrecord component. - totalDuration() - Method in record class com.tnsai.planning.tasklist.TaskListResult
-
Returns the value of the
totalDurationrecord component. - totalDuration() - Method in record class com.tnsai.refinement.RefinementResult
-
Returns the value of the
totalDurationrecord component. - totalLLMCalls(int) - Method in class com.tnsai.reasoning.react.ReActResult.Builder
- totalNodes() - Method in record class com.tnsai.reasoning.got.GoTResult
-
Returns the value of the
totalNodesrecord component. - totalNodes(int) - Method in class com.tnsai.reasoning.ToTResult.Builder
- totalPaths(int) - Method in class com.tnsai.reasoning.ConsistencyResult.Builder
- totalSessions() - Method in record class com.tnsai.session.SearchableSessionStore.SessionStats
-
Returns the value of the
totalSessionsrecord component. - totalSteps() - Method in record class com.tnsai.planning.llm.PlanExecutionResult
-
Returns the total number of steps attempted.
- totalSteps() - Method in record class com.tnsai.session.replay.SessionReplay.ReplayStats
-
Returns the value of the
totalStepsrecord component. - totalTurns() - Method in record class com.tnsai.session.SearchableSessionStore.SessionStats
-
Returns the value of the
totalTurnsrecord component. - toText(StateMachine) - Static method in class com.tnsai.fsm.StateMachineVisualizer
-
Generates a simple text representation.
- ToTResult - Class in com.tnsai.reasoning
-
Result of a Tree of Thoughts exploration.
- ToTResult.Builder - Class in com.tnsai.reasoning
-
Builder for ToTResult.
- TrackedResult(String, Object) - Constructor for record class com.tnsai.context.ephemeral.EphemeralContextManager.TrackedResult
- TrackedResult(String, String, long, Object) - Constructor for record class com.tnsai.context.ephemeral.EphemeralContextManager.TrackedResult
-
Creates an instance of a
TrackedResultrecord class. - trackEntity(Entity) - Method in class com.tnsai.context.integration.AgentContextManager
- trackResult(String, Object) - Method in class com.tnsai.context.ephemeral.EphemeralContextManager
-
Tracks a new tool result.
- Trade-offs - Search tag in class com.tnsai.prompt.aot.AotProcessor
- Section
- transition(Transition) - Method in class com.tnsai.fsm.StateMachine.Builder
-
Adds a transition.
- transition(Transition.Builder) - Method in class com.tnsai.fsm.StateMachine.Builder
-
Adds a transition using builder.
- Transition - Class in com.tnsai.fsm
-
Represents a transition between states in a Finite State Machine.
- Transition.Builder - Class in com.tnsai.fsm
-
Full builder for Transition.
- Transition.EventBuilder - Class in com.tnsai.fsm
-
Builder step for specifying event.
- Transition.SourceBuilder - Class in com.tnsai.fsm
-
Builder step for specifying target state.
- TransitionAction - Interface in com.tnsai.fsm
-
Functional interface for transition actions.
- TreeOfThoughtsExecutor - Class in com.tnsai.reasoning
-
Tree of Thoughts (ToT) executor for complex problem solving.
- TreeOfThoughtsExecutor.Builder - Class in com.tnsai.reasoning
-
Builder for TreeOfThoughtsExecutor.
- triggers(Set<ConsolidationTrigger>) - Method in class com.tnsai.session.consolidation.AutoConsolidationManager.Builder
- TruncatingCompactor - Class in com.tnsai.context.compaction
-
Phase-1 compactor that truncates large tool-call arguments in older messages.
- TruncatingCompactor() - Constructor for class com.tnsai.context.compaction.TruncatingCompactor
-
Creates a truncating compactor with the default max argument length (200 chars).
- TruncatingCompactor(int) - Constructor for class com.tnsai.context.compaction.TruncatingCompactor
-
Creates a truncating compactor with the given max argument length.
- turn() - Method in record class com.tnsai.session.replay.ReplayStep
-
Returns the value of the
turnrecord component. - turn() - Method in record class com.tnsai.session.SessionSearchResult.MatchedTurn
-
Returns the value of the
turnrecord component. - turnIndex() - Method in record class com.tnsai.session.SessionSearchResult.MatchedTurn
-
Returns the value of the
turnIndexrecord component. - TurnType - Enum Class in com.tnsai.session
-
Types of conversation turns.
- TwoPhaseCompactor - Class in com.tnsai.context.compaction
-
Two-phase context compactor combining truncation and LLM summarization.
- TwoPhaseCompactor(TruncatingCompactor, LLMContextCompactor) - Constructor for class com.tnsai.context.compaction.TwoPhaseCompactor
-
Creates a two-phase compactor with the given phase-1 and phase-2 compactors.
- type() - Method in record class com.tnsai.learning.Feedback
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.norms.NormEntry
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.planning.llm.PlanApprovalGate.ApprovalDecision
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.session.ConversationTurn
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.session.extraction.ExtractedKnowledge
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.session.replay.ReplayStep
-
Gets the turn type.
- type(Atom.AtomType) - Method in class com.tnsai.prompt.aot.Atom.Builder
- type(ExtractionType) - Method in class com.tnsai.session.extraction.ExtractedKnowledge.Builder
-
Sets the extraction type.
- types() - Method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Returns the value of the
typesrecord component. - types(ExtractionType...) - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Filters by extraction types.
- types(Set<ExtractionType>) - Method in class com.tnsai.session.extraction.KnowledgeFilter.Builder
-
Filters by extraction types.
U
- UNANIMOUS - Enum constant in enum class com.tnsai.reasoning.Aggregation
-
Unanimous agreement required - returns null if no consensus.
- uniqueTools() - Method in record class com.tnsai.session.replay.SessionReplay.ReplayStats
-
Returns the value of the
uniqueToolsrecord component. - UNKNOWN - Enum constant in enum class com.tnsai.session.SessionOutcome
-
Session outcome is unknown.
- UNREACHABLE - Enum constant in enum class com.tnsai.planning.PlanningFailureException.Reason
-
No action sequence reaches the goal; the search itself stayed sound.
- unregisterSource(String) - Method in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- untrackEntity(String) - Method in class com.tnsai.context.integration.AgentContextManager
- Usage - Search tag in class com.tnsai.context.compaction.LLMContextCompactor
- Section
- Usage - Search tag in class com.tnsai.context.compaction.TruncatingCompactor
- Section
- Usage - Search tag in class com.tnsai.context.compaction.TwoPhaseCompactor
- Section
- Usage - Search tag in class com.tnsai.context.ephemeral.EphemeralContextManager
- Section
- Usage - Search tag in class com.tnsai.fsm.State
- Section
- Usage - Search tag in class com.tnsai.fsm.StateMachine
- Section
- Usage - Search tag in class com.tnsai.fsm.StateMachineContext
- Section
- Usage - Search tag in class com.tnsai.fsm.StateMachineVisualizer
- Section
- Usage - Search tag in class com.tnsai.fsm.Transition
- Section
- Usage - Search tag in class com.tnsai.intelligence.knowledge.ContradictionDetector
- Section
- Usage - Search tag in class com.tnsai.learning.AdaptivePromptEnricher
- Section
- Usage - Search tag in class com.tnsai.learning.FeedbackLearner
- Section
- Usage - Search tag in class com.tnsai.norms.NormEngine
- Section
- Usage - Search tag in class com.tnsai.output.validation.StructuredOutputExecutor
- Section
- Usage - Search tag in class com.tnsai.planning.BackwardChainingPlanner
- Section
- Usage - Search tag in class com.tnsai.planning.PlanExecutor
- Section
- Usage - Search tag in class com.tnsai.planning.UtilityAIPlanner
- Section
- Usage - Search tag in class com.tnsai.planning.llm.AdaptiveReplanEngine
- Section
- Usage - Search tag in class com.tnsai.planning.llm.LLMDynamicPlanner
- Section
- Usage - Search tag in class com.tnsai.planning.llm.PlanApprovalGate
- Section
- Usage - Search tag in class com.tnsai.planning.tasklist.TaskListExecutor
- Section
- Usage - Search tag in class com.tnsai.prompt.PromptLoader
- Section
- Usage - Search tag in class com.tnsai.prompt.PromptRegistry
- Section
- Usage - Search tag in class com.tnsai.prompt.SimplePromptTemplate
- Section
- Usage - Search tag in class com.tnsai.prompt.SimpleTemplateEngine
- Section
- Usage - Search tag in class com.tnsai.prompt.aot.AotProcessor
- Section
- Usage - Search tag in class com.tnsai.prompt.aot.AtomGenerator
- Section
- Usage - Search tag in class com.tnsai.prompt.aot.AtomSolver
- Section
- Usage - Search tag in class com.tnsai.prompt.aot.AtomSynthesizer
- Section
- Usage - Search tag in class com.tnsai.prompt.optimizer.PromptOptimizer
- Section
- Usage - Search tag in class com.tnsai.prompt.optimizer.SyntheticDataGenerator
- Section
- Usage - Search tag in class com.tnsai.reasoning.ExtendedThinkingClient
- Section
- Usage - Search tag in class com.tnsai.reasoning.ReasoningRouter
- Section
- Usage - Search tag in class com.tnsai.reasoning.ReasoningVerifier
- Section
- Usage - Search tag in class com.tnsai.reasoning.SelfConsistencyExecutor
- Section
- Usage - Search tag in class com.tnsai.reasoning.TreeOfThoughtsExecutor
- Section
- Usage - Search tag in class com.tnsai.reasoning.causal.CausalReasoner
- Section
- Usage - Search tag in class com.tnsai.reasoning.got.GraphOfThoughtsExecutor
- Section
- Usage - Search tag in class com.tnsai.reasoning.react.ReActExecutor
- Section
- Usage - Search tag in class com.tnsai.refinement.CompletionCriteria
- Section
- Usage - Search tag in class com.tnsai.refinement.RefinementLoop
- Section
- Usage - Search tag in class com.tnsai.session.AgentSession
- Section
- Usage - Search tag in class com.tnsai.session.consolidation.AutoConsolidationManager
- Section
- Usage - Search tag in class com.tnsai.session.consolidation.MemoryConsolidationPipeline
- Section
- Usage - Search tag in class com.tnsai.session.extraction.LLMKnowledgeExtractor
- Section
- Usage - Search tag in class com.tnsai.session.replay.SessionReplay
- Section
- Usage - Search tag in interface com.tnsai.fsm.Guard
- Section
- Usage - Search tag in interface com.tnsai.fsm.StateAction
- Section
- Usage - Search tag in interface com.tnsai.fsm.StateMachineListener
- Section
- Usage - Search tag in interface com.tnsai.fsm.TransitionAction
- Section
- Usage - Search tag in interface com.tnsai.planning.Consideration
- Section
- Usage - Search tag in interface com.tnsai.planning.tasklist.ProgressMemory
- Section
- Usage - Search tag in interface com.tnsai.session.SearchableSessionStore
- Section
- Usage - Search tag in interface com.tnsai.session.SessionStore
- Section
- Usage - Search tag in interface com.tnsai.session.extraction.KnowledgeExtractor
- Section
- Usage - Search tag in interface com.tnsai.session.extraction.KnowledgeStore
- Section
- Usage - Search tag in package com.tnsai.reasoning
- Section
- Usage - Search tag in package com.tnsai.session.extraction
- Section
- Usage - Search tag in package com.tnsai.session.replay
- Section
- Usage - Search tag in record class com.tnsai.context.compaction.CompactionConfig
- Section
- Usage - Search tag in record class com.tnsai.fsm.Event
- Section
- Usage - Search tag in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
- Section
- Usage - Search tag in record class com.tnsai.planning.tasklist.TaskItem
- Section
- Usage - Search tag in record class com.tnsai.planning.tasklist.TaskList
- Section
- Usage - Search tag in record class com.tnsai.session.SessionQuery
- Section
- Usage - Search tag in record class com.tnsai.session.extraction.ExtractedKnowledge
- Section
- Usage - Search tag in record class com.tnsai.session.extraction.KnowledgeFilter
- Section
- Usage Example - Search tag in class com.tnsai.autoteam.AutoTeamBuilder
- Section
- Usage Example - Search tag in class com.tnsai.context.decision.impl.CheckpointerDecisionTraceStore
- Section
- Usage Example - Search tag in class com.tnsai.context.decision.impl.InMemoryDecisionTraceStore
- Section
- Usage Example - Search tag in class com.tnsai.context.entity.impl.InMemoryEntityResolver
- Section
- Usage Example - Search tag in class com.tnsai.context.integration.AgentContextManager
- Section
- Usage Example - Search tag in class com.tnsai.context.integration.BDIContextMapper
- Section
- Usage Example - Search tag in class com.tnsai.context.snapshot.impl.CheckpointerSnapshotStore
- Section
- Usage Example - Search tag in class com.tnsai.context.snapshot.impl.InMemorySnapshotStore
- Section
- user(String) - Static method in record class com.tnsai.session.ConversationTurn
-
Creates a user message turn.
- USER_MESSAGE - Enum constant in enum class com.tnsai.session.TurnType
-
A message from the user.
- userMessages() - Method in record class com.tnsai.session.replay.SessionReplay.ReplayStats
-
Returns the value of the
userMessagesrecord component. - userMessages() - Method in class com.tnsai.session.replay.SessionReplay
-
Gets only user message steps.
- utility() - Static method in interface com.tnsai.planning.Consideration
-
Creates a utility consideration (value - cost).
- utility() - Method in record class com.tnsai.planning.PlanningAction
-
Calculates simple utility score (value - cost).
- utility(float) - Static method in interface com.tnsai.planning.Consideration
-
Creates a weighted utility consideration.
- UtilityAIPlanner - Class in com.tnsai.planning
-
Utility AI planner that selects actions based on cost/value trade-offs.
- UtilityAIPlanner(Class<?>) - Constructor for class com.tnsai.planning.UtilityAIPlanner
-
Creates a planner from a role class.
- UtilityAIPlanner(Class<?>, List<Consideration>) - Constructor for class com.tnsai.planning.UtilityAIPlanner
-
Creates a planner from a role class with custom considerations.
- UtilityAIPlanner(List<PlanningGoal>, List<PlanningAction>, List<Consideration>) - Constructor for class com.tnsai.planning.UtilityAIPlanner
-
Creates a planner with explicit goals, actions, and considerations.
- UtilityAIPlanner.Builder - Class in com.tnsai.planning
-
Builder for UtilityAIPlanner.
- Utility AI Support - Search tag in record class com.tnsai.planning.PlanningAction
- Section
V
- valid() - Method in record class com.tnsai.output.validation.ValidationResult
-
Returns the value of the
validrecord component. - valid() - Static method in class com.tnsai.reasoning.VerificationResult
-
Creates a valid result with high confidence.
- valid(boolean) - Method in class com.tnsai.reasoning.VerificationResult.Builder
- validate(Map<String, Object>) - Method in interface com.tnsai.output.validation.ValidationRule
-
Validates the parsed output.
- VALIDATION - Enum constant in enum class com.tnsai.prompt.aot.Atom.AtomType
-
Validation or verification atom
- ValidationResult - Record Class in com.tnsai.output.validation
-
Result of a validation check.
- ValidationResult(boolean, List<String>) - Constructor for record class com.tnsai.output.validation.ValidationResult
-
Creates an instance of a
ValidationResultrecord class. - ValidationRule - Interface in com.tnsai.output.validation
-
A validation rule for structured output fields.
- validFrom() - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Returns the value of the
validFromrecord component. - validJson() - Static method in class com.tnsai.refinement.BuiltInChecks
-
Check that output is valid JSON.
- validJson() - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds a valid JSON check.
- validUntil() - Method in record class com.tnsai.intelligence.knowledge.TemporalKnowledge
-
Returns the value of the
validUntilrecord component. - value() - Method in record class com.tnsai.output.validation.StructuredOutputExecutor.StructuredOutputResult
-
Returns the value of the
valuerecord component. - value() - Static method in interface com.tnsai.planning.Consideration
-
Creates a value consideration (higher value = higher score).
- value() - Method in record class com.tnsai.planning.PlanningAction
-
Returns the value of the
valuerecord component. - value(float) - Static method in interface com.tnsai.planning.Consideration
-
Creates a weighted value consideration.
- value(int) - Method in class com.tnsai.planning.PlanningAction.Builder
- valueOf(String) - Static method in enum class com.tnsai.autoteam.TopologySelector.Formation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.fsm.StateMachine.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.learning.FeedbackType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.learning.LearningStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.planning.llm.PlanApprovalGate.ApprovalType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.planning.PlanningFailureException.Reason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.planning.tasklist.TaskStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.prompt.aot.Atom.AtomStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.prompt.aot.Atom.AtomType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.prompt.aot.AtomSynthesizer.SynthesisStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.reasoning.Aggregation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.reasoning.causal.CausalQueryType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.reasoning.got.GoTOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.reasoning.PruningStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.reasoning.react.ReActStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.reasoning.react.ThoughtFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.refinement.RefinementStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.session.consolidation.ConsolidationTrigger
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.session.consolidation.ForgettingCurve
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.session.extraction.ExtractionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.session.SessionOutcome
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.session.SessionQuery.SearchMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.session.TurnType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.tnsai.autoteam.TopologySelector.Formation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.fsm.StateMachine.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.learning.FeedbackType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.learning.LearningStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.planning.llm.PlanApprovalGate.ApprovalType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.planning.PlanningFailureException.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.planning.tasklist.TaskStatus
-
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.aot.Atom.AtomStatus
-
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.aot.Atom.AtomType
-
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.aot.AtomSynthesizer.SynthesisStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.reasoning.Aggregation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.reasoning.causal.CausalQueryType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.reasoning.got.GoTOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.reasoning.PruningStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.reasoning.react.ReActStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.reasoning.react.ThoughtFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.refinement.RefinementStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.session.consolidation.ConsolidationTrigger
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.session.consolidation.ForgettingCurve
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.session.extraction.ExtractionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.session.SessionOutcome
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.session.SessionQuery.SearchMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.session.TurnType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Verification Checks - Search tag in class com.tnsai.reasoning.ReasoningVerifier
- Section
- VerificationResult - Class in com.tnsai.reasoning
-
Result of reasoning verification.
- VerificationResult.Builder - Class in com.tnsai.reasoning
-
Builder for VerificationResult.
- verify(ReasoningPath) - Method in class com.tnsai.reasoning.ReasoningVerifier
-
Verifies a ReasoningPath from self-consistency or ToT.
- verify(String) - Method in class com.tnsai.reasoning.ReasoningVerifier
-
Verifies a reasoning chain.
- verifyAndCorrect(String) - Method in class com.tnsai.reasoning.ReasoningVerifier
-
Verifies and optionally corrects reasoning.
- verifyWithFacts(String, List<String>) - Method in class com.tnsai.reasoning.ReasoningVerifier
-
Verifies reasoning against known facts.
- violations() - Method in record class com.tnsai.norms.NormEngine.CheckResult
-
Returns the value of the
violationsrecord component.
W
- wasImproved() - Method in class com.tnsai.prompt.optimizer.OptimizationResult
-
Returns true if the prompt was improved.
- watchDirectory(Path) - Method in class com.tnsai.prompt.PromptRegistry
-
Starts watching a directory for changes.
- weight() - Method in record class com.tnsai.planning.PlanningAction
-
Returns the value of the
weightrecord component. - weight(float) - Method in class com.tnsai.planning.PlanningAction.Builder
- weight(float) - Method in class com.tnsai.prompt.optimizer.TestCase.Builder
- WEIGHTED_COMBINATION - Enum constant in enum class com.tnsai.prompt.aot.AtomSynthesizer.SynthesisStrategy
-
Combine based on confidence weights
- WEIGHTED_VOTE - Enum constant in enum class com.tnsai.reasoning.Aggregation
-
Weighted voting based on reasoning chain quality.
- weightedUtility() - Method in record class com.tnsai.planning.PlanningAction
-
Calculates weighted utility score.
- WHAT_IF - Enum constant in enum class com.tnsai.reasoning.causal.CausalQueryType
-
What if something were different?
- What Gets Truncated - Search tag in class com.tnsai.context.compaction.TruncatingCompactor
- Section
- whatIf(String, Map<String, Object>) - Method in class com.tnsai.reasoning.causal.CausalReasoner
- when(Guard) - Method in class com.tnsai.fsm.Transition.Builder
-
Sets the guard condition.
- why(String, Map<String, Object>) - Method in class com.tnsai.reasoning.causal.CausalReasoner
- WHY - Enum constant in enum class com.tnsai.reasoning.causal.CausalQueryType
-
Why did something happen?
- withAutoCorrect(LLMClient) - Static method in class com.tnsai.reasoning.ReasoningVerifier
-
Creates a verifier with auto-correction enabled.
- withData(String, Object) - Method in record class com.tnsai.fsm.Event
-
Creates a new event with additional data.
- withFallback(ActionHandler, String) - Static method in interface com.tnsai.reasoning.react.ActionHandler
-
Creates an action handler that always returns a fixed message for unknown actions.
- withLLM(LLMClient) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Sets the LLM client for LLM-based checks.
- withMatches(AgentSession, double, List<SessionSearchResult.MatchedTurn>) - Static method in record class com.tnsai.session.SessionSearchResult
-
Creates a result with matched turns.
- withMinConfidence(double) - Method in interface com.tnsai.session.extraction.KnowledgeExtractor
-
Creates a new extractor with a different confidence threshold.
- withMinConfidence(double) - Static method in record class com.tnsai.session.extraction.KnowledgeFilter
-
Creates a filter with minimum confidence.
- withMinConfidence(double) - Method in class com.tnsai.session.extraction.LLMKnowledgeExtractor
- withoutStep(int) - Method in record class com.tnsai.planning.llm.LLMPlan
-
Creates a new plan with the step at the given index removed.
- withReorderedSteps(List<Integer>) - Method in record class com.tnsai.planning.llm.LLMPlan
-
Creates a new plan with steps reordered according to the given indices.
- withSessionId(String) - Method in record class com.tnsai.learning.Feedback
- wordCount(int, int) - Static method in class com.tnsai.refinement.BuiltInChecks
-
Check word count is within range.
- wordCount(int, int) - Method in class com.tnsai.refinement.CompletionCriteria.Builder
-
Adds a word count check.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form