Llamaindex Agent
Agent Buildingllamaindex-agentLlamaindex 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
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/ai-agents-conversational/skills/llamaindex-agent/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/llamaindex-agent, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
- ReActAgent: Reasoning and acting agent
- OpenAIAgent: Function calling agent
- StructuredPlannerAgent: Plan-and-execute style
- 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