Deploying Functions
Functions are typically deployed as part of their container (Assistants, Global Skills, or Applications). This guide covers standalone function deployment using Forra CLI.
Automatic Deployment with Containers
Functions are automatically deployed when you deploy their container:
- Assistants - Use
forracli assistants synchronize(see Assistants guide) - Global Skills - Use
forracli skills synchronize(see Global Skills guide) - Applications - Use
forracli apps deploy(see Applications guide)
See the respective guides for complete workflows including function packaging and deployment.
Standalone Function Deployment
Commands
Initialize Project
Creates project structure with function templates, requirements.txt, and local development setup.
Package Project
Generates a .zip file ready for deployment to assistant skills.
Deploy Directly
Automatically packages and deploys to the specified assistant. Or deploy a single file:
Usage
- Manual: Package your project and upload the
.zipto assistant skills via web UI - Automated: Use
deploycommand with assistant ID for direct deployment
All functions with Forra decorators become available to the assistant automatically.
Next Steps
- Function Types - Learn about different function types
- Getting Started - Basics of writing functions
- Global Skills - Create tenant-wide shared skills
- Assistants - Create assistant-specific skills