Skip to main content
The Python Guides provide practical examples and step-by-step instructions for integrating Athena’s capabilities into your Python applications and data workflows. These guides are designed for developers who want to leverage Athena’s AI agents, data processing tools, and automation features programmatically. You’ll find guides covering essential tasks like building with agents for long-running research and analysis, loading data frames from CSV and Excel files into your workspace, uploading files and assets programmatically, creating new assets, and generating structured output from AI interactions. Each guide includes complete code examples showing how to use the Athena Python SDK to accomplish real-world tasks.

Build with Agents

Use the General Agent for long-running tasks with tool use

Use Models Directly

Interact with language models for conversational AI

Load Data Frames

Import CSV and Excel files as data frames

Upload Files

Programmatically upload files to your workspace

Create Assets

Generate new workspace assets via SDK

Structured Output

Get structured responses from AI interactions