Guidance is a programming paradigm for steering LLMs that interleaves control flow with generation, with constrained decoding and rich templating.
| Category | LLM / RAG framework |
| Type | Constrained generation library |
| License | MIT |
| Runs locally | Cloud-optional |
| Built with | Python |
| Skill level | Advanced |
| Best for | developers scripting complex generation logic |
Other open-source llm / rag framework tools worth comparing:
LangChainCompose chains, tools and agents
LlamaIndexThe data framework for RAG
HaystackProduction pipelines for search and RAG
DSPyProgram — not prompt — language models
txtaiAll-in-one embeddings database
RAGFlowDeep-document-understanding RAG
Semantic KernelMicrosoft's enterprise agent framework
GraphRAGRAG that builds a knowledge graph first
LiteLLMOne API for 100+ LLM providers
InstructorReliable structured outputs from LLMs
OutlinesGuarantee valid JSON and grammars
LLMWareEnterprise RAG with small specialised models
FlashRankUltra-light reranking for better RAG
Sentence TransformersThe standard way to make embeddings
RagasMeasure whether your RAG is any good
PromptfooUnit tests for your prompts
LangfuseSee what your LLM app actually did
PhoenixTrace, evaluate and debug LLM appsGuidance is free and open-source (MIT license), so you can use, self-host and modify it at no cost.
Guidance can be used locally or in the cloud depending on your setup.
Popular open-source alternatives include LangChain, LlamaIndex, Haystack. See the comparisons above to choose.
Browse the full directory of open-source AI tools, models and projects — updated daily.
Browse all tools →