AI Office React is a standalone front-end project built with Vite and React that runs an HTTP action gateway and provides a minimal demo interface for desk visitors. It exposes HTTP endpoints for actions and includes example curl payloads and environment variable-based configuration.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
AI Office React is a standalone front-end project that runs with Vite + React. It includes a simple UI where clicking the avatar shows a menu, and the UI serves as a reference for styling.
How it works
The project runs a Vite frontend and an HTTP Action Gateway. The default action entry is http://localhost:8765/actions, where external systems can POST actions. The front-end polls to fetch and execute actions. You can override the polling URL using an environment variable. There is a separate command to start the action gateway, and you can modify the gateway port via an environment variable.
Getting started
Run the following commands:
npm install
npm run dev
To specify the frontend polling address:
VITE_OFFICE_HTTP_ACTIONS_URL=http://localhost:8765/actions npm run dev
To start the action gateway separately:
npm run action-gateway
To modify the gateway port:
OFFICE_ACTION_GATEWAY_PORT=8766 npm run action-gateway
Recent releases
- none
Traction
- stars: 56
- forks: 21
- open_issues: 0
Caveats
- license: MIT
- created: 2026-07-13
- last_push: 2026-07-14
- language: TypeScript
- README mentions copyright/素材版权 considerations and shows example HTTP payloads for actions such as desk_visit, desk_visit_tour, and set_state.
