A modern, interactive web application that provides a comprehensive environment for exploring, testing, and interacting with the Polkadot ecosystem through AI-powered agents. The playground combines natural language chat interfaces, developer tools, and blockchain operations in a single unified experience.
- Node.js 22+ and pnpm (or npm/yarn)
- For Ollama: Local Ollama installation and running service
- For OpenAI: Valid OpenAI API key
- For Google GenAI: Valid Google API key
- Polkadot Account: Private key for blockchain operations
git clone <your-repo-url>
cd polkadot-agent-kit/apps/playgroundpnpm installCreate a .env.local file in the playground directory:
# Optional: Set default values or API keys
NEXT_PUBLIC_DEFAULT_LLM_PROVIDER=ollama
NEXT_PUBLIC_OLLAMA_BASE_URL=http://localhost:11434Note: API keys for LLM providers are stored securely in browser localStorage, not in environment variables.
pnpm run devThe application will be available at http://localhost:3000
Contributions are welcome! Areas for improvement:
- Additional LLM provider support
- Enhanced error messages and user feedback
- More developer tools and utilities
- Improved mobile experience
- Additional documentation and examples
Apache-2.0
- Polkadot Agent Kit SDK Documentation
- LangChain Documentation
- Next.js Documentation
- Zustand Documentation
- Radix UI Documentation
For issues, questions, or contributions:
- GitHub Issues: Report bugs and request features
- Documentation: Check main README and package documentation
- Examples: Review Telegram Bot and MCP Server examples
For more details, explore the source code in the respective directories.