Namespace LMKit.Agents
Namespaces
Classes
- Agent
Represents an AI agent capable of executing tasks using a language model, tools, and reasoning strategies.
- AgentBuilder
Fluent builder for constructing Agent instances with a chainable API.
- AgentCapabilities
Encapsulates the capabilities available to an agent: tools, skills, and memory.
- AgentDefinition
A portable, serializable agent: a reusable bundle of behavior (prompt, skill, tools, memory, model, limits) that any host can run. The same definition runs in-process through WithDefinition(AgentDefinition, Func<string, ITool>, Func<string, AgentSkill>, AgentMemory, Func<IReadOnlyList<string>, IKnowledgeRetriever>) and on an LM-Kit server, where requests select it by name.
- AgentDefinition.HandoffSettings
Whether an agent may hand a conversation over to a person, and where the host delivers the hand-off: the portable form of WithHumanHandoff().
- AgentDefinition.KnowledgeSettings
The knowledge sources an agent definition grounds its answers in, and how: the portable form of AgentKnowledge, made of names and values only, so it travels with the definition.
- AgentExecutionOptions
Configuration options for agent execution, providing fine-grained control over context sizing, iteration limits, timeouts, and output constraints.
- AgentExecutionResult
Represents the outcome of an agent task execution.
- AgentExecutor
Default executor for running agents using MultiTurnConversation.
The executor creates and manages a conversation context, applies the agent's configuration, handles the execution loop including tool calls and planning strategies, and produces execution results.
- AgentIdentity
Represents the identity of an agent, defining its persona and behavioral instructions.
- AgentInvocation
What one request to an agent asks for: the settings a caller may state, and that an AgentDefinition fills in wherever the caller stayed silent (ApplyTo(AgentInvocation)).
- AgentKnowledge
Knowledge sources an agent or a conversation grounds its answers in: a retriever, when to search it, and how the model must cite what it finds.
- AgentMemory
Provides persistent memory storage and retrieval capabilities for conversational agents using retrieval-augmented generation (RAG).
- AgentRegistry
A collection that manages named agents for lookup and delegation scenarios.
- ProposalReport
Where a structured answer reports the changes an agent proposed instead of making them: the property listing the proposed actions and the property holding the outcome. An agent whose tools that write are dry runs (SimulateTools) records every change it proposes; with a report declared, the answer's actions and status are set from that record once the run ends, so they say what the run did, whatever the model wrote there: every recorded change listed once, in order, with the model's reason for it when it gave one, the status ProposedStatus exactly when a change was recorded. The rest of the answer, its summary included, stays as the model wrote it.
Interfaces
- IAgentExecutor
Defines the contract for executing agent tasks.
An executor is responsible for running an agent against input prompts, managing the execution loop, handling tool calls, and producing results.
Enums
- AgentExecutionStatus
Represents the terminal status of an agent task execution.
- PlanningStrategy
Specifies the reasoning and planning approach an agent uses to decompose and solve tasks.