gptscript

command module
v0.9.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

README

GPTScript

Fork notice / Attribution

This repository is a fork of GPTScript, originally developed by Acorn Labs, Inc. (now Obot Inc.) and the gptscript-ai contributors. The upstream project has been archived. This fork is maintained by BasePeak GmbH at https://git.basepeak.dev/basepeak-ai/gptscript.

BasePeak GmbH has modified files in this repository since the fork on 2026-06-13. The git history records every change. See NOTICE for details.

Demo

GPTScript is a framework that allows Large Language Models (LLMs) to operate and interact with various systems. These systems can range from local executables to complex applications with OpenAPI schemas, SDK libraries, or any RAG-based solutions. GPTScript is designed to easily integrate any system, whether local or remote, with your LLM using just a few lines of prompts.

Here are some sample use cases of GPTScript:

  1. Chat with a local CLI - Try it!
  2. Chat with an OpenAPI compliant endpoint - Try it!
  3. Chat with local files and directories - Try it!
  4. Run an automated workflow - Try it!
Getting started

Download the archive for your platform and architecture (Linux, macOS universal, Windows; amd64 and arm64) from the releases page, extract it and put the gptscript binary on your PATH.

Or build and install it with Go:

go install git.basepeak.dev/basepeak-ai/gptscript@latest

Then run an example:

gptscript github.com/gptscript-ai/llm-basics-demo

A few notes:

  • You'll need an OpenAI API key
  • On Windows, if you add the folder containing gptscript.exe to your PATH, restart your terminal for the change to take effect
  • The above script is a simple chat-based assistant. You can ask it questions and it will answer to the best of its ability.

Community

Report bugs and request features in the issue tracker.

License

Copyright (c) 2024-2026 Obot Inc. (formerly Acorn Labs, Inc.) (original work)

Modifications Copyright (c) 2026 BasePeak GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
cli
env
llm
loader/forgejo
Package forgejo registers a VCS loader that resolves GPTScript tool references hosted on git.basepeak.dev (a Forgejo instance).
Package forgejo registers a VCS loader that resolves GPTScript tool references hosted on git.basepeak.dev (a Forgejo instance).
mcp
mvl
tools
gendocs command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL