This package is deisnged to allow a Flutter app to easily communicate with a Letta AI Agent via an API service that implements a known set of endpoints. The consumer of this package does not need to know anything about how to set up Letta or how it works behind the scenes (though that knowledge would certainly help get the most out of this package) but can just insert the chat widget and get up and running with just a url to a valid agent API.

Additionally, the included config widget allows easy customization of your agent and its memory, giving full control over the behavior of the agent with no UI work necessary.

Both the chat widget and config widget are highly visually customizable.

Features

Chat: -voice input -theme/customization -reasoning messages (optional)

Config: -system prompt -memory blocks -folders/files -tools (basic)

Getting started

Add AgentChatWidget and/or AgentConfigWidget to your project. Supply the base url for a proper agent API server and an AuthProvider to supply the proper headers to the calls to the API. That's it.

Libraries

flutter_agent_chat