Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
malvin
Installation
Requires Node.js ≥ 22.13 (with npm on PATH). During
cargo install / cargo build, malvin's build script installs the Cursor SDK
(@cursor/sdk) under ~/.malvin_home/sdk-bridges/
(skipped when the repo already has a built in-tree bridge).
Without Node/npm the Rust build fails unless you set MALVIN_SKIP_SDK_BRIDGES=1
(agent backends will not work).
Usage
malvin [OPTION]... [REQUEST]
or: malvin [OPTION]... <COMMAND>
Most of the time, just ask for what you want:
By default malvin prints a full agent stream. For the final answer only:
By default, malvin runs an investigation. The larger or more complex the task, the more helpful this is. You can ask difficult questions or request complex changes somewhat tersely:
and expect good results. For a simple one-shot turn:
You can also pass a request file instead of a string:
That works well in CI or cron. For no stdout at all, use -b:
For example, overnight_logs_alerter.md might tell malvin to scan prod logs and report oddities via Slack. Malvin always writes run logs under ~/.malvin_home/logs (useful for process improvement and as later context).
Flag reference: malvin --help. Behavioral contracts: malvin --doc and malvin <COMMAND> --doc.
Notes
malvin allows all tool calls by default.
Speed
malvin likes to run linters and unit tests. It does its best to only run what's necessary, but these tools can help speed things up:
- [Python] pytest-testmon Runs only unit tests affected by code changes
- [Rust] cargo-nextest Faster than
cargo test - [Rust] cargo-difftests Re-runs only tests whose executed code changed (LLVM coverage indexes)
EXPERIMENTAL - USE AT YOUR OWN RISK
- pi: models (links crates.io
pi_agent_rust; uses the operator’s Pi auth/config) - Codex: models (requires an externally installed
codexbinary; local stdio app-server)