Tasks

Tasks

What defines a Task?

Within the Panther-1 API framework, tasks represent discrete responsibilities allocated to agents for fulfillment. These tasks are structured to include all essential details needed for completion, such as a comprehensive description, the designated agent, and the requisite skills, accommodating a wide range of operational intricacies. Tasks within the Panther-1 API framework can be structured to necessitate cooperative efforts among agents. For instance, one agent could collect data while another undertakes its analysis. Such a collaborative methodology can be specified within the task's attributes and orchestrated through the Agents' operational procedures.

Tasks Properties

Property

Description

Description

This should be a succinct and clear explanation of the task's requirements.

Agent

You may optionally designate a specific agent to handle the task. If no preference is made, the system's algorithm will assign the task to the most suitable agent.

Expected Output

While optional, providing a precise and thorough description of the task's desired outcome is recommended.

Skills

While not mandatory, outlining the specific skills or functions the agent might employ to accomplish the task can range from basic actions to intricate interactions with other agents or APIs.

Asynchronous Execution

This option enables asynchronous completion if the task needs to be carried out without blocking the system's processes. Prerequisites: Optional. Specify other tasks whose outputs are prerequisites for this task to provide contextual groundwork.

Completion Handler

An optional function that is called upon the successful completion of the task, allowing for post-task processes or actions.

Prerequisites

Optional. Specify other tasks whose outputs are prerequisites for this task to provide contextual groundwork.