Discover and explore top open-source AI tools and projects—updated daily.
mochilangA statically typed language for agents and data
Top 85.5% on SourcePulse
Mochi is a statically typed, embeddable programming language designed for agents, data processing, and AI applications. It offers a declarative, functional syntax with stream-first semantics, aiming for clarity, safety, and expressiveness.
How It Works
Mochi compiles to optimized bytecode executed by a built-in virtual machine. Its design emphasizes agent-friendliness, testability with built-in test blocks, and portability as a single, zero-dependency binary. It features native support for datasets with SQL-like querying, graph manipulation, and simulation capabilities, alongside direct integration with generative AI models.
Quick Start & Requirements
chmod +x mochi), and run with mochi run examples/hello.mochi. Docker is also supported: docker run -i --rm ghcr.io/mochilang/mochi run examples/hello.mochi.llama.cpp) may be needed for VS Code Agent Mode integration.Highlighted Details
generate blocks for text and structured data, and exposing Mochi functions as LLM tools.from, where, select, and various join types.stream, on, and emit for event-driven architectures.Maintenance & Community
The project is actively developed. Community interaction channels are not explicitly listed in the README.
Licensing & Compatibility
Mochi is released under the MIT License, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
Mochi is under active development, with several features not yet implemented across all backends, including error handling (try/catch), logic programming, set collections, generic type parameters, reflection, concurrency primitives, asynchronous functions, and certain advanced language constructs like destructuring bindings and closures.
2 months ago
1 day
nickscamara
langchain-ai
microsoft