Step 1: Sign Up & Get Your API Key
- Create an account on the Elkar platform.
- Create a new agent: Navigate to Agents > Add a new agent.
- Generate an API Key
Copy the API key now — it won’t be shown again.
Step 2: Install Elkar SDK
Step 3: 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.