# Llamaindex Agent

> Llamaindex Agent is an Agent Skill for agent building published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

LlamaIndex agent and query engine setup for RAG-powered agents

- Skill name: `llamaindex-agent`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/ai-agents-conversational/skills/llamaindex-agent/SKILL.md
- Repository: a5c-ai/babysitter (1,548 GitHub stars when collected)

## SKILL.md

# LlamaIndex Agent Skill

## Capabilities

- Set up LlamaIndex query engines
- Configure ReAct agents with tools
- Implement OpenAI function calling agents
- Design sub-question query engines
- Set up multi-document agents
- Implement chat engines with memory

## Target Processes

- rag-pipeline-implementation
- knowledge-base-qa

## Implementation Details

### Agent Types

1. **ReActAgent**: Reasoning and acting agent
2. **OpenAIAgent**: Function calling agent
3. **StructuredPlannerAgent**: Plan-and-execute style
4. **SubQuestionQueryEngine**: Complex query decomposition

### Query Engine Types

- VectorStoreIndex query engine
- Summary index query engine
- Knowledge graph query engine
- SQL query engine

### Configuration Options

- LLM selection
- Tool definitions
- Memory configuration
- Verbose/debug settings
- Query transform modules

### Best Practices

- Appropriate index selection
- Clear tool descriptions
- Memory for multi-turn
- Monitor query performance

### Dependencies

- llama-index
- llama-index-agent-openai

---

Source: https://www.openparable.com/skill/agent-building/llamaindex-agent (OpenParable). Cite the canonical URL above.
