About this project
LingoFuse is a cross-language RPC communication framework built for the agent era, with the core idea that all programming languages should communicate as equals. The project uses the C4 service mesh as its underlying engine and enables direct function calls between languages such as Pascal and Python through native FFI, requiring no IDL, stub code generation, or HTTP services.
In terms of language support, Pascal and Python have reached production-ready status and support bidirectional calls between server and client. Node.js, PHP, and browsers can connect via an HTTP bridge. C++, Go, Rust, Java, C#, Kotlin, Swift, Ruby, Lua, Dart, Elixir, Julia, Zig, Nim, and Crystal are planned. The project also plans support for edge device architectures such as aarch64, loongarch64, and RISC-V.
On performance, LingoFuse claims same-machine IPC latency below 1 millisecond and throughput exceeding 12,000 operations per second, with built-in service discovery, load balancing, and FIFO order guarantees. The README compares it with gRPC and REST, claiming it is 5-8 times faster than gRPC and 10-20 times faster than REST. The project also mentions that the C4 mesh once handled petabyte-level traffic per machine per day in a data center.
On the AI-native side, LingoFuse adopts the philosophy of "LLM parses into structs → deterministic generator produces target code." It does not trust AI to write code directly. Instead, through multi-layer parsing (raw source → Pascal declaration body → LV0 declaration JSON → LV1 model JSON → tool provider unit), it achieves reproducible code generation with zero debugging cost. The companion project pasAgent provides a Pascal agent toolchain.
Getting started is simple: the server requires only 7 lines of Python code, using the @expose decorator to expose functions. The client can call it with just 3 lines of Pascal. The Python binding is based on ctypes and requires no compilation; pip install -e . is enough to use it.
The project structure includes Binary (DLL/SO), pascal (bindings and examples), Py (Python bindings, cross-language demos, and LLM service), and src (Pascal core engine). The repository contains submodules, so cloning requires the --recursive flag.
LingoFuse is distributed under the MIT license, fully open, non-commercial, with no paid features or subscriptions. The project started in 2026 and continues to evolve.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.