ryo-app
Status: preview. Reader API stable, Writer API experimental. Part of the ryo workspace — AST-centric Rust programming for AI agents.
Application layer for ryo: project management (in-memory AST collection
with I/O), Intent / Goal (user-intention representation with JSON
Schema for LLM integration), Api (the external interface for CLI / UI /
Agent), and a Storage trait for dependency injection.
Install
Optional features: schemars (JSON Schema derive), fuzzy-parser
(LLM-typo repair via ryo-fuzzy-parser), literal-search (full-text via
tantivy).
Quickstart
use ;
let mut project = from_dir?;
let storage = Boxnew;
let mut api = new;
let goal = new;
let result = api.execute?;
API Summary
| Item | Purpose |
|---|---|
Api |
External interface (executor + storage DI) |
Project |
In-memory AST file collection with I/O |
Intent / Goal |
User intention types (JSON-schema-able) |
Storage trait + InMemoryStorage / FileUuidStorage |
Persistence DI |
Planner / PlanError |
Goal planning |
DiscoverService / SpecService |
Reader-side facades |
Format / TxLogMode (re-exported from ryo-storage) |
Storage formats |
Status
Preview. Reader-side APIs (DiscoverService, SpecService, queries)
are considered stable for v0.1.0. Writer-side APIs (Api::execute against
mutation goals) depend on the experimental
ryo-executor and may evolve.
License
Licensed under either of Apache-2.0 or MIT at your option.