MiniChain is a small Python library for building applications that combine large language models, prompts, and executable tools. Developers annotate ordinary functions to define model calls while keeping prompt templates separate from application logic. Multiple functions can be chained so the output of one model or tool becomes the input to another. The library records calls as a graph, making intermediate steps easier to inspect, debug, and retry. It includes model abstractions for language models as well as tools such as Python execution. A browser interface can display examples, subprompts, outputs, and queued runs for interactive demonstrations. The project emphasizes readable code and lightweight experimentation rather than a large production framework.

Features

  • Annotated language model functions
  • Separate prompt template files
  • Composable model and tool chains
  • Graph-based call inspection
  • Python execution integration
  • Interactive browser demonstrations

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow MiniChain

MiniChain Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MiniChain!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

4 days ago