{"id":51459612,"url":"https://github.com/vectorleap-pulse/portfolio-research-agent-frontend","last_synced_at":"2026-07-06T04:01:51.712Z","repository":{"id":356743243,"uuid":"1233874629","full_name":"vectorleap-pulse/portfolio-research-agent-frontend","owner":"vectorleap-pulse","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-09T19:49:13.000Z","size":9247,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-09T21:39:40.891Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vectorleap-pulse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-09T13:16:56.000Z","updated_at":"2026-05-09T19:49:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vectorleap-pulse/portfolio-research-agent-frontend","commit_stats":null,"previous_names":["alpha5611331/portfolio-research-agent-frontend","vectorleap-pulse/portfolio-research-agent-frontend"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/vectorleap-pulse/portfolio-research-agent-frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectorleap-pulse%2Fportfolio-research-agent-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectorleap-pulse%2Fportfolio-research-agent-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectorleap-pulse%2Fportfolio-research-agent-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectorleap-pulse%2Fportfolio-research-agent-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vectorleap-pulse","download_url":"https://codeload.github.com/vectorleap-pulse/portfolio-research-agent-frontend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectorleap-pulse%2Fportfolio-research-agent-frontend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35177220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-06T04:01:48.932Z","updated_at":"2026-07-06T04:01:51.704Z","avatar_url":"https://github.com/vectorleap-pulse.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Research Agent - Frontend\n\nNext.js frontend for the [AI Research Command Center](https://github.com/vectorleap-pulse/portfolio-research-agent).\n\n![Demo](images/demo.gif)\n\n## Repositories\n\n|                 | Link                                                                                                |\n| --------------- | --------------------------------------------------------------------------------------------------- |\n| Main            | [portfolio-research-agent](https://github.com/vectorleap-pulse/portfolio-research-agent)                   |\n| Backend         | [portfolio-research-agent-backend](https://github.com/vectorleap-pulse/portfolio-research-agent-backend)   |\n| Frontend (this) | [portfolio-research-agent-frontend](https://github.com/vectorleap-pulse/portfolio-research-agent-frontend) |\n\n## Stack\n\n| Layer      | Technology                  |\n| ---------- | --------------------------- |\n| Framework  | Next.js 16 + React 19       |\n| Language   | TypeScript                  |\n| Styling    | Tailwind CSS v4             |\n| UI         | Radix UI + Lucide React     |\n| Animations | Framer Motion               |\n| State      | Zustand                     |\n| Markdown   | react-markdown + remark-gfm |\n| Dates      | date-fns                    |\n\n## Prerequisites\n\n- Node.js 20+\n- pnpm\n\n## Setup\n\n```bash\npnpm install\ncp .env.example .env.local  # set API URL\n```\n\n## Environment Variables\n\n```env\nVITE_API_URL=http://localhost:8000\nVITE_WS_URL=ws://localhost:8000\n```\n\n## Run\n\n```bash\npnpm dev        # dev server → http://localhost:5173\npnpm build      # production build → dist/\npnpm preview    # preview production build\n```\n\n## UI Layout\n\n```\n┌─────────────────────────────────────────────────────────────────┐\n│  HEADER: logo + provider selector (OpenAI / Groq) + model pick  │\n├─────────────────────────────────────────────────────────────────┤\n│  COMMAND BAR: full-width query input                            │\n├──────────────┬──────────────────────────┬───────────────────────┤\n│  AGENT TRACE │   LIVE LOG STREAM        │   SOURCES PANEL       │\n│  (left 20%)  │   (center 50%)           │   (right 30%)         │\n├──────────────┴──────────────────────────┴───────────────────────┤\n│  REPORT PANEL (expands on REPORT_DONE)                          │\n├─────────────────────────────────────────────────────────────────┤\n│  SESSION HISTORY (bottom drawer)                                │\n└─────────────────────────────────────────────────────────────────┘\n```\n\n## Components\n\n| Component            | Description                                                  |\n| -------------------- | ------------------------------------------------------------ |\n| `CommandBar`       | Full-width query input with animated placeholder             |\n| `ProviderSelector` | OpenAI / Groq + model picker                                 |\n| `AgentTraceTree`   | Animated tree: idle → active → done → error per node      |\n| `LogStream`        | Auto-scrolling terminal log, color-coded by event type       |\n| `SourcesPanel`     | Tabbed by subtopic, source cards with domain badge and score |\n| `ReportViewer`     | Streaming markdown renderer, serif font, section anchors     |\n| `SessionDrawer`    | Slide-up list of past sessions from `/api/sessions`        |\n| `StatusBar`        | Current agent, token count, latency                          |\n\n## State\n\nZustand store `useResearchStore` holds: `session`, `events[]`, `sources[]`, `reportChunks[]`, `agentStatuses{}`.\n\n## Lint\n\n```bash\npnpm lint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvectorleap-pulse%2Fportfolio-research-agent-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvectorleap-pulse%2Fportfolio-research-agent-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvectorleap-pulse%2Fportfolio-research-agent-frontend/lists"}