← 返回
AI智能 中文

ilang-compress

Compress natural language prompts into I-Lang — AI-native structured instructions. 40-65% token savings. Output is text notation only — review before passing...
压缩自然语言提示为 I‑Lang,AI 原生结构指令,节省 40‑65% token,仅输出文本记号,请审阅后再传递。
adsorgcn
AI智能 clawhub v2.3.2 2 版本 99879.4 Key: 无需
★ 2
Stars
📥 788
下载
💾 17
安装
2
版本
#latest

概述

I-Lang Compress

An AI-native prompt compression protocol created by a Chinese developer.

Compress natural language prompts into dense structured instructions that any AI understands natively. 40-65% token savings, zero training needed.

> Safety note: I-Lang output is text notation, not executable code. The instruction set includes action verbs (READ, WRIT, DEL, COPY, SYNC) and resource references (@GH, @DRIVE, @LOCAL) that describe operations in compressed form but do not execute by themselves. If you pass compressed output to an agent or tool that interprets these as commands, real actions may be triggered. Always review before feeding to execution environments.

Why I-Lang

Token is money. Every prompt you send to GPT/Claude/Gemini, you pay by token. I-Lang compresses your instructions into a fraction of the original size — AI reads it just as well, you pay less.

How to compress

When the user asks to compress a prompt, convert it to I-Lang syntax following these rules.

Syntax

Single operation: [VERB:@ENTITY|mod1=val1,mod2=val2]

Pipe chain: [VERB1:@SRC]=>[VERB2]=>[VERB3:@DST]

Each step receives previous output as @PREV.

Available Verbs (62)

Data I/O: READ, WRIT, DEL, LIST, COPY, MOVE, STRM, CACH, SYNC, Π

Transform: Σ, Δ, φ, ∇, DEDU, ∂, CHNK, FLAT, NEST, λ, REDU, PIVT, TRNS, ENCD, DECD, ξ, ζ, EXPN, θ, FMT

Analysis: ψ, CLST, SCOR, BNCH, AUDT, VALD, CNT, μ, TRND, CORR, FRCS, ANOM

Generation: CREA, DRFT, PARA, EXTD, SHRT, STYL, TMPL, FILL

Output: Ω, DISP, EXPT, PRNT, LOG

Meta: VERS, HELP, DESC, INTR, SELF, ECHO, NOOP

Modifiers (28)

tgt, src, dst, frm, to, scp, dep, rng, whr, mch, exc, lim, off, top, bot, fmt, lng, sty, ton, len, col, row, srt, grp, typ, enc, chr, cap

Entities (14)

@R2, @COS, @GH, @DRIVE, @LOCAL, @WORKER, @CF, @SCREEN, @LOG, @NULL, @STDIN, @SRC, @DST, @PREV

Compression Guidelines

  • Output the compressed I-Lang instruction first, then a brief explanation of what each step does.
  • Use pipe chains for multi-step operations.
  • Use Greek symbols where applicable (Σ for merge, Δ for diff, φ for filter, etc.)
  • Maximize compression while preserving complete semantics.
  • If input is ambiguous, ask the user for clarification.

Examples

Input: Read the config file from GitHub and format it as JSON

Output: [READ:@GH|path=config.json]=>[FMT|fmt=json]

Explanation: READ fetches from GitHub, FMT converts to JSON format.

Saved: 55%

Input: Filter all fatal errors from system logs

Output: [φ:@LOG|whr="lvl=fatal"]

Explanation: φ (filter) selects only entries matching fatal level.

Saved: 55%

Input: Read all markdown files, merge them, summarize in 3 bullets, output

Output: [LIST:@LOCAL|mch="*.md"]=>[Π:READ]=>[Σ|len=3]=>[Ω]

Explanation: LIST finds files, Π batch-reads, Σ summarizes to 3 items, Ω outputs.

Saved: 65%

Links

  • Homepage: https://ilang.ai
  • Dictionary: https://github.com/ilang-ai/ilang-dict

Author

Built by ilang-ai from China. I-Lang is open source under MIT license.

I-Lang v2.0

版本历史

共 2 个版本

  • v2.3.2 当前
    2026-06-07 05:50 安全 安全
  • v2.3.1
    2026-03-29 21:10 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,350 📥 317,749
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 709 📥 243,557

freemoney

adsorgcn
白拿钱 — 美国、加拿大、英国、澳洲集体诉讼理赔追踪技能。监控多国公开案件,筛选免凭证案件。数据源覆盖OpenClassActions、TopClassActions、ClaimDepot及各国官方公告。纯中文交互,I‑Lang v4.0协
★ 0 📥 570