Expressive Language RAG - tinyhumansai/tinyagents GitHub Wiki
Expressive Language (.rag) — removed
The .rag declarative blueprint language and its crate, tinyagents-language,
no longer exist on tinyagents main. They were removed in commit
70396946
("Remove Rhai and declarative language surfaces"). The unused
tinyagents-tracing crate was removed separately in
94eda345.
This page is kept only so old links resolve; the lexer, parser, compiler,
Blueprint and CapabilityResolver it used to describe are gone.
What to use instead
- Build graphs in Rust. Construct a graph with
GraphBuilderand run it with the Graph Runtime. - Export a graph's shape.
tinyagents_graph::exportprojects a built or compiled graph to aGraphTopology, withto_json,from_jsonandto_mermaidhelpers. - Refer to capabilities by name.
CapabilityRegistryin the Registry registers models, tools, agent definitions and capability bundles under names, with aliases and diagnostics.Graphentries in the registry are name-only descriptors. - Describe agents declaratively.
tinyagents-definitionprovidesAgentDefinition(identity, preferred model, delegates, tool names) and theDefinitionRegistrytrait;CapabilityRegistryimplements that trait.