Decision Workspace
mofa-extra vs grain-script-boa vs grain-script-rhai
Side-by-side comparison of Rust crates
46
mofa-extra
experimentalv0.1.1
MoFA Extra modules including Rhai scripting support
47
grain-script-boa
experimentalv0.0.1-beta3
Boa-based JavaScript scripting layer for grain-agent. Loads user `.js` files from disk, runs them in an isolated boa_engine::Context owned by a dedicated worker thread, and exposes registered tools to the agent through the `grain_ai_agent_headless::Extension` trait.
47
grain-script-rhai
experimentalv0.0.1-beta3
Rhai-based scripting layer for grain-agent. Loads user `.rhai` files from disk, executes them in a shared sync-mode `rhai::Engine`, and exposes the tools they register to the agent. Sibling to `grain-script-boa` — both surfaces emit `Vec<Arc<dyn AgentTool>>` and a host crate (e.g. the TUI) can mix them however it likes.
Core Metrics
| mofa-extra | grain-script-boa | grain-script-rhai | |
|---|---|---|---|
| Health Score | 46 | 47 | 47 |
| Total Downloads | 1.0K | 238 | 133 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 7 | 3 |
| Releases | 2 | 3 | 3 |
| Last Updated | 231d ago | 137d ago | 137d ago |
| Age | 7m | 4m | 4m |
Health Breakdown
mofa-extra
Maintenance
8
Quality
14
Community
7
Popularity
4
Documentation
13
grain-script-boa
Maintenance
12
Quality
12
Community
7
Popularity
3
Documentation
13
grain-script-rhai
Maintenance
12
Quality
12
Community
7
Popularity
3
Documentation
13
Technical Details
| mofa-extra | grain-script-boa | grain-script-rhai | |
|---|---|---|---|
| Version | 0.1.1 | 0.0.1-beta3 | 0.0.1-beta3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT | MIT |
| Dependencies | 11 | 10 | 10 |
| Crate Size | 29KB | 25KB | 19KB |
| Features | 2 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •grain-script-boa leads with a health score of 47/100, but none of the options score above 80.
- •mofa-extra has the most downloads (1.0K), suggesting wider adoption.