Bitca

Example

The following agent will use the Bitca toolkit to create and manage bitca workspaces. It can create new applications from templates like llm-app, api-app, django-app, and streamlit-app. It can also start existing workspaces and validate that Bitca is ready to run commands.

cookbook/tools/bitca_tools.py

from bitca.agent import Agent
from bitca.tools.bitca import BitcaTools

# Create an Agent with the bitca tool
agent = Agent(tools=[bitcaTools()], name="bitca Workspace Manager")

# Example 1: Create a new agent app
agent.print_response("Create a new agent-app called agent-app-turing", markdown=True)

# Example 3: Start a workspace
agent.print_response("Start the workspace agent-app-turing", markdown=True)

Toolkit Params

Parameter
Type
Default
Description

name

str

"bitca_tools"

The name of the tool

Toolkit Functions

Function
Description

validate_bitca_is_ready

Validates that bitca is ready to run commands

create_new_app

Creates a new bitca workspace for a given application template

start_user_workspace

Starts the workspace for a user

Last updated