Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add a local Developer Web UI (`agentcore web`)

Đang mở
#2,061 7 bình luận 6 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
fastapi, typescript

Hướng nghiên cứu

Bắt đầu bằng cách đọc các entry point hiện có của các lệnh agentcore dev và agentcore invoke, sau đó xem xét prototype đang hoạt động được đề cập trong issue. Đối chiếu lệnh agentcore web được đề xuất, máy chủ FastAPI/SSE, workspace trên trình duyệt, việc quản lý phiên và cơ chế phát hiện agent với các tiêu chí chấp nhận. Được xem là hoàn tất khi lệnh khởi chạy cục bộ và các hành vi được liệt kê về UI, streaming, metrics, xử lý lỗi và tài liệu đều được bao phủ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

Add a local, browser-based Developer Web UI to the AgentCore CLI — a visual counterpart to agentcore dev, similar in spirit to the Google ADK adk web developer UI. It would let developers chat with any agent in their project, hold multiple persistent sessions, and watch tool calls, sub-agent delegation, reasoning, token usage and cost stream live in the browser — no deployment required.

Today the fastest way to exercise an agent locally is the terminal (agentcore dev / agentcore invoke). That's great for quick checks, but it's hard to inspect how a multi-tool, multi-agent run actually behaved: which tools were called, in what order, with what inputs/outputs, which ones failed, and what it cost. A browser UI makes that inspectable at a glance.

Motivation

  • Faster local iteration — pick an agent, chat, and re-run without wiring up scripts.
  • Observability while developing — see the live tool log and a per-response trace instead of scrolling raw stdout.
  • Debuggability — failed tool calls (timeouts, bad SQL, missing columns) are visible with their exact input/output.
  • Cost/perf awareness — latency, in/out tokens, cycles, tool-call count, model id and estimated cost per response.
  • Parity with other agent frameworks — developers coming from Google ADK expect a web dev surface.

Proposed capabilities

A new agentcore web command launches a FastAPI + SSE server on localhost (default port 8502) and opens the browser. Reuses the same local credential resolution as agentcore dev.

Three-pane workspace:

Web UI overview

  • Left — Agents & Sessions: agent picker, plus create/switch/delete of independent chat sessions (each keeps its own history), and a "Clear Agent Cache" action to reload agent code from disk after local edits.
  • Center — Chat & live log: the conversation, with a live tool-call log that expands while a response streams and a "Copy logs" action for bug reports.
  • Right — Trace & Metrics: per-response latency, cost, in/out tokens, cycles, tool-call count, model id, and an expandable ordered tool trace.

Agent selection — every agent in the project (including sub-agents) is selectable:

Agent selection

Live tool logs — each call shows a status icon (success / warning / error) and elapsed time, so failures are obvious mid-run:

Live tool logs

Trace inspection — expand any tool call to see its JSON input/output; SQL-backed tools render the exact SQL that ran:

Input & output SQL executed
Trace input/output SQL trace

Scope / non-goals

  • Local development aid only — binds to localhost, deploys nothing, and changes no AWS resources beyond invoking the developer's own agents.
  • Not a production or hosted dashboard.

Acceptance criteria

  • agentcore web [--port <n>] starts the UI, auto-selecting a free port if the default is busy, and opens the browser.
  • Agents (and sub-agents) in the project are discoverable and selectable.
  • Multiple persistent sessions per agent (create / switch / delete).
  • Live streaming of text, tool calls, and reasoning via SSE.
  • Per-response trace + metrics (latency, tokens, cycles, tool calls, cost, model).
  • Graceful error surfaces when uvicorn is missing.
  • Docs page describing the feature with screenshots.

Happy to contribute the implementation (a working prototype exists on a branch).

Ngôn ngữ chính
TypeScript
Star
291
Fork
96
Merge trung bình
20 giờ 50 phút
Pull request đã merge (30 ngày)
214

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aws/agentcore-cli

Tất cả issue của aws/agentcore-cli

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.