返回综合榜
开发工具与框架X AI developer discovery

LeanCode 发布开源 Flutter 包 Tandem,用于为应用添加 AI 智能体

LeanCode 发布了开源包 Tandem,让开发者可以逐个屏幕地为 Flutter 应用添加 AI 智能体。该包由 LeanCode 的 Flutter 开发者 Wiktor(@creatixdev)构建。

开发者可以控制智能体能读取哪些内容、展示哪些 widget 以及调用哪些 Dart 方法。在演示场景中,用户请求将杠铃练习换成哑铃并以腹肌训练收尾,智能体用应用自带的练习卡片作出回应,一键即可应用两处替换。开发者还可以决定哪些操作需要用户批准。

Tandem 可在调试构建中配合 Claude Code 使用,可通过 Firebase AI Logic 添加应用内智能体,也可以通过 AG-UI 协议接入自定义智能体。该包可在 github.com/leancodepl/tandem 获取。

LeanCode releases Tandem, an open-source package for adding AI agents to Flutter apps

LeanCode has released Tandem, an open-source package that lets developers add an AI agent to a Flutter app one screen at a time. It was built by LeanCode's Flutter developer Wiktor (@creatixdev).

Developers control what the agent can read, which widgets it displays, and which Dart methods it can call. In a demo scenario, a user asks to swap barbell exercises for dumbbells and finish with abs, and the agent responds with the app's own exercise cards, applying both swaps with one tap. Developers also decide which actions require user approval.

Tandem can be used with Claude Code in a debug build, with an in-app agent via Firebase AI Logic, or by connecting a custom agent over the AG-UI protocol. The package is available at github.com/leancodepl/tandem.

FlutterAI agentopen-sourceDartFirebase AI LogicAG-UI
综合61
质量80
猎物热度53
时效84
信息来源1 个来源,主来源:X AI developer discovery

猎鹰不保存原文正文。标题与摘要用于快速发现信息,事实细节请以来源原文为准。

查看来源