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.
- System Tools
- App templates
- Model presets
- RAG Algorithm
- Agent Strategy
- Third-party Integration
- 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
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 packExpected result:
pnpm run devstarts a remote FastGPT integration debug session.pnpm run debugprints the plugin manifest, schemas, and runnable debug command.pnpm run debug:runexecutes the generated sample tool once.pnpm run buildwritesdist/index.jsanddist/manifest.json.pnpm run checkvalidates the generated build output.pnpm run packcreatesdx-hello.pkgfor 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