Skip to content

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

8.9 KB
Raw Blame

RuntimeBuilder setters

Public consuming methods that return Self, extracted from the RuntimeBuilder implementations. Static host and weight presets, inspection methods and build/run methods are excluded.

  • access: pub fn access(mut self, access: Access) -> Self
  • action_dir: pub fn action_dir(mut self, dir: impl Into<PathBuf>) -> Self
  • agent_defaults: pub fn agent_defaults(mut self, defaults: super::AgentDefaults) -> Self
  • api_key: pub fn api_key(mut self, key: impl Into<ApiKey>) -> Self
  • autonomy: pub fn autonomy(mut self, value: openhuman_core::config::schema::AutonomyConfig) -> Self
  • backend_url: pub fn backend_url(mut self, url: impl Into<String>) -> Self
  • boot_mode: pub fn boot_mode(mut self, mode: CoreBootMode) -> Self
  • config: pub fn config(mut self, config: Config) -> Self
  • config_source: pub fn config_source(mut self, source: ConfigSource) -> Self
  • configure_core_extensions: pub fn configure_core_extensions(self, configure: impl FnOnce(&Extensions)) -> Self
  • controller_extension: pub fn controller_extension(mut self, extension: ControllerExtension) -> Self
  • cron: pub fn cron(mut self, value: openhuman_core::config::schema::CronConfig) -> Self
  • cron_delivery: pub fn cron_delivery( mut self, delivery: Arc<dyn openhuman_core::cron::host_delivery::CronDelivery>, ) -> Self
  • cron_job_handler: pub fn cron_job_handler( mut self, kind: crate::cron::JobKind, handler: Arc<dyn crate::cron::JobKindHandler>, ) -> Self
  • defer_services: pub fn defer_services(mut self) -> Self
  • definition_base: pub fn definition_base(mut self, definition: crate::AgentDefinitionSpec) -> Self
  • domains: pub fn domains(mut self, domains: DomainSet) -> Self
  • host_kind: pub fn host_kind(mut self, host_kind: HostKind) -> Self
  • learning: pub fn learning(mut self, value: super::LearningSettings) -> Self
  • listen: pub fn listen(self, host: impl Into<String>, port: u16) -> Self
  • listen_host: pub fn listen_host(mut self, host: impl Into<String>) -> Self
  • listen_port: pub fn listen_port(mut self, port: u16) -> Self
  • live_policy: pub fn live_policy(mut self, policy: Arc<SecurityPolicy>) -> Self
  • max_agents: pub fn max_agents(mut self, limit: usize) -> Self
  • mcp_baseline: pub fn mcp_baseline(mut self, servers: impl IntoIterator<Item = crate::McpServer>) -> Self
  • memory_engine: pub fn memory_engine(mut self, engine: Arc<dyn tinymemory_api::MemoryEngine>) -> Self
  • model_defaults: pub fn model_defaults(mut self, model: super::ModelDefaults) -> Self
  • modules: pub fn modules(mut self, modules: impl IntoIterator<Item = RuntimeModule>) -> Self
  • post_turn_hook: pub fn post_turn_hook(mut self, hook: Arc<dyn LearningSink>) -> Self
  • privacy: pub fn privacy(mut self, value: openhuman_core::config::schema::PrivacyConfig) -> Self
  • provider: pub fn provider(mut self, provider: Provider) -> Self
  • sandbox: pub fn sandbox(mut self, mode: crate::SandboxModeSpec) -> Self
  • secrets: pub fn secrets(mut self, value: openhuman_core::config::schema::SecretsConfig) -> Self
  • server_launcher: pub fn server_launcher(mut self, launcher: ServerLauncher) -> Self
  • services: pub fn services(mut self, services: ServiceSet) -> Self
  • session: pub fn session(mut self, session: Session) -> Self
  • session_store: pub fn session_store(mut self, provider: Arc<dyn SessionStoreProvider>) -> Self
  • skills: pub fn skills(mut self, policy: super::SkillsPolicy) -> Self
  • storage: pub fn storage(mut self, source: impl Into<StorageSource>) -> Self
  • token: pub fn token(mut self, token: TokenSource) -> Self
  • tool_groups: pub fn tool_groups(mut self, tool_groups: ToolGroups) -> Self
  • tool_hook: pub fn tool_hook(mut self, hook: Arc<dyn ToolHook<OpenHumanRunContext>>) -> Self
  • tool_ranker: pub fn tool_ranker(mut self, ranker: Arc<dyn ToolRanker>) -> Self
  • tool_rules: pub fn tool_rules(mut self, value: tinytools::ToolRules) -> Self
  • workspace: pub fn workspace(mut self, workspace: Workspace) -> Self
  • workspace_dir: pub fn workspace_dir(mut self, dir: impl Into<PathBuf>) -> Self