Data Handling
Working with various data types in the Agentuity Python SDK
Data Handling
The Agentuity Python SDK provides a flexible system for working with different types of data, from text and JSON to binary formats like images and audio.
The Data Class
The Data
class serves as a container for all types of content:
Accessing Data Content
Data content can be accessed in various formats:
Working with Responses
The AgentResponse
class provides methods for various content types:
Media Type Helpers
The SDK includes helpers for common media types:
Streaming Data
For large responses or real-time data, use streaming:
Need Help?
Join our Community for assistance or just to hang with other humans building agents.
Send us an email at hi@agentuity.com if you'd like to get in touch.
Please Follow us on
If you haven't already, please Signup for your free account now and start building your first agent!