{"id":1035009,"date":"2024-05-16T11:41:56","date_gmt":"2024-05-16T18:41:56","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/?post_type=msr-project&p=1035009"},"modified":"2024-05-17T12:17:42","modified_gmt":"2024-05-17T19:17:42","slug":"genaiscript-scripting-for-generative-ai","status":"publish","type":"msr-project","link":"https:\/\/www.microsoft.com\/en-us\/research\/project\/genaiscript-scripting-for-generative-ai\/","title":{"rendered":"GenAIScript: Scripting for Generative AI"},"content":{"rendered":"
\n\t
\n\t\t
\n\t\t\t\"genAI\t\t<\/div>\n\t\t\n\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n

GenAIScript: Scripting for Generative AI<\/h4>\n\n\n\n

GenAIScript is open source<\/p>\n\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n<\/section>\n\n\n\n\n\n

What is GenAIScript?<\/h2>\n\n\n\n

GenAIScript (opens in new tab)<\/span><\/a> 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.<\/p>\n\n\n\n

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)<\/span><\/a><\/p>\n\n\n\n

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)<\/span><\/a><\/p>\n\n\n\n

\n
Get the code<\/a><\/div>\n\n\n\n
Visit the GitHub repo<\/a><\/div>\n<\/div>\n\n\n","protected":false},"excerpt":{"rendered":"

GenAIScript 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.<\/p>\n","protected":false},"featured_media":1035165,"template":"","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"footnotes":""},"research-area":[13556,13560],"msr-locale":[268875],"msr-impact-theme":[],"msr-pillar":[],"class_list":["post-1035009","msr-project","type-msr-project","status-publish","has-post-thumbnail","hentry","msr-research-area-artificial-intelligence","msr-research-area-programming-languages-software-engineering","msr-locale-en_us","msr-archive-status-active"],"msr_project_start":"","related-publications":[],"related-downloads":[1057278],"related-videos":[],"related-groups":[],"related-events":[],"related-opportunities":[],"related-posts":[],"related-articles":[],"tab-content":[],"slides":[],"related-researchers":[{"type":"user_nicename","display_name":"Peli de Halleux","user_id":32253,"people_section":"Related people","alias":"jhalleux"},{"type":"user_nicename","display_name":"Ben Zorn","user_id":35154,"people_section":"Related people","alias":"zorn"},{"type":"user_nicename","display_name":"Markus Kuppe","user_id":32784,"people_section":"Related people","alias":"makuppe"},{"type":"user_nicename","display_name":"Michal Moskal","user_id":37431,"people_section":"Related people","alias":"mimoskal"},{"type":"user_nicename","display_name":"Madan Musuvathi","user_id":32766,"people_section":"Related people","alias":"madanm"}],"msr_research_lab":[199565],"msr_impact_theme":[],"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/1035009"}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/msr-project"}],"version-history":[{"count":14,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/1035009\/revisions"}],"predecessor-version":[{"id":1035378,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/1035009\/revisions\/1035378"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media\/1035165"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=1035009"}],"wp:term":[{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=1035009"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=1035009"},{"taxonomy":"msr-impact-theme","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-impact-theme?post=1035009"},{"taxonomy":"msr-pillar","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-pillar?post=1035009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}