solve it.
- Prefer explicit error handling and user-visible fallback states over silent failure.
## Frontend Rules
- Preserve the established UI patterns in `src/components` and existing Radix/MUI/Tailwind usage in the touched
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
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
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
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
useAgent frontend - agent guide
**useAgent** is an open-source agent platform: autonomous engineers running
in isolated cloud sandboxes. The canonical UI kit is `components/base/**` (BoardUI-derived,
licensed and vendored) plus
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
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
/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