rust_llm_cli 2.1.1

Generators for rust_llm in Loco + Inertia + React apps: install, chat_ui, tool, agent, schema, provider, upgrade.
Documentation

rust_llm_cli

The rust-llm CLI sets up rust_llm in a Loco + Inertia + React app and generates a chat UI, tools, agents, and schemas.

cargo install rust_llm_cli
rust-llm generate install        # deps, migration, initializer, Chat/Message models
rust-llm generate chat_ui        # Inertia + React chat pages, controllers, a Loco worker
rust-llm generate tool Weather   # src/tools/weather_tool.rs + React tool call/result components
rust-llm generate agent Support  # src/agents/support.rs + src/prompts/support/instructions.txt
rust-llm generate schema Product
rust-llm generate provider NAME
rust-llm generate upgrade

MIT licensed. Ports the Rails generators of Carmine Paolino's RubyLLM; see LICENSE.