feat(grid-agent): add embodied behavior controller (#125)
Some checks failed
CI / rust-skia (Rust only) (push) Successful in 2m42s
CI / required (push) Failing after 2m40s

This commit is contained in:
2026-08-18 00:26:24 +00:00
parent 3a0ead7eb5
commit 058ed10005
11 changed files with 2607 additions and 22 deletions

View File

@@ -5,6 +5,7 @@
//! subprocess, provider-SDK, or platform-specific dependency.
pub mod backend;
pub mod behavior;
pub mod config;
pub mod conversation;
pub mod interaction;
@@ -16,6 +17,8 @@ pub mod session;
pub mod tool_loop;
pub mod types;
#[cfg(test)]
mod behavior_tests;
#[cfg(test)]
mod conversation_tests;
#[cfg(test)]
@@ -33,8 +36,15 @@ pub use backend::{
};
#[cfg(feature = "live-grid")]
pub use backend::{
LibremetaverseClientOwner, LibremetaverseInteractionSink, LibremetaverseSessionBackend,
LibremetaverseWorldSnapshotSource,
LibremetaverseClientOwner, LibremetaverseEmbodimentSink, LibremetaverseInteractionSink,
LibremetaverseSessionBackend, LibremetaverseWorldSnapshotSource,
};
pub use behavior::{
AuthorizedBackendRouter, BehaviorBackend, BehaviorController, BehaviorError, BehaviorHandle,
BehaviorIngress, BehaviorMode, BehaviorObservation, BehaviorOutcome, BehaviorPolicyResult,
BehaviorRandom, BehaviorTrigger, CURRENT_POSE_TOOL, EmbodiedPose, EmbodimentFuture,
EmbodimentSink, FACE_AVATAR_TOOL, FACE_POINT_TOOL, LOOK_AROUND_TOOL, SIT_TOOL, STAND_TOOL,
STOP_TOOL, WALK_SHORT_TOOL, behavior_policy_tools,
};
pub use config::{
AgentConfig, BehaviorSettings, ConfigError, ConfigLoader, ConversationSettings, EndpointUrl,
@@ -51,9 +61,10 @@ pub use interaction::{
DeliveryFuture, DeliveryOutcome, ImDialogKind, InboundInteraction, InboundSource,
InteractionChannel, InteractionCoordinator, InteractionDeliveryError, InteractionError,
InteractionHandle, InteractionIngress, InteractionIntent, InteractionModelError,
InteractionObservation, InteractionOrigin, InteractionResponder, InteractionSettings,
InteractionSink, OutboundInteraction, PolicyLlmResponder, ResponderFuture, ResponseRequest,
SuppressionReason, VisibleResponse, split_utf8,
InteractionObservation, InteractionOrigin, InteractionPacingError, InteractionResponder,
InteractionSettings, InteractionSink, OutboundInteraction, PacerFuture, PolicyLlmResponder,
ResponderFuture, ResponsePacer, ResponseRequest, SuppressionReason, VisibleResponse,
split_utf8,
};
pub use llm::{
Completion, CompletionMessage, ContentPart, ImageDetail, LlmClient, LlmError,