A local-first AI chat client implemented for Nuwa AI that enables users to create, share, and interact with Caps.
Caps (i.e. capability) are mini-apps in Nuwa AI, the minimium functional AI unit. Cap is designed to be an abstraction of AI models and agents. Currently it is the composation of Prompt, Model and MCP Servers.
- Decentralized Identity: You control your data with DID-based authentication, fully anonymous
- Crypto Payment: Use cryptos to pay for your day-to-day AI
- Data Portability: Export and migrate your data anywhere
- Shadcn UI: Clean, responsive design with dark/light theme support
- No MCP Configuration: MCPs use DID authentication directly, eliminates the need for user to config
We're excited to announce the Nuwa Client Beta! This release includes:
- β Core CAP creation and publishing functionality
- β Web3 wallet integration
- β Decentralized identity system
- β MCP server integration
- β Payment system
- Framerwork: React 19, TypeScript, Vite
- Styling: Tailwind CSS + Shadcn UI
- State Management: Zustand with persistence
- Database: Dexie (IndexedDB) for local storage
- Identity: DID from @nuwa-ai/identity-kit
- Payment: Payment Channel from @nuwa-ai/payment-kit
- Cap Integration: Cap integration from @nuwa-ai/cap-kit
- Code Quality: Biome for linting and formatting
- Node.js 18+
- pnpm (recommended package manager)
# Clone the repository
git clone https://github.com/nuwa-protocol/nuwa-client.git
cd nuwa-client
# Install dependencies
pnpm install
# Start development server
pnpm devVisit http://localhost:5173 to start using Nuwa Client.
src/
βββ features/ # Feature-based modules
β βββ auth/ # Authentication
β βββ chat/ # Chat functionality
β βββ cap-studio/ # CAP creation interface
β βββ cap-store/ # CAP marketplace
β βββ settings/ # User preferences
β βββ sidebar/ # Navigation
β βββ wallet/ # Web3 integration
βββ shared/ # Shared utilities and components
βββ pages/ # Route components
βββ layout/ # Layout components
Each feature follows a consistent structure:
components- React componentshooks- Custom React hooksstores- Zustand state managementservices- Backend logicstypes- TypeScript definitions
This project is licensed under the Apache-2.0 License - see the LICENSE file for details.
We welcome contributions! Please see our Contributing Guide for details on how to get started.
- Documentation: docs.nuwa.dev
- Issues: GitHub Issues
- Community: Discord
- Email: haichao@nuwa.dev
- Cap Inline UI Support
- Cap Artifacts UI Support
- Multi-Modal Input Support
- Desktop App with Tauri
Built with β€οΈ by the Nuwa team
Ready to experience the future of AI chat? Try Nuwa Client Beta today!
