AI 代理 – TRMNL
AI Agent – TRMNL

原始链接: https://help.trmnl.com/en/articles/14130438-ai-agent

TRMNL 的全新 AI 智能体允许你通过简单的自然语言描述来构建插件。该功能目前处于公开测试阶段,其原理是为大语言模型(LLM)提供关于 TRMNL 框架的背景信息,并使其能够调用各种内部工具,包括标记语言编辑、设置管理以及网络搜索。 **入门指南:** 要使用该智能体,请在 TRMNL 设置中将其启用,输入 API 密钥(OpenRouter 或 Anthropic),并可根据需要添加 Tavily 密钥以获取网络访问权限。之后,你便可通过界面提示智能体来构建、修改或解释你的插件。高级用户可以使用 MCP API 密钥进行本地开发。 **关键细节:** * **成本:** 构建一个插件通常需要 1 到 3 美元的 API 额度。 * **兼容性:** 该系统通过 OpenRouter 支持多种模型,包括 Gemini、Claude 和 Llama。 * **局限性:** 尽管功能强大,但该智能体尚不完善,且目前用户无法发布由智能体生成的插件。 如果你遇到错误,TRMNL 团队鼓励通过电子邮件或实时聊天直接反馈。

Hacker News 社区正在讨论“AI Agent – TRMNL”,社区对该硬件公司近期的发展方向反应不一。 批评主要集中在两个方面:营销准确性和战略转型。多名用户质疑其标题图片中声称存在 250 个国家的说法,引发了关于该数字是指联合国成员国(193 个)还是 ISO 国家代码(249 个)的争论。 更为关键的是,一些用户表示失望,因为原本被视为有趣硬件产品的 TRMNL 似乎正在转向以人工智能为核心的商业模式。另一些用户则为这一转变辩护,澄清“AI Agent”仅仅是一个插件集成,而非公司业务的全面转型。此外,还有人对该平台开发者要求可能带来的潜在成本表示了技术层面的担忧。
相关文章

原文

Writing code is cool, but wouldn't it be cooler to type "build me a plugin showing populations around the world" and it Just Worked?

Requirements

This feature is in public beta.

Agent currently requires an API Key from OpenRouter. You can load credits on their billing portal.

Alternatively, if you have a Claude API account with higher rate limits you can buy credits directly and use an Anthropic API Key.

Optionally, a free Tavily API key can give your agent access to web search and web page fetching, enhancing your agents capabilities.

In the near future you'll be able to purchase credits directly from TRMNL.

Quickstart

  1. Toggle Agent on the left side, click Save

  2. Click the "Configure model, keys & usage" to open up the settings page.

  3. Add the API keys mentioned in the requirements section and click Save

  4. Click Edit Markup, then click the Agent tab

  5. Ask Agent to build whatever you want or to guide you would like to understand more of the TRMNL framework.

How it works

TRMNL has developed a comprehensive system prompt written in plain English, which describe our platform's capabilities and design patterns in depth.

Whenever you interface with the Agent inside our private plugin interface, the agent has access to this context, which you may even ask it about.

In addition, the agent has been given access to a range of tools, including markup editing, settings updates, data refreshing, internet search, and a list of API endpoints to name a few. This empowers and grounds the agent in the "real world" to add value to your experience.

MCP Server (Advanced)

To develop TRMNL plugins within your local development environment, create an MCP API Key instead from your private plugin's settings page, located on the right side after clicking Save.

Provide this key to your desktop agent for a more customizable experience with your local tooling.

Frequently Asked Questions

Which models does this feature support?

Gemini, Codex, Claude Sonnet, Kimi, and even OSS models (e.g. Llama). Set a preferred model from your Account > Agent configuration.

How much does it cost to build a plugin?

We're seeing an average of $1-3 per plugin.

For example, plugin can be created with a single sentence prompt: make a daily deal plugin for meh.com. After thinking and developing for a couple minutes, Agent required us to provide a free Meh.com API Key, then we requested that the daily deal item's image be included. Total cost: $2.20 USD.

Can I publish plugins with this feature?

Not currently. Our team reviews several plugin submissions per day and we need to scale internal tools before we can handle the inevitable Agent-driven volume bump.

Can I use other llm models (including free ones)?

Yes, even though Claude Sonnet 4.6 was used in developing this Agent, other state-of-the-art models like Gemeni 3.1 Pro are excellent replacements. Feel free to experiment with any OpenRouter model ID. The free models on OpenRouter tend to be less capable and slower.

Troubleshooting

Agent isn't perfect. Send us a live chat or email [email protected] if (when) you discover bugs or quirks.

联系我们 contact @ memedata.com