
Overview
In the Upsonic framework, aTask is a specific assignment completed by an Agent. Tasks provide all necessary details for execution, such as a description, tools, response format, caching options, and more, facilitating a wide range of action complexities. Tasks within Upsonic can be collaborative, requiring multiple agents to work together through context sharing and task dependencies. Tasks are executed by agents in a single-threaded manner, with each task processed sequentially. The execution flow includes task validation, context processing, tool processing, agent execution, response processing, and caching.
Key Features
- Flexible Description: Define what needs to be done in natural language
- Tool Integration: Attach specific tools the agent can use
- Structured Output: Define response format using Pydantic models
- Context Support: Add files, images, or other tasks as context
- Caching: Built-in caching for repeated executions
- Guardrails: Validate output before accepting results
Example
Navigation
- Task Attributes - Core and advanced configuration options
- Creating a Task - Detailed task creation examples
- Adding Tools to a Task - Tool integration and configuration
- Adding Tasks to Other Tasks as Context - Task chaining and workflows
- Putting Knowledge Base to Task - RAG integration
- Putting Images to Tasks - Image processing capabilities
- Response Format - Output formatting options
- Accessing Task Results - Result retrieval and metadata

