CLI tool for LIM-compatible micro model project scaffolding
Project description
LIM MM CLI: Command Line Interface for Micro Model Management
🎯 LIM Concept
LIM (Large Integration Model) aims to be an open source, realtime data retrieval and micro model training enhancement framework.
Philosophy: "Human Socialism Model Network"
LIM represents a paradigm shift from monolithic "God Models" (LLMs) to a decentralized, collaborative network of specialized intelligence.
- Socialism of Intelligence: Democratized AI through community-driven micro models.
- Model on the Air: Intelligence is fluid. MMs are lightweight, rapidly trainable, and deployable (MaaS).
- The Anti-Monolith: Unlike traditional LLMs, LIM routes intent to the exact source of truth or specialist model.
- LIM > MCP: While MCP standardizes connections, LIM resolves the execution problem by autonomously routing queries.
Core Architecture (The L-I-M Trinity)
L - Large Integration Model (The Conductor)
- Role: Intent Understanding & Routing.
- Function: The "Generalist" that parses queries and directs them into the network.
I - Integration Network (The Nervous System)
- Role: Discovery, Transport, & Protocol.
- Function: The infrastructure layer connecting the Conductor to the Specialists.
M - Micro Model (The Specialist) / MMS
- Role: Domain-Specific Execution.
- Philosophy: Minimize context, rapid training, and hot-swappable.
CLI Commands
The lim CLI is the primary interface for managing the Micro Model lifecycle.
Project Management
mm start <name> # Create a new micro model project from template
mm validate # Verify MM compliance (checks /meta.json service health)
mm build # Containerize the current MM
mm run # Execute the project locally (python run/start.py)
Registry Operations
mm push # Publish the MM to the LIM repository
mm pull <mm1,mm2> # Retrieve MMs into local models/ directory
mm list [name] # Display metadata and status of an MM
Micro Model Service (MMS) Standard
All MMs must adhere to the Open Source MMS Standard for interoperability:
Structure
meta.json: The contract. Defines input/output schemas and configuration.mms/: Service logic (API, Agents, RAG).models/: Model artifacts (weights, embeddings).data/: Specialized datasets or knowledge base.run/: Execution scripts & Docker config.
my-model/
├── meta.json # Model configuration and metadata
├── mms/ # Service implementation
│ ├── app/ # Application logic
│ └── tests/ # Tests
├── models/ # AI Model artifacts
├── data/ # Domain-specific data
├── run/
│ ├── start.py # Entry point
│ └── docker/ # Dockerfile & compose
├── requirements.txt # Dependencies
└── README.md # Documentation
Protocol
- Discovery: Must expose
docker.internal.network:8000/meta.json. - Git-Based: MMs are versioned and distributed via Git repositories.
Getting Started
-
Install the CLI:
pip install lim-mm-cli
-
Create a new model:
mm start my-model cd my-model
-
Configure & Validate: Edit
meta.jsonand run:mm validate mm run
-
Deploy:
mm build mm push
Technology Stack
- Backend: Python, Quart (Async)
- Infra: Docker, MySQL
- Ops: Loki, Grafana
- Interface: CLI, REST API
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lim_mm_cli-0.1.6.tar.gz.
File metadata
- Download URL: lim_mm_cli-0.1.6.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56c08c50b117d7de7e14dfa0905cd1ddac108d85ac97784c2d893c20b6f9a1b8
|
|
| MD5 |
3cc517d61320e47565e81819b740d0e0
|
|
| BLAKE2b-256 |
a34cb62947f20ee9cf1e8a731987a4f9a0e7537fd07f57ee4c3a5edc1b3419ec
|
File details
Details for the file lim_mm_cli-0.1.6-py3-none-any.whl.
File metadata
- Download URL: lim_mm_cli-0.1.6-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c73688c65f53867a7b7500eeeaa462e6f9e16c40da8d17cf50ab1eaf0fe9738a
|
|
| MD5 |
63b73512bd84ecda4197f40e47fd3725
|
|
| BLAKE2b-256 |
a5c3603af129f85a0a3a577757a4152e27d3bdf25f4ed7bc0dd5e44a63d0eda3
|