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',
})
