agentlib-utils 0.1.0

Common utilities and event emission systems for the AgentLib framework
Documentation

agentlib-utils

A collection of shared utilities and foundational components used across the AgentLib ecosystem.

Features

  • EventEmitter: A generic, asynchronous event system for internal component communication.
  • Token Estimation: Utilities for estimating token counts of text and conversation history.
  • Common Types: Shared types used by multiple crates to avoid circular dependencies.

Usage

This crate is primarily used as a dependency for other agentlib-* crates, but its EventEmitter can be used to add custom event capability to your own components.