Skip to content
tomershlaskyPublic

About

AGI — Agent Gibberish Interceptor. Un-scrambles Hebrew-keyboard-layout gibberish back into what you meant (פודי → push). Works with any coding agent. No, not that AGI.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

AGI

Agent Gibberish Interceptor

The one that actually shipped.

License: MIT Dependencies AGI



you typed:    עןא פודי איק כןרדא םמק
your agent:   …sorry, I'm not sure what you mean. Could you rephrase?
with AGI:     git push the first one          ✓  on it.

You meant git push the first one. Your keyboard was still in Hebrew. So your coding agent got עןא פודי איק כןרדא םמק — not a typo, a full wall of nonsense — and did what agents do: took you seriously, tried anyway, confidently, wrongly.

That's the modern twist: a search box looks broken and you catch it instantly — but an agent commits by default (enter sends), so it confidently runs off a cliff with your garbage input, then asks you to clarify. The smarter the agent, the faster it gets there.

So you do the ritual: select-all, delete, Cmd+Space, retype the whole paragraph you already wrote once. Four, six, ten times a day. Every time, it snaps the thread of thought you were holding.

AGI ends the ritual. It reverses the layout before the agent ever sees it — same keystrokes, right alphabet, understood the first time.

Install

Clone it anywhere — no build, no dependencies, no config:

git clone https://github.com/tomershlasky/agi

Then point your coding agent at it (see Works with any agent below) or use it as a plain CLI: node scripts/agi.mjs "<text>".

Claude Code users: clone straight into your skills dir and it's auto-discovered — Claude invokes it the moment a message turns to gibberish:

git clone https://github.com/tomershlasky/agi ~/.claude/skills/agi

Usage

node scripts/agi.mjs "פודי"                     # → push
node scripts/agi.mjs "עןא פודי"                  # → git push
node scripts/agi.mjs "עןא פודי איק כןרדא םמק"     # → git push the first one
echo "פודי" | node scripts/agi.mjs               # reads stdin

Works with any agent

The engine is just a Node script, so any agent that can run a shell command can use it. This repo ships the wiring for the common ones — each just tells the agent: when you see garbled Hebrew, run agi.mjs and use the output.

Agent Reads
Claude Code SKILL.md (auto-discovered in ~/.claude/skills/)
OpenAI Codex & other AGENTS.md agents AGENTS.md
Cursor .cursor/rules/agi.mdc
Gemini CLI GEMINI.md

Same one-file engine underneath. Bringing your own agent? Point it at node scripts/agi.mjs "<text>".

How it works

A single dependency-free Node script holds the QWERTY ↔ Hebrew physical-key table and remaps each Hebrew character back to the English key it sits on. The mapping lives in exactly one place — the EN_TO_HE table in scripts/agi.mjs — and the Hebrew→English inverse is derived from it automatically.

Want another source layout (Russian ЙЦУКЕН, Arabic, Greek…)? Add a sibling table and invert it the same way. PRs welcome.

License

MIT

Real AGI. Ships today. Works in Hebrew.

About

AGI — Agent Gibberish Interceptor. Un-scrambles Hebrew-keyboard-layout gibberish back into what you meant (פודי → push). Works with any coding agent. No, not that AGI.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages