Skip to main content

Vaayu: Small Language Machine Model (SLMM)

PyPI version Python License: MIT Hugging Face

Vaayu is an ultra-lightweight, embeddable Small Language Machine Model (SLMM) family designed specifically for local machine execution, application integration, and native Model Context Protocol (MCP) tool calling.


Key Features

  • Embedded & Local: Runs entirely locally on consumer hardware and CPUs/GPUs with low memory footprint (~245M to 492M parameters).
  • Native MCP Support: Direct, first-class connection to Model Context Protocol servers over stdio and SSE.
  • Structured Tool Calling: Emits precise tool calls in structured JSON formats with built-in schema compliance.
  • Fast KV-Cache Inference: Optimized autoregressive generation with Grouped Query Attention (GQA).
  • Zero Heavy Dependencies: Clean Python API designed to be embedded directly into existing applications, IDE extensions, or agentic frameworks.

Installation

pip install vaayu

Quickstart

1. Load Pretrained Model from Hugging Face

You can load official weights directly from the Hugging Face Hub:

from vaayu import Vaayu

# Load official Vaayu-Base directly from Hugging Face Hub
ai = Vaayu.from_pretrained("meetmendapara/Vaayu-Base")

# Generate response
response = ai.chat("Explain the purpose of Model Context Protocol (MCP) in one paragraph.")
print(response)

2. Connect to Local MCP Tools

Vaayu natively discovers and invokes tools provided by MCP servers:

from vaayu import Vaayu

ai = Vaayu.from_pretrained("meetmendapara/Vaayu-Base")

# Connect to any local MCP server (e.g. filesystem or custom service)
ai.attach_mcp_server(
    command="npx",
    args=["-y", "@modelcontextprotocol/server-filesystem", "./workspace"]
)

# Run an agentic prompt with tool execution
result = ai.agent_step("Read the file config.json and list all defined settings.")
print(result)

3. Load Local Checkpoints

If you have trained or downloaded local weights:

from vaayu import Vaayu

ai = Vaayu.load_local("checkpoints/vaayu_base/vaayu_final.pt")
print(ai.chat("Hello, Vaayu!"))

Command Line Interface (CLI)

Vaayu comes with an interactive CLI for chatting, testing tools, and inspecting weights:

# Start an interactive chat session with Hugging Face weights
vaayu chat --repo meetmendapara/Vaayu-Base

# Or chat with a local checkpoint
vaayu chat --weights checkpoints/vaayu_base/vaayu_final.pt

Architecture Variants

Model Variant Parameters Context Window Target Use Case
Vaayu-Base 245M 2048 In-process local embedding, single-turn tool calling, edge runtimes
Vaayu-Large 492M 4096 Multi-step agentic workflows, parallel tool calling, self-correction


License

MIT License. Free for academic research and commercial applications.

Download files

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

Source Distribution

vaayu-1.0.2.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

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

vaayu-1.0.2-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file vaayu-1.0.2.tar.gz.

File metadata

  • Download URL: vaayu-1.0.2.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.0

File hashes

Hashes for vaayu-1.0.2.tar.gz
Algorithm Hash digest
SHA256 018b2b4757f67d12cedc2dd7ac31ad0f1fb8b1eae806c1f095b2e552f9bafe61
MD5 3cb872538530756849afa032c4506193
BLAKE2b-256 a79424dc6fceb86c4c89538b39d52d1c380dc9724592874423be41121dc0edc5

See more details on using hashes here.

File details

Details for the file vaayu-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: vaayu-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.0

File hashes

Hashes for vaayu-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 586b525eaf1e7d5c6f2ee10a6bd274377635d3879aad7ce9f07c5ed8b09106dc
MD5 00d50c7723d6754880379a496482295f
BLAKE2b-256 b8719c46c6cd6e59a017d2257bc2d0f854f2ed9c027b54a2e5290644dd458e86

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.0

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

This release

1.0.2 This release

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page