devsper-core
Core types, traits, and shared primitives for the devsper distributed AI runtime.
All other devsper-* crates depend on this crate — it defines the contracts that make them composable.
What's in here
| Item | Description |
|---|---|
RunId |
Unique identifier for a workflow run |
NodeId |
Unique identifier for a task node in a DAG |
NodeStatus |
Lifecycle state: Pending → Ready → Running → Completed / Failed |
GraphSnapshot |
Point-in-time view of all nodes and their statuses |
LlmRequest / LlmResponse |
Request/response types for LLM completions |
BusMessage |
Envelope for all inter-component events |
ToolDef / ToolCall / ToolResult |
Tool use primitives |
LlmProvider |
Async trait for LLM backends |
Bus |
Async trait for message bus backends |
MemoryStore |
Async trait for memory backends |
MemoryHit |
Semantic search result |
Usage
[]
= "0.1"
use ;
let run = new;
let node = from_label;
let req = LlmRequest ;
License
GPL-3.0-or-later — see repository.