GPTScript favicon

GPTScript

GPTScript screenshot
Click to visit website
Feature this AI

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
Web
Task
llm integrating

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.

Explore AI Career Opportunities

Social Media

discord

Ratings & Reviews

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

Alternatives

LlamaHub favicon
LlamaHub

LlamaHub is a repository of data loaders, agent tools, and LlamaPacks designed to kickstart your Retrieval Augmented Generation (RAG) applications efficiently.

View Details

Featured Tools

adly.news favicon
adly.news

adly.news is a 100% free newsletter advertising marketplace connecting businesses with engaged newsletter audiences, offering automated payouts and secure payments.

View Details
Voe 4 favicon
Voe 4

Voe 4 is an AI video generator offering lightning-fast text-to-video and image-to-video conversion, delivering high-resolution, professional 4K AI videos in seconds.

View Details
Modelfy 3D favicon
Modelfy 3D

Modelfy 3D is an Enterprise-Grade AI Image to 3D Model Generator that transforms any 2D image into professional 3D models with up to 300K polygons and PBR textures.

View Details
Questie.ai favicon
Questie.ai

Questie.ai is an advanced AI gaming companion that watches your actual gameplay in real-time and provides intelligent commentary through natural AI voice chat.

View Details
Gemini Watermark Remover favicon
Gemini Watermark Remover

Gemini Watermark Remover is a client-side tool designed to remove hidden SynthID and other embedded watermarks from your AI-generated images, preserving quality.

View Details
Infatuated.AI favicon
Infatuated.AI

Infatuated.AI is an AI companion platform allowing users to chat, roleplay, and build personalized relationships with AI girlfriends and boyfriends, offering emotional support and secure fantasy sharing.

View Details
ImgGen favicon
ImgGen

ImgGen is the free AI editor that edits photos and turns images into videos in seconds, offering instant creativity all in one place.

View Details