rig-resources 0.1.1

Reusable skills, tools, behavior patterns, and resource adapters for rig-compose agents.
Documentation

rig-resources

CI Crates.io docs.rs License: MIT OR Apache-2.0 MSRV

Reusable resource primitives for rig-compose agents: skills, tools, behavior-pattern registries, baseline stores, and optional graph resources.

rig-compose stays the small kernel. rig-resources is where reusable implementations live so downstream agents do not have to reimplement them.

Install

[dependencies]
rig-compose   = "0.1"
rig-resources = "0.1"

Features

Feature Default Pulls in Enables
security security::* namespace (credential, exfil, lateral, recon).
graph petgraph GraphStore, InMemoryGraph, GraphTool, GraphExpansionSkill.
full both above Convenience umbrella enabling security + graph.

What you get

  • Baselines. BaselineStore + InMemoryBaselineStore, EntityBaseline, and the BaselineCompareTool / BaselineCompareSkill pair for "is this value within k·σ of the rolling mean?" decisions.
  • Behavior patterns. BehaviorPattern, BehaviorPatternSkill, BehaviorRegistry, PatternId, PatternRule for declarative pattern routing on top of rig-compose's skill surface.
  • Pivots. MemoryPivotSkill for cross-store pivots reusable across agents.
  • Graph (optional). GraphStore, InMemoryGraph, GraphEdge, Subgraph, GraphTool, GraphExpansionSkill, GraphExpansionConfig, GraphError — a transport-agnostic graph resource backed by petgraph in-process.
  • Security (optional). Namespaced security primitives gated behind the security feature.

Rust version

The crate targets Rust 1.88 (edition 2024). MSRV bumps follow the Rig contributing policy and ship as a feat!: change.

License

Dual-licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.