Skip to main content

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

  1. Install the CLI:

    pip install lim-mm-cli
    
  2. Create a new model:

    mm start my-model
    cd my-model
    
  3. Configure & Validate: Edit meta.json and run:

    mm validate
    mm run
    
  4. 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

lim_mm_cli-0.1.7.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

lim_mm_cli-0.1.7-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lim_mm_cli-0.1.7.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for lim_mm_cli-0.1.7.tar.gz
Algorithm Hash digest
SHA256 792c26df81efbad0a8333cd0c1bde72f1db4563c13554e969907d7131e9dddd2
MD5 21b3cb0d034550d4c70fe92c675b937b
BLAKE2b-256 dccc983e5450b2bf661ffaaac2bcbabdc0a4b63430afc5b0ad7fe288449c6a35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lim_mm_cli-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for lim_mm_cli-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cbc7e5f59a9e280cac4a381b5626455ed4125f45d5da1255bda7a01c04657388
MD5 cdbedc9af7d2f22cce7f4ec02b0d61fb
BLAKE2b-256 95da3f64389a703fe301fe08c166c5e377db7ce32cb78d26afab7579243f5802

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