GPTScript is a framework enabling Large Language Models (LLMs) to interact with diverse systems, from local executables to complex applications using OpenAPI schemas, SDKs, or RAG solutions. Its design prioritizes ease of integration, allowing connection of any system (local or remote) to your LLM via concise prompts. It offers features such as caching for faster execution and reduced LLM costs, and supports SDKs in Python, Node, and Go. Users can save and resume chat sessions, enhancing interactive workflows.
• framework for llms to interact with various systems
• chat state saving and resuming
• sdks available in python, node, and go
• caching to speed up execution and reduce llm costs
• easy integration with llms using few lines of prompts
• supports local executables, complex applications, openapi schemas, sdk libraries, and rag-based solutions
On macOS and Linux, you can alternatively install via: `curl https://get.gptscript.ai/install.sh | sh` On all supported systems, you download and install the archive for your platform and architecture from the [releases page](https://github.com/gptscript-ai/gptscript/releases).
Currently, there are three SDKs being maintained: [Python](https://github.com/gptscript-ai/py-gptscript), [Node](https://github.com/gptscript-ai/node-gptscript), and [Go](https://github.com/gptscript-ai/go-gptscript). They are under development and are being iterated on relatively rapidly. The READMEs in each repository contain the most up-to-date documentation for the functionality of each.
GPTScript leverages caching to speed up execution and reduce LLM costs. There are two areas cached by GPTScript: * Git commit hash lookups for tools * LLM responses Caching is enabled for both of these by default. It can be disabled via the `--disable-cache` flag. Below is an explanation of how these areas behave when caching is enabled and disabled.
Every invocation of GPTScript has a workspace directory available to it. By default, this directory is a one-off temp directory, but you can override this and explicitly set a workspace using the `--workspace` flag, like so: ``` gptscript --workspace . my-script.gpt ``` For more info, see the [Workspace](/tools/workspace) page.
By default, GPTScript makes unauthenticated requests to GitHub when pulling tools. Since GitHub's rate limits for unauthenticated requests are fairly low, running into them when developing with GPTScript is a common issue. To avoid this, you can get GPTScript to make authenticated requests -- which have higher rate limits -- by setting the `GITHUB_AUTH_TOKEN` environment variable to your github account's PAT (Personal Access Token). If you're already authenticated with the `gh` CLI, you can use its token by running: ``` export GITHUB_AUTH_TOKEN="$(gh auth token)" ```
Yes! When you run GPTScript, be sure to specify the `--save-chat-state-file` argument like this: ``` gptscript --save-chat-state-file chat-state.json my-script.gpt ``` Then, when you want to resume your chat, you can use the `--chat-state` argument to specify the file you saved: ``` gptscript --chat-state chat-state.json my-script.gpt ```
There are currently no job postings for this AI tool.
Average Rating: 0.0
5 Stars:
0 Ratings
4 Stars:
0 Ratings
3 Stars:
0 Ratings
2 Stars:
0 Ratings
1 Star:
0 Ratings
No ratings available.
Xjoy.ai provides AI tools for photo editing, face swapping, pose generation, short video creation, and dance animation.
View DetailsAngel.ai powers immersive experiences with AI Angels. Chat with AI girlfriends and boyfriends, generate images, and create personalized AI companions.
View DetailsConnect your Github repos to ChatGPT & Claude for code assistance, bug finding, and documentation. Free trial available.
View DetailsSymbyte helps companies mature their data-driven decision making by providing data and analytics engineering services.
View DetailsSprunky is an interactive music game where players create tunes by mixing beats, effects, and vocals with unique characters. A fan-made modification of Incredibox for creative music composition.
View DetailsGatsbi AI is an AI co-scientist that crafts tailored solutions for research challenges and generates publication-ready papers and patent documents effortlessly, supporting ideation, scholarly writing, and patent writing.
View DetailsWeb crawling and data scraping API for developers. Extract website content in Markdown, HTML, and other formats. Simple, usage-based pricing.
View DetailsA trivia website with questions in multiple categories. Play now and expand your knowledge!
View DetailsWrite confidently in English. Improve your writing with a single click, identify the emotional tone of your message and much more.
View Details