{"name":"Lenso: Build Products with Replaceable Plugins and Typed Capabilities","description":"Lenso is a local-first, language-independent runtime designed for building applications with replaceable plugins. It enables defining product roles as typed Capabilities, implemented by Plugins, ensuring explicit relationships and verifiable composition. This system allows for behavior to be added, replaced, and removed without hidden framework magic, making it ideal for long-lived products with evolving boundaries.","github":"https://github.com/LioRael/lenso","url":"https://osrepos.com/repo/liorael-lenso","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/liorael-lenso","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/liorael-lenso.md","json":"https://osrepos.com/repo/liorael-lenso.json","topics":["lenso","rust","plugins","modular-monolith","runtime","capabilities","typescript-sdk","development"],"keywords":["lenso","rust","plugins","modular-monolith","runtime","capabilities","typescript-sdk","development"],"stars":null,"summary":"Lenso is a local-first, language-independent runtime designed for building applications with replaceable plugins. It enables defining product roles as typed Capabilities, implemented by Plugins, ensuring explicit relationships and verifiable composition. This system allows for behavior to be added, replaced, and removed without hidden framework magic, making it ideal for long-lived products with evolving boundaries.","content":"## Introduction\n\nLenso is an innovative, local-first, and language-independent runtime engineered for applications that require flexible and dynamic behavior. It empowers developers to construct products from replaceable plugins, moving away from hidden framework complexities towards explicit, verifiable composition. By defining product roles as typed Capabilities and implementing them as Plugins, Lenso ensures clear relationships and predictable execution, making it suitable for evolving business systems, developer tools, and automation products.\n\n## Why Use Lenso and Key Benefits\n\nLenso offers several compelling advantages for modern application development:\n\n*   **Replaceable Product Behavior:** Plugins autonomously manage their configuration, state, lifecycle, failure policy, and provided or required Capabilities, allowing for easy swapping and updates.\n*   **Typed Collaboration:** Capability Interfaces explicitly define Plugin relationships across request, stream, and event Operations, enhancing clarity and reducing errors.\n*   **Reviewable Composition:** Application owners only need to modify the visible `plugins/` directory, as the Host supplies defaults and rejects ambiguous or incompatible selections, simplifying review processes.\n*   **Deterministic Execution:** Every accepted application is transformed into an immutable Resolved App Plan before the Kernel starts it, ensuring consistent and predictable runtime behavior.\n*   **Agent-Ready Workflows:** Public skills facilitate cross-repository planning, Capability, Plugin, and App configuration, integrating seamlessly with agent-driven development practices.\n\n## Installation\n\nTo begin using Lenso, you can install its command-line interface (CLI) globally via npm:\n\nsh\nnpm install -g @lenso/cli\n\n\nThis CLI provides essential tools for creating, checking, and packaging your plugins efficiently.\n\n## Examples\n\nYou can quickly try out a typed Plugin by following this example, which exercises it through a real Execution Adapter:\n\nsh\nnpm install -g @lenso/cli\n\nlenso plugin new example.echo\ncd example.echo\nlenso plugin check\nlenso plugin dev \\\n  --operation execute \\\n  --request-json '{\"name\":\"example.echo\",\"arguments_json\":\"{\\\"text\\\":\\\"hello\\\"}\"}'\nlenso plugin pack\n\n\nThis sequence demonstrates how to generate a new Rust project for a plugin, verify it, run it in development mode with a specific request, and then pack it into a distributable `.lenso-plugin` release.\n\n## Links\n\nFor more detailed information and to explore Lenso further, please refer to these official resources:\n\n*   [Get started](https://lenso.dev/docs/quickstart/)\n*   [Read the documentation](https://lenso.dev/docs/)\n*   [Explore executable examples](https://github.com/LioRael/lenso-examples)\n*   [Install the Agent skills](https://github.com/LioRael/lenso/blob/main/skills/README.md)","metrics":{"detailViews":0,"githubClicks":1},"dates":{"published":null,"modified":"2026-09-17T15:57:03.000Z"}}