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 app/src/components/settings/panels/ToolsPanel.tsx,app/src/utils/toolDefinitions
Steven Enamakel3829b0bdebaf
diff --git a/app/src/components/settings/panels/ToolsPanel.tsx b/app/src/components/settings/panels/ToolsPanel.tsxindex d02f8588ec..dea82ef5b7 100644--- a/app/src/components/settings/panels/ToolsPanel.tsx+++ b/app/src/components/settings/panels/ToolsPanel.tsx@@ -2,7 +2,6 @@ import {AlarmClock,Brain,Calendar,- Eraser,FileInput,FilePen,GitBranch,@@ -11,7 +10,6 @@ import {type LucideIcon,MousePointerClick,Network,- Save,Search,SquareTerminal,Wrench,@@ -46,9 +44,7 @@ const TOOL_ICONS: Record<string, LucideIcon> = {browser: MousePointerClick,http_request: Network,web_search: Search,- memory_store: Save,- memory_recall: Brain,- memory_forget: Eraser,+ memory: Brain,cron: AlarmClock,schedule: Calendar,};diff --git a/app/src/utils/toolDefinitions.ts b/app/src/utils/toolDefinitions.tsindex 3e236ef80e..bd02c12baf 100644--- a/app/src/utils/toolDefinitions.ts+++ b/app/src/utils/toolDefinitions.ts@@ -52,7 +52,7 @@ export const TOOL_CATALOG: ToolDefinition[] = [description: 'Create or modify files on disk.',category: 'Files',defaultEnabled: true,- rustToolNames: ['file_write', 'update_memory_md'],+ rustToolNames: ['file_write'],},// Vision@@ -101,28 +101,12 @@ export const TOOL_CATALOG: ToolDefinition[] = [// Memory{- id: 'memory_store',- displayName: 'Store Memory',- description: 'Save information for later recall.',+ id: 'memory',+ displayName: 'Memory',+ description: 'Recall, search, learn and forget long-term memory.',category: 'Memory',defaultEnabled: true,- rustToolNames: ['memory_store'],- },- {- id: 'memory_recall',- displayName: 'Recall Memory',- description: 'Retrieve previously stored information.',- category: 'Memory',- defaultEnabled: true,- rustToolNames: ['memory_recall'],- },- {- id: 'memory_forget',- displayName: 'Forget Memory',- description: 'Remove stored information.',- category: 'Memory',- defaultEnabled: true,- rustToolNames: ['memory_forget'],+ rustToolNames: ['memory'],},// Automationdiff --git a/crates/openhuman-embed/tests/runtime_agents.rs b/crates/openhuman-embed/tests/runtime_agents.rsindex 256b744e5c..31c543cbe6 100644--- a/crates/openhuman-embed/tests/runtime_agents.rs+++ b/crates/openhuman-embed/tests/runtime_agents.rs@@ -13,8 +13,8 @@ mod common;use common::{chat_completion, offline_config, runtime, stub_backend};use openhuman_embed::{- Access, AgentDefinitionSpec, AgentError, AgentSpec, HostTurnTools, Provider, Runtime,- SandboxModeSpec, ToolScopeSpec, Workspace,+ Access, AgentDefinitionSpec, AgentError, AgentSpec, HostTurnTools, MemoryBinding, Provider,+ Runtime, SandboxModeSpec, ToolScopeSpec, Workspace,};use wiremock::matchers::{header, method, path};use wiremock::{Mock, ResponseTemplate};@@ -520,6 +520,31 @@ fn one_runtime_hosts_independently_configured_agents() {.expect_err("widening the runtime");assert!(matches!(err, AgentError::WidensRuntime(_)), "{err:?}");+ // A memory binding gives an agent memory of its own: its turns+ // are logged under the bound id, below the bound root. An+ // unbound agent keeps the runtime's defaults.+ let bound = runtime+ .agent(+ AgentSpec::new("employee")+ .memory(MemoryBinding::new("employee-7").root("team:acme")),+ )+ .expect("a bound agent instantiates");+ assert_eq!(bound.config().memory.agent_id.as_deref(), Some("employee-7"));+ assert_eq!(bound.config().memory.root.as_deref(), Some("team:acme"));+ assert_eq!(beta.config().memory.agent_id, None);+ let err = runtime+ .agent(+ AgentSpec::new("misbound")+ .memory(MemoryBinding::new("x").root("not a namespace")),+ )+ .expect_err("an invalid memory root");+ assert!(matches!(err, AgentError::Invalid(_)), "{err:?}");+ let err = runtime+ .agent(AgentSpec::new("unnamed").memory(MemoryBinding::new(" ")))+ .expect_err("a blank memory agent id");+ assert!(matches!(err, AgentError::Invalid(_)), "{err:?}");+ drop(bound);+// Dropping every handle releases the id.drop(withholding_agent);drop(gamma);