tinyagents 0.1.0

A Rust LLM orchestration library inspired by LangChain and LangGraph.
Documentation

Build #3720006 2026-06-29 15:20:26

# rustc version rustc 1.98.0-nightly (df6ee909e 2026-06-28)

# docs.rs version docsrs 0.0.0 (886bc7a22b1adc4b387ce1343447fe3af98d9ce5 2026-06-14 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "f41823d07febe36a5ac69ce3dd8424eef5599b319f7f7df015452562666f36d2" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260628-1.98.0-nightly-df6ee909e\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: agent_loop_tools, basic_graph, durable_graph, openai_chat, openai_graph_agent, openai_self_blueprint, openai_structured, openai_tools, rag_blueprint [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting tinyagents v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: public documentation for `builder` links to private item `types` [INFO] [stderr] --> src/graph/builder/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for the builder data types. `compile` validates the topology [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: public documentation for `checkpoint` links to private item `types` [INFO] [stderr] --> src/graph/checkpoint/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for the checkpoint record definitions. Checkpoints are written [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `command` links to private item `types` [INFO] [stderr] --> src/graph/command/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for the definitions. [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `legacy` links to private item `types` [INFO] [stderr] --> src/graph/legacy/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for the data definitions. This module provides the original [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `reducer` links to private item `types` [INFO] [stderr] --> src/graph/reducer/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for the trait and marker definitions. [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `status` links to private item `types` [INFO] [stderr] --> src/graph/status/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for the [`GraphRunStatus`] definition. [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `stream` links to private item `types` [INFO] [stderr] --> src/graph/stream/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for the event and stream-mode definitions. The executor emits [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `subgraph` links to private item `types` [INFO] [stderr] --> src/graph/subgraph/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for the conceptual overview. The functions here wrap a [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `context` links to private item `types` [INFO] [stderr] --> src/harness/context/mod.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | //! See [`types`] for the field-level definitions. [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `OpenAiEmbeddingModel` [INFO] [stderr] --> src/harness/embeddings/mod.rs:15:42 [INFO] [stderr] | [INFO] [stderr] 15 | //! With the `openai` feature enabled, [`OpenAiEmbeddingModel`] adds a hosted [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no item named `OpenAiEmbeddingModel` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `EventId` [INFO] [stderr] --> src/harness/events/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | //! [`EventId`] with the raw event. [INFO] [stderr] | ^^^^^^^ no item named `EventId` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `EventId` [INFO] [stderr] --> src/harness/events/mod.rs:56:49 [INFO] [stderr] | [INFO] [stderr] 56 | /// Emits an event, assigning a monotonic [`EventId`] and offset, then [INFO] [stderr] | ^^^^^^^ no item named `EventId` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `ids` links to private item `types` [INFO] [stderr] --> src/harness/ids/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for the type definitions. This module provides the shared [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `memory` links to private item `types` [INFO] [stderr] --> src/harness/memory/mod.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | //! See [`types`] for the definitions. [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `message` links to private item `types` [INFO] [stderr] --> src/harness/message/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for definitions. This module provides ergonomic constructors, [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `middleware` links to private item `types` [INFO] [stderr] --> src/harness/middleware/mod.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | //! - [`types`] holds every public type (the [`Middleware`] trait, [`AgentRun`], [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `model` links to private item `types` [INFO] [stderr] --> src/harness/model/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for definitions. This module provides builder methods on [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `ModelRequest` [INFO] [stderr] --> src/harness/prompt/types.rs:67:19 [INFO] [stderr] | [INFO] [stderr] 67 | /// Assembles a [`ModelRequest`] while tracking prompt-cache segments. [INFO] [stderr] | ^^^^^^^^^^^^ no item named `ModelRequest` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `ChatModel::invoke` [INFO] [stderr] --> src/harness/providers/types.rs:80:24 [INFO] [stderr] | [INFO] [stderr] 80 | /// internally calls [`ChatModel::invoke`] and then splits the response text [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no item named `ChatModel` in scope [INFO] [stderr] [INFO] [stderr] warning: public documentation for `runtime` links to private item `types` [INFO] [stderr] --> src/harness/runtime/mod.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | //! - [`types`] holds the public type definitions ([`RunPolicy`] and [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `ModelRequest` [INFO] [stderr] --> src/harness/structured/mod.rs:17:42 [INFO] [stderr] | [INFO] [stderr] 17 | //! [`ResponseFormat`] to include in a [`ModelRequest`], then call [INFO] [stderr] | ^^^^^^^^^^^^ no item named `ModelRequest` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `ModelResponse` [INFO] [stderr] --> src/harness/structured/types.rs:55:46 [INFO] [stderr] | [INFO] [stderr] 55 | /// Extracts a [`StructuredOutput`] from a [`ModelResponse`] using the [INFO] [stderr] | ^^^^^^^^^^^^^ no item named `ModelResponse` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `extract` links to private item `StructuredExtractor::schema_name` [INFO] [stderr] --> src/harness/structured/mod.rs:113:13 [INFO] [stderr] | [INFO] [stderr] 113 | /// [`StructuredExtractor::schema_name`] and returns its `arguments` as [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `ModelRequest` [INFO] [stderr] --> src/harness/structured/mod.rs:176:54 [INFO] [stderr] | [INFO] [stderr] 176 | /// tool with the given `name` and `schema` in the [`ModelRequest`]; the [INFO] [stderr] | ^^^^^^^^^^^^ no item named `ModelRequest` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `subagent` links to private item `types` [INFO] [stderr] --> src/harness/subagent/mod.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | //! - [`types`] holds the public type definitions. [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `estimate_tokens` [INFO] [stderr] --> src/harness/summarization/types.rs:19:31 [INFO] [stderr] | [INFO] [stderr] 19 | /// The value is derived by [`estimate_tokens`] and should be treated as an [INFO] [stderr] | ^^^^^^^^^^^^^^^ no item named `estimate_tokens` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `tool` links to private item `types` [INFO] [stderr] --> src/harness/tool/mod.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | //! See [`types`] for definitions. This module provides constructors and the [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/harness/memory/mod.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | //! harness [`Store`][crate::harness::store::Store] itself; the [`MemoryScope`] [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 8 - //! harness [`Store`][crate::harness::store::Store] itself; the [`MemoryScope`] [INFO] [stderr] 8 + //! harness [`Store`] itself; the [`MemoryScope`] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/harness/steering/mod.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | //! [`RunContext`][crate::harness::context::RunContext] via [INFO] [stderr] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 9 - //! [`RunContext`][crate::harness::context::RunContext] via [INFO] [stderr] 9 + //! [`RunContext`] via [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tinyagents` (lib doc) generated 29 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.74s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/tinyagents/index.html [INFO] running `Command { std: "docker" "inspect" "f41823d07febe36a5ac69ce3dd8424eef5599b319f7f7df015452562666f36d2", kill_on_drop: false }`