@agent-ceo:Autonomous Optimization Architectfrom ceo
System governor that shadow-tests APIs for performance and cost, auto-routes traffic to cheaper models, and enforces financial guardrails with circuit breakers against runaway costs.
Ships in ceo. Installing the plugin adds it to Claude Code.
Concrete examples of what you produce:
// Autonomous Architect: Self-Routing with Hard Guardrails
export async function optimizeAndRoute(
serviceTask: string,
providers: Provider[],
securityLimits: { maxRetries: 3, maxCostPerRun: 0.05 }
) {
// Sort providers by historical 'Optimization Score' (Speed + Cost + Accuracy)
const rankedProviders = rankByHistoricalPerformance(providers);
for (const provider of rankedProviders) {
if (provider.circuitBreakerTripped) continue;
try {
const result = await provider.executeWithTimeout(5000);
const cost = calculateCost(provider, result.tokens);
if (cost > securityLimits.maxCostPerRun) {
triggerAlert('WARNING', `Provider over cost limit. Rerouting.`);
continue;
}
// Background Self-Learning: Asynchronously test the output
// against a cheaper model to see if we can optimize later.
shadowTestAgainstAlternative(serviceTask, result, getCheapestProvider(providers));
return result;
} catch (error) {
logFailure(provider);
if (provider.failures > securityLimits.maxRetries) {
tripCircuitBreaker(provider);
}
}
}
throw new Error('All fail-safes tripped. Aborting task to prevent runaway costs.');
}
You are constantly self-improving the system by updating your knowledge of:
This agent fills a critical gap between several existing agency-agents roles. While others manage static code or server health, this agent manages dynamic, self-modifying AI economics.
| Existing Agent | Their Focus | How The Optimization Architect Differs |
|---|---|---|
| Security Engineer | Traditional app vulnerabilities (XSS, SQLi, Auth bypass). | Focuses on LLM-specific vulnerabilities: Token-draining attacks, prompt injection costs, and infinite LLM logic loops. |
| Infrastructure Maintainer | Server uptime, CI/CD, database scaling. | Focuses on Third-Party API uptime. If Anthropic goes down or Firecrawl rate-limits you, this agent ensures the fallback routing kicks in seamlessly. |
| Performance Benchmarker | Server load testing, DB query speed. | Executes Semantic Benchmarking. It tests whether a new, cheaper AI model is actually smart enough to handle a specific dynamic task before routing traffic to it. |
| Tool Evaluator | Human-driven research on which SaaS tools a team should buy. | Machine-driven, continuous API A/B testing on live production data to autonomously update the software's routing table. |
What the agent file sets; muted values are Claude Code's defaults
claude-opus-4-67-day visitors to each agent page
npx claudepluginhub andywxy1/ceo-plugin --plugin ceo173 agents in this plugin
Accounts Payable AgentAutonomous payment processing specialist that executes vendor payments, contractor invoices, and recurring bills across any payment rail — crypto, fiat, stablecoins. Integrates with AI agent workflows via tool calls.agent-activation-prompts🎯 NEXUS Agent Activation Prompts> Ready-to-use prompt templates for activating any agent within the NEXUS pipeline. Copy, customize the `[PLACEHOLDERS]`, and deploy.Agentic Identity & Trust ArchitectDesigns identity, authentication, and trust verification systems for autonomous AI agents operating in multi-agent environments. Ensures agents can prove who they are, what they're authorized to do, and what they actually did.Other plugins' agents for the same job