Skip to content

labring/fastgpt-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

449 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastgpt logo

FastGPT-plugin

简体中文 | English

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.

The system tools previously utilized in FastGPT have been migrated to this repository, and future development of new tools will also be conducted within this repository.

Deeply modularize FastGPT to achieve maximum extensibility.

Expansion Modules

  • System Tools
  • App templates
  • Model presets
  • RAG Algorithm
  • Agent Strategy
  • Third-party Integration

System Tool Features

  • Independent tool execution
  • Hot-swappable plugins
  • Plugin version management
  • SSE streaming response support
  • Local plugin debugging
  • Reverse invocation of FastGPT host capabilities
  • URL install SSRF protection
  • More plugin types beyond tools

5-Minute Plugin Hello World

Create a standalone tool plugin with published npm dependencies:

npx @fastgpt-plugin/cli create dx-hello --type tool --description "DX hello world"
cd dx-hello
pnpm install
pnpm run dev
pnpm run debug
pnpm run debug:run
pnpm run build
pnpm run check
pnpm run pack

Expected result:

  • pnpm run dev starts a remote FastGPT integration debug session.
  • pnpm run debug prints the plugin manifest, schemas, and runnable debug command.
  • pnpm run debug:run executes the generated sample tool once.
  • pnpm run build writes dist/index.js and dist/manifest.json.
  • pnpm run check validates the generated build output.
  • pnpm run pack creates dx-hello.pkg for upload.

When generating plugins inside an official pnpm workspace that defines catalog entries, use catalog dependencies:

npx @fastgpt-plugin/cli create dx-hello --type tool --dependency-mode catalog

Documentation & Development Guides

About

FastGPT plugin system. Provide model presets, system tools and other extended functions for FastGPT.

Topics

Resources

Security policy

Stars

41 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors