Skip to main content

LlamaIndex Agent Integration: LLM Compiler

This Agent integration implements the LLMCompiler agent paper.

A lot of code came from the source repo, we repurposed with LlamaIndex abstractions. All credits to the original authors for a great work!

Usage

First install the package:

pip install llama-index-agent-llm-compiler
# setup pack arguments

from llama_index.core.agent import AgentRunner
from llama_index.agent.llm_compiler.step import LLMCompilerAgentWorker

agent_worker = LLMCompilerAgentWorker.from_tools(
    tools, llm=llm, verbose=True, callback_manager=callback_manager
)
agent = AgentRunner(agent_worker, callback_manager=callback_manager)

# start using the agent
response = agent.chat("What is (121 * 3) + 42?")

Metadata

Release files for llama-index-agent-llm-compiler 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-agent-llm-compiler 0.3.2
File Size Uploaded
llama_index_agent_llm_compiler-0.3.2.tar.gz 19.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-agent-llm-compiler 0.3.2
File Interpreter ABI Platform
llama_index_agent_llm_compiler-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 40.0 kB

Release files / llama_index_agent_llm_compiler-0.3.2.tar.gz

Download URL llama_index_agent_llm_compiler-0.3.2.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
77edc9432b1d441a3760d23c35045131f10aaa4e483d17eaf90d5f84ec288967
BLAKE2b-256 checksum
How to use checksums
c39cbf6e50d544c6c9d5b8cc5dc947a9295c17a295b213585c0b5e98287fbe12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.9

Release files / llama_index_agent_llm_compiler-0.3.2-py3-none-any.whl

Download URL llama_index_agent_llm_compiler-0.3.2-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d0f740d4f2b6f395f8f050b5633117040651b367b32657c327a69ca059af1ec
BLAKE2b-256 checksum
How to use checksums
a9ab39533307965d6c4f73d52523c5f93f9bdd81f126a2be1b99fd91f3f5084b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.9

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page