Uses of Interface
io.agentscope.harness.agent.middleware.HarnessRuntimeMiddleware
Packages that use HarnessRuntimeMiddleware
-
Uses of HarnessRuntimeMiddleware in io.agentscope.harness.agent.middleware
Classes in io.agentscope.harness.agent.middleware that implement HarnessRuntimeMiddlewareModifier and TypeClassDescriptionclassObservability middleware that logs the reasoning and execution trace of an agent.classMiddleware that offloads long-running tool calls to background execution.classExpands@pathreferences in user messages by reading the referenced files through the activeAbstractFilesystemand appending an<attached_file>block at the end of the message.classMiddleware that performs conversation compaction before each LLM reasoning call.classDynamic counterpart toSubagentsMiddlewarethat re-resolves the registered subagent set on every reasoning step, supporting per-user isolation through the workspaceAbstractFilesystem(e.g.classHarness-native skill middleware.classMiddleware that drains the message bus inbox before each reasoning step and injects the messages asHintBlocks into the agent's context.classMiddleware that triggers memory flush and message offload at the end of each agent call.classMiddleware that performs periodic memory maintenance after each agent call.classEnforces plan mode: whileAgentState.planModeContext.planActiveistrue, mutating tool calls are denied so the agent can only read / investigate and draft a plan.classMiddleware that manages the sandbox session lifecycle around each agent call.classSchedulesSkillCuratorruns after the maincall()completes.classBumpsSkillUsageStorecounters whenever the agent invokes a SkillBox-registered skill loader (e.g.classMiddleware that provides the managed subagent mechanism.final classInjects AgentTeams context into the system prompt and exposes a role-clippedTeamTool.classMiddleware that evicts oversized tool results to theAbstractFilesystembefore downstream reasoning sees the bloated message list.classPersists the conversation transcript at the end of every agent call.classAppends workspace context (session info, AGENTS.md, MEMORY.md, knowledge) to the system prompt viaWorkspaceContextMiddleware.onSystemPrompt(Agent, RuntimeContext, String).