Adapters and validators
Two boxes on the Hooks page take classes and functions that extend what the agent server accepts: adapter classes for LLM vendors the bundled adapters do not support, and one validator function per kind of profile, called before a profile is saved.
LLM adapters
The llmAdapters box takes one import path per line, each naming a class that extends LlmAdapter. Each class is built once, with no arguments, when the agent server starts, and the adapters are then offered when an LLM profile is created. See Connecting to other LLMs.
Agent configuration validators
One function for each kind of profile: LLM, API, MCP server and database. The function is called before a profile of that kind is saved, with one key, profile, holding the profile as JSON. If it raises, the save is refused and the developer sees the message. A validator enforces a company rule, such as every API profile's URL being inside the company's domains, or every LLM profile naming a connection pool of its own.

