kitlangton

kitlangton / rune

Public

A confined TypeScript-shaped code mode runtime for Effect-native tools

12
0
100% credibility
Found May 29, 2026 at 12 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

Rune is an open-source TypeScript library that executes a confined language over user-defined tools, designed to help AI agents interact with APIs by writing code to call capabilities through a single unified tool interface.

Star Growth

See how this repo grew from 12 to 12 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is rune?

Rune is a confined interpreter that lets AI agents write TypeScript-shaped code to orchestrate your tools. Instead of exposing a sprawling tool catalog to a model, you give it one "code" tool -- the agent writes familiar code with `await`, array transforms, and conditionals, and Rune executes it against your explicitly registered capabilities. It runs on Effect, so your tool implementations stay typed, testable, and composable with that ecosystem's service model.

Why is it gaining traction?

The core insight is that agents write better code when they have a familiar language surface instead of a flat list of tool names. Rune composes multiple tool calls into one logical operation, preserves an audit trail, and returns only the data the agent actually needs. The security model is the other hook: no ambient globals, no prototype access, no filesystem unless you explicitly mount it. Every capability call is gated, logged, and bounded. If you have ever worried about what an agent might do with unrestricted tool access, Rune's confinement makes that concern concrete and configurable.

Who should use this?

TypeScript developers building AI agents who are already using Effect will find the tight integration natural. If you are exposing tool catalogs to models and finding that agents make too many round-trips, miss error recovery, or need hand-holding with tool selection, Rune addresses that directly. Teams that need audit trails for compliance or want per-capability approval flows will also find the policy system useful out of the box.

Verdict

Rune solves a real problem with a thoughtful design, but the 1.0% credibility score and 12 stars reflect a very early-stage project. The test coverage is extensive and the security model shows careful adversarial thinking, but documentation and community examples are thin. Worth evaluating if you are deep in Effect and need confined agent code execution; too early to bet on for production without a larger ecosystem around it.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.