Apo Adk Cli
Description
CLI tool that automatically optimizes LLM prompts using APO (textual gradients + beam search). Built with AgentLightning and Google ADK.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
APO — Automatic Prompt Optimizer
Automatically optimize your LLM prompts using gradient-based beam search
APO Paper · AgentLightning Docs · Google ADK Docs
A CLI tool that takes your LLM prompt and makes it better — automatically. It uses the **APO (Automatic Prompt Optimization)** algorithm to iteratively critique, edit, and improve prompts through beam search over "textual gradients." Built with [Microsoft AgentLightning](https://github.com/microsoft/agent-lightning) for the optimization loop and [Google ADK](https://github.com/google/adk-python) with [LiteLLM](https://docs.litellm.ai/) for flexible model access across 100+ LLM providers.
How It Works
APO treats prompt optimization like gradient descent, but with natural language instead of numbers:
- Evaluate — Run your prompt on a batch of tasks and measure performance
- Critique — An LLM generates "textual gradients" — natural language feedback about what's wrong
- Edit — Another LLM applies the critique to produce improved prompt candidates
- Select — Beam search keeps the top-k performing prompts
- Repeat — Iterate until convergence
*"APO is an iterative prompt optimization algorithm that uses LLM-generated textual gradients to improve prompts through a beam search process."* — [Pryzant et al., 2023](https://arxiv.org/abs/2305.03495)
Dashboard
APO includes a **real-time dashboard** (powered by AgentLightning) that launches automatically at `http://localhost:4747` during optimization.
| Tab | What It Shows |
|---|---|
| **Rol |
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI