AI Friend
<h1>AI Friend</h1><div>AI Friend is an immersive intelligence module for Foundry Virtual Tabletop. Leveraging Google Vertex AI (Gemini models), it provides a dynamic, "in-universe" chat experience that reacts to your game's context, history, and specific journal entries.</div><div>Whether it’s a ship’s computer, a magical grimoire, or a cyberpunk hacked line, AI Friend makes your NPCs and interface come alive.</div><h2><span style="font-size: 1.5rem;">🚀 Key Features</span></h2><h2><a href="https://foundryvtt.com/packages/smartphone-widget" target="_blank" rel="noopener noreferrer" class="text-cyan-400 hover:underline" style="color: oklch(0.789 0.154 211.53); font-size: 14px;">📱 Smartphone Widget Integration</a></h2><h2><span style="color: rgb(255, 255, 255); font-size: 14px;">Take immersion to the next level. When both modules are installed, AI Friend automatically installs a dedicated AI Chat Bot App inside the virtual smartphone.</span></h2><div>In-World Tech: Players can open their smartphone widget and chat with the AI just like a modern messaging app.<br>Seamless Sync: Conversations flow between the standalone window and the smartphone app.<br>Pocket Companion: Perfect for Cyberpunk Red, Shadowrun, or modern settings where players need a digital assistant on the go.</div><h2>🛠️ Configuration & Setup
</h2><div>1. Prerequisites
</div><div>You must have a Google Cloud Project with the Vertex AI API enabled. You will need:
</div><div>Project ID
</div><div>API Key
</div><div>Location (Region)
</div><div>2. Module Settings
</div><div>Once installed, go to Configure Settings > Module Settings > AI Friend:
</div><div>Enter your GCP Project ID, API Key, and Location.
</div><div>(https://www.google.com/search?q=Optional) Select your preferred Gemini Model ID (default: gemini-2.5-pro).
</div><div>Click Access Control to select which players can use the AI.
</div><div>3. Personality Configuration
</div><div>Open the AI Friend window (Robot Icon in Token Controls) and click the Cog icon (GM Only).
</div><div>Designation: Name your AI (e.g., M.I.R.A.).
</div><div>Tone: Set the attitude (e.g., "Cynical, Analytical").
</div><div>World Context: Drag Journal Entries into the "Linked Database" area. The AI will read these to learn about your world.
</div><div>Core Directives: Write a system prompt to define the AI's role.
</div><h2>🧠 Memory & Storage
</h2><div>The module uses a dedicated Item (default name: "M.I.R.A") in your world to store all data.
</div><div>Flags: Personality settings, conversation history, and memory logs are stored as flags on this item.
</div><div>Consolidation: You can manually "consolidate" the current chat into long-term memory using the Brain icon in the header.
</div><div>Interface Overview</div><div><br></div><h2>🧩 Module Settings</h2><div>1. Enter your GCP Project ID, API Key, and Location.
</div><div>2. (Optional) Select your preferred Gemini Model ID (default: `gemini-2.5-pro`).
</div><div>3. **Access Control:** Select which players can use the AI.</div><div><br></div>
Premium
Details anzeigen →