#119 · Primary category: LLM Application Frameworks

AdalFlow

agent ai auto-prompting bm25 chatbot faiss framework generative-ai information-retrieval llm machine-learning nlp optimizer python question-answering rag reranker retriever summarization trainer

AdalFlow: The library to build & auto-optimize LLM applications.

Project last updated:05/29/26

GitHub Stars

4.2K

Forks

388

Contributors

42

License

MIT

Why we included this project

AdalFlow treats prompts and few-shot examples as code you can optimize, not strings you hand-tune. You assemble RAG, chatbot, or agent pipelines from modular components with input and output shapes declared up front, so it is always clear exactly what text reaches the model. Its trainer is the interesting part: prompts become optimizable parameters, and a single loop applies LLM-based text gradient descent along with few-shot bootstrap, improving them against your own evaluation metrics. That appeals to teams with a labeled dataset who are tired of prompt tuning as guess-and-check. The AdalComponent structure mirrors PyTorch Lightning, so anyone used to model training will find familiar ground when wiring up evaluation and loss functions.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category