API Reference eai v#0.1.9

Copy Markdown

Modules

Behaviour for LLM provider adapters.

Anthropic Messages API wire format adapter.

AWS Bedrock Converse API wire format adapter.

OpenAI-compatible wire format adapter (also used for DeepSeek and similar providers).

Nebulex cache adapter for EAI

Main conversation GenServer managing multi-session chat history and async LLM tasks.

Git 仓库管理辅助函数

Direct LLM API orchestration using Converse-based internal message IR.

Internal message representation (IR) based on AWS Bedrock Converse API format.

模型注册表查询接口。

Prompt 注册表查询接口。

GenServer for background persistence of conversation history to compressed logs.

基于单次哨兵匹配的无状态流式收集器。 截取第 1 次 START 和第 1 次 END 之间的纯净执行结果。 (PTY 命令行用 base64 包装哨兵,回显中不再出现明文哨兵,无需奇偶校验。) 同时提供超时提醒窗口(深度计数器)和中断标记(Cache)机制。

Behaviour for PTY-like command execution sandbox

GenServer pool managing per-session PTY processes and task dispatching.

统一 telemetry 事件处理器。

Tool behaviour — each tool in config/tools/ implements schema/0 + execute/4.

Shared utilities used by two or more tool implementations.

通用清洗、转换等无业务耦合的工具函数。