# Microsoft Genaiscript > This is the full developer documentation for GenAIScript ## Pages - [Microsoft Genaiscript Documentation](microsoft-genaiscript-documentation.md) - [Generative AI Scripting](generative-ai-scripting.md): GenAIScript, scripting for Generative AI. - [Getting Started](getting-started.md): Start developing with the GenAIScript VS Code Extension to create AI scripts efficiently. - [We find the art of the rhyme.](we-find-the-art-of-the-rhyme.md): GenAIScript supports extracting structured data and files from the LLM output as we will see later. - [Overview](overview.md): Set up your LLM connection and authorization with environment variables for seamless integration. - [Developer guide](developer-guide.md): Contribution guidelines for building and adding features to GenAIScript - [Build the CLI first (if working from source)](build-the-cli-first-if-working-from-source.md): pnpm build:cli - [Start HTTP server on default port 8003](start-http-server-on-default-port-8003.md): node packages/cli/dist/src/index.js mcp --http --groups mcp - [Or use the global genaiscript if installed](or-use-the-global-genaiscript-if-installed.md): genaiscript mcp --http --groups mcp - [Install and run the MCP inspector](install-and-run-the-mcp-inspector.md): npx @modelcontextprotocol/inspector - [Network accessible (use with caution)](network-accessible-use-with-caution.md): genaiscript mcp --http --network --port 8080 - [With startup script](with-startup-script.md): genaiscript mcp --http --startup load-resources - [FAQ](faq.md): Find answers to common questions about AI script generation, its uses, performance, and best practices for effective ... - [Glossary](glossary.md): A glossary of terms used in the GenAI project. - [Overview](overview-2.md): Comprehensive documentation for scripting automation, LLM configurations, and developer tools including a VSCode exte... - [Commands](commands.md): List of all CLI commands - [Configure](configure.md): Configure and validate the LLM connections. - [Convert](convert.md): Learn how to apply a script to many files and extract the output. - [Run](run.md): Learn how to execute genai scripts on files with streaming output to stdout, including usage of glob patterns, enviro... - [Serve](serve.md): Launch local web server. - [Test](test.md): Learn how to run tests for your scripts using GenAIScript CLI with support for multiple AI models. - [Video](video.md): Learn about various video-related command - [Cast](cast.md): Use the cast helper to convert text to structured data - [Classify](classify.md): Use the classify helpers for your classification tasks - [Make It Better](make-it-better.md): Ask the LLM to make your code better! - [AST Grep](ast-grep.md): Use the ast-grep plugin to parse and manipulate code - [Markdown AST](markdown-ast.md): Use the mdast helpers to parse and manipulate Markdown documents - [MermaidJs](mermaidjs.md): Use the mermaid plugin to parse mermaid diagrams - [Pyodide](pyodide.md): Use the Pyodide runtime to execute Python code in the browser - [Z3](z3.md): Z3 is a high-performance theorem prover developed at Microsoft Research. It is a built-in tool of GenAIScript. - [Agents](agents.md): An Agent is a tool that queries an LLM, equipped with other tools, to accomplish tasks. - [Annotations](annotations.md): Learn how to add annotations such as errors, warnings, or notes to LLM output for integration with VSCode or CI envir... - [Run workflow each time code is pushed to your repository and on a schedule.](run-workflow-each-time-code-is-pushed-to-your-repository-and-on-a-schedule.md) - [The scheduled workflow runs every Thursday at 15:45 UTC.](the-scheduled-workflow-runs-every-thursday-at-1545-utc.md): on: - [ast-grep](ast-grep-2.md): Search for patterns in the AST of a script - [Browser Automation](browser-automation.md): Discover how GenAIScript integrates with Playwright for web scraping and browser automation tasks. - [Cache](cache.md): Learn how LLM requests are cached in scripts to optimize performance and how to manage cache settings. - [Cancel](cancel.md): Learn how to immediately stop script execution with the cancel function in your automation scripts. - [Chat Participants](chat-participants.md): Create multi-turn chats or simulate conversations with multiple chat participants - [Choices](choices.md): Specify a list of preferred token choices for a script. - [Concurrency](concurrency.md): How to run multiple prompts concurrently - [Containers](containers.md): Learn how to use containers for secure and isolated execution of untrusted code with Docker in software development. - [Content Safety](content-safety.md): Learn about the built-in safety features, system prompts, and Azure AI Content Safety services to protect language mo... - [Context (env+def)](context-envdef.md): Detailed documentation on the script execution context and environment variables in GenAIScript. - [CSV](csv.md): Learn how to parse and stringify CSV data using the CSV class in scripting. - [Custom Output](custom-output.md): Learn how to use the defOutputProcessor function for custom file processing in script generation. - [Diagrams](diagrams.md): Create diagrams and charts within markdown using GenAIScript and the mermaid extension for visual representation of d... - [Diff](diff.md): Learn how to create and interpret file diffs within GenAIScript. - [Diff](diff-2.md): In GenAIScript, the`system.diff`utility generates **concise file diffs** for efficient comparison and updates. This... - [DOCX](docx.md): Learn how to parse and extract text from DOCX files for text analysis and processing. - [Fence Formats](fence-formats.md): Explore various fence formats supported by GenAIScript for optimal LLM input text formatting. - [Fetch](fetch.md): Learn how to use fetch and fetchText in scripts to make HTTP requests and handle text responses. - [Comma-separated list](comma-separated-list.md): GENAISCRIPT_ALLOWED_DOMAINS=github.com,*.openai.com,example.org - [YAML array format](yaml-array-format.md): GENAISCRIPT_ALLOWED_DOMAINS='["github.com", "*.openai.com", "example.org"]' - [File Merge](file-merge.md): Customize file merging in scripts with defFileMerge function to handle different file formats and merging strategies. - [File Output](file-output.md): Learn how to declare and manage script-generated file outputs with defFileOutput function. - [Files](files.md): Learn how to perform secure file system operations using the workspace object in your scripts. - [Git](git.md): Git utilities for repository operations - [Git Worktrees](git-worktrees.md): Git worktree support for managing multiple working directories - [GitHub](github.md): Support for querying GitHub - [HTML](html.md): Learn how to use HTML parsing functions in GenAIScript for effective content manipulation and data extraction. - [Image Generation](image-generation.md): Use image generation like OpenAI DALL-E Stable Diffusion to generate images from text. - [Images](images.md): Learn how to add images to prompts for AI models supporting visual inputs, including image formats and usage. - [Import Template](import-template.md): Learn how to import prompt templates into GenAIScript using`importTemplate`with support for mustache variable inter... - [Imports](imports.md): Learn how to enable module imports in GenAI scripts by converting them to .mjs format and using static or dynamic imp... - [INI](ini.md): Learn how to parse and stringify INI files in GenAIScript with the INI class, including methods and usage examples. - [Inline prompts](inline-prompts.md): Learn how to use inline prompts with runPrompt function for inner LLM invocations in scripting. - [Logging](logging.md): Logging mechanism for scripts. - [LogProbs](logprobs.md): Learn how to use logprobs to diagnose the performance of your scripts - [Map-Reduce](map-reduce.md): Learn how to use the map and reduce functions in GenaScript for efficient data processing - [Markdown Script Include](markdown-script-include.md): Learn how to include external files in markdown scripts using the @include directive - [Welcome](welcome.md): This is the main content. - [Complex Script](complex-script.md): @include "header.md" - [Markdown Scripts](markdown-scripts.md): Learn how to write GenAIScript templates using Markdown syntax - [Text Summarization](text-summarization.md): Please provide a concise summary of the following text, highlighting the key points and main ideas. - [Code Review](code-review.md): Please review the following code and provide feedback on: - [File Analysis](file-analysis.md): Please analyze the uploaded files and provide: - [Documentation Generation](documentation-generation.md): @include "templates/header.md" - [Translation Request](translation-request.md): Please translate the following text to {{ targetLanguage }} using a {{ tone }} tone. - [Main Task](main-task.md): Brief description of what you want the AI to do. - [For creative tasks](for-creative-tasks.md): temperature: 0.8 - [For analytical tasks](for-analytical-tasks.md): temperature: 0.2 - [For simple tasks](for-simple-tasks.md): temperature: 0.5 - [Run with specific files](run-with-specific-files.md): genaiscript run analyze README.md package.json - [Run with options](run-with-options.md): genaiscript run translate --vars targetLanguage=French - [Code Explanation](code-explanation.md): Please explain the following code: - [Model Context Protocol Clients](model-context-protocol-clients.md): MCP Clients - [Model Context Protocol Server](model-context-protocol-server.md): Turns scripts into Model Context Protocol Tools - [Basic HTTP server on localhost:8003](basic-http-server-on-localhost8003.md): genaiscript mcp --http - [Network accessible (0.0.0.0)](network-accessible-0000.md): genaiscript mcp --http --network --port 8080 - [Model Context Protocol Tools](model-context-protocol-tools.md): Learn how to configure and securely use Model Context Protocol (MCP) tools and servers, including tool output validat... - [Markdown](markdown.md): Enhance your markdown capabilities with MD class helpers for parsing and managing frontmatter efficiently. - [Metadata](metadata.md): Learn how to configure script metadata to enhance functionality and user experience in GenAIScript. - [Model Aliases](model-aliases.md): Give friendly names to models - [Notebook](notebook.md): Explore the features of the Markdown Notebook for authoring documentation with script snippets and inline results. - [Output Builder](output-builder.md): Learn how to build a markdown output for your script execution - [Parameters Schema](parameters-schema.md): Parameters schema are used to define signatures of scripts, tools. - [Parsers](parsers.md): Comprehensive guide on various data format parsers including JSON5, YAML, TOML, CSV, PDF, DOCX, and token estimation ... - [This is a TOML document](this-is-a-toml-document.md): title = "TOML Example" - [convert any known data format to JSON](convert-any-known-data-format-to-json.md): genaiscript parse data mydata.csv - [PDF](pdf.md): Learn how to extract text from PDF files for prompt generation using GenAIScript's PDF parsing capabilities. - [Prompt ($)](prompt.md): Learn how to use the tagged template literal for dynamic prompt generation in GenAI scripts. - [Prompt Caching](prompt-caching.md): Learn how prompt caching can reduce processing time and costs for repetitive LLM prompts, with details on configurati... - [Prompty](prompty.md): Learn about the .prompty file format for parameterized prompts and its integration with GenAIScript for AI scripting. - [Pyodide](pyodide-2.md): Run Python code in the JavaScript environment using Pyodide. - [Reasoning Models](reasoning-models.md): Specific information about OpenAI reasoning models. - [Red Team](red-team.md): Learn how to implement LLM red teaming to identify vulnerabilities in AI systems using PromptFoo, including configura... - [Response Priming](response-priming.md): Learn how to prime LLM responses with specific syntax or format using the writeText function in scripts. - [Retrieval](retrieval.md): Learn how to use GenAIScript's retrieval utilities for content search and prompt augmentation with RAG techniques. - [Data Schemas](data-schemas.md): Learn how to define and use data schemas for structured output in JSON/YAML with LLM, including validation and repair... - [Secret Scanning](secret-scanning.md): Learn how to detect and prevent sensitive information leaks in your codebase using automated secret scanning, customi... - [Secrets](secrets.md): Learn how to securely access and manage environment secrets in your scripts with env.secrets object. - [Stored Completions](stored-completions.md): Metadata for the script - [Structured Outputs](structured-outputs.md): Utilize structured output in GenAIScript to generate JSON data with schema validation for precise and reliable data s... - [System Prompts](system-prompts.md): Learn how to utilize system prompts to enhance script execution in GenAIScript. - [Guidelines](guidelines.md): - Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output. - [Steps [optional]](steps-optional.md): [optional: a detailed breakdown of the steps necessary to accomplish the task] - [Output Format](output-format.md): [Specifically call out how the output should be formatted, be it response length, structure e.g. JSON, markdown, etc] - [Examples [optional]](examples-optional.md): [Optional: 1-3 well-defined examples with placeholders if necessary. Clearly mark where examples start and end, and w... - [Notes [optional]](notes-optional.md): [optional: edge cases, details, and an area to call or repeat out specific important considerations]` - [Examples](examples.md): Input: Generate a math reasoning schema with steps and a final answer. - [Microsoft Teams](microsoft-teams.md): Learn how to use the Microsoft Teams integration in your scripts. - [Tests / Evals](tests-evals.md): Learn how to execute and evaluate LLM output quality with promptfoo, a tool designed for testing language model outputs. - [Tokenizers](tokenizers.md): Tokenizers are used to split text into tokens. - [Tools](tools.md): Learn how to define and use tools within GenAIScript to enhance answer assembly with custom logic and CLI tools. - [Audio Transcription](audio-transcription.md): Describe how to transcribe an audio/video file - [TypeScript](typescript.md): Learn how to use TypeScript for better tooling and scalability in your GenAIScript projects. - [User Input](user-input.md): How to get user input in a script - [Variables](variables.md): Discover how to utilize and customize script variables for dynamic scripting capabilities with env.vars. - [Vector Search](vector-search.md): Learn how to use the retrieval.vectorSearch function to index files with embeddings for efficient similarity search i... - [Videos as Inputs](videos-as-inputs.md): How to use the Video in scripts - [Web Search](web-search.md): Execute web searches with the Bing API using retrieval.webSearch in scripts. - [XLSX](xlsx.md): Learn how to parse and stringify Excel XLSX files with ease using our tools. - [XML](xml.md): Discover how to automatically parse XML files and convert them to JSON objects, enabling efficient data handling, RSS... - [YAML](yaml.md): Learn how to use YAML for data serialization, configuration, and parsing in LLM with defData, YAML class, and JSON sc... - [GitHub Gists](github-gists.md): Use gists to share GenAIScript code snippets. - [GitHub Copilot Chat](github-copilot-chat.md): Integrate with GitHub Copilot Chat to run scripts through a chat participant and custom prompts in Visual Studio Code... - [Running Scripts](running-scripts.md): Learn how to run GenAIScripts in Visual Studio Code using the GenAIScript extension. - [Settings](settings.md): List of settings available in Visual Studio Code. - [Overview](overview-3.md): Fully fledged scripts ready to use. - [Slides](slides.md): Slides - [Anthropic Models](anthropic-models.md): Support for Claude. - [AST Grep and Transform](ast-grep-and-transform.md): Learn how to parse source code using ast-grep and update nodes in the tree. - [Automatic Web Page Content Analysis](automatic-web-page-content-analysis.md): Learn how GenAIScript leverages the Playwright browser automation library for efficient, automated analysis of web pa... - [Azure AI Search](azure-ai-search.md): Support for Azure AI Search. - [Blog Images](blog-images.md): We added images to the blog, this is how we did it. - [Blog Narration](blog-narration.md): Generated by 🤖 AI - [Writing GenAIScript Workflows Faster with Coding Assistants](writing-genaiscript-workflows-faster-with-coding-assistants.md): *** - [Continuous AI](continuous-ai.md): Exploring LLM-powered automation in platform-based software collaboration - [Continuous Markdown Translations](continuous-markdown-translations.md): A walkthrough the script that translates the GenAIScript documentation into multiple languages. - [Creating Release Notes with GenAI](creating-release-notes-with-genai.md): Learn how to automate the creation of engaging software release notes using GenAI and GenAIScript. - [Discord Server](discord-server.md): Support for Tools. - [Fallback Tools](fallback-tools.md): Support for Tools. - [Unlocking the Power of Prompts - A Gentle Introduction to GenAIScript 🚀](unlocking-the-power-of-prompts-a-gentle-introduction-to-genaiscript.md): Learn how to use GenAIScript for prompt generation and more with this engaging introduction. - [GitHub Gists](github-gists-2.md): Uber simple way to share and reuse scripts - [GitHub Models in GitHub Actions](github-models-in-github-actions.md): Learn how to use GitHub Models in GitHub Actions to automate your workflows and improve your development process. - [GPT-Image-1](gpt-image-1.md): A new model for generating images from text prompts - [Hugging Face Transformers.js](hugging-face-transformersjs.md): Learn how to run LLMs locally using Hugging Face Transformers.js in GenAIScript, enabling you to leverage powerful la... - [LLM Agents](llm-agents.md): Generated by 🤖 AI - [Make it better!](make-it-better-2.md): Generated by 🤖 AI - [MCP Agents](mcp-agents.md): Learn how to scale the number of MCP servers with agents. - [MCP Intent Validation](mcp-intent-validation.md): Generated by 🤖 AI - [MCP Resources](mcp-resources.md): Learn how to publish MCP resources seamlessly using GenAIScript. - [MCP Resources](mcp-resources-2.md): In a [previous post](/genaiscript/blog/scripts-as-mcp-tools/), we announced how every script can be a [MCP tool](http... - [MCP Tool Validation](mcp-tool-validation.md): Learn how to configure content validation for Model Context Protocol (MCP) tools in GenAI Script. - [Mermaids Unbroken](mermaids-unbroken.md): Automatic repair of mermaid diagrams - [Node.JS API](nodejs-api.md): Learn about the new API to call genaiscript for other typescript scripts. - [Playground, o1 and DeepSeek](playground-o1-and-deepseek.md): The playground is a lightweight web interface to run GenAIScripts. - [Prompting is the New Scripting: Meet GenAIScript - Yohan Lasorsa - dotJS 2025](prompting-is-the-new-scripting-meet-genaiscript-yohan-lasorsa-dotjs-2025.md): Generated by 🤖 AI - [Keeping your README Fresh and Engaging](keeping-your-readme-fresh-and-engaging.md): Optimize your project's front door with our script for an always up-to-date and engaging README. - [Scripts as MCP tools!](scripts-as-mcp-tools.md): Learn how GenAIScript can now surface any script as a MCP tool. - [Search and Transform](search-and-transform.md): Explore how GenAIScript automates the search and transformation of patterns across multiple files, enhancing efficien... - [Super Charge Copilot Chat](super-charge-copilot-chat.md): Super charge your Copilot chat with these tips and tricks. - [Support for Agentic tools](support-for-agentic-tools.md): Agentic’s standard library of TypeScript AI tools are optimized for both TS-usage as well as LLM-based usage, which i... - [v2.0 - A Node.JS library](v20-a-nodejs-library.md): GenAIScript v2.0 introduces a major architectural refactoring with proper TypeScript packages, unified types, pnpm mi... - [Let there be videos!](let-there-be-videos.md): Add videos to your LLMs calls. - [Video Introduction](video-introduction.md): A first demonstration of GenAIScript in action in VSCode. - [Listen to the podcast](listen-to-the-podcast.md): If you're not in the mood of reading anything, listen to our podcast. - [Revamping the views...](revamping-the-views.md): Announcing the new GenAIScript view. - [Zine Meets Pull Requests (and more)](zine-meets-pull-requests-and-more.md): A reflection about the influence of new image generator and their impacts on the software development assets like pul... - [Bicep Best Practices](bicep-best-practices.md): Learn how to apply best practices to Azure Bicep files for more efficient and maintainable infrastructure as code. - [Blocks Localization](blocks-localization.md): Learn how to localize MakeCode programming blocks while preserving block properties and variable names for internatio... - [Documentation Translations](documentation-translations.md): Explore the challenges and solutions for localizing MakeCode documentation with custom macros while maintaining rich ... - [Image Alt Text](image-alt-text.md): Learn how to automatically generate descriptive alt text for images using OpenAI Vision model to enhance accessibilit... - [Release Notes](release-notes.md): Generate comprehensive release notes combining commit history and code diffs - [SEO Front Matter](seo-front-matter.md): Learn how to automate the creation of SEO-optimized front matter for your markdown documents with GenAIScript. - [TLA+ AI Linter](tla-ai-linter.md): Explore how the TLA+ AI Linter leverages GenAI scripts and LLMs to enhance TLA+ specifications with automated linting... - [Alibaba Cloud](alibaba-cloud.md): The`alibaba`provider access the [Alibaba Cloud](https://www.alibabacloud.com/) models. - [Anthropic](anthropic.md): The`anthropic`provider access [Anthropic](https://www.anthropic.com/) models. Anthropic is an AI research company t... - [Anthropic Bedrock](anthropic-bedrock.md): The`anthropic_bedrock`provider accesses Anthropic models on Amazon Bedrock. You can find the model names in the [An... - [Azure AI Foundry](azure-ai-foundry.md): Azure AI Foundry provides access to serverless and deployed models, both for OpenAI and other providers. There are mu... - [Azure AI Search](azure-ai-search-2.md): This is not a LLM provider, but a content search provider. However since it is configured similarly to the other Azur... - [Azure OpenAI](azure-openai.md): The [Azure OpenAI](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions) provider,`... - [DeepSeek](deepseek.md): `deepseek`is the [DeepSeek (https://www.deepseek.com/)](https://www.deepseek.com/) chat model provider. It uses the ... - [Docker Model Runner](docker-model-runner.md): The`docker`provider connects to the [Docker Model Runner](https://docs.docker.com/model-runner/) local server. It a... - [GitHub Models](github-models.md): The [GitHub Models](https://github.com/marketplace/models) provider,`github`, allows running models through the GitH... - [GitHub Copilot Chat](github-copilot-chat-2.md): If you have access to **GitHub Copilot Chat in Visual Studio Code**, GenAIScript will be able to leverage those [lang... - [Google AI](google-ai.md): The`google`provider allows you to use Google AI models. It gives you access - [Hugging Face](hugging-face.md): The`huggingface`provider allows you to use [Hugging Face Models](https://huggingface.co/models?other=text-generatio... - [Jan](jan.md): The`jan`provider connects to the [Jan](https://jan.ai/) local server. - [LiteLLM](litellm.md): The [LiteLLM](https://docs.litellm.ai/) proxy gateway provides a OpenAI compatible API for running models locally. Co... - [LLaMA.cpp](llamacpp.md): [LLaMA.cpp](https://github.com/ggerganov/llama.cpp/tree/master/examples/server) also allow running models locally or ... - [Llamafile](llamafile.md): The provider is`llamafile`and the model name is ignored. - [LM Studio](lm-studio.md): The`lmstudio`provider connects to the [LMStudio](https://lmstudio.ai/) headless server. and allows to run local LLMs. - [LocalAI](localai.md): [LocalAI](https://localai.io/) act as a drop-in replacement REST API that’s compatible with OpenAI API specifications... - [Mistral AI](mistral-ai.md): The`mistral`provider allows you to use [Mistral AI Models](https://mistral.ai/technology/#models) using the [Mistra... - [Ollama](ollama.md): [Ollama](https://ollama.ai/) is a desktop application that lets you download and run models locally. - [OpenAI](openai.md): `openai`is the OpenAI chat model provider. It uses the`OPENAI_API_...`environment variables. - [OpenRouter](openrouter.md): You can configure the OpenAI provider to use the [OpenRouter](https://openrouter.ai/docs/quick-start) service instead... - [SGLang](sglang.md): [SGLang](https://docs.sglang.ai/) is a fast serving framework for large language models and vision language models. - [vLLM](vllm.md): [vLLM](https://docs.vllm.ai/) is a fast and easy-to-use library for LLM inference and serving. - [Whisper ASR WebServices](whisper-asr-webservices.md): This`whisperasr`provider allows to configure a [transcription](/genaiscript/reference/scripts/transcription) task t... - [Windows AI](windows-ai.md): The`windows`provider support [AI for Windows Apps](https://learn.microsoft.com/en-us/windows/ai/) which provides st... - [Automating scripts](automating-scripts.md): Learn how to automate your scripts using the GenAIScript CLI for efficient batch processing and integration into CI/C... - [Best Practices](best-practices.md): Suggestions for using GenAIScripts more effectively - [Cheat Sheet](cheat-sheet.md): Quick reference guide for GenAIScript syntax, functions, and common patterns - [GenAIScript Cheat Sheet](genaiscript-cheat-sheet.md): Quick reference guide for GenAIScript syntax, core functions, and common patterns. - [Task](task.md): Analyze the provided files and provide insights. - [Run script on files](run-script-on-files.md): npx genaiscript run scriptname "**/*.md" - [With specific model](with-specific-model.md): npx genaiscript run scriptname --model openai:gpt-4o - [Apply edits directly](apply-edits-directly.md): npx genaiscript run scriptname --apply-edits - [Pull request mode](pull-request-mode.md): npx genaiscript run scriptname --pull-request-reviews - [Dry run (no changes)](dry-run-no-changes.md): npx genaiscript run scriptname --dry-run - [With temperature setting](with-temperature-setting.md): npx genaiscript run scriptname --temperature 0.1 - [Maximum tokens](maximum-tokens.md): npx genaiscript run scriptname --max-tokens 2000 - [Configuration](configuration.md): Set up your LLM connection and authorization with environment variables for seamless integration. - [Debugging Scripts](debugging-scripts.md): Learn how to debug GenAIScript files using Visual Studio Code Debugger to efficiently troubleshoot and enhance your J... - [Installation](installation.md): Learn how to install GenAIScript as a Visual Studio Code extension or use it via command line for seamless integratio... - [Running scripts](running-scripts-2.md): Discover how to run scripts in your development environment, manage script execution, and interpret the results for e... - [Testing scripts](testing-scripts.md): Learn how to declare and run tests for your scripts to ensure their correctness and reliability. - [Tutorial Notebook](tutorial-notebook.md): Learn how to use GenAIScript with this interactive tutorial notebook featuring executable JavaScript code blocks. - [Your first GenAI script](your-first-genai-script.md): Learn how to create and execute your initial GenAI script to automate interactions with language models. - [Poem Generation](poem-generation.md): Write a one sentence poem about nature. - [Agentic tools](agentic-tools.md): Using agentic tools in your script - [Ask My Image](ask-my-image.md): Learn how to apply GenAIScript to images for data extraction and analysis using AI models. - [Ask My PDF](ask-my-pdf.md): Quick-start guide to using GenAIScript for summarizing and critiquing PDF documents with AI assistance. - [Automated Git Commit Messages](automated-git-commit-messages.md): Streamline your Git workflow with an automation script for generating commit messages - [Business card scanner](business-card-scanner.md): Using OpenAI Vision to scan business cards. - [Containerized Tools](containerized-tools.md): Learn how to create and use containerized tools with executable dependencies in a secure environment using GCC as an ... - [DeepSeek R1 and V3](deepseek-r1-and-v3.md): DeepSeek is a powerful tool for searching and filtering data in a deep structure. There are multiple LLM providers th... - [Detection of Outdated Descriptions](detection-of-outdated-descriptions.md): Automate the detection of outdated descriptions in markdown documentation to maintain accuracy and consistency. - [My Document](my-document.md): Lorem ipsum dolor sit amet, consectetur adipiscing elit. - [Evals with multiple Models](evals-with-multiple-models.md): Evaluating multiple models in a single script - [Generated Knowledge](generated-knowledge.md): Explore the technique of generated knowledge in AI prompting to enhance accuracy in answering questions. - [Images in Azure Blob Storage](images-in-azure-blob-storage.md): Leverage Azure SDK to handle image files in Blob Storage within prompts - [Issue Reviewer](issue-reviewer.md): Learn how to automate reviewing issues with a script. - [Llama Guard your files](llama-guard-your-files.md): Automate the process of checking your files for harmful content using Llama-guard3. - [LLM Agents](llm-agents-2.md): Learn how to use the inline prompts to create a LLM agent. - [LLM as a tool](llm-as-a-tool.md): Create tools and inline prompts using LLM models for executing various tasks - [PDF Vision](pdf-vision.md): Extracting markdown from PDFs is a tricky task… the PDF file format was never really meant to be read back. - [Phi-3 Mini with Ollama](phi-3-mini-with-ollama.md): Learn how to integrate Phi-3 Mini, a powerful 3.8B parameter model by Microsoft, with Ollama for local execution of s... - [Present My Code](present-my-code.md): Step-by-step instructions on presenting code effectively using GenAIScript and creating engaging slides. - [Programming Language Personas](programming-language-personas.md): Learn how to use expert programming language personas in GenAIScript - [Prompt As Code](prompt-as-code.md): Tutorial on using GenAIScript runtime and syntax to assemble prompts - [Search and Fetch](search-and-fetch.md): Learn how to leverage web search and fetching pages in GenAIScript - [Search And Transform](search-and-transform-2.md): Learn how to search and transform data in your data sources. - [Sharing scripts](sharing-scripts.md): Learn how to share GenAIScript scripts across projects using Git repositories, submodules, and GitHub Gists. - [Summarize Many Documents](summarize-many-documents.md): Learn how to run a GenAIScript over many documents - [Tool Agent](tool-agent.md): Learn how to define a built-in agent using functions for decision-making and reasoning in arithmetic operations. - [Transformer.js](transformerjs.md): Implement summarization with Transformers.js and leverage local hardware acceleration - [Using Secrets](using-secrets.md): Utilize secrets to augment documents with TypeScript and REST APIs - [Video Alt Text](video-alt-text.md): Learn how to generate alt text for videos - [Zod Schema](zod-schema.md): Learn how to define and convert TypeScript-first Zod schemas to JSON schema - [Node.JS API](nodejs-api-2.md): Learn how to import and use the Node.JS API to run scripts in an isolated worker thread, including environment variab... - [Azure AI Foundry](azure-ai-foundry-2.md): Azure AI Foundry is a platform for building and deploying AI models. - [Overview](overview-4.md): Comprehensive guide to using the GenAIScript CLI for automating tasks with AI scripts in Node.js environments. - [Configuration Files](configuration-files.md): Learn how to configure common configuration settings using configuration files - [Comma-separated list](comma-separated-list-2.md): GENAISCRIPT_ALLOWED_DOMAINS=github.com,*.openai.com,example.org - [YAML array format](yaml-array-format-2.md): GENAISCRIPT_ALLOWED_DOMAINS='["github.com", "*.openai.com", "example.org"]' - [GitHub Actions](github-actions.md): Learn how to use GitHub Actions to automate your workflows and improve your development process. - [Playground](playground.md): Describe how to use the local server playground to launch scripts from a user interface. - [Runtime](runtime.md): GenAIScript runtime files - [Overview](overview-5.md): Learn how to use and customize GenAIScript templates for efficient AI prompt expansion. - [Security and Trust](security-and-trust.md): Learn about the security risks and mitigation strategies for using AI-generated scripts in development environments. - [Transparency Note](transparency-note.md): Learn about the GenAIScript framework, its capabilities, use cases, and best practices for responsible AI integration. - [Overview](overview-6.md): Discover the features of the GenAIScript VSCode extension for script authoring, debugging, and deployment. - [Web API Server](web-api-server.md): The Web API server exposes a REST API, OpenAPI compatible, to run scripts. - [Awesome Scripts](awesome-scripts.md): A curated list of awesome scripts - [Commenter](commenter.md): Adds comments to your code - [Diagram](diagram.md): Class diagram generator - [GitHub Action Investigator](github-action-investigator.md): Investigate GitHub Actions failures - [Git Commit Message](git-commit-message.md): Generate a commit message for all staged changes - [Image Alt Textify](image-alt-textify.md): Generate alt text for images in markdown files - [Lint](lint.md): An Easy Universal Linter - [LLM-Optimized Content Generator](llm-optimized-content-generator.md): Generate LLM-optimized content stored in markdown frontmatter for better AI processing - [Process a single file](process-a-single-file.md): genaiscript run llmstxt-optimizer path/to/file.md - [Process multiple files](process-multiple-files.md): genaiscript run llmstxt-optimizer "docs/**/*.md" - [Apply changes (modify files in-place)](apply-changes-modify-files-in-place.md): genaiscript run llmstxt-optimizer "docs/**/*.md" --apply-edits - [My Document](my-document-2.md): This is a very long explanation of a concept that could be much more concise. It includes redundant information and v... - [My Document](my-document-3.md): This is a very long explanation of a concept that could be much more concise. It includes redundant information and v... - [Pull Request Descriptor](pull-request-descriptor.md): Generate a pull request description - [Pull Request Reviewer](pull-request-reviewer.md): Review the current files or changes - [Spell Checker](spell-checker.md): Review documentation for spelling and grammar - [Search and transform](search-and-transform-3.md): Search for a pattern in files and apply an LLM transformation to the match