Skip to main content

ag_ui_e2e/
lib.rs

1//! Cross-crate end-to-end coverage for the AG-UI Rust SDK.
2//!
3//! The per-crate suites prove each half in isolation. This crate proves they
4//! meet: an agent hosted by `ag-ui-server` behind `ag-ui-axum`, driven over
5//! real HTTP by `ag-ui-client`, with nothing mocked between them.
6//!
7//! The live tier lives here too: [`llm`] is an agent backed by a real streaming
8//! model over the OpenAI-compatible `/chat/completions` format, served by the
9//! `llm_agent` example and driven over HTTP by `tests/live_llm.rs`. It reaches
10//! the model with `reqwest` alone, which is what makes it an architecture test
11//! as much as an integration one.
12//!
13//! Nothing here is published.
14#![forbid(unsafe_code)]
15
16// The workspace README's quickstart is compiled here. No published crate can
17// own it: `include_str!("../../README.md")` reaches outside the package
18// directory and would break `cargo package`. This crate is unpublished and
19// already depends on every other one, so it is the natural host — and it makes
20// a stale quickstart a red build instead of a bad first impression.
21#[cfg(doctest)]
22#[doc = include_str!("../../README.md")]
23mod workspace_readme {}
24
25pub mod llm;
26
27// The documentation site's Rust snippets, held to the same standard as the
28// README's. See the module's own docs for why the list of pages is written out.
29mod website;
30
31// The agent skills' Rust snippets, held to the same standard again — and for a
32// sharper reason, since their reader is a model rather than a person.
33mod skills;