Skip to main content
The Fibonacci CLI provides powerful commands for managing workflows, executing them locally or remotely, and streamlining development workflows.

Installation

The CLI is included with the Fibonacci SDK:
Verify installation:

Quick Reference

Commands

fibonacci init

Initialize a new Fibonacci project:
This creates:

fibonacci run

Execute workflows locally:
Options:
To trigger an already-deployed workflow via the platform (with queue, risk assessment, and approval gates applied), use the API: POST /api/v1/workflows/{id}/execute. The fibonacci run command runs workflows locally without these controls.

fibonacci list

List workflows deployed to Fibonacci Cloud:
Example output:

fibonacci validate

Validate workflow syntax and configuration:
Output example:

fibonacci deploy

Deploy workflows to Fibonacci Cloud:
Options:

fibonacci logs

View execution logs:
Options:

fibonacci tools

Manage tool integrations:

fibonacci auth

Manage authentication:

fibonacci config

Manage configuration:
Common configuration options:

fibonacci secret

Manage secrets:

Project Configuration

The fibonacci.yaml file configures your project:

Environment Variables

The CLI respects these environment variables:

Shell Completion

Enable tab completion for your shell:

CI/CD Integration

GitHub Actions

GitLab CI

Troubleshooting

Common Issues

Ensure Fibonacci is installed and in your PATH:
Re-authenticate with Fibonacci Cloud:
Run with verbose mode for detailed errors:
This was a known bug in SDK versions before v0.2.4 where workflow objects were accessed as dicts. Upgrade to the latest version:

Debug Mode

Enable debug output:
Or in the command:

Next Steps

YAML Workflows

Define workflows in YAML

Best Practices

Production deployment patterns