Skip to main content

Local-first reasoning pipeline wrapper for Ollama and LM Studio

Project description

🧠 MultiMind AI

A local-first web UI that adds sequential reasoning pipelines and parallel expert councils on top of small local models.

Python Version PyPI Version Local First Ollama Supported LM Studio Supported

Image


MultiMind AI bridges the gap between small local models and complex reasoning. It effortlessly auto-discovers endpoints like Ollama and LM Studio (OpenAI-compatible) and lets you deploy dual-architecture strategies: a sequential Thinking Pipeline (Planning, Execution, Critique) or a parallel Agent Council (Expert Advisors & Lead Judge).


✨ Features

  • 🧠 Thinking Pipeline: Elevate smaller models with dedicated Planning, Execution, and Critique phases.
  • 🏛 Agent Council: Deploy a committee of expert models in parallel. Several 'Advisors' provide independent perspectives, synthesized by a Lead Judge into a single superior response.
  • 🔌 Zero-Config Auto-Discovery:
    • Automatically hooks into local Ollama endpoints (http://127.0.0.1:11434).
    • Supports optional discovery for LM Studio (http://127.0.0.1:1234).
  • 🎯 Precision Model Mapping: Assign distinct models to handle the different stages of thought or council roles.
  • 💬 Immersive UI: Enjoy a streaming timeline interface with collapsible "thought blocks" to keep your UI clean while the AI thinks.
  • 📝 Native Markdown & Math Support: Final outputs are rendered as HTML, with math equations typeset using a bundled local KaTeX build.
  • ⚡ Frictionless Setup: Purely in-memory settings. Zero .env setup required for your first run.

🚀 Quick Start

Get up and running in your local environment in seconds:

# 1. Install the package via pip
pip install multimind

# 2. Launch the application
multimind
🛠 Setting up for Development / Source Install
# 1. Clone the repository
git clone https://github.com/JitseLambrichts/MultiMind-AI.git
cd MultiMind-AI

# 2. Create a virtual environment
python3 -m venv .venv

# 3. Activate the virtual environment
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# 4. Install the package in editable mode
pip install -e .

# 5. Launch the application
multimind

Next: Open your browser and navigate to http://127.0.0.1:8000 🎉

🔌 Supported Backends

MultiMind AI works seamlessly with standard local APIs:

  • Ollama: Connects via /api/chat and /api/tags
  • OpenAI-Compatible Servers (e.g., LM Studio): Connects via /v1/chat/completions and /v1/models

If no provider is automatically detected, you can easily point the backend to your local OpenAI-compatible endpoint using the application's settings panel.

🧠 Thinking Pipeline (Sequential Reasoning)

The sequential reasoning pipeline elevates the capabilities of standard models by splitting inference into modular steps:

  1. Plan: Formulates a detailed technical roadmap to solve the user's request.
  2. Execute: Implements the primary solution based on the established plan.
  3. Critique (Hard Mode): Rigorously audits the implementation for errors or omissions, delivering a refined, superior final answer.

🏛 Agent Council (Parallel Expert Consensus)

For complex tasks requiring multiple perspectives, MultiMind AI offers the Agent Council. This architecture emphasizes parallel expertise over sequential steps:

  1. Parallel Advisors: Multiple models process the user's request independently, providing diverse expert viewpoints.
  2. Diverse Perspectives: Each advisor follows expert-level system prompts to ensure accurate, independent technical analysis.
  3. The Judge: A final 'Lead Synthesizer' model reviews all advisor outputs, cross-examines their findings, resolves conflicts, and merges the best elements into a single definitive response.

📝 Note: Chat history is intentionally in-memory only for the current MVP.

📊 Benchmarks

We evaluated the performance of MultiMind AI's reasoning pipeline using a subset of 20 questions from the GSM8K dataset. The results demonstrate a clear improvement in model accuracy when utilizing the different reasoning modes.

Image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

multimind-0.1.7.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

multimind-0.1.7-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file multimind-0.1.7.tar.gz.

File metadata

  • Download URL: multimind-0.1.7.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for multimind-0.1.7.tar.gz
Algorithm Hash digest
SHA256 dac4c5eac9478f7d1c59aeb807d21cf57b6bd96f908e86b27073c040fef21f89
MD5 43fc887a9fe808151c119eba3e3908d7
BLAKE2b-256 8f2a2f193a74f9981b682238b4702ce815f9e45da0edd8c89c2ffd4152a924ae

See more details on using hashes here.

File details

Details for the file multimind-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: multimind-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for multimind-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3642f599a10479bebc72b33463eab8764fd3064c7c81ae534642153da413f8be
MD5 0ff511bce780a120fde3b05ededfcae0
BLAKE2b-256 7c76c64710823a1217dcec3abf298a62df27d70b6c722d40d65d163b8444f7ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page