Agent management

From nouamanecodes/lettactl · View interactive version

Agent management is an AI agent skill from the GitHub repository nouamanecodes/lettactl. Use when managing individual agents - creating, updating, deleting, listing, or describing

How to use this skill

Skill file

Entry Points

Commands

# List
lettactl get agents [-o table|json|yaml] [--wide]

# Describe
lettactl describe agent <name> [-o table|json|yaml]

# Create
lettactl create <name> -d <description> -p <prompt> [-m <model>] [--context-window <n>] [--tools <list>]

# Update
lettactl update <name> [-p <prompt>] [-m <model>] [--add-tools <list>] [--remove-tools <list>]

# Delete
lettactl delete agent <name> [-y]

# Export/Import
lettactl export <name> [-o <file>]
lettactl import <file> [--name <new-name>]

Key Types

AgentState {
  id: string
  name: string
  description: string
  system: string  // system prompt
  llm_config: { model: string; context_window: number }
  tools: Tool[]
  memory: { blocks: Block[] }
}

Examples

# List all agents
lettactl get agents

# Get agent details as JSON
lettactl describe agent my-agent -o json

# Create agent with tools
lettactl create my-agent -d "Helper" -p "You are helpful" --tools web_search

# Update system prompt
lettactl update my-agent -p "New prompt"

# Export and import
lettactl export my-agent -o backup.json
lettactl import backup.json --name my-agent-copy
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.