Skip to content

feat(cli): add agentskit run command with plain and pretty modes#83

Merged
EmersonBraun merged 6 commits into
mainfrom
feat/cli-run-command
Apr 6, 2026
Merged

feat(cli): add agentskit run command with plain and pretty modes#83
EmersonBraun merged 6 commits into
mainfrom
feat/cli-run-command

Conversation

@EmersonBraun

Copy link
Copy Markdown
Collaborator

Summary

  • Add agentskit run <task> command for non-interactive agent execution
  • Plain mode (default): result to stdout, verbose steps to stderr — fully pipeable
  • Pretty mode (--pretty): Ink-based rich output with live step/tool progress
  • Extract shared resolveTools, resolveSkills, resolveMemory from chat.tsx to resolve.ts
  • Flags: --provider, --model, --api-key, --skill, --skills, --tools, --memory, --memory-backend, --system-prompt, --max-steps, --verbose, --pretty, --task
  • --skill (single) and --skills (composed) are mutually exclusive
  • Task via positional arg or --task flag; exit 1 only on unrecoverable errors

Test plan

  • 15 new tests pass: resolveTools, resolveSkill, resolveSkills, resolveMemory, command registration
  • 5 existing CLI tests pass with no regressions
  • pnpm build succeeds across all packages
  • pnpm --filter @agentskit/cli lint passes

Closes #16

@EmersonBraun EmersonBraun merged commit 3ba42b1 into main Apr 6, 2026
1 check passed
@EmersonBraun EmersonBraun deleted the feat/cli-run-command branch April 6, 2026 16:39
@EmersonBraun EmersonBraun mentioned this pull request Apr 14, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI agentskit run command

1 participant