Kütüphane / Yapay Zekâ Ajanları ve Asistanlar
Yapay Zekâ Ajanları ve Asistanlar
Design UI screens from chat with Google Stitch, Gemini, Telegram and Sheets
When a chat message arrives, it runs an AI agent with Google Gemini and Perplexity using Chat, Google Sheets, Perplexity, Telegram.
Ne yapar
## 09-05-07 stitch ui design bot with project memory ### How it works - The chat panel and a Telegram bot both feed one normalized pipeline, so the same bot works on either channel. - Empty or tiny messages get a friendly hint right away and never reach the agent. - A Google Sheets store remembers each user; returning visitors get their past request injected back into the prompt so their Stitch project continues naturally. - A Gemini agent drives six Google Stitch MCP tools to create projects, list projects and screens, and generate UI from plain language, with web research available for follow-up facts. - Answers are converted to Telegram-safe HTML for the bot and kept as markdown in the chat panel. - Errors are caught, reported to an admin chat, and written to a log sheet. ### Setup - Create a Google Sheets file with two tabs: ProjectMemory (headers session_id, channel, last_prompt, logged_at) and ErrorLog (headers session_id, error_message, logged_at). - Set the sheet URL in STITCH_PROJECT_MEMO_SHEET and the admin chat id in ADMIN_TELEGRAM_CHAT_ID. - Add an HTTP Header Auth credential with the header X-Goog-Api-Key and your Stitch API key, then attach it to the six MCP tool nodes. - Add Google Gemini, Perplexity, and Telegram bot credentials to their nodes. - Activate the workflow and ask for a screen, for example: build a checkout page for a coffee shop. ### Customization - Change the hint text, or remove the web research tool when search is not needed.
Adımlar
- Chat channel trigger
- Telegram channel trigger
- Normalize incoming message
- Validate request depth
- Load project memory
- Merge context into prompt
- Stitch UI Designer
- Gemini design model
- Per-user conversation memory
- Create project tool
- Get project tool
- List projects tool
- List screens tool
- Get screen tool
Toplam 25 adım.
Benzer otomasyonlar
Yapay Zekâ Ajanları ve AsistanlarOpenAI agent üzerinden Perplexity araştırmasıyla sohbet4 adımYapay Zekâ Ajanları ve AsistanlarCreate UGC ad videos from Telegram briefs with OpenAI, Perplexity, and Kie AI33 adımYapay Zekâ Ajanları ve AsistanlarGemini ve Perplexity ile pazarlama ekibi ajanı çalıştırma14 adımRaporlar, Analitik ve PanolarPerplexity ile Telegram'da Günlük Yapay Zeka Haber Özeti6 adım