# ryo-executor
[](https://crates.io/crates/ryo-executor)
[](https://docs.rs/ryo-executor)
[](#license)
> **Status:** experimental. APIs may change in v0.x.
> Part of the [ryo](https://github.com/ynishi/ryo-rs) workspace —
> AST-centric Rust programming for AI agents.
Mutation execution engine. Provides parallel execution with conflict
detection, in-memory workspace management, and an execution-strategy `Decider`
with lock / tick optimisation.
## Install
```sh
cargo add ryo-executor
```
## Quickstart
```rust,ignore
use ryo_executor::engine::CoreExecutor;
use ryo_mutations::basic::AddField;
let mut executor = CoreExecutor::new();
let mutations: Vec<Box<dyn Mutation>> = vec![Box::new(AddField { /* ... */ })];
let result = executor.execute(mutations, &mut workspace)?;
```
## API Summary
| `engine::CoreExecutor` | Main execution engine with parallel + conflict detection |
| `executor::*` | Blueprint and execution-plan primitives |
| `decider::*` | Policy / strategy for execution ordering |
## Status
**Experimental.** Execution engine APIs and the Decider strategy interfaces
are likely to evolve through v0.x. Production-quality stability is deferred
to v1.0.
## License
Licensed under either of [Apache-2.0](https://github.com/ynishi/ryo-rs/blob/main/LICENSE-APACHE)
or [MIT](https://github.com/ynishi/ryo-rs/blob/main/LICENSE-MIT) at your option.