Autonomous Agents
Autonomous Agents in Arrotech Hub are stateful, intelligent entities that execute workflows based on triggers (schedules, events, or manual calls). Unlike simple scripts, Arrotech agents can observe their environment, reason about the best course of action using LLMs, and use tools to achieve a goal.
Core Concepts
1. The Agent Persona
Every agent can be configured with a Persona. This is a system-level prompt that dictates how the AI reasons. For example, a "Sales Agent" might prioritize lead conversion, while a "Security Agent" might prioritize data validation.
2. Execution Orchestrator
The Orchestrator is the engine that drives agent behavior. It follows a loop:
- Perceive: Read input data or the current environment state.
- Plan: Decide which tools or workflow steps are needed.
- Act: Execute a tool call (e.g., Send a WhatsApp message).
- Learn: Observe the result and adjust the next step.
Agent Lifecycle
- Deployment: Use the
/agents/createAPI to deploy an agent from a validated workflow. - Activation: An agent is typically "Passive" until a trigger occurs.
- Running: During execution, the agent's status changes to
active. - Monitoring: All agent actions are tracked in real-time, providing metrics on success rates and token usage.
API Integration
To programmatically manage agents, refer to the following endpoints in our API Reference:
- Deploy Agent: POST
/agents/create - Agent Status: GET
/agents/{agent_id}/status - Manual Trigger: POST
/agents/{agent_id}/execute
Agents respect Universal Guardrails. No matter how an agent is configured, it cannot perform actions that violate your workspace's security policy.