AgenticFleet API
Memory API
Manage agent memory and context in AgenticFleet
Memory API
The Memory API enables management of agent memory and context for improved task performance.
Create Memory
Create a new memory entry for an agent or fleet.
HTTP Request
POST /v1/memory
Request Body
Response
Query Memory
Query memory entries based on various criteria.
HTTP Request
GET /v1/memory/search
Query Parameters
Parameter | Type | Description |
---|---|---|
owner_id | string | Filter by owner ID |
owner_type | string | Filter by owner type |
tags | array | Filter by tags |
content_query | string | Search within memory content |
limit | integer | Maximum number of memories to return |
offset | integer | Number of memories to skip |
Response
Update Memory
Update an existing memory entry.
HTTP Request
PATCH /v1/memory/{memory_id}
Request Body
Response
Delete Memory
Delete a memory entry.
HTTP Request
DELETE /v1/memory/{memory_id}
Response
Memory Types
Common memory content types:
Type | Description |
---|---|
CONTEXT | Task or project context |
PREFERENCES | User or agent preferences |
INSIGHTS | Key learnings and observations |
HISTORY | Interaction history |
SKILLS | Agent capabilities and expertise |
Best Practices
-
Memory Organization
- Use consistent tagging
- Structure content hierarchically
- Include relevant metadata
- Regular cleanup of outdated memories
-
Content Management
- Keep content concise and relevant
- Use structured data when possible
- Include timestamps for temporal context
- Regular updates to maintain accuracy
-
Performance
- Index frequently accessed memories
- Implement caching for common queries
- Batch updates when possible
- Regular optimization of memory storage