Agents and threads API
Agents hold instructions, tools, memory, and assigned resources. Threads hold conversations. Both are normal resources with create, list, get, update, and delete operations.kazzle.agents and kazzle.threads for CRUD. A thread handle also provides messages(), watch(), stop(), retry(), resume(), and approve().
For a customer-facing app, store any customer-to-thread mapping in the app’s database. Kazzle does not need the customer’s ID.
All calls use the server-side KAZZLE_API_KEY. The key limits access to its Kazzle space. Do not expose it to browser code.