Streamlined interface for executing automation tasks using the Narada Python SDK
agent
method provides a modern, streamlined interface for executing automation tasks in the Narada Python SDK. It returns a simplified AgentResponse
object with cleaner error handling and better type safety compared to the legacy dispatch_request
method.
agent
method is the recommended approach for new integrations. It provides a cleaner API surface and better developer experience than the legacy dispatch_request
method.OPERATOR
agent, commands are automatically prefixed with /Operator
.Narada Downloads
directory.AgentResponse
object with the following structure:
"success"
, "error"
, or "input-required"
output_schema
is provided, contains the parsed structured data matching your schema. None
otherwise.actions
: Number of actions performedcredits
: Credits consumed for the taskOPERATOR
for web tasks and GENERALIST
for conversation or analysis tasksgenerate_gif=True
for debugging and documenting complex automation workflowsdispatch_request
method, here are the key differences:
agent
method automatically handles agent prefixes, provides better error handling, and returns a cleaner response object with proper typing support.