ilang-protocol
v1.1.1
Published
The iLang loader: fetches the official iLang runtime, verifies it, caches it and puts it in front of any model's context. Don't learn iLang. Your AI should.
Maintainers
Readme
ilang-protocol
Don't learn iLang. Your AI should.
The JavaScript loader for iLang. It fetches the official iLang runtime from the canon repository, checks its sha256, keeps a verified copy on disk and adds it to any model's messages.
npm install ilang-protocolimport { wrap, system, status } from "ilang-protocol";
const messages = await wrap([{ role: "user", content: "开始任务" }]); // OpenAI-style messages
const systemPrompt = await system(); // Anthropic, Gemini
console.log(status());Updates are checked at most once an hour; without a network the last verified copy is used, and with no copy at all the messages go out unchanged unless { strict: true }. Pin an exact runtime with { version } for reproducible runs; add { extensions: ["media"] } for image, video and audio work. The core runtime is about 27,000 tokens, so enable your provider's prompt caching.
No dependencies, Node 18+. Source, Python version and documentation: github.com/ilang-ai/ilang. MIT.
