Docs.rs
zapmyco-core-0.1.1
zapmyco-core 0.1.1
Permalink
Docs.rs crate page
MIT
06 August 2026
Links
Repository
crates.io
Source
Owners
shenjingnan
Dependencies
async-trait ^0.1
normal
futures-util ^0.3
normal
serde_json ^1
normal
tokio ^1
normal
zapmyco-anthropic-ai-sdk ^0.3
normal
tokio ^1
dev
wiremock ^0.6
dev
Versions
65.63%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate zapmyco_core
zapmyco_
core
0.1.1
All Items
Sections
zapmyco-core
设计原则
Crate Items
Structs
Enums
Traits
Functions
Crate
zapmyco_
core
Copy item path
Source
Expand description
§
zapmyco-core
AI Agent 运行时的核心抽象层。
§
设计原则
零环境依赖
:不读文件、不写终端、不碰环境变量
依赖注入
:所有外部依赖通过
AgentConfig
传入
事件驱动
:所有输出通过
AgentEvent
流发送
工具即 Trait
:通过
AgentTool
trait 注册,不通过枚举硬编码
Structs
§
Agent
Config
Agent 运行配置
Conversation
Message
一条对话消息
Enums
§
Agent
Error
Agent 核心循环错误
Agent
Event
Agent 核心事件
Message
Block
消息内容块 — 用于表示结构化的工具调用/结果
Role
对话角色
Traits
§
Agent
Tool
Agent 工具定义
Functions
§
agent_
loop
运行 Agent 核心循环