gptscript  by gptscript-ai

Framework for building AI assistants that interact with systems

Created 2 years ago
3,283 stars

Top 14.3% on SourcePulse

GitHubView on GitHub
Project Summary

GPTScript is a framework enabling Large Language Models (LLMs) to interact with local and remote systems, including CLIs, OpenAPI endpoints, and RAG solutions. It targets developers and researchers building AI assistants that can execute actions and automate workflows by integrating with diverse system interfaces through simple prompt-based configurations.

How It Works

GPTScript allows LLMs to call external tools and systems directly from prompts. It parses these prompts to identify tool calls, executes them, and feeds the results back to the LLM. This approach simplifies the integration of LLMs with existing infrastructure, enabling them to act as intelligent orchestrators for complex tasks.

Quick Start & Requirements

  • Installation: brew install gptscript (macOS/Linux), winget install gptscript-ai.gptscript (Windows), or via install.sh.
  • Prerequisites: OpenAI API key.
  • Demo: gptscript github.com/gptscript-ai/llm-basics-demo
  • Documentation: https://gptscript.ai/docs/

Highlighted Details

  • Enables LLMs to interact with local CLIs, OpenAPI endpoints, and RAG solutions.
  • Supports automated workflow execution.
  • Integrates systems with LLMs using minimal prompt engineering.

Maintenance & Community

  • Community support available via Discord.

Licensing & Compatibility

  • Licensed under the Apache License, Version 2.0.
  • Permissive license suitable for commercial use and integration with closed-source applications.

Limitations & Caveats

Requires an OpenAI API key, limiting its use to users with access to OpenAI's models. Restarting the terminal may be necessary on Windows after installation.

Health Check
Last Commit

5 days ago

Responsiveness

1 week

Pull Requests (30d)
2
Issues (30d)
0
Star History
8 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.