Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

agents-and-workflows

Skill by VectorSpaceLab

Guides developers building LlamaIndex agents and workflows with tools, memory, chat engines, multi-agent handoff, and streaming. Suited to teams that need agents to choose tools or route between capabilities.

  • Score 49
  • 360 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install agents-and-workflows

Built from the published package, never by AI.

git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill /tmp/AREX-Skill && mkdir -p ~/.claude/skills && cp -r /tmp/AREX-Skill/skills/repositories/repo-skills/llama-index/sub-skills/agents-and-workflows ~/.claude/skills/agents-and-workflows

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install agents-and-workflows in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill guides building agentic LlamaIndex applications. It covers FunctionAgent and ReActAgent, function and query engine tools, memory-aware chat, multi-agent handoff with AgentWorkflow, and event streaming. It explains when to use an agent instead of a chat engine or query engine.

It includes code patterns for tool definitions, RAG as a tool, and handoff setups, plus a bundled script that prints safe templates without calling an LLM or network by default. It is aimed at developers who build LlamaIndex agents and workflows for tool-calling and ReAct-style models, and it points to separate skills for indexing, structured outputs, and integrations.

Written from the project's SKILL.md and checked against it.

What it can do

  • FunctionAgentBuilds a function-calling agent with tools, a system prompt, and optional streaming.
  • ReActAgentBuilds a ReAct text-format agent for LLMs without native tool calling.
  • FunctionToolConverts typed Python functions into agent tools with FunctionTool.from_defaults.
  • QueryEngineToolWraps a query engine so an agent can decide when retrieval is needed.
  • AgentWorkflow handoffPasses control between specialist agents using can_handoff_to and root_agent.
  • MemoryKeeps chat state across runs with ChatMemoryBuffer or Memory.
  • Chat enginesRuns stateful conversational RAG over one index with chat and stream_chat.
  • Event streamingStreams AgentStream, ToolCall, and AgentOutput events from a run handler.
  • Human-in-the-loop toolsAccepts a Context parameter and calls ctx.wait_for_event inside a tool.
  • Scaffolding scriptPrints safe templates for tools, agents, streaming, and multi-agent handoff.

What you need

  • Python
  • LlamaIndex packages
  • A configured LLM

Try asking

  • Build a FunctionAgent with a discount calculator tool in Python
  • Wrap my policy query engine as a QueryEngineTool for an agent
  • Set up a triage agent that hands off technical questions to a docs agent

Good to know

  • FunctionAgent requires an LLM with function-calling support and raises ValueError otherwise.
  • ReActAgent expects Thought, Action, Action Input, or Answer blocks in the model output.
  • The bundled script does not call an LLM or the network by default.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/repositories/repo-skills/llama-index/sub-skills/agents-and-workflows/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to agents-and-workflows

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

agents-and-workflows: common questions

Which agent type should I use with LlamaIndex?

Use FunctionAgent when the LLM supports function calling. Use ReActAgent when the LLM lacks native tool calling but can follow the ReAct text format.

When should I use a chat engine instead of an agent?

Chat engines suit conversational RAG over one index. Use an agent when the app must choose tools, hand off between agents, or call multiple systems.

Does the bundled script call an LLM?

No. The script prints templates and does not call an LLM or the network by default.

How do I install agents-and-workflows?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is agents-and-workflows free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is agents-and-workflows safe to use?

It scores 49 of 100. Grades: maintenance C, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to agents-and-workflows?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

agents-and-workflows Install

Add to stack

Loading.