genAI design element

GenAIScript: Scripting for Generative AI

GenAIScript is open source

What is GenAIScript?

GenAIScript (opens in new tab) is scripting language where AI and foundation models are first-class entities, enabling a wide range of users to enhance their workflows with AI capabilities. GenAIScript provides support for authoring and debugging scripts that incorporate calls to foundation models and LLMs in their execution. With deep integration in a VS Code extension, users can author, debug, and deploy their GenAIScripts leveraging a state-of-the-art user experience. GenAIScript supports importing AI context from many different sources (.pdf, .docx, .csv, etc.) and generating multiple forms of output from LLM generations, such as files, edits, and structured data.

In addition to enhancing productivity, GenAIScript is a research vehicle for building an AI-aware programming language runtime system and integrating it into a next-generation system stack that incorporates AI foundation models from first principles. For more thoughts about System Stack 2.0, read our SIGPLAN/SIGARCH blog article: AI Software Should be More Like Plain Old Software | SIGPLAN Blog (opens in new tab)

You can start using it by downloading it from the VS Code Extensions or visiting: Generative AI Scripting | GenAIScript (microsoft.github.io) (opens in new tab)