Agentic Development
Mistral API Key
Enter your Mistral API key to use Codestral for code generation. Your key is stored locally in your browser.
Get your API key at console.mistral.ai
An AI-powered code generator that uses Mistral’s Codestral model to create React components from natural language descriptions. Generated code runs live in a jiki container with real-time preview and error overlay support. The initial demo renders a marketing website for a fictional analytics product.
Details
- Token-by-token streaming from the Mistral Chat Completions API (OpenAI-compatible) directly in the browser
- JSX is automatically extracted from AI responses and injected into the runtime
- Generated React components render instantly in a sandboxed iframe
- Click elements in the preview to reference them in chat
- Conversation history is stored in IndexedDB across sessions
- The error overlay catches runtime errors; ask the AI to fix them
Explore
- Enter your Mistral API key when prompted (get one at console.mistral.ai)
- The preview starts with a marketing website for “Pulse” — a fictional analytics product
- Describe changes (e.g., “Change the color scheme to purple” or “Add a pricing section with three tiers”)
- Watch the code generate in real-time and the preview update automatically
- Use the inspect button to click elements and reference them for edits
- If an error appears, ask “Fix the error” and the AI will correct the code