Skip to content
tnsaijava agent framework

Glossary

Quick lookup for the abbreviations and TnsAI-specific terms that appear in the rest of the documentation. Linked terms go to the page that explains the concept in depth.

TermDefinition
ActionA unit of work an agent can execute. Declared via @ActionSpec on a role method.
AgentLong-lived orchestrator. The chat loop is LLM + registered tools, not a BDI interpreter. Agent has no belief/desire/intention getters.
AgentAdvisorPlanned interceptor SPI (beforeModel / afterModel / beforeTool / afterTool). Not on Maven Central 0.14.1. See TAN-5769 and AOSE.
AOSEAgent-oriented software engineering. TnsAI’s contributor framing — roles, goals, organizations, protocols — mapped onto types in AOSE methodology.
BDIBelief–Desire–Intention model types (Belief, Desire, Intention) plus the CognitiveModel.bdi() SPI. Not seeded on AgentBuilder (TNS-541).
CapabilityA reusable contract (interface with default-method actions) a role can implement.
ChannelAdapter for an external messaging platform — Telegram, Slack, CLI, Email, etc.
FSMFinite State Machine. The agent lifecycle (CREATED → STARTING → RUNNING → STOPPING → STOPPED + FAILED) is one.
GOAPGoal-Oriented Action Planning. One of the planners under tnsai-intelligence.
HTNHierarchical Task Network — the other built-in planning style.
KB / Knowledge BaseVector + BM25-indexed corpus that backs @KnowledgeSource / @Retrieval.
LAMLanguage-Action Model — the pattern that maps LLM output to typed action calls. See LAM pattern.
MagenticFormationPlanned orchestrator + specialist Agent roster (WebSurfer, FileSurfer, Coder, Terminal). Not on Maven Central 0.14.1. See TAN-5773 and AOSE.
MCPModel Context Protocol. Lets agents expose tools to (or consume tools from) MCP-compatible peers.
PlannerTypePlanned public enum GOAP | UTILITY | HYBRID. Not on Maven Central 0.14.1. See TAN-5767 and AOSE.
RAGRetrieval-Augmented Generation.
ReActReasoning-and-Acting pattern: interleave LLM "thought" steps with tool calls.
ResolutionModePlanned FOCUSED | CLOSED | OPEN agent selection. Not on Maven Central 0.14.1. See TAN-5768 and AOSE.
RoleBundle of capabilities and actions an agent plays.
SCOPA separate Java multi-agent framework — see scop-framework.netlify.app. TnsAI ships an integration bridge.
SPIService Provider Interface — Java's ServiceLoader discovery pattern, the framework's main extensibility seam.
ToTTree of Thoughts — branching reasoning pattern that explores multiple lines before committing.