Skip to content

duolingo/rtk

 
 

Repository files navigation

rtk

rtk is a Rust CLI proxy that filters noisy command output before it reaches an LLM.

Scope of this fork

This fork keeps output filtering and hook integrations, and removes:

  • OpenClaw integration
  • outbound telemetry
  • outbound telemetry/call-home behavior; local rtk gain stats remain local-only

Install

Cargo

cargo install --git https://github.com/duolingo/rtk

Quick start

# Install hooks
rtk init -g

# Use filtered commands
rtk git status
rtk cargo test
rtk grep "error" .

Core commands

  • Files: rtk ls, rtk tree, rtk read, rtk find, rtk grep, rtk diff
  • Dev tools: rtk cargo, rtk npm, rtk pnpm, rtk vitest, rtk pytest, rtk go test
  • Git/GitHub: rtk git, rtk gh, rtk gt
  • Infra: rtk aws, rtk docker, rtk kubectl
  • Passthrough: rtk proxy <cmd...>

Privacy

rtk in this fork does not send telemetry. Local rtk gain stats are stored only on disk and are never uploaded by RTK.

Documentation

  • Installation: INSTALL.md
  • Troubleshooting: docs/TROUBLESHOOTING.md
  • Architecture: docs/contributing/ARCHITECTURE.md

About

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 91.5%
  • Shell 6.4%
  • TypeScript 1.7%
  • Other 0.4%