/rift

Rift: an AI-native language server for your personal AI software engineer

Primary LanguagePythonApache License 2.0Apache-2.0

Rift

At Morph, we believe that:

  • AI compute will soon run cheaply, securely, and ubiquitously on personal devices
  • the future of software will be mostly written by AI, augmented/supervised by humans
  • The future of software should belong 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.

The road ahead

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.

Contributing

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.