agentleFS
backant-iobackant-io/jevelry/AGENTS.md

jevelry

AGENTS.md11 starsChanged 2 months agoMITView on GitHub

jevelry asks Jev, the decision model from TypeSafe (System One), small typed questions about text or data with one command. Your code or your coding agent gets back a decision, act, mark or fall_back, together with how sure Jev was. npx jevelry install This installs the jevelry skill into every coding agent it finds and asks for your TypeSafe key, or you set TYPESAFE_API_KEY in the environment. jevelry runs on Node 22 or newer. npx jevelry ask ticket-triage --state @ticket.json

  • Reads credentials
  • Installs packages
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When the decision happens inside your own code, install jevelry in the project, load the jevel once when the program starts and call decide …

    line 23
  2. Very specific:

    When Jev cannot answer, every question comes back fall_back with the reason in d.error, so the code keeps its old path.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

jevelry

jevelry asks Jev, the decision model from TypeSafe (System One), small typed questions about text or data with one command. Your code or your coding agent gets back a decision, act, mark or fall_back, together with how sure Jev was.

Install

npx jevelry install

This installs the jevelry skill into every coding agent it finds and asks for your TypeSafe key, or you set TYPESAFE_API_KEY in the environment. jevelry runs on Node 22 or newer.

Ask

npx jevelry ask ticket-triage --state @ticket.json

The state is a JSON file with the keys the jevel names, and the answer is one JSON document on stdout with an answer per question.

npx jevelry ask --batch < asks.ndjson

Many asks in one process: each stdin line is {"id": ..., "jevel": "<name>", "state": ...}, and each answer is one stdout line with the id and the same document, written as it finishes. --concurrency bounds the asks in flight, 16 by default.

In your program

When the decision happens inside your own code, install jevelry in the project, load the jevel once when the program starts and call decide where the code decides:

npm install jevelry
import { jevel } from "jevelry";

const triage = jevel("ticket-triage");

const d = await triage.decide({ ticket });
switch (d.team?.decision) {
  case "act": route(ticket, d.team.answer); break;
  case "mark": route(ticket, d.team.answer); flagForQueueOwner(ticket); break;
  case "fall_back": leaveInGeneralQueue(ticket); break;
}

When Jev cannot answer, every question comes back fall_back with the reason in d.error, so the code keeps its old path. npx jevelry types --out src/jevels.d.ts writes the types, so d.team.answer is typed as the options of the jevel.

Decisions

  • act: Jev is sure, so go ahead with the answer.
  • mark: Jev is fairly sure, so go ahead and flag it for a person to look at.
  • fall_back: Jev is unsure, so do what you did before, or look closer yourself.

npx jevelry tui opens a full-screen view of your decisions on its start screen: d opens the dashboard with how Jev decided today, Review lets a person press c (correct) or w (wrong) on each mark, and Try asks a jevel live with its example state.

npx jevelry run <jevel> --state @file asks a jevel whose options name commands, like failing-test, and runs the one Jev picks: act runs it, mark asks you first and fall_back runs the jevel's fall_back command.

Links

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.