Discover and explore top open-source AI tools and projects—updated daily.
vorticoServe AI models and automate workflows
Top 90.2% on SourcePulse
Flama is a production framework designed to simplify the deployment of predictive and generative AI models. It enables users to expose any model as a production-ready API with a single line of code, offering compatibility with OpenAI, Anthropic, and Ollama endpoints, an integrated chat UI, and native Model Context Protocol (MCP) support. This framework targets engineers and researchers, streamlining the transition from model development to production deployment by providing a unified interface and high-performance serving capabilities.
How It Works
Flama's core innovation lies in its .flm portable artifact format, which packages models from diverse frameworks like scikit-learn, TensorFlow, PyTorch, and LLMs into a standardized structure. This abstraction ensures consistency, allowing any packaged model to be served via HTTP with a unified API. The underlying serving engine leverages a Rust-compiled core for optimized routing, JSON handling, and compression, distributed as pre-compiled native wheels for broad compatibility. Models can also be directly downloaded and packaged from the HuggingFace Hub.
Quick Start & Requirements
pip install flamaflama[pydantic]), database integration (flama[database]), or generative AI serving (flama[llm]). Use flama[full] for all extras.Highlighted Details
.flm artifact./chat/, supporting Markdown, LaTeX, and Mermaid rendering.Maintenance & Community
The project is authored by José Antonio Perdiguero López (@perdy) and Miguel Durán-Olivencia (@migduroli). Contributions are welcomed via pull requests after reviewing the contributing documentation. Questions and ideas can be discussed in GitHub Discussions. Users are encouraged to star the repository on GitHub to support development.
Licensing & Compatibility
Flama is released under the Apache 2.0 license. This permissive license allows for commercial use and integration into closed-source projects without significant restrictions.
Limitations & Caveats
The LLM serving backend automatically selects between vLLM (Linux) and MLX (Apple Silicon), which may imply platform-specific performance characteristics or feature availability. Advanced features such as schema validation, database integration, and LLM serving are modular and require explicit installation as optional extras.
6 days ago
Inactive
microsoft