ai/middlewares directory. The @talosjs/ai dependency is added when it isn’t already installed.
Usage
Examples
Options
AI Skill
This command ships a matchingai:middleware:create skill. After generating the class and test file, it walks your AI agent through implementing a chat middleware that implements IMiddleware from @talosjs/ai to observe or transform the chat lifecycle. This is chat middleware, not HTTP or socket middleware.
- Claude
- Codex