Skip to main content

Crate zeph_core

Crate zeph_core 

Source
Expand description

Agent loop, configuration loading, and context builder.

Re-exports§

pub use agent::Agent;
pub use agent::error::AgentError;
pub use agent::session_config::AgentSessionConfig;
pub use agent::session_config::CONTEXT_BUDGET_RESERVE_RATIO;
pub use channel::Attachment;
pub use channel::AttachmentKind;
pub use channel::Channel;
pub use channel::ChannelError;
pub use channel::ChannelMessage;
pub use channel::LoopbackChannel;
pub use channel::LoopbackEvent;
pub use channel::LoopbackHandle;
pub use channel::StopHint;
pub use channel::ToolOutputData;
pub use channel::ToolOutputEvent;
pub use channel::ToolStartData;
pub use channel::ToolStartEvent;
pub use hash::content_hash;
pub use skill_loader::SkillLoaderExecutor;

Modules§

agent
bootstrap
Application bootstrap: config resolution, provider/memory/tool construction.
channel
config
Extension trait for resolving vault secrets into a Config.
config_watcher
context
cost
daemon
Daemon supervisor for component lifecycle management.
debug_dump
Debug dump writer for a single agent session.
hash
http
Shared HTTP client construction for consistent timeout and TLS configuration.
instructions
memory_tools
metrics
orchestration
Re-export zeph-orchestration crate as a module to preserve internal import paths.
overflow_tools
pipeline
project
redact
skill_loader
subagent
Re-export zeph-subagent crate as a module to preserve internal import paths.
text
String utility functions for Unicode-safe text manipulation.
vault

Structs§

Config
Top-level agent configuration.
ContentIsolationConfig
Configuration for the content isolation pipeline, nested under [security.content_isolation] in the agent config file.
ContentSanitizer
Stateless pipeline that sanitizes untrusted content before it enters the LLM context.
ContentSource
Provenance metadata attached to a piece of untrusted content.
DiffData
Data for rendering file diffs in the TUI.
ExfiltrationGuard
Stateless exfiltration guard. All three scanners are independently toggled via config.
ExfiltrationGuardConfig
Configuration for exfiltration guards, nested under [security.exfiltration_guard] in the agent config file.
InjectionFlag
A single detected injection pattern match.
ProviderConfigSnapshot
Minimal config snapshot needed to reconstruct a provider at runtime via /provider <name>.
QuarantineConfig
Configuration for the quarantine summarizer, nested under [security.content_isolation.quarantine] in the agent config file.
SanitizedContent
Result of the sanitization pipeline for a single piece of content.

Enums§

ConfigError
Error type for configuration operations.
ContentSourceKind
All known content source categories.
ExfiltrationEvent
Describes an exfiltration event detected by the guard.
TrustLevel
Trust tier assigned to content entering the agent context.

Functions§

extract_flagged_urls
Extract http/https URLs from content for use in subsequent validate_tool_call checks.