RasaHQ/rasa-sdk
SDK for the development of custom actions for Rasa
What it solves
Rasa is an open-source framework for building conversational AI assistants. This SDK gives developers the tools to write "custom actions" — pieces of code that run on a separate server and handle logic that the assistant can't do by itself, like calling APIs, querying databases, or running custom business rules.
How it works
The SDK is a Python package (installable via pip install rasa-sdk) that you use to implement your custom actions. You put your action code in a folder that must contain an __init__.py file so it's treated as a Python module. You then run an "action server" — either directly or via the provided Docker image rasa/rasa-sdk — which exposes a webhook at http://localhost:5055/webhook. Rasa's assistant sends requests to that webhook whenever it needs to execute a custom action, and your code runs and returns the result.
Who it’s for
Developers building Rasa-based conversational assistants who need to extend the assistant's behavior with custom logic that goes beyond simple text responses — for example, integrating with external services or performing complex computations.
Highlights
- Simple installation via
pip install rasa-sdk - Official Docker image (
rasa/rasa-sdk) to run your action server - Ability to extend the Docker image with custom system or Python dependencies
- Built with Poetry for packaging and dependency management
- Uses
rufffor code formatting andpre-commitfor automated checks - Clear release process with GitHub Actions and support for patch releases on maintenance branches
Related
- Project
- Project
- Project
- Project
- Project