Frontal 已上线。阅读公告

SDKs

Embed Frontal with the official TypeScript SDK or integrate through its CLI and MCP interfaces.

Table of Contents

  1. Shared model

The official SDK in this repository is the TypeScript package [`@frontal/sdk. It embeds the local Frontal CLI rather than calling a hosted HTTP API.

Shared model

  • A thread is persisted conversation state.
  • A turn is one user request within a thread.
  • Items are structured results such as agent messages, reasoning summaries, command executions, file changes, MCP calls, web searches, and errors.
  • A stream is an async sequence of events emitted while a turn runs.

The SDK requires Node.js 18 or later. The package uses ES modules. Other languages can invoke the CLI or connect to the MCP server with their own wrapper.

更新于 2026年9月17日

© 2026 Frontal Labs, Inc. 或其关联公司。

我们默认使用无 Cookie 分析。接受 Cookie 可帮助我们跨会话统计您的访问,从而获得更准确的数据。