Step 1: Install Elkar SDK
Step 2: Create your Task Handler
The task handler manages a task’s status and artifacts, abstracting away the complexity of interacting with the Task Store. It supports three operations:set_status
, add_messages_to_history
, and upsert_artifact
.
The task handler currently has a strict signature: async def my_handler(task: TaskModifierBase, request_context: RequestContext) -> None.
While this signature is enforced for now, it may become more flexible in the future.