Table of Contents

Class AgentBlueprint

Namespace
LMKit.Agents.Blueprints
Assembly
LM-Kit.NET.dll

A ready-to-configure agent for a common use case: a complete AgentDefinition (instructions, grounding, answer shape, tool budget) and a starter evaluation suite whose cases hold on any deployment. The same blueprint feeds an in-process agent and the agent setup of an LM-Kit server.

public sealed class AgentBlueprint
Inheritance
AgentBlueprint
Inherited Members

Examples

AgentDefinition definition = AgentBlueprint.CustomerSupport.CreateDefinition("support");
definition.Knowledge.Sources = new List<string> { "help-center" };

var agent = Agent.CreateBuilder(model)
    .WithDefinition(definition, resolveKnowledge: sources => new RagEngineKnowledgeRetriever(helpCenter))
    .Build();

Remarks

A blueprint never grants anything by itself: it names no knowledge source and no tool. The host binds the sources (RequiresKnowledge) and the tools (RequiresTools) it chooses to give the agent, under its own access rules.

Properties

All

Gets every blueprint, in the order a picker shows them.

BoundedAutomation

Bounded automation: carries out operations tasks with the tools the host allows, reading freely and proposing every change instead of making it. Its tools that write are simulated for every caller (SimulateTools), so a proposed action is recorded, never executed. Every answer is a JSON object: a summary, the proposed_actions (tool, arguments, reason) and a status (completed, proposed, blocked or needs_input).

CustomerSupport

Customer support: answers customers from the help-center sources only, cites them, says so when they hold no answer, never acts on an account, and hands the conversation to a person when one is due. Every answer is a JSON object an integration reads: the handoff_reason (none, or why a person must take over), needs_human, a resolution_status (answered, needs_information or handed_off) and the reply the customer sees.

Description

Gets one line on what an agent made from the blueprint does.

Id

Gets the stable identifier of the blueprint, such as customer-support.

InternalKnowledge

Internal knowledge: answers employees from the company's documents, across every source the host binds and only under the caller's own access, citing each statement with its document and page, following up on earlier answers, and saying so when the documents the caller can read hold no answer rather than guessing at the others.

RequiresKnowledge

Gets whether the agent answers from knowledge sources the host must name (Sources) before it can serve.

RequiresTools

Gets whether the agent works through tools the host must choose (Tools) before it can do its job.

Title

Gets the name shown to whoever picks a blueprint.

Methods

CreateDefinition(string)

The agent's definition under name: a fresh copy each call, free to edit.

CreateStarterSuite(string)

The starter evaluation suite of an agent made from the blueprint: cases that hold whatever the sources and tools (an answer of the right shape, a hand-off when one is due, an instruction injection refused). Add the cases of your own domain to it. A fresh copy each call.

Find(string)

The blueprint of that identifier (case-insensitive), or null.

Share