Skip to main content

Crate matrixcode_core

Crate matrixcode_core 

Source
Expand description

MatrixCode Core - Agent Logic, No UI

This crate contains only Agent core logic, no UI handling. All outputs are structured AgentEvent, UI layer renders them.

Re-exports§

pub use event::AgentEvent;
pub use event::EventCollector;
pub use event::EventData;
pub use event::EventType;
pub use agent::Agent;
pub use agent::AgentBuilder;
pub use config::Config;
pub use session::Session;
pub use session::SessionManager;
pub use providers::Provider;
pub use providers::Message;
pub use providers::MessageContent;
pub use providers::ContentBlock;
pub use providers::Role;
pub use providers::ChatRequest;
pub use providers::ChatResponse;
pub use providers::anthropic::AnthropicProvider;
pub use debug::DebugLog;
pub use debug::DebugStats;
pub use debug::debug_log;

Modules§

agent
Agent Core - Full Event-driven Implementation
approval
Approval gate: interactive confirmation before executing mutating or dangerous tools.
cancel
compress
config
Configuration loading for matrixcode.
debug
Debug logging for MatrixCode operations
event
MatrixCode Event Protocol
memory
Auto Memory system for MatrixCode.
models
overview
Project overview generation and caching.
prompt
providers
session
skills
Skill discovery and loading.
tools
workspace
Workspace root enforcement for filesystem-touching tools.

Macros§

debug_api
Convenience macros
debug_compress
debug_keywords
debug_log_msg
debug_memory
debug_session
debug_tool

Constants§

VERSION
Core version