kernex-core 0.9.0

Core types, traits, config, and error handling for Kernex
Documentation

kernex-core

Foundation types, traits, and error handling for the Kernex AI agent runtime.

This crate is the dependency-free root of the workspace. It defines:

  • Provider and HookRunner traits — the integration points every other crate builds on
  • Context, Request, Response, CompletionMeta — the shared message types
  • KernexError — the unified error enum
  • PermissionRules — declarative tool allow/deny patterns
  • GuardrailRunner — pre/post-message safety hooks
  • Built-in helpers for sanitization, pricing tables, and UTF-8 boundary handling

You usually do not depend on kernex-core directly. Pull in kernex-runtime (or the kernex umbrella) and its public surface re-exports what you need.

Documentation

License

Apache-2.0 OR MIT.