Agentflow Playground is a React + Vite frontend for interacting with an AgentFlow backend through the @10xscale/agentflow-client.
- React 19 + Vite 6
- Redux Toolkit + persisted state
- Chat, thread, graph, and state inspection UI
- i18n (English/Hindi)
- Tailwind CSS styling with Radix UI primitives
- Unit tests with Vitest
- Node.js 20+ (recommended 22)
- npm 11+
npm installnpm run devOpen http://localhost:5173 in your browser.
npm run buildnpm run preview- Run tests:
npm run test- Run coverage:
npm run coverage- Run Vitest UI:
npm run test:uinpm run lint
npm run lint:fix
npm run formatsrc/- React app source codesrc/components- reusable UI componentssrc/pages- route pagessrc/services- client wrappers and store logicsrc/hooks- custom hookssrc/lib- shared utilitiespublic/- static assets and translation files
Supported languages are in src/locales/en/translation.json and src/locales/hi/translation.json. The app uses react-i18next with language detection in the browser.
Add project-specific config in .env (if used). Vite supports .env, .env.development, and .env.production.
- Fork the repository
- Create a feature branch
- Open a pull request with a clear description
This README was updated to match the current project structure and npm scripts.