Overview
The Upsonic framework’s Agent system optimizes tasks by creating a simulated corporate environment where agents operate with defined roles and responsibilities. By using job title parameters, the system sets decision-making frameworks and performance objectives for each agent to streamline workflows. Agent provide a reusable architecture for better efficiency and flexibility. For example, when analyzing servers, a software engineer agent can be dynamically assigned to relevant tasks. This approach promotes code reuse and optimizes system performance through smart agent allocation.Creating an Agent
The AgentConfiguration class serves as a fundamental component in ensuring optimal task execution within the system. Given its critical role, developers should allocate sufficient time to properly configure and fine-tune this class. Additionally, it is essential to conduct comprehensive testing across various configuration scenarios to validate performance and behavior under different operational conditions.Changing LLM Model
To specify which LLM the agent will use, it’s sufficient to directly use the model parameter. You can check the LLM support section to see all supported LLMs.Agent Attributest
Agents are equipped with supplementary features designed to enhance their performance and increase success rates during task execution. These configurable capabilities can be dynamically adjusted throughout the task lifecycle, allowing for real-time optimization of the agent’s processing capacity. By fine-tuning these features, users can significantly improve the probability of successful task completion while meeting specific operational requirements.Attribute | Parameters | Type | Description |
---|---|---|---|
job_title | job_title | str | The job title of Agent. |
company_url (Optional) | company_url | str | The url of your company |
company_objective (Optional) | company_objective | str | The objective of your company |
system_prompt (Optional) | system_prompt | str | Overwrite the characterization. |
Name (Optional) | name | str | The name of the human that represent from Agent |
Contact (Optional) | contact | str | The contact info of the human that represent from Agent |
Memory (Optional) | memory | boolean | The persistent memory by the agent id (Default: False) |
Reflection (Optional) | reflection | boolean | Reflection mode for agent. (Default: False) |
Compress Context (Optional) | compress_context | boolean | Compress the context for LLM context lenght (Default: True) |
model (Optional) | model | str | The llm model for Agent (Default: openai/gpt-4o) |