feagi-agent 0.0.1

Client library for building FEAGI agents in Rust
Documentation
1
2
3
4
5
6
7
8
9
use crate::command_and_control::agent_registration_message::RegistrationRequest;
use crate::FeagiAgentError;

pub trait AgentAuth: Send + Sync {
    fn verify_agent_allowed_to_connect(
        &mut self,
        request: &RegistrationRequest,
    ) -> Result<(), FeagiAgentError>; // TODO maybe returna  bool instead?
}