Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
fef8e70
agentic memory integration with agent framework (#4331)
dhrubo-os Oct 22, 2025
66860ab
support remote store for agentic memory
ylwu-amzn Oct 20, 2025
c13a7af
auto create connector
ylwu-amzn Oct 22, 2025
39bd765
auto create embedding model in remote store
ylwu-amzn Oct 23, 2025
f0d2be1
fix bulk load bug
ylwu-amzn Oct 23, 2025
ee60d16
fix connector header for remote store
ylwu-amzn Oct 23, 2025
80ec214
support ingest/search pipeline when create memory container
ylwu-amzn Oct 24, 2025
c369aec
Revert "agentic memory integration with agent framework (#4331)"
ylwu-amzn Oct 24, 2025
10d822b
refactor memory interface
ylwu-amzn Oct 24, 2025
b2f5354
agentic conversation memory
ylwu-amzn Oct 25, 2025
94d97e7
fix remote store issues
ylwu-amzn Oct 25, 2025
14b2206
extending memory refactoring to PER agent (#4348)
dhrubo-os Oct 25, 2025
c5ad5c3
Merge agent-revamp into feature/memory as a single commit
pyek-bot Oct 29, 2025
4aef03d
create internal connector in memory container
ylwu-amzn Oct 29, 2025
9a9a358
fix: support old style agent register + new style register
pyek-bot Oct 30, 2025
df354b8
fix: memory working with agent
pyek-bot Oct 30, 2025
d66e924
support memory container id in execute agent request
ylwu-amzn Nov 1, 2025
bb47787
[Feature branch] Introduce hook and context management to OpenSearch …
mingshl Nov 5, 2025
40c84e9
fix per body template for new execute api (per only supports text inp…
pyek-bot Nov 5, 2025
82f3444
added multi-tenancy to the add memory and search memory action
dhrubo-os Nov 5, 2025
22e5ce4
added client.search instead of sdkclient for collection index
dhrubo-os Nov 5, 2025
d3bdf82
adding tenancy to the create session
dhrubo-os Nov 5, 2025
2729763
Allow context management inline create in register agent without stor…
mingshl Nov 6, 2025
51d5b47
execute PER agent with multi-tenancy
dhrubo-os Nov 6, 2025
e57a4cd
add tenant id when encrypt
ylwu-amzn Nov 6, 2025
68361cb
add tenant id to connector
ylwu-amzn Nov 6, 2025
ffc38b0
add tenant id for get model method
ylwu-amzn Nov 6, 2025
a7ffb02
remote conversation memory with REST call (#4406)
b4sjoo Nov 7, 2025
d06bc8d
not stashing context if index is not system index (#4407)
dhrubo-os Nov 8, 2025
bc60a50
Update the POST_TOOL hook emit saving to agentic memory (#4408)
mingshl Nov 10, 2025
addda96
wrap remote agent memory config into an object to avoid override (#4411)
b4sjoo Nov 10, 2025
20eb9bc
Fix 403 during execute connector (#4414)
b4sjoo Nov 12, 2025
df74b51
init max step summary
PauiC Sep 22, 2025
0381e05
fix:recover build.gradle
PauiC Sep 22, 2025
4916119
add:increase test coverage
PauiC Sep 23, 2025
d762e15
fix:spotlessApply
PauiC Sep 23, 2025
8a52d92
fix:use traceTensor
PauiC Sep 23, 2025
f0ed0a5
fix:String.format()
PauiC Sep 23, 2025
a06f300
fix:String.format()
PauiC Sep 23, 2025
d6a0733
fix:reuse sendTraditionalMaxIterationsResponse method
PauiC Sep 23, 2025
ea708b2
fix:remove useless comment
PauiC Sep 23, 2025
74349e3
fix: delete stop
PauiC Oct 10, 2025
4afcd85
fix: refactor
PauiC Oct 10, 2025
6061352
fix: json serialization
PauiC Oct 10, 2025
52c949e
fix: parameter
PauiC Oct 13, 2025
becdad7
delete:summarize_when_max_iteration
PauiC Oct 29, 2025
2095651
fix: unit test
PauiC Oct 29, 2025
46a332e
fix: summary message
PauiC Oct 29, 2025
ac7390a
fix: summary prompt
PauiC Oct 29, 2025
fce546f
fix: configuration file
PauiC Oct 30, 2025
6795f7a
add: planner max step summary
PauiC Oct 30, 2025
4815ab4
fix: system prompt
PauiC Oct 31, 2025
ab38b1f
fix: parseLLMOutput
PauiC Nov 4, 2025
68ba5d4
add: test cases
PauiC Nov 4, 2025
691efee
add: test cases for fallback
PauiC Nov 6, 2025
1234209
fix:spotlessApply
PauiC Nov 12, 2025
62086c0
fix:recover file
PauiC Nov 13, 2025
e0dc13d
fix:recover file
PauiC Nov 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public class CommonValue {
public static final String TASK_POLLING_JOB_INDEX = ".ml_commons_task_polling_job";
public static final String MCP_SESSION_MANAGEMENT_INDEX = ".plugins-ml-mcp-session-management";
public static final String MCP_TOOLS_INDEX = ".plugins-ml-mcp-tools";
public static final String ML_CONTEXT_MANAGEMENT_TEMPLATES_INDEX = ".plugins-ml-context-management-templates";
// index created in 3.1 to track all ml jobs created via job scheduler
public static final String ML_JOBS_INDEX = ".plugins-ml-jobs";
public static final Set<String> stopWordsIndices = ImmutableSet.of(".plugins-ml-stop-words");
Expand All @@ -76,6 +77,7 @@ public class CommonValue {
public static final String ML_LONG_MEMORY_HISTORY_INDEX_MAPPING_PATH = "index-mappings/ml_memory_long_term_history.json";
public static final String ML_MCP_SESSION_MANAGEMENT_INDEX_MAPPING_PATH = "index-mappings/ml_mcp_session_management.json";
public static final String ML_MCP_TOOLS_INDEX_MAPPING_PATH = "index-mappings/ml_mcp_tools.json";
public static final String ML_CONTEXT_MANAGEMENT_TEMPLATES_INDEX_MAPPING_PATH = "index-mappings/ml_context_management_templates.json";
public static final String ML_JOBS_INDEX_MAPPING_PATH = "index-mappings/ml_jobs.json";
public static final String ML_INDEX_INSIGHT_CONFIG_INDEX_MAPPING_PATH = "index-mappings/ml_index_insight_config.json";
public static final String ML_INDEX_INSIGHT_STORAGE_INDEX_MAPPING_PATH = "index-mappings/ml_index_insight_storage.json";
Expand Down Expand Up @@ -113,6 +115,7 @@ public class CommonValue {
public static final String CLIENT_CONFIG_FIELD = "client_config";
public static final String URL_FIELD = "url";
public static final String HEADERS_FIELD = "headers";
public static final String CONNECTOR_ACTION_FIELD = "connector_action";

// MCP Constants
public static final String MCP_TOOL_NAME_FIELD = "name";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static MLAgentType from(String value) {
try {
return MLAgentType.valueOf(value.toUpperCase(Locale.ROOT));
} catch (Exception e) {
throw new IllegalArgumentException("Wrong Agent type");
throw new IllegalArgumentException(value + " is not a valid Agent Type");
}
}
}
25 changes: 25 additions & 0 deletions common/src/main/java/org/opensearch/ml/common/MLMemoryType.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

package org.opensearch.ml.common;

import java.util.Locale;

public enum MLMemoryType {
CONVERSATION_INDEX,
AGENTIC_MEMORY,
REMOTE_AGENTIC_MEMORY;

public static MLMemoryType from(String value) {
if (value != null) {
try {
return MLMemoryType.valueOf(value.toUpperCase(Locale.ROOT));
} catch (Exception e) {
throw new IllegalArgumentException("Wrong Memory type");
}
}
return null;
}
}
Loading