Standards (Code Change Gate)
**All code must comply with [`docs/COMMENT_STANDARDS.md`](docs/COMMENT_STANDARDS.md). No exceptions.**
## 8. Frontend Standards (Code Change Gate)
**All frontend code must comply with [`docs/FRONTEND_STANDARDS.md`](docs/FRONTEND_STANDARDS.md). No exceptions
32059d agoReviewMountCreate a free account to mount
AGENTS.md — frontend
Scoped agent rules for `frontend/`. Loaded automatically on top of the repo-root [`AGENTS.md`](../AGENTS.md).
**Start at [`README.md`](README.md)** for the stack, prerequisites, common commands, the testing entry
3173mo agoReviewMountCreate a free account to mount
execution engine for coding standards
- **llm** - Large language model integration for AI-powered features
### Frontend
- **frontend** - Shared frontend utilities, hooks, and contexts
- **ui** - Reusable UI components with Chakra
3172mo agoReviewMountCreate a free account to mount
Vite on `:3000` and Express on `:3001`.
- `npm run build` - build the frontend.
- `npm start` - serve the production build through Express.
- `npm run lint` - run ESLint.
- `npx tsc --noEmit
3085mo agoReviewMountCreate a free account to mount
commit hooks
pre-commit run --all-files
```
### Running the Application
Xagent has separate frontend and backend components:
**Backend (Web API):**
```bash
python -m xagent.web.__main__
# Runs on http://localhost
3044mo agoReviewMountCreate a free account to mount
source is auto-generated by the ANARI SDK's CMake helpers:
- `anari_generate_frontend()`: `generated/VisGLObjects.h/cpp`, `VisGLParameter.h`, `VisGLString.h/cpp`, `VisGLDeviceFactories.cpp`
- Input schemas: `visgl_*.json` files in the device root
**Do not hand
2792mo agoReviewMountCreate a free account to mount
/CONTEXT-MAP.md) — bounded contexts and how they relate; each context has its own `CONTEXT.md` glossary ([Frontend](./device/CONTEXT.md), [Render Pipeline](./device/renderer/CONTEXT.md), [World](./device/world/CONTEXT.md), [MDL](./libmdl/CONTEXT.md)). Use these terms in code and docs
2792mo agoReviewMountCreate a free account to mount
test
```
# Architecture
- Next.js 16, Onion Architecture, DDD.
- Paths:
- API routes `src/app/api/`.
- Frontend `src/app/`
- Backend `src/contexts/`.
# Documentation
- Detailed conventions with examples live in `docs/`.
- When working on a task, use this
2784mo agoReviewMountCreate a free account to mount