Support custom payload fields in the agentcore dev Web UI

Open
#1,957 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
Quiet
Tech stack
typescript
Domain
frontend

Research direction

Start by tracing the agentcore dev Web UI request flow and compare it with the /invocations payload described in the issue. Add an optional JSON context editor alongside the prompt, and verify that submitted custom fields reach the agent while existing session ID and prompt behavior still works.

Written by the indexing model from the issue text.

Description

enhancement
Description

Thanks for building AgentCore — it’s been really helpful for developing and running AI agents.

The agentcore dev Web UI currently seems to support only a session ID and prompt.

It would be useful to also provide custom request context. For example:

{
  "prompt": "Why did this change?",
  "context": {
    "current_menu": "sales_forecast",
    "reference_date": "2026-08-01"
  }
}

In real applications, agents often need request-specific context such as the current page/menu, reference date, selected item, or filters. This context can change between requests, so a session ID alone is not enough.

Currently, this can be tested by calling /invocations directly, but not through the dev Web UI.

Would it be possible to add an optional JSON payload/context editor to the agentcore dev Web UI?

Thanks again for all the work on AgentCore!

Acceptance Criteria
  • The agentcore dev Web UI allows users to provide additional custom JSON fields alongside the prompt.
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.