GPTScript

Click to visit website
About
GPTScript is a powerful framework that allows Large Language Models (LLMs) to operate and interact with a wide range of systems. This includes local executables, complex applications with OpenAPI schemas, SDK libraries, and various RAG-based solutions. Designed for easy integration, GPTScript enables you to connect any local or remote system with your LLM using just a few lines of prompts. It supports use cases like chatting with a local CLI, interacting with OpenAPI compliant endpoints, engaging with local files and directories, and running automated workflows. GPTScript also leverages caching to optimize execution speed and reduce LLM costs, and offers SDKs for Python, Node, and Go for programmatic interaction, making it versatile for developers.
Platform
Task
Features
• automated workflow execution
• chat state saving and resuming
• sdks (python, node, go)
• caching for performance and cost
• local file/directory interaction
• openapi endpoint integration
• local cli chatting
• llm interaction with diverse systems
FAQs
I don't have Homebrew, how can I install GPTScript?
On macOS/Linux, install via `curl https://get.gptscript.ai/install.sh | sh`. For all systems, download the archive from the [releases page](https://github.com/gptscript-ai/gptscript/releases) for your platform.
Does GPTScript have an SDK or API I can program against?
Yes, Python, Node, and Go SDKs are actively maintained and under rapid development. Consult each repository's README for the most current documentation on their functionality.
I see there's a --disable-cache flag. How does caching working in GPTScript?
GPTScript uses caching to speed up execution and cut LLM costs. It caches Git commit hash lookups for tools and LLM responses. Both are enabled by default and can be disabled with `--disable-cache`.
I see there's a --workspace flag. How do I make use of that?
Every GPTScript invocation uses a workspace directory. By default, it's a temp directory. You can set it explicitly using the `--workspace` flag, e.g., `gptscript --workspace . my-script.gpt`.
I'm hitting GitHub's rate limit for unauthenticated requests when using GPTScript.
To avoid GitHub rate limits, set the `GITHUB_AUTH_TOKEN` environment variable to your GitHub Personal Access Token (PAT). If using the `gh` CLI, you can set it with `export GITHUB_AUTH_TOKEN="$(gh auth token)"`.
Can I save my chat and resume it later?
Yes! Use `--save-chat-state-file chat-state.json` when running to save. To resume, use `--chat-state chat-state.json` with the previously saved file.
Job Opportunities
There are currently no job postings for this AI tool.
Ratings & Reviews
No ratings available yet. Be the first to rate this tool!
Alternatives
LlamaHub
LlamaHub is a repository of data loaders, agent tools, and LlamaPacks designed to kickstart your Retrieval Augmented Generation (RAG) applications efficiently.
View DetailsFeatured Tools
GirlfriendGPT
NSFW AI chat platform with customizable characters, AI image generation, and voice chat. Explore roleplay and intimate interactions with AI companions.
View DetailsPDF Translator
PDF Translator is an AI-powered tool for instant document translations. Upload PDFs, select from 100+ languages, and get format-preserving translations for free.
View DetailsDeVoice
DeVoice is an AI-powered audio and video tool that offers unlimited, accurate transcription, AI rap generation, and background noise removal capabilities.
View DetailsDeepSwapAI
DeepSwapAI is a professional AI face swap platform for developers, offering enterprise-grade face exchange technology with RESTful API, SDKs, and batch processing.
View DetailsFace Swap AI
Face Swap AI is a free AI tool for instant face swapping in photos and videos, delivering stunning HD results without signup or watermarks for creative projects.
View DetailsStoryShort
StoryShort is an AI creation tool that helps you create viral faceless videos on auto-pilot, generating engaging content in minutes.
View DetailsAIhumanize
AIhumanize is an advanced AI humanizer tool that transforms AI-written text into natural, authentic writing, helping you bypass all major AI detectors.
View DetailsLoveGen AI
LoveGen AI is an all-in-one platform integrating major image and video AI models, enabling creation from text, visual enhancement, and video generation.
View DetailsCapacity
Capacity is an AI tool that helps you turn any idea into a working web app, including fullstack applications and cloned websites, without writing code.
View DetailsNano Banana Pro
Nano Banana Pro is a reasoning-first 4K AI image editor designed for creative teams to generate lossless 4K visuals, transparent PNGs, and high-quality exports.
View DetailsImageTranslator
ImageTranslator is an AI-powered online tool that translates text in images instantly, supporting over 100 languages while preserving original layout.
View DetailsSeedance 2
Seedance 2 is a groundbreaking AI video generation technology that delivers 1080p cinematic quality with advanced motion synthesis and multi-shot storytelling.
View DetailsKissGen AI
KissGen AI is the best AI kissing video generator, transforming memories into lifelike kissing videos with realistic animations and custom styles.
View DetailsGempix2 AI
Gempix2 AI is a free online AI photo and image editor, powered by NanoBanana 2 technology, offering advanced tools for professional-quality visual transformations.
View DetailsAI Animate Image
AI Animate Image revolutionizes how you create animated content from static images. Our advanced AI image animator turns photos into animation with stunning realism.
View Details