At Morph, we believe that:
- Future software will be mostly written by AI, and augmented/supervised by humans.
- Keeping personal data safe and computations secure will become increasingly important.
- The future of software belongs to everyone.
That is why we are releasing Rift, an open-source language server and IDE extension that lets everyone deploy a personal AI software engineer โ locally hosted, private, secure, open-source, and free.
GVHwCk88-qW3-tMF.mp4
Existing code generation tooling is presently mostly code-agnostic, operating at the level of tokens in / tokens out of code LMs. The language server protocol (LSP) defines a standard for language servers, objects which index a codebase and provide structure- and runtime-aware interfaces to external development tools like IDEs.
The Rift Code Engine is an AI-native language server which will expose interfaces for code transformations and code understanding in a uniform, model- and language-agnostic way --- e.g. rift.summarize_callsites
or rift.launch_ai_swe_async
should work on a Python codebase with StarCoder as well as it works on a Rust codebase using CodeGen. Within the language server, models will have full programatic access to language-specific tooling like compilers, unit and integration test frameworks, and static analyzers to produce correct code with minimal user intervention. We will develop UX idioms as needed to support this functionality in the Rift IDE extensions.
Install the VSCode extension from the VSCode Marketplace or by building and installing from the VSIX bundle produced by the following steps:
cd ./editors/rift-vscode
- Increment the semver number (e.g. 0.0.8 to 0.0.9) in the
package.json
- run
vsce package
If you also want to develop the extension itself, you should open the extension in an extension development host using the following steps:
cd ./editors/rift-vscode
- Run
code .
to open a VSCode process on therift-vscode
workspace. - Press
Ctrl + F5
to compile the extension and create a new VSCode window with the extension loaded.
Run the Rift server by following the instructions in the readme.
Add support for third-party coding agents written in Python and use access to the Rift Code Engine to propagate edits and gather input directly from the user in the IDE. See the README here for the Rift Agents API.
u7vt42Cz_BaSwiZJ.mp4
From the Rift VSCode extension, press Ctrl + ,
to open the settings tab, then search for Rift
and select the models you want to use for chat and code completions from the dropdown menu.
We welcome contributions to Rift at all levels of the stack, from adding support for new open-source models in the Rift Code Engine, to implementing the Rift API for your favorite programming language, to UX polish in the VSCode extension, to adding support for your favorite editor.
Programming is evolving. Join the community, contribute to our roadmap, and help shape the future of software.