Files
cli-e2e-mqnzxold/packages/functions/src/functions/kanban.agent.ts
2026-06-21 18:23:51 +02:00

13 lines
606 B
TypeScript

import { pikkuAIAgent } from '#pikku/agent/pikku-agent-types.gen.js'
import { ref } from '#pikku/pikku-types.gen.js'
export const kanbanAgent = pikkuAIAgent({
name: 'kanbanAgent',
description: 'Manages the kanban board — create and list cards on behalf of the user',
goal: 'You are a kanban board assistant. You can list existing cards and create new cards. When creating a card you need a title and optionally a status (todo, doing, or done). Default status is "todo".',
model: 'openai/deepseek-v4-flash',
tools: [ref('listCards'), ref('createCard')],
maxSteps: 5,
toolChoice: 'auto',
})