Skip to main content
Version: 1.0

Micro-Agents

Micro-agents are specialized, lightweight agents that provide platform-level capabilities to enhance primary agents. By separating platform concerns (security, governance, coordination) from business logic, they allow primary agents to focus on domain-specific tasks while handling cross-cutting capabilities transparently and consistently.

With micro-agents, your agents:

  • Get consistent governance, planning, and coordination without custom implementation
  • Keep business logic focused while platform capabilities remain reusable
  • Benefit from transparent operation that works behind the scenes
  • Are production-ready by default with built-in security and compliance
  • Maintain optimized performance with minimal overhead

Micro-Agents in aiXplain

Response Generator

Available in All Agents

Formats final outputs (text, markdown, JSON)

Planner

Additional for Team Agents

Breaks down complex tasks into structured plans

Orchestrator

Additional for Team Agents

Coordinates execution across multiple agents

Inspector

Additional for Team Agents

Validates inputs and outputs for safety and compliance

Bodyguard

Additional for Team Agents

Protects access to data sources and tools based on governance rules and RBAC


Planner

Handles advanced reasoning and task decomposition for team agents:

  • Breaks down complex queries into actionable steps
  • Determines optimal agent selection and sequencing
  • Generates structured execution plans before agents act

Value: Improves reasoning quality, reduces inefficient tool calling, and enables sophisticated problem-solving.


Orchestrator

Coordinates execution across multiple agents and tools:

  • Routes tasks to appropriate agents based on capabilities
  • Manages dependencies between sequential operations
  • Handles parallel execution when possible

Value: Ensures proper sequencing, improves execution efficiency, and maintains consistency across multi-step processes.


Inspector

Provides runtime guardrails and governance:

  • Validates inputs and outputs against defined policies
  • Checks for policy violations, inappropriate content, and data leakage
  • Detects potential prompt injection attempts
  • Triggers retries or edits when validation fails

Enforcement Actions: Block, warn, rerun, or automatically edit violating content.

Value: Ensures compliance, prevents harmful outputs, protects sensitive data, and provides audit trails—critical for regulated industries.

Learn more about configuring Inspector policies →


Response Generator

Formats the final output based on the specified format (TEXT, MARKDOWN, or JSON) and ensures responses match the expected structure.


Best Practices

For Production:

  • Always enable Inspector for customer-facing agents
  • Configure Inspector policies specific to your compliance requirements
  • Monitor enforcement actions in execution traces

For Development:

  • Keep Planner and Inspector enabled to understand reasoning patterns
  • Review execution traces to see how micro-agents coordinate
  • Adjust Inspector thresholds based on validation needs