Skip to main content
The FibonacciClient class provides methods for interacting with Fibonacci Cloud, including workflow deployment, execution, and management.

Constructor

Parameters

Authentication

From Environment

From Keychain

Workflow Methods

deploy

Deploy a workflow to Fibonacci Cloud.
Parameters:
  • workflow: Workflow instance or path to YAML file
  • environment: Target environment (development/staging/production)
  • version: Version tag
Returns: DeploymentResult Example:

execute

Execute a deployed workflow.
Parameters:
  • workflow_name: Name of deployed workflow
  • inputs: Input data
  • environment: Target environment
  • timeout: Execution timeout
  • async_execution: Return immediately with handle
Returns: ExecutionResult or ExecutionHandle (if async) Example:

get_execution

Get execution status and results.
Parameters:
  • execution_id: Execution identifier
Returns: ExecutionResult

list_executions

List workflow executions.
Parameters:
  • workflow_name: Filter by workflow
  • environment: Filter by environment
  • status: Filter by status (running/success/failed)
  • limit: Max results
  • offset: Pagination offset
Returns: List of ExecutionSummary

cancel_execution

Cancel a running execution.
Parameters:
  • execution_id: Execution identifier
Returns: True if cancelled

Workflow Management

list_workflows

List deployed workflows.

get_workflow

Get workflow details.

delete_workflow

Delete a deployed workflow.

Tool Methods

list_tools

List available tools.
Example:

get_tool

Get tool details.

connect_tool

Connect an external tool.
Example:

Memory Methods

get_memory

Retrieve a memory value.

set_memory

Store a memory value.

delete_memory

Delete a memory value.

Async Client

For async applications, use AsyncFibonacciClient:

Response Types

DeploymentResult

ExecutionResult

WorkflowSummary

Error Handling

Complete Example