Support managed memory in non-interactive agentcore create harness flow

Open
#2,014 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
cli

Research direction

Start by comparing the interactive agentcore create flow with the non-interactive agentcore create and agentcore add harness command paths, focusing on the existing memory flags. Verify that create accepts the managed-memory and tuning options, writes the expected harness.json, keeps memory disabled by default, and exposes the options in --help and command documentation.

Written by the indexing model from the issue text.

Description

enhancement
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

Dominant language
TypeScript
Stars
339
Forks
129
Avg merge
19h 21m
Merged PRs (30d)
125

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/agentcore-cli

All issues in aws/agentcore-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.