Send messages to your LeedAB agent via API
remember, recall, and forget tools only access memories tagged with this user_id. This lets you serve multiple end-users while keeping their data separate.user_id to give each of your end-users their own memory space:
stream: true, you’ll receive these event types:
| Type | Description |
|---|---|
thinking | Initial event with conversation/message IDs |
thinking_step | Agent’s reasoning process |
planning | Agent’s plan for the task |
code_action | Python code being executed |
tool_start | Tool invocation starting |
tool_end | Tool result |
complete | Final agent response |
error | Error message if something went wrong |