Vaayu: Small Language Machine Model (SLMM)
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
stdioandSSE. - 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 | 2048 | Multi-step agentic workflows, complex tool schemas, code generation |
License
MIT License. Free for 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
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 vaayu-1.0.1.tar.gz.
File metadata
- Download URL: vaayu-1.0.1.tar.gz
- Upload date:
- Size: 25.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbee67b3ee7eeb1a1f825b8b8184c3df6fd7276ea64114db74fea0e55a1e7514
|
|
| MD5 |
1662836ceaf00ba25223c223cefb3d08
|
|
| BLAKE2b-256 |
8690c93bdda347292c680c777693304314377a7b14d52967b6839bbfad69ba03
|
File details
Details for the file vaayu-1.0.1-py3-none-any.whl.
File metadata
- Download URL: vaayu-1.0.1-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2129f6b629834432a9e1bfbf611c11009131c89b521bdf1889de46621a4c1f42
|
|
| MD5 |
4aa06785194e4ddcd93c9c5fc67fc1d5
|
|
| BLAKE2b-256 |
7008d436fcaeedb5ade7edc566e9953f0520d087fd96d06655f7a8e2fefc3f14
|