mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
0e5b2189e7
Add a new node/TypeScript-backed AWS Strands showcase integration at showcase/integrations/strands-typescript. Backend: a node/TS agent server (src/agent/) built on @strands-agents/sdk `Agent`/`tool` wrapped in @ag-ui/aws-strands `StrandsAgent` and served via @ag-ui/aws-strands/server (`createStrandsApp`/`addStrandsExpressEndpoint`), modeled on the upstream ag-ui aws-strands TS example server and the langgraph-typescript infra. A single shared agent at "/" serves most demos (tools, shared state via toolBehaviors/stateContextBuilder, HITL, sub-agents), with tool-free specialized agents mounted at /voice, /byoc-hashbrown, /byoc-json-render. model-factory targets OpenAI chat completions and honors OPENAI_API_KEY / OPENAI_BASE_URL so it works behind the showcase aimock proxy. Node-based Dockerfile + entrypoint run the agent server (:8000) alongside the Next.js frontend. Frontend mirrors the strands (Python) sibling's demo set and the langgraph-typescript conventions, with HttpAgent routes proxying to the TS agent server. Scope: base integration + standard demos only. A2UI / declarative-gen-ui / a2ui-fixed-schema is intentionally excluded (no A2UI agents, routes, demos, or deps) and layered on later. Platform wiring (mirrors langgraph-typescript): docker-compose local/dev services on host port 3119, local-ports.json, packages.json, slug-map.ts (born-in-showcase), showcase_build.yml matrix + path filter + metadata, shell-docs/dashboard registries, and a logo asset. The python strands integration is untouched.