Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.17.3] - 2026-02-13

### Added
- Added AI Agents support

## [0.17.2] - 2026-02-04

### Fixed
Expand Down
1 change: 1 addition & 0 deletions docs/llms.txt

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions docs/tutorials/integrated_with_ai_agents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# AI Agents Integration

> This guide aims to demonstrate how to use the `llms.txt` file to bring intelligent interaction capabilities to AI models.

---

## Prerequisites

- It is recommended to use **VSCode** or **Atom** as the code editor
- A model that supports context windows

---

## What Should I Do Now?

### 1. Add `llms.txt` to the Context Window

[⬇️ Download](https://github.com/LiteLDev/LegacyScriptEngine/raw/refs/heads/develop/llms.txt)

Directly copy and paste the content of the `llms.txt` file into the AI model's conversation context, or upload the file in an interface that supports file uploads.

### 2. Write Plugins

Use the following prompt template to have the AI generate plugin code for you:

```text
Refer to the LegacyScriptEngine documentation and use JavaScript to write a plugin for LegacyScriptEngine.
Please help me implement the following functionality:

[Please describe the specific details of the functionality you need to implement here]
```
31 changes: 31 additions & 0 deletions docs/tutorials/integrated_with_ai_agents.zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# AI Agents集成

> 本指南旨在展示如何使用 `llms.txt` 文件,为AI模型带来智能交互能力。

---

## 先决条件

- 建议使用 **VSCode** 或 **Atom** 作为代码编辑器
- 支持上下文窗口的模型

---

## 我现在该做什么?

### 1. 将 `llm.txt` 添加到上下文窗口

[⬇️下载](https://github.com/LiteLDev/LegacyScriptEngine/raw/refs/heads/develop/llms.txt)

直接将 `llm.txt` 文件内容复制粘贴到AI模型的对话上下文中,或在支持文件上传的界面中上传该文件。

### 2. 编写插件

使用以下提示词模板,让AI为你生成插件代码:

```text
参考LegacyScriptEngine文档,使用JavaScript编写适用于LegacyScriptEngine的插件。
请帮我实现以下功能:

[请在此处描述您需要实现的功能的具体细节]
```