# Guidance vs LlamaIndex — Fit & Features

Canonical: https://trutool.co/compare/guidance-vs-llamaindex
Author: Snehil (https://trutool.co/authors/snehil)

Compare Guidance and LlamaIndex by use case, features, limitations, and evaluation questions.

## Compare fit, features, and limitations

### Guidance
Control language model generation with structured programming patterns.
Best fit: Developers composing agents, structured model outputs, and tool workflows.
- Constrained generation
- Prompt programming
- Model integration
Before you choose: Check licensing, provider compatibility, maintenance, and tool permissions. Test failure recovery before enabling agent actions.
Pricing: https://guidance.readthedocs.io/en/latest/
- [Read Guidance profile](https://trutool.co/tools/guidance): Read Guidance profile

### LlamaIndex
Data framework and platform for building agents over enterprise information.
Best fit: Developers building and evaluating custom agents.
- Data framework and platform for building agents over enterprise information
Before you choose: Check licensing, maintenance status, supported providers, and hosting or inference costs.
Pricing: https://www.llamaindex.ai/
- [Read LlamaIndex profile](https://trutool.co/tools/llamaindex): Read LlamaIndex profile
