# llmos
Rust boilerplate for an **agent** (trait + types) and a **`llmos` CLI** binary, ready to publish on [crates.io](https://crates.io/).
## Run locally
```bash
cargo run --bin llmos -- run --input "hello"
```
Read from stdin:
```bash
## Library
Use the `Agent` trait and `EchoAgent` from the `llmos` crate, or swap in your own `Agent` implementation.
## Publish to crates.io
1. Create an account on [crates.io](https://crates.io/) and an API token.
2. Run `cargo login` and paste the token.
3. Ensure the package name `llmos` is available (or change `name` in `Cargo.toml`).
4. `cargo publish --dry-run` then `cargo publish`.
After the first publish, docs appear on [docs.rs](https://docs.rs/llmos) automatically.
## License
MIT. See [LICENSE](LICENSE).