Описание
ucws-hackathon-agent
README

UCWS Singapore Hackathon 2026 Agent Track submission.
This is not a shopping chatbot. It is a social shopping operator that turns intent into a saved shortlist and an approval-gated community post.
GenPark Social Shopping Agent turns a shopping intent into an executable social-shopping workflow: it parses budget and needs, searches a product catalog, ranks candidates, saves a shortlist, drafts a Circle social handoff, and waits for explicit confirmation before any publishing side effect.
Judge Quick Start
- Submission brief: SUBMISSION.md
- Demo screenshot: docs/demo-screenshot.png
- Local demo:
npm install,npm run dev, openhttp://localhost:3000 - Best demo prompt is prefilled in the UI
Why This Is An Agent
- Goal-directed workflow: shopping need -> shortlist -> saved collection -> approval-gated Circle handoff.
- Tool use: search, ranking, collection persistence, Circle draft handoff, and optional publishing webhook.
- Memory: the Vercel demo keeps per-session pending approvals, collections, posts, and traces in serverless memory.
- Safety: the community post remains a draft until
confirm post; missing Circle publishing setup returnsdrafted_requires_setupinstead of fake success. - Evaluability: every response includes the plan, tool calls, products, constraints, draft, pending action, run id, observations, decision log, safety checks, next actions, and self-evaluation score.
Demo Flow
Use this prompt:
Find a work-from-home gift under $220 and draft a Circle post asking friends to choose.
Expected behavior:
- The agent extracts the budget.
- It searches and ranks products.
- It saves the top candidates to the demo collection.
- It drafts a Circle post.
- It waits for
confirm postbefore any publish attempt. - It exposes an operator audit with observations, decisions, safety checks, and the next best action.
If no Circle publishing webhook is configured, the confirmed handoff is saved as an approved draft with drafted_requires_setup. This is intentional: the project does not claim a real side effect happened unless it did.
Run Locally
npm install
npm run dev
Open http://localhost:3000.
For API-only usage:
curl -X POST http://localhost:3000/api/chat \
-H "Content-Type: application/json" \
-d '{"user_id":"demo","session_id":"demo-1","message":"Recommend smart home products under $160 and draft a Circle post"}'
Deploy On Vercel
- Import
https://github.com/Alpha-Park/ucws-hackathon-agentinto Vercel. - Keep the framework preset as
Next.js. - Use the default install command
npm install. - Use the default build command
npm run build. - Deploy. Vercel will produce the public demo URL.
Optional environment variable:
GENPARK_CIRCLE_WEBHOOK_URL: if provided, approved Circle drafts are sent to that webhook. Without it, the demo records approved drafts without faking a publish.
API Response Shape
POST /api/chat returns:
answer: human-readable agent responseplan: ordered workflow stepstool_calls: auditable tool traceproducts: ranked product shortlistcollection: saved items for the userdraft_post: proposed Circle postpending_action: action requiring user confirmationnext_action: next instruction for the userscorecard: self-evaluation of run completeness and safetysafety_checks: approval gates and no-fake-side-effect checksdecision_log: why the agent chose its top actions
Architecture
flowchart LR
UI["Next.js UI"] --> API["/api/chat Route Handler"]
API --> Agent["Agent Workflow"]
Agent --> Catalog["Product Catalog + Ranker"]
Agent --> Store["Serverless Memory Store"]
Agent --> Circle["Approval-Gated Circle Webhook"]
Agent --> Audit["Self-Evaluation + Safety Checks"]
The deterministic workflow powers the hackathon demo so judges can run the product without private API keys. The hosted demo is optimized for public Vercel deployment; production persistence should use a database such as Vercel Postgres, Neon, Supabase, or Upstash.
Project Structure
app/
page.jsx Next.js UI
api/chat/route.js Agent API endpoint
api/collection/route.js Collection endpoint
api/health/route.js Runtime health endpoint
lib/
agent.js Shopping-agent workflow orchestration
agentIntelligence.js Objective, audit, safety, scorecard, next actions
catalog.js Intent parsing, budget inference, ranking
products.js Deterministic demo catalog
store.js Serverless in-memory sessions and traces
toolRegistry.js Public tool contracts and side-effect policy
tests/
agent.test.mjs Workflow tests
Tech Stack
- Next.js
- React
- Vercel
- JavaScript
- API Routes
- Serverless
- Agent Workflow
- Tool Registry
- Approval Gates
Tests
npm test
npm run build
Current Limitations
- Product data is a deterministic local catalog for reproducible judging.
- Hosted demo memory can reset on serverless cold starts; production should use a durable database.
- Circle handoff is demo-safe by default: it drafts and records the approved post, while optional publishing uses
GENPARK_CIRCLE_WEBHOOK_URL. - Image attachment for Circle drafts is not implemented yet.
- For production, replace the catalog with a real GenPark API/search index and move auth behind a proper user session.
Установка Ucws Hackathon Agent
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Alpha-Park/ucws-hackathon-agentFAQ
Ucws Hackathon Agent MCP бесплатный?
Да, Ucws Hackathon Agent MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Ucws Hackathon Agent?
Нет, Ucws Hackathon Agent работает без API-ключей и переменных окружения.
Ucws Hackathon Agent — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Ucws Hackathon Agent в Claude Desktop, Claude Code или Cursor?
Открой Ucws Hackathon Agent на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
автор: S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
Compare Ucws Hackathon Agent with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
