neural-conductor-shared
Shared protocol and types for Neural Conductor
Overview
neural-conductor-shared provides the communication protocol between the Neural Conductor server and remote agents. It defines:
- Protocol Messages - Request/Response types for RPC communication
- Session Management - Session types and lifecycle management
- Message Framing - Serialization and versioning for network messages
- Agent Info - Agent identification and metadata
Architecture
Neural Conductor is a multi-agent orchestration platform with three components:
- Server (private) - Orchestrates agents and manages sessions
- Agent (public) - Runs on remote machines and executes commands
- Shared (this crate) - Communication protocol used by both
Usage
Agent Information
use AgentInfo;
let agent = AgentInfo ;
Protocol Messages
use ;
use SessionId;
// Server sends request
let request = ExecuteCommand ;
// Agent responds
let response = CommandResult ;
Message Framing
use Message;
use Request;
let msg = new;
let json = msg.to_json?;
// Send over network...
let received: = from_json?;
Status
🚧 Early Development - This crate defines the initial protocol. The API may change as we develop the conductor platform.
Part of Neural Garage 🧠🔧
This crate is part of the Neural Garage suite.
Related crates:
- neural-conductor-agent - Agent runtime for remote execution
- neural-conductor-server (private) - Orchestration server
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.