Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(core): move binary targets from openhuman-core to openhuman-cli

Steven Enamakelb2de5a8d364e
diff --git a/crates/openhuman-core/src/bin/README.md b/crates/openhuman-cli/src/bin/README.md
similarity index 100%
rename from crates/openhuman-core/src/bin/README.md
rename to crates/openhuman-cli/src/bin/README.md
diff --git a/crates/openhuman-core/src/bin/fleet.rs b/crates/openhuman-cli/src/bin/fleet.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/fleet.rs
rename to crates/openhuman-cli/src/bin/fleet.rs
diff --git a/crates/openhuman-core/src/bin/fleet_tests.rs b/crates/openhuman-cli/src/bin/fleet_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/fleet_tests.rs
rename to crates/openhuman-cli/src/bin/fleet_tests.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/harness.rs b/crates/openhuman-cli/src/bin/library_profile/harness.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/harness.rs
rename to crates/openhuman-cli/src/bin/library_profile/harness.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/main.rs b/crates/openhuman-cli/src/bin/library_profile/main.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/main.rs
rename to crates/openhuman-cli/src/bin/library_profile/main.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/mock.rs b/crates/openhuman-cli/src/bin/library_profile/mock.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/mock.rs
rename to crates/openhuman-cli/src/bin/library_profile/mock.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/scenarios/agent_turn.rs b/crates/openhuman-cli/src/bin/library_profile/scenarios/agent_turn.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/scenarios/agent_turn.rs
rename to crates/openhuman-cli/src/bin/library_profile/scenarios/agent_turn.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/scenarios/fleet.rs b/crates/openhuman-cli/src/bin/library_profile/scenarios/fleet.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/scenarios/fleet.rs
rename to crates/openhuman-cli/src/bin/library_profile/scenarios/fleet.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/scenarios/fleet_tests.rs b/crates/openhuman-cli/src/bin/library_profile/scenarios/fleet_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/scenarios/fleet_tests.rs
rename to crates/openhuman-cli/src/bin/library_profile/scenarios/fleet_tests.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/scenarios/long_agent.rs b/crates/openhuman-cli/src/bin/library_profile/scenarios/long_agent.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/scenarios/long_agent.rs
rename to crates/openhuman-cli/src/bin/library_profile/scenarios/long_agent.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/scenarios/mod.rs b/crates/openhuman-cli/src/bin/library_profile/scenarios/mod.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/scenarios/mod.rs
rename to crates/openhuman-cli/src/bin/library_profile/scenarios/mod.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/scenarios/skill_run.rs b/crates/openhuman-cli/src/bin/library_profile/scenarios/skill_run.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/scenarios/skill_run.rs
rename to crates/openhuman-cli/src/bin/library_profile/scenarios/skill_run.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/scenarios/subagent_storm.rs b/crates/openhuman-cli/src/bin/library_profile/scenarios/subagent_storm.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/scenarios/subagent_storm.rs
rename to crates/openhuman-cli/src/bin/library_profile/scenarios/subagent_storm.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/scenarios/subagent_storm_tests.rs b/crates/openhuman-cli/src/bin/library_profile/scenarios/subagent_storm_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/scenarios/subagent_storm_tests.rs
rename to crates/openhuman-cli/src/bin/library_profile/scenarios/subagent_storm_tests.rs
diff --git a/crates/openhuman-core/src/bin/library_profile/scenarios/workflow.rs b/crates/openhuman-cli/src/bin/library_profile/scenarios/workflow.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/library_profile/scenarios/workflow.rs
rename to crates/openhuman-cli/src/bin/library_profile/scenarios/workflow.rs
diff --git a/crates/openhuman-core/src/bin/rss_bench.rs b/crates/openhuman-cli/src/bin/rss_bench.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/rss_bench.rs
rename to crates/openhuman-cli/src/bin/rss_bench.rs
diff --git a/crates/openhuman-core/src/bin/rss_bench_tests.rs b/crates/openhuman-cli/src/bin/rss_bench_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/rss_bench_tests.rs
rename to crates/openhuman-cli/src/bin/rss_bench_tests.rs
diff --git a/crates/openhuman-core/src/bin/test_mcp_stub.rs b/crates/openhuman-cli/src/bin/test_mcp_stub.rs
similarity index 100%
rename from crates/openhuman-core/src/bin/test_mcp_stub.rs
rename to crates/openhuman-cli/src/bin/test_mcp_stub.rs
diff --git a/crates/openhuman-core/src/main.rs b/crates/openhuman-cli/src/main.rs
similarity index 100%
rename from crates/openhuman-core/src/main.rs
rename to crates/openhuman-cli/src/main.rs
diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.toml
index 9071603e3f..49c2a18fa5 100644
--- a/crates/openhuman-core/Cargo.toml
+++ b/crates/openhuman-core/Cargo.toml
@@ -50,274 +50,6 @@ autobenches = false
[package.metadata.cargo-machete]
ignored = []
-[[bin]]
-name = "openhuman-core"
-path = "src/main.rs"
-
-[[bin]]
-name = "test-mcp-stub"
-path = "src/bin/test_mcp_stub.rs"
-
-[[bin]]
-name = "openhuman-fleet"
-path = "src/bin/fleet.rs"
-# The fleet supervisor embeds the axum control-plane server, so it only builds
-# with the HTTP transport compiled in (#5048). Under `--no-default-features`
-# (no `http-server`) this target is skipped rather than failing to link.
-required-features = ["http-server", "bin-tools"]
-
-# Embedded-RSS benchmark harness (#5046). Gated behind the default-OFF
-# `rss-bench` feature so no benchmark code enters the shipped build. Build with
-# `cargo build --release --features rss-bench --bin rss-bench`.
-#
-# It survives the engine removal because it never measured the engine: it builds
-# an `Agent` roster over its own in-file `NoopMemory` and samples RSS, and its
-# own doc comment explains that it hand-rolls that store rather than asking the
-# factory, because `create_memory(backend = "none")` never returned a no-op
-# backend. What the feature used to name the engine crates for was two
-# `library-profile` *scenarios* — see that target's comment below; the binary
-# itself is still here.
-[[bin]]
-name = "rss-bench"
-path = "src/bin/rss_bench.rs"
-required-features = ["rss-bench"]
-
-# Stateful library profiling workloads (real sub-agent delegation, flows graphs
-# and skill runs under a hermetic mock provider). Local/dev only, and the
-# subject of every script in `scripts/profile/`.
-#
-# Two of its scenarios are gone with the in-process engine: `memory-ingest`
-# drained the memory queue and `cold-phases` checkpointed the engine bootstrap
-# through `tinymemory_core::store::MemoryClient`. The other six never named an
-# engine symbol, which is why this binary survives rather than going with them.
-[[bin]]
-name = "library-profile"
-path = "src/bin/library_profile/main.rs"
-required-features = ["rss-bench"]
-
-# ── Integration tests that need a PRODUCT gate ──────────────────────────────
-#
-# `[features] default` is the contributor set and no longer turns on `voice`,
-# `web3`, `crash-reporting` or `inference`. These four `tests/` targets name
-# symbols that only exist behind those gates, so without a `required-features`
-# line a bare `cargo test` fails to COMPILE — not skip, fail — and the failure
-# is in a file the contributor did not touch.
-#
-# `required-features` makes cargo skip the target instead, which is the honest
-# outcome: the test exercises a domain that build does not contain. The CI
-# product lanes pass `--features "$(scripts/ci/product-features.sh)"`, so every
-# one of these still runs there, against the code that ships.
-#
-# Autodiscovery stays on for the other ~59 `tests/*.rs` targets; declaring a
-# target explicitly only opts THAT file out of it.
-#
-# This replaces the per-symbol `#[cfg]` cleanup tracked in #5021 for these four
-# files. #5021 is still the right fix for symbols named in the middle of an
-# otherwise gate-free target — required-features is the blunt instrument, and
-# it costs the whole target when the gate is off.
-[[test]]
-name = "observability_smoke"
-path = "../../tests/observability_smoke.rs"
-# The `is_*_event` Sentry filters are all `#[cfg(feature = "crash-reporting")]`.
-required-features = ["crash-reporting"]
-
-[[test]]
-name = "x402_twit_sh_live"
-path = "../../tests/x402_twit_sh_live.rs"
-# `x402::tools::X402RequestTool` — the x402 domain is part of the web3 family.
-required-features = ["web3"]
-
-[[test]]
-name = "json_rpc_e2e"
-path = "../../tests/json_rpc_e2e.rs"
-# `voice::reply_speech::{test_seam, TEST_SEAM_ENV}` — the reply-speech seam
-# only exists in the real voice module, not the stub.
-required-features = ["voice"]
-
-[[test]]
-name = "raw_coverage_all"
-path = "../../tests/raw_coverage_all.rs"
-# The merged raw-coverage target spans ~76 former files, so it reaches the
-# widest surface of any single target: `lettre` (pulled in through the voice
-# gate's `tinychannels/email`) and the local inference download service.
-required-features = ["voice", "inference"]
-
-[[test]]
-name = "agent_approval_memory_coverage_e2e"
-path = "../../tests/agent_approval_memory_coverage_e2e.rs"
-
-[[test]]
-name = "agent_builder_public"
-path = "../../tests/agent_builder_public.rs"
-
-[[test]]
-name = "agent_harness_e2e"
-path = "../../tests/agent_harness_e2e.rs"
-
-[[test]]
-name = "agent_prompt_comprehension_e2e"
-path = "../../tests/agent_prompt_comprehension_e2e.rs"
-
-[[test]]
-name = "agent_harness_public"
-path = "../../tests/agent_harness_public.rs"
-
-[[test]]
-name = "agent_multimodal_public"
-path = "../../tests/agent_multimodal_public.rs"
-
-[[test]]
-name = "agent_turn_overrides_e2e"
-path = "../../tests/agent_turn_overrides_e2e.rs"
-
-[[test]]
-name = "calendar_grounding_e2e"
-path = "../../tests/calendar_grounding_e2e.rs"
-
-[[test]]
-name = "channels_host_boundary_e2e"
-path = "../../tests/channels_host_boundary_e2e.rs"
-
-[[test]]
-name = "cli_model_overrides_e2e"
-path = "../../tests/cli_model_overrides_e2e.rs"
-
-[[test]]
-name = "cli_sigpipe"
-path = "../../tests/cli_sigpipe.rs"
-
-[[test]]
-name = "composio_list_tools_stack_overflow_regression"
-path = "../../tests/composio_list_tools_stack_overflow_regression.rs"
-
-[[test]]
-name = "composio_post_oauth_retry_e2e"
-path = "../../tests/composio_post_oauth_retry_e2e.rs"
-
-[[test]]
-name = "config_auth_app_state_connectivity_e2e"
-path = "../../tests/config_auth_app_state_connectivity_e2e.rs"
-
-[[test]]
-name = "cwd_jail_e2e"
-path = "../../tests/cwd_jail_e2e.rs"
-
-[[test]]
-name = "domain_modules_e2e"
-path = "../../tests/domain_modules_e2e.rs"
-
-[[test]]
-name = "embeddings_rpc_e2e"
-path = "../../tests/embeddings_rpc_e2e.rs"
-
-[[test]]
-name = "inference_provider_e2e"
-path = "../../tests/inference_provider_e2e.rs"
-
-[[test]]
-name = "keyring_secretstore_e2e"
-path = "../../tests/keyring_secretstore_e2e.rs"
-
-[[test]]
-name = "keyring_secretstore_fresh_e2e"
-path = "../../tests/keyring_secretstore_fresh_e2e.rs"
-
-[[test]]
-name = "learning_phase4_integration_test"
-path = "../../tests/learning_phase4_integration_test.rs"
-
-[[test]]
-name = "linux_cef_deb_runtime_e2e"
-path = "../../tests/linux_cef_deb_runtime_e2e.rs"
-
-[[test]]
-name = "live_flows_demo_e2e"
-path = "../../tests/live_flows_demo_e2e.rs"
-
-[[test]]
-name = "live_routing_e2e"
-path = "../../tests/live_routing_e2e.rs"
-
-[[test]]
-name = "mcp_registry_e2e"
-path = "../../tests/mcp_registry_e2e.rs"
-
-[[test]]
-name = "mcp_registry_multi_server"
-path = "../../tests/mcp_registry_multi_server.rs"
-
-[[test]]
-name = "mcp_setup_e2e"
-path = "../../tests/mcp_setup_e2e.rs"
-
-[[test]]
-name = "mcp_stdio_integration"
-path = "../../tests/mcp_stdio_integration.rs"
-
-[[test]]
-name = "memory_roundtrip_e2e"
-path = "../../tests/memory_roundtrip_e2e.rs"
-
-[[test]]
-name = "memory_sources_e2e"
-path = "../../tests/memory_sources_e2e.rs"
-
-[[test]]
-name = "observability_wallet_expected_e2e"
-path = "../../tests/observability_wallet_expected_e2e.rs"
-
-[[test]]
-name = "ollama_lifecycle_e2e"
-path = "../../tests/ollama_lifecycle_e2e.rs"
-
-[[test]]
-name = "orchestrator_parallel_fanout_routing"
-path = "../../tests/orchestrator_parallel_fanout_routing.rs"
-
-[[test]]
-name = "orchestrator_presentation_wiring"
-path = "../../tests/orchestrator_presentation_wiring.rs"
-
-[[test]]
-name = "skill_registry_e2e"
-path = "../../tests/skill_registry_e2e.rs"
-
-[[test]]
-name = "skills_mcp_registry_live"
-path = "../../tests/skills_mcp_registry_live.rs"
-
-[[test]]
-name = "transcript_search_e2e"
-path = "../../tests/transcript_search_e2e.rs"
-
-[[test]]
-name = "web_cancel_request_scoping"
-path = "../../tests/web_cancel_request_scoping.rs"
-
-[[test]]
-name = "worker_b_domain_e2e"
-path = "../../tests/worker_b_domain_e2e.rs"
-
-[[test]]
-name = "worker_c_modules_e2e"
-path = "../../tests/worker_c_modules_e2e.rs"
-
-[[example]]
-name = "embed_headless"
-path = "../../examples/embed_headless.rs"
-
-[[example]]
-name = "embed_kernel"
-path = "../../examples/embed_kernel.rs"
-
-[[example]]
-name = "run_memory_doctor"
-path = "../../examples/run_memory_doctor.rs"
-
-[[example]]
-name = "run_memory_reconcile"
-path = "../../examples/run_memory_reconcile.rs"
-
[lib]
name = "openhuman_core"
path = "src/lib.rs"
@@ -1487,7 +1219,6 @@ file-logging = ["dep:tracing-appender", "dep:tracing-log"]
scheduler-gate = ["dep:starship-battery"]
-bin-tools = ["dep:clap", "dep:env_logger"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)'] }