GPTScript favicon

GPTScript

GPTScript screenshot
Click to visit website
Feature this AI

About

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.

Platform
Web
Keywords
integrationllmlarge language modelsframeworkapi interaction
Task
llm interaction

Features

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

FAQs

I don't have Homebrew, how can I install GPTScript?

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).

Does GPTScript have an SDK or API I can program against?

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.

I see there's a --disable-cache flag. How does caching working in GPTScript?

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.

I see there's a --workspace flag. How do I make use of that?

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.

I'm hitting GitHub's rate limit for unauthenticated requests when using GPTScript.

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)" ```

Can I save my chat and resume it later?

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 ```

Job Opportunities

There are currently no job postings for this AI tool.

Explore AI Career Opportunities

Social Media

discord

Ratings & Reviews

No ratings available yet. Be the first to rate this tool!

Featured Tools

Songmeaning favicon
Songmeaning

Songmeaning uses AI to reveal the stories and meanings behind song lyrics. It offers lyric translation and AI music generation.

View Details
Whisper Notes favicon
Whisper Notes

Offline AI speech-to-text transcription app using Whisper AI. Supports 80+ languages, audio file import, and offers lifetime access with a one-time purchase. Available for iOS and macOS.

View Details
GitGab favicon
GitGab

Connects Github repos and local files to AI models (ChatGPT, Claude, Gemini) for coding tasks like implementing features, finding bugs, writing docs, and optimization.

View Details
nuptials.ai favicon
nuptials.ai

nuptials.ai is an AI wedding planning partner, offering timeline planning, budget optimization, vendor matching, and a 24/7 planning assistant to help plan your perfect day.

View Details
Make-A-Craft favicon
Make-A-Craft

Make-A-Craft helps you discover craft ideas tailored to your child's age and interests, using materials you already have at home.

View Details
Pixelfox AI favicon
Pixelfox AI

Free online AI photo editor with comprehensive tools for image, face/body, and text. Features include background/object removal, upscaling, face swap, and AI image generation. No sign-up needed, unlimited use for free, fast results.

View Details
Smart Cookie Trivia favicon
Smart Cookie Trivia

Smart Cookie Trivia is a platform offering a wide variety of trivia questions across numerous categories to help users play trivia, explore different topics, and expand their knowledge.

View Details
Code2Docs favicon
Code2Docs

AI-powered code documentation generator. Integrates with GitHub. Automates creation of usage guides, API docs, and testing instructions.

View Details