Live data from Hacker News

T2x – a CLI tool for AI-first text operations

shruggingface.com

11–16 of 16 posts

Re: T2x – a CLI tool for AI-first text operations

#11
post #6

Any plans to integrate with https://openrouter.ai ? that would be sweet

I'm curious, what specifically you're interested in from openrouter? Do they offer specific LLMs, or is it just a great way to kick the tires on new models as they emerge?

The original intention behind t2x was to be "functionality first", and make an opinionated call on which LLMs get used for specific functionality. However I think the way to go will be sane defaults and then allow user-specified models from something like openrouter.

Re: T2x – a CLI tool for AI-first text operations

#12

I wish someone would do something like this but without the preamble like "t2x ask 'bla bla'" All I want to do is talk to my computer, like: "Sort these files" or whatever. Straight away. No noise. And it should have a history of what was done already, so it knows what I'm talking about. If people are concerned about safety, it could just be a 'mode' or an app that isn't a terminal but looks like a terminal.

If you run `ls -la | t2x "sort these files alphabetically"`, it will do the right thing.

However, subcommand like `t2x ask` are used to route you to a different model with different behavior. The ask subcommand currently makes requests to perplexity, where you can ask questions and get near realtime grounding from the world.

Re: T2x – a CLI tool for AI-first text operations

#13
post #3
post #2

heh, I wrote my own dotfile commandline tooling to do most of this already, I wonder if others have done the same

Mine's a Python CLI tool called LLM - https://llm.datasette.io/ - it uses plugins to provide support for 100+ different models: https://llm.datasette.io/en/stable/plugins/directory.html

Simon's LLM tool is probably the best of any of these sorts of things! So thank you for making it, I still use it regularly to kick the tires on new models, and it served as a significant inspiration for the design of t2x.

The idea behind t2x was to make a stripped-down cli with a "functionality first" mindset and remove the actual selection of specific models from the user's flow.

Re: T2x – a CLI tool for AI-first text operations

#14
hi friends!

I'm the author of t2x and shrugginface.com, I'm surprised to see this landed on HN a month after I first shared it.

I originally planned to make it real during the holiday break but got distracted by other projects. This is the inspiration bump I needed, so I'll get back to shipping over the coming weeks

Re: T2x – a CLI tool for AI-first text operations

#15

I wish someone would do something like this but without the preamble like "t2x ask 'bla bla'" All I want to do is talk to my computer, like: "Sort these files" or whatever. Straight away. No noise. And it should have a history of what was done already, so it knows what I'm talking about. If people are concerned about safety, it could just be a 'mode' or an app that isn't a terminal but looks like a terminal.

I use a cli tool 100x/day for misc things; can hit openai or a local llm.

https://github.com/TheR1D/shell_gpt

Has nice shell integration.

Re: T2x – a CLI tool for AI-first text operations

#16

hi friends! I'm the author of t2x and shrugginface.com, I'm surprised to see this landed on HN a month after I first shared it. I originally planned to make it real during the holiday break but got distracted by other projects. This is the inspiration bump I needed, so I'll get back to shipping over the coming weeks

Hope it’s okay I shared it here. Saw it in my RSS reader and figured HN would enjoy it.

Glad to hear it served as inspiration. The video looks promising!

Post reply on HN