Skip to content

feat: kbagent recipe — workflow templates for common multi-step tasks #150

Description

@padak

Problem

Complex tasks like "set up a MySQL-to-Snowflake pipeline" require 5-10 coordinated steps. Agents figure this out from `kbagent context` + their own knowledge, but:

  • They may miss steps (e.g., forgetting to set up orchestration)
  • They don't know common pitfalls (e.g., MULTI_STATEMENT_COUNT for Snowflake)
  • Each agent rediscovers the same workflow

Proposal

kbagent recipe list
kbagent recipe show mysql-to-snowflake

Output: structured workflow plan:

  • Ordered steps with exact commands
  • Required parameters per step
  • Common pitfalls and how to avoid them
  • Estimated duration
  • Rollback procedure if something fails

Recipes could cover:

  • Database extractor setup (MySQL, Postgres, Snowflake, etc.)
  • Transformation pipeline (extract → transform → write)
  • Project migration / cloning
  • Dev branch workflow (branch → modify → test → merge)
  • Data sharing between projects

Implementation options

  1. Static recipes in YAML/JSON files shipped with CLI
  2. Dynamic recipes that inspect project state and adapt
  3. AI-generated recipes via the AI Service API

Context

Discussion from Devil's Advocate analysis of kbagent's agentic capabilities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic/agentic-cliSub-issue of #152 (Modern Agentic CLI)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions