MCPcopy Create free account
hub / github.com/agenticsorg/lean-agentic / new

Method new

runtime/src/orchestration.rs:36–38  ·  view source on GitHub ↗

Create new agent reference

(id: u64, sender: MailboxSender<T>)

Source from the content-addressed store, hash-verified

34impl<T: Send> AgentRef<T> {
35 /// Create new agent reference
36 pub fn new(id: u64, sender: MailboxSender<T>) -> Self {
37 Self { id, sender }
38 }
39
40 /// Send message to agent
41 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected