libtenx

Crates.iolibtenx
lib.rslibtenx
version0.0.4
created_at2024-12-09 23:22:31.434958+00
updated_at2024-12-25 21:32:56.837033+00
descriptionA library for building AI-assisted coding tools, with session management, patch validation, and multiple model support.
homepage
repositoryhttps://github.com/cortesi/tenx
max_upload_size
id1477889
size423,988
Aldo Cortesi (cortesi)

documentation

README

Crates.io Docs License

Tenx

A sharp command-line tool for AI-assisted coding.

cargo install tenx

📘 Tenx Manual

Features

  • AI-assisted code editing and generation.

  • Session-based workflow for organized development.

  • Preflight checks to ensure the project is consistent before prompting.

  • Post-patch checks with automated model feedback and retry on failure.

  • Undo, retry and re-edit steps in the session.

  • Model agnostic - swap models on the fly, mid-conversation.

  • Built-in support for models from OpenAI, Anthropic, DeepInfra, DeepSeek, xAI, Google and Groq, and local models through tools like Ollama.

  • Built on libtenx, a Rust library for building AI-assisted coding tools.

Ethos

  • Built with an uncompromsing focus on expert developers.

  • Rigorous benchmarks to track the performance of our system prompt and interaction protocol against all current models.

  • Stay flexible and refuse to commit deeply to any one model or API.

  • Supports all practically useful models.

Next up

Tenx is currently a (producive) minimal viable product. The next steps are:

  • Improved sessions and session management

  • System prompt customization

  • Git commit dialect to generate commit messages

  • Imrovements to our prompts and dialects, driven by benchmarks

  • Neovim plugin based on libtenx

Related Projects

  • misanthropy - Complete bindings to the Anthropic API. Built with Tenx.
  • ruskel - One-page outlines of Rust crates, used by Tenx to include Rust documentation for prompts. Built with Tenx.
  • aider - Pair programming for your terminal. A coding tool with a very similar structure to Tenx, but much further along. If you're looking for a mature tool, this is the one to try.
Commit count: 894

cargo fmt