| Crates.io | tofu-llm |
| lib.rs | tofu-llm |
| version | 0.6.0 |
| created_at | 2025-09-13 21:47:25.208662+00 |
| updated_at | 2025-12-30 17:54:23.238364+00 |
| description | A command-line tool for interacting with LLMs |
| homepage | |
| repository | https://github.com/teccdev/tofu |
| max_upload_size | |
| id | 1838151 |
| size | 107,891 |
Interact with AI models from the command line, with support for most major LLM providers and a beautiful terminal interface. User- and dev-friendly.
cargo install tofu-llm
This will automatically install Tofu and make it runnable with tofu. Make sure you have ~/.cargo/bin in your PATH.
You can also build from source if you prefer.
tofu [OPTIONS] [PROMPT]
Tofu works right out of the box via Pollinations, but to use models like GPT and Gemini, you will need to set your API keys using tofu -k.
-v, --verbose: Enable verbose output-h, --help: Print help-V, --version: Print version-c, --config: Open the config file in the default editor-k, --keys: Open the API keys file in the default editor-p <PROFILE>, --profile <PROFILE>: Choose a profile from the config fileClone the repository:
git clone https://github.com/teccdev/tofu.git
cd tofu
Build the project:
cargo build
Test if desired:
cargo test
Run:
cargo run -- --help
Dual-licensed under either of
at your option.
Upon stable (1.0.0) release, this license may change. If changed, former versions will remain under their original license(s). Tofu will stay open-source forever.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.