MemoryMiddleware(
self,
*,
backend: BACKEND_TYPES,
sources: list[str]
)| Name | Type | Description |
|---|---|---|
backend* | BACKEND_TYPES | Backend instance or factory function for file operations. |
sources* | list[str] | List of |
| Name | Type |
|---|---|
| backend | BACKEND_TYPES |
| sources | list[str] |
Middleware for loading agent memory from AGENTS.md files.
Loads memory content from configured sources and injects into the system prompt.
Supports multiple sources that are combined together.