Skip to content

feat: Add comprehensive Agents API support#2

Merged
iammatthias merged 5 commits intomainfrom
feature/agents-api
Mar 20, 2026
Merged

feat: Add comprehensive Agents API support#2
iammatthias merged 5 commits intomainfrom
feature/agents-api

Conversation

@iammatthias
Copy link
Copy Markdown
Contributor

Summary

  • Add full Agents API support with interactive chat TUI
  • Implement all agent management commands (create, list, get, delete, restart, logs)
  • Add skills, secrets, channels, devices, snapshots, tasks, ports, domains management
  • Add templates and ClawHub marketplace browsing
  • Add config and update management commands
  • Update README with complete documentation

New Commands

Core Agent Commands

  • agents list - List all agents
  • agents create - Create new agent (with template support)
  • agents get - Get agent details
  • agents delete - Delete an agent
  • agents restart - Restart an agent
  • agents logs - View agent logs
  • agents versions - List available versions

Interactive Chat

  • agents chat - Interactive TUI chat with streaming
  • Supports --json, --text, --conversation modes
  • Session management with --session flag

Skills & Secrets

  • agents skills list/create/delete/attach/detach
  • agents secrets list/create/update/delete/attach/detach

Channels & Devices

  • agents channels status/configure/remove
  • agents devices list/approve/approve-all

Snapshots & Tasks

  • agents snapshots list/create/status/reset
  • agents tasks list/create/update/delete/toggle/run/history

Ports & Domains

  • agents ports list/set
  • agents domains list/add/update/delete

Templates & ClawHub

  • agents templates list/get
  • agents clawhub list/get/install

Config & Updates

  • agents config get/set/validate
  • agents update check/apply

Other

  • agents exec - Execute commands in container
  • agents files read - Read files from container
  • agents feedback - Submit feedback

Test plan

  • Tested all 96 agent commands (success and error cases)
  • Verified JSON output formatting
  • Tested task lifecycle (create → toggle → history → delete)
  • Verified error handling for missing/invalid arguments

🤖 Generated with Claude Code

iammatthias and others added 5 commits March 17, 2026 12:48
- Add complete agents management CLI (list, create, get, delete, restart, logs)
- Add interactive chat TUI with bubbletea v2 (markdown rendering, tool display)
- Add non-interactive chat modes: JSONL streaming, plain text (--text), multi-turn (--conversation)
- Add skills, secrets, channels, devices, snapshots, tasks, and ports management
- Add agent feedback submission
- Add documentation for agents commands in README
- Update gitignore for Claude Code files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add templates commands (list, get with featured filter)
- Add clawhub commands (list, get, install skills from marketplace)
- Add domains commands (list, add, update, delete custom domains)
- Add config commands (get, set, validate agent config)
- Add update commands (check, apply agent updates)
- Add versions command for agent version history
- Add tasks create/update with cron, interval, and at schedules
- Add ports set command with port:path mapping format
- Fix channels status JSON decode (AllowFrom as interface{})
- Update README with full command documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix skills subcommands (list, create, delete, attach, detach)
- Fix secrets subcommands (list, create, update, delete, attach, detach)
- Add missing flags to agents create (--vibe, --emoji, --skill, --secret)
- Add documentation for exec command
- Add documentation for files command
- Add documentation for devices command

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix tar filename typo (files-cli -> ipfs-cli)
- Fix typo (majortiry -> majority)
- Add Agents platform (beta) to intro
- Add AI Agents (beta) mention to usage section
- Add (Beta) tag to agents heading
- Add warning block for agents beta status
- Add note about default network being public

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@iammatthias iammatthias merged commit a32ffa9 into main Mar 20, 2026
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.

2 participants