Skip to main content

aacode_rs/
lib.rs

1// Copyright (c) 2026 xiefujin <490021684@qq.com>
2// Licensed under GPL-3.0, see LICENSE file for full license terms.
3
4//! # aacode-rs
5//!
6//! A Rust port of the AACode ReAct coding agent, built on top of the
7//! `fastshell` sandbox runtime for mobile (Android/iOS) AI agents.
8//!
9//! Module layout mirrors `design.md` ยง4.
10
11pub mod config;
12pub mod error;
13pub mod stream;
14
15pub mod agent;
16pub mod artifacts;
17pub mod context;
18pub mod llm;
19pub mod mcp;
20pub mod observation;
21pub mod session;
22#[cfg(feature = "pty")]
23pub mod terminal;
24pub mod tools;
25pub mod usage;
26
27pub mod ffi;
28pub mod runtime;
29
30pub use config::AgentConfig;
31pub use error::{AacodeError, Result};
32pub use runtime::AgentRuntime;