robotAI Agents

AI Agents are autonomous entities that reason, use tools, and maintain conversation memory to handle complex AI workflows.

AI Agents are autonomous entities that can reason, use tools, and maintain conversation memory. Inspired by LangChain agents but "Boxified" for simplicity and productivity, agents handle complex AI workflows by automatically managing state, context, and tool execution.

🎯 What are AI Agents?

An agent is more than a simple chat interface — it's an intelligent entity that:

  • Maintains Memory — Remembers conversation history across interactions

  • Uses Tools — Can call functions to access data, perform calculations, or interact with systems

  • Applies Skills — Injects domain knowledge into the system context (v3.0+)

  • Runs Middleware — Intercepts lifecycle events for logging, retry, and guardrails (v3.0+)

  • Reasons and Plans — Determines when and how to use tools to accomplish tasks

  • Delegates to Sub-Agents — Can orchestrate specialized sub-agents for complex tasks

  • Integrates with Pipelines — Works seamlessly as a stage in BoxLang AI pipelines

🏗️ Agent Architecture

🔄 Agent Decision Flow

📖 Sub-Pages

Page
Description

Creating agents, configuration, model selection, return formats

Build encapsulated reusable agents by extending AiAgent

Memory types, per-call identity routing, resume/suspend, multi-tenant

Tool Registry, ClosureTool, MCP server seeding

Always-on and lazy-loaded skills for domain knowledge injection

Lifecycle hooks for logging, retry, guardrails, human-in-the-loop

Parent-child agent delegation patterns

Real-time streaming responses

Knowledge base integration and document retrieval

Input/output transformation and structured data extraction

Pipelines, event interception, best practices

Quick Start

Last updated