agent-runtime is both an executable binary that can be run, and a library that can be used in Rust programs.

Installing agent_with_tools_demo async_events_demo complex_viz config_demo hello_workflow llama_demo llm_demo mcp_tools_demo mermaid_viz multi_subscriber native_tools_demo nested_workflow production_features_demo step_types_demo workflow_demo executables

Assuming you have Rust/Cargo installed, run this command in a terminal:

cargo install agent-runtime

It will make agent_with_tools_demo async_events_demo complex_viz config_demo hello_workflow llama_demo llm_demo mcp_tools_demo mermaid_viz multi_subscriber native_tools_demo nested_workflow production_features_demo step_types_demo workflow_demo commands available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall agent-runtime uninstalls.

Adding agent_runtime library as a dependency

Run this command in a terminal, in your project's directory:

cargo add agent-runtime

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

agent-runtime = "0.3.0"

The agent_runtime library will be automatically available globally. Read the agent_runtime library documentation.

Back to the crate overview.