Monitoring & Reference · Section 10
AI Agents & Agentic Experience (AX)
Kubeletto is designed with an Agentic-first interface. Modern AI coders (like Cursor, Claude, and Gemini) can easily check status, inspect logs, and deploy applications using the Kubeletto CLI or API.
1. Initializing Agent Workspace Skills
Initialize agent guides and instructions directly in your repository directory so your local AI model knows how to safely manage Kubeletto resources:
kubeletto init-agent --target generic
Available targets include:
generic: Generates.agents/skills/kubeletto/SKILL.mdand.agents/AGENTS.kubeletto.md.cursor: Generates.cursorrulesand a detailedkubeletto.mdcrules file.claude: GeneratesCLAUDE.mdcommand references.
2. Safety and Non-Interactive Usage
AI agents run scripts in headless environments where standard confirmation prompts would hang. To prevent this, Kubeletto CLI enforces:
- Automatic Prompts Guard: If standard input is not a TTY (character device) or the
--non-interactiveflag is present, any command that asks for confirmation (likerollbackorkeys revoke) fails immediately with exit code 2 unless--yes/-yis provided. - JSON Output: Commands support
--output jsonwhich routes progress text logs to stderr and leaves stdout clean for raw JSON serialization.