The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed src/openhuman/agent/orchestration/README.md,src/openhuman/agent/orchestration/o
Steven Enamakel96004c717e71
diff --git a/src/openhuman/agent/orchestration/README.md b/src/openhuman/agent/orchestration/README.mdindex 2a0d25e75a..f4e70f26dc 100644--- a/src/openhuman/agent/orchestration/README.md+++ b/src/openhuman/agent/orchestration/README.md@@ -19,12 +19,12 @@ sub-agent loops.The intended canonical operations mirror Codex-style multi-agent controls:- `spawn_agent`: create a child record and run it through `agent::harness::run_subagent`.-- `list_agents`: return child snapshots ordered by creation time.-- `message_agent`: record parent-to-child communication for the orchestration record. Live mid-turn input is not yet injected into the running harness loop.++- `wait_agents`: wait for one or more children to reach a terminal state, optionally with a timeout.-- `close_agent`: close the orchestration record and abort the background run when one exists.-- `resume_agent`: spawn a linked continuation child from an existing child record.-- `follow_up`: spawn a linked child using the prior child result as context unless explicit context is supplied.+++## State Modeldiff --git a/src/openhuman/agent/orchestration/ops_tests.rs b/src/openhuman/agent/orchestration/ops_tests.rsindex beb6b8f7b8..e473ab42de 100644--- a/src/openhuman/agent/orchestration/ops_tests.rs+++ b/src/openhuman/agent/orchestration/ops_tests.rs@@ -262,20 +262,6 @@ fn unit_status_serializes_as_snake_case() {assert_eq!(value, serde_json::json!("completed"));}-#[tokio::test]-async fn unit_message_agent_rejects_empty_parent_reply() {- let session = AgentOrchestrationSession::new("unit-session");- let error = session- .message_agent(MessageAgentRequest {- orchestration_id: "agent-1".to_string(),- content: " ".to_string(),- })- .await- .unwrap_err();-- assert!(matches!(error, OrchestrationError::InvalidMessage));-}-#[tokio::test]async fn e2e_orchestrator_answers_coding_agent_question_and_resumes_child() {AgentDefinitionRegistry::init_global_builtins().unwrap();@@ -316,26 +302,19 @@ async fn e2e_orchestrator_answers_coding_agent_question_and_resumes_child() {.unwrap_or_default().contains("CODE_AGENT_QUESTION"));- let answered_snapshot = session- .message_agent(MessageAgentRequest {- orchestration_id: first.orchestration_id.clone(),- content: "ORCH_ANSWER_USE_RPC: use controller registry, not direct jsonrpc branch"- .to_string(),- })- .await- .expect("orchestrator records answer");- assert_eq!(answered_snapshot.status, AgentStatus::Completed);- assert_eq!(answered_snapshot.messages.len(), 1);- assert!(answered_snapshot.messages[0]- .content- .contains("ORCH_ANSWER_USE_RPC"));-+ // `message_agent`/`follow_up` are gone (superseded by the durable verbs in+ // `command_center::control`). The orchestrator now records its answer by+ // spawning the linked continuation child directly — the same thing+ // `follow_up` did internally.let follow_up = with_parent_context(parent, async {session- .follow_up(FollowUpRequest {- orchestration_id: first.orchestration_id.clone(),+ .spawn_agent(SpawnAgentRequest {+ agent_id: "code_executor".to_string(),prompt: "Continue after the orchestrator answered: ORCH_ANSWER_USE_RPC".to_string(),context: Some("Parent answered: use controller registry".to_string()),+ model: Some("test-model".to_string()),+ parent_agent_id: Some(first.orchestration_id.clone()),+ ..Default::default()}).await})