This video shows how to kickstart a simple Rust programming project with AI, following the best practices I've been sharing on this channel.
It works by using the power of the AIPACK runtime. I started putting my best practices into a pro/Rust10x AI Pack that can be used with the pro/coder AI Pack (
# Install AIPACK
cargo install aipack
# Install the Pro coder & rust10x packs
aip install pro@coder
aip install pro@rust10x
Then, in your project folder you do:
aip run pro@coder
This will create a .aipack/.prompt/pro@coder/coder-prompt.md
Which will be your coder prompt.
Then, in the top toml code block you can replace it with this:
```toml
#!meta - parametric agent block
knowledge_globs = ["pro@rust10x/guide/base/**/*.md"]
base_dir = ""
context_globs = ["Cargo.toml", "src/**/*.rs"]
model_aliases = {pro = "claude-3-7-sonnet-latest", gpro = "gemini-2.5-pro-exp-03-25", high = "o3-mini-high", low = "o3-mini-low", cheap = "gpt-4o-mini", fast = "gemini-2.0-flash"}
write_mode = true
model = "flash"
```
And then, you can follow the demo.
Obviously, you can have your own best practices. Everything is open source, even those pro packs. You can find the pro packs at:
https://github.com/aipack-ai/packs-pro
You can make your own pack with
aip pack path/to/agent-folder/
More on this later. Comments and like if you want to seem more of those type of content.
Until next time, happy coding!
Share this post