Plexe: Build Machine Learning Models from Natural Language Prompts
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Plexe is an innovative Python library that empowers developers to build machine learning models using natural language descriptions. It automates the entire model creation process, from intent to deployment, through an intelligent multi-agent architecture. This allows for rapid development and experimentation, making ML accessible and efficient.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Plexe is an innovative Python library that dramatically simplifies the creation of machine learning models. With Plexe, you can build complex models by describing them in natural language, eliminating the need for extensive manual coding. It leverages an intelligent multi-agent architecture to automate the entire model development lifecycle, from intent definition to deployment.
Whether you're predicting sentiment, housing prices, or customer churn, Plexe transforms your description into a fully functional ML model, making AI development more accessible and efficient.
Installation
Getting started with Plexe is straightforward. You can install it via pip:
pip install plexe # Standard installation, minimal dependencies
pip install plexe[transformers] # Support for transformers, tokenizers, etc.
pip install plexe[chatui] # Local chat UI for model interaction
pip install plexe[all] # All optional dependencies
Plexe integrates with various LLM providers. Ensure you set your preferred provider's API key as an environment variable:
export OPENAI_API_KEY=<your-key>
export ANTHROPIC_API_KEY=<your-key>
export GEMINI_API_KEY=<your-key>
For a comprehensive list of providers and their environment variables, refer to the LiteLLM documentation.
Examples
Defining and using a model with Plexe is intuitive:
import plexe
# 1. Define the model using natural language and schemas
model = plexe.Model(
intent="Predict sentiment from news articles",
input_schema={"headline": str, "content": str},
output_schema={"sentiment": str}
)
# 2. Build and train the model
model.build(
datasets=[your_dataset],
provider="openai/gpt-4o-mini",
max_iterations=10
)
# 3. Use the model to make predictions
prediction = model.predict({
"headline": "New breakthrough in renewable energy",
"content": "Scientists announced a major advancement..."
})
print(f"Sentiment prediction: {prediction['sentiment']}")
# 4. Save and load the model
plexe.save_model(model, "sentiment-model")
loaded_model = plexe.load_model("sentiment-model.tar.gz")
You can also define models with more complex intents, and Plexe will infer the schema if not provided:
model = plexe.Model(
intent="Predict housing prices based on features like size, location, number of bedrooms, etc."
)
# Schema can be automatically inferred during build if not explicitly provided
model.build(provider="openai/gpt-4o-mini")
Why Use Plexe?
Plexe offers a suite of powerful features that make it an indispensable tool for ML development:
- Natural Language Model Definition: Describe your models in plain English, and Plexe handles the implementation complexity.
- Multi-Agent Architecture: A system of specialized AI agents analyzes requirements, plans solutions, generates code, tests and evaluates, and packages the model for deployment.
- Automated Model Building: Build complete models with a single method call, significantly accelerating the experimentation and development process.
- Distributed Training with Ray: Leverage Ray for distributed model training and evaluation, enabling faster parallel processing and efficient exploration of model variants.
- Data Generation & Schema Inference: Generate synthetic data or let Plexe automatically infer input and output schemas based on your intent.
- Multi-Provider Support: Use your preferred LLM provider, including OpenAI, Anthropic, Ollama, and Hugging Face, with seamless integration via LiteLLM.
Links
- GitHub Repository: plexe-ai/plexe
- Official Documentation: docs.plexe.ai
- Discord Community: Join our Discord
- YouTube Demo: Watch the demo on YouTube
Related repositories
Similar repositories that may be relevant next.

LazyLLM: Low-Code Development for Multi-Agent LLM Applications
July 2, 2026
LazyLLM offers a low-code development tool designed for building multi-agent LLM applications with ease. It simplifies the creation of complex AI applications, providing a streamlined workflow for rapid prototyping, data feedback, and iterative optimization. Developers can leverage its extensive features for deployment, cross-platform compatibility, and efficient model fine-tuning.

ChatArena: Multi-Agent Language Game Environments for LLMs
July 1, 2026
ChatArena is a Python library designed to provide multi-agent language game environments for Large Language Models (LLMs), aiming to foster the development of communication and collaboration capabilities in AI. It offers a flexible framework for defining players, environments, and interactions based on Markov Decision Processes. Please note that as of August 11, 2025, this project has been deprecated due to a lack of widespread community use and is no longer receiving updates or support.
Agentarium: A Python Framework for AI Agent Simulations
July 1, 2026
Agentarium is an open-source Python framework designed for creating and managing simulations with AI-powered agents. It offers an intuitive platform for designing complex, interactive environments where agents can act, learn, and evolve. This powerful tool simplifies the orchestration of multiple AI agents and their interactions.
Lighteval: Your All-in-One Toolkit for LLM Evaluation
July 1, 2026
Lighteval is a comprehensive toolkit from Hugging Face for evaluating Large Language Models (LLMs) across various backends. It enables users to dive deep into model performance by saving detailed, sample-by-sample results and supports over 1000 evaluation tasks. The framework offers extensive customization options, allowing users to create custom tasks and metrics tailored to their specific needs.
Source repository
Open the original repository on GitHub.