Skip to main content

Virtual Environment Setup

setup.sh

Environment Setup

The .env file is created when you download your agent code:
This downloads your agent code from the platform with the .env file pre-configured with your keys.
custom_tools_example.py

How to Run

custom_tools_example.py
This example shows automatic tool discovery where the agent recognizes it needs weather information, calls the custom weather_check tool seamlessly during conversation, and uses the tool’s response to provide a complete answer. Tools are registered with type hints and docstrings that help the AI understand their purpose and usage.

Production Deployment

For creating and deploying agents to production, see the Setup and Deployment Guide.