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
A workflow node calls Flowkit
Flowkit forwards input to the Agent
Agent processes logic (via plugins or direct code)
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.