Skip to content

Support managed memory in non-interactive agentcore create harness flow #2014

Open

Description

@nborges-aws

Description

The interactive agentcore create wizard allows users to configure managed memory for a Harness. However, the non-interactive, flag-based create flow does not expose an equivalent option.

This prevents users from automating the same Harness configuration they can create interactively. The current workaround requires creating the project first and then running add harness command separately:

agentcore create --name MyProject --no-agent
cd MyProject
agentcore add harness --name MyHarness --memory-mode managed

Acceptance Criteria

  • agentcore create accepts --memory-mode managed for Harness projects
  • The generated harness.json contains memory.mode: "managed"
  • Managed-memory tuning flags supported by agentcore add harness are also supported by create
  • Memory remains disabled when no memory option is provided
  • --help and command documentation include the new options

Additional Context

No response

Activity

  1. added
    enhancement
    on Aug 17, 2026
  2. Markgugg commented on Nov 30, 2026

    @Markgugg

    Hi, I'd like to pick this up. Plan is to add --memory-mode (plus the managed-memory tuning flags that add harness already supports) to the non-interactive create flow, reusing the add harness validation so the two stay in sync, with tests for harness.json output and the default staying disabled. OK if I take it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions