
Description
Create a new AI agent on a live LiteLLM proxy. Asks for agent name, the underlying model, and optional MCP server access, then calls POST /v1/agents.
SKILL.md
Add Agent
Create a new AI agent on a live LiteLLM proxy.
Setup
Ask for these if not already known:
LITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin key
API reference: https://docs.litellm.ai/docs/proxy/agents
Ask the user
- Agent name (required, e.g.
my-coding-agent) - Model — which LiteLLM model should this agent use (e.g.
gpt-4o,claude-3-5-sonnet) - Description (optional, shown to callers)
- MCP servers (optional) — list of
server_ids this agent can use
Run
curl -s -X POST "$BASE/v1/agents" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_name": "<name>",
"litellm_params": {
"model": "<model>"
},
"agent_card_params": {
"name": "<name>",
"description": "<description>",
"version": "1.0"
}
}'
List existing agents
curl -s "$BASE/v1/agents" \
-H "Authorization: Bearer $KEY"
Get agent info
curl -s "$BASE/v1/agents/<agent_id>" \
-H "Authorization: Bearer $KEY"
Delete an agent
curl -s -X DELETE "$BASE/v1/agents/<agent_id>" \
-H "Authorization: Bearer $KEY"
Output
Show agent_id — needed to call or delete this agent later.
More skills from the litellm-skills repository
View all 21 skillsadd-key
generate API keys on LiteLLM proxy
Jul 14AI InfrastructureAPI DevelopmentLiteLLMadd-mcp
register MCP servers on LiteLLM proxy
Jul 14AI InfrastructureLiteLLMMCPadd-model
add models to LiteLLM proxy
Jul 14AI InfrastructureLiteLLMLLMadd-org
create organizations on LiteLLM proxy
Jul 14AI InfrastructureLiteLLMManagementadd-team
create new teams on LiteLLM proxy
Jul 14AI InfrastructureLLMManagementadd-user
create LiteLLM proxy users
Jul 14AI InfrastructureLLMOperations
More from LiteLLM
View publisherdelete-agent
delete AI agents from LiteLLM proxy
litellm-skills
Jul 14AgentsAI InfrastructureLiteLLMManagementdelete-key
delete API keys from LiteLLM proxy
litellm-skills
Jul 14API DevelopmentLiteLLMSecuritydelete-mcp
delete MCP servers from LiteLLM proxy
litellm-skills
Jul 14AI InfrastructureConfigurationMCPdelete-model
delete models from LiteLLM proxy
litellm-skills
Jul 14AI InfrastructureLiteLLMLLMManagementdelete-org
delete organizations from LiteLLM proxy
litellm-skills
Jul 14AI InfrastructureLiteLLM