Skip to main content

AgentMiddlewareGroup

API reference

EXPERIMENTAL: Agent APIs are likely to change.

A group of agent middlewares composable onto a base LLM.

Implements Node

id: ID!

A unique identifier for this AgentMiddlewareGroup.

compose(base: LLM): LLM!Experimental

Compose all selected agent middlewares onto a base LLM, in alphabetical module:fn order, and return the composed LLM.

Experimental: Agent APIs are likely to change.

base: LLM

The base LLM to compose onto. Defaults to a fresh workspace-bound LLM.

list: [AgentMiddleware!]!Experimental

Return a list of individual agents and their details

Experimental: Agent APIs are likely to change.

References

Returned by