Agent Integration Details#

What the Agent Does

The AALI Agent is a backend component that interfaces with Flowkit to run workflows, maintain state, and chain outputs to downstream steps.

It implements the GRPC contract defined in proto/.

Execution Flow
  1. A workflow node calls Flowkit

  2. Flowkit forwards input to the Agent

  3. Agent processes logic (via plugins or direct code)

  4. Output is streamed or returned

Flowkit is stateless — the Agent may implement memory.

Extending Agents

Agents can support:

  • Custom slash commands

  • Persistent memory backends

  • Logging, permissions, and retry policies

Flowkit sends function name and input map — it is up to the Agent how to process.