Skip to content

Conversation

Hailong-am
Copy link
Contributor

Description

An example usage:

POST /_plugins/_ml/agents/_execute
{
  "agent": {
    "name": "List cluster index",
    "type": "flow",
    "tools": [
      {
        "name": "List cluster index",
        "type": "ListIndexTool",
        "parameters": {}
      }
    ]
  },
  "parameters": {
    "index": "ss4o*"
  }
}

Related Issues

#3998

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Hailong-am Hailong-am changed the title support inline agent for agent execution [Draft]support inline agent for agent execution Jul 21, 2025
@Hailong-am Hailong-am had a problem deploying to ml-commons-cicd-env-require-approval July 30, 2025 07:07 — with GitHub Actions Failure
@Hailong-am Hailong-am had a problem deploying to ml-commons-cicd-env-require-approval July 30, 2025 07:07 — with GitHub Actions Failure
@Hailong-am Hailong-am had a problem deploying to ml-commons-cicd-env-require-approval July 30, 2025 07:07 — with GitHub Actions Failure
@Hailong-am Hailong-am had a problem deploying to ml-commons-cicd-env-require-approval July 30, 2025 07:07 — with GitHub Actions Failure
Signed-off-by: Hailong Cui <ihailong@amazon.com>
Signed-off-by: Hailong Cui <ihailong@amazon.com>
@Hailong-am Hailong-am temporarily deployed to ml-commons-cicd-env-require-approval July 30, 2025 07:14 — with GitHub Actions Inactive
@Hailong-am Hailong-am temporarily deployed to ml-commons-cicd-env-require-approval July 30, 2025 07:14 — with GitHub Actions Inactive
@Hailong-am Hailong-am had a problem deploying to ml-commons-cicd-env-require-approval July 30, 2025 07:14 — with GitHub Actions Failure
@Hailong-am Hailong-am had a problem deploying to ml-commons-cicd-env-require-approval July 30, 2025 07:14 — with GitHub Actions Error
@Hailong-am Hailong-am marked this pull request as ready for review July 30, 2025 07:49
@Hailong-am Hailong-am changed the title [Draft]support inline agent for agent execution Support inline agent for agent execution Jul 30, 2025
@Hailong-am
Copy link
Contributor Author

Build pass locally

./gradlew build 
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 8.11.1
  OS Info               : Linux 5.10.239-216.958.amzn2int.x86_64 (amd64)
  JDK Version           : 21 (Amazon Corretto JDK)
  JAVA_HOME             : /usr/lib/jvm/java-21-amazon-corretto
  Random Testing Seed   : 8DF3B361B927C4A4
  Crypto Standard       : any-supported
=======================================

BUILD SUCCESSFUL in 28m 45s
102 actionable tasks: 7 executed, 95 up-to-date

@dhrubo-os dhrubo-os had a problem deploying to ml-commons-cicd-env-require-approval August 1, 2025 06:07 — with GitHub Actions Failure
@dhrubo-os dhrubo-os had a problem deploying to ml-commons-cicd-env-require-approval August 1, 2025 06:07 — with GitHub Actions Failure
@dhrubo-os dhrubo-os had a problem deploying to ml-commons-cicd-env-require-approval August 1, 2025 06:07 — with GitHub Actions Failure
@dhrubo-os dhrubo-os had a problem deploying to ml-commons-cicd-env-require-approval August 1, 2025 06:07 — with GitHub Actions Failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants