Developing Genkit Go
技能 已验证 活跃Develop AI-powered applications using Genkit in Go. Use when the user asks to build AI features, agents, flows, or tools in Go using Genkit, or when working with Genkit Go code involving generation, prompts, streaming, tool calling, or model providers.
To enable developers to build AI-powered applications, agents, and tools efficiently using the Genkit SDK in Go, providing structure and best practices.
功能
- Genkit SDK initialization and configuration in Go
- Defining and executing text, data, and streaming generation
- Creating and using prompts, including typed and file-based prompts
- Integrating tools with interrupt and response handling
- Building and deploying AI flows via HTTP handlers
使用场景
- When a user asks to build AI features, agents, or flows in Go using Genkit.
- When working with Genkit Go code involving generation, prompts, streaming, or tool calling.
- When setting up model providers like Google AI, Anthropic, or OpenAI-compatible APIs within a Go application.
- When developing structured AI outputs or complex AI logic via Genkit flows.
非目标
- Providing specific AI models; relies on Genkit's provider integrations.
- Managing deployment infrastructure for Genkit applications.
- Replacing the core Genkit SDK or Go language itself.
工作流
- Initialize Genkit with plugins and configuration.
- Define AI resources like prompts, tools, and flows.
- Integrate AI logic into Go application code.
- Optionally, expose flows as HTTP endpoints.
- Utilize the Genkit CLI for development and tracing.
实践
- AI Development
- Go Programming
- SDK Usage
- Prompt Engineering
先决条件
- Go programming language environment
- Genkit SDK for Go
- Access to configured AI model providers (e.g., API keys)
安装
请先添加 Marketplace
/plugin marketplace add firebase/agent-skills/plugin install agent-skills@firebase质量评分
已验证类似扩展
Azure Ai Document Intelligence Dotnet
100Azure AI Document Intelligence SDK for .NET. Extract text, tables, and structured data from documents using prebuilt and custom models. Use for invoice processing, receipt extraction, ID document analysis, and custom document models. Triggers: "Document Intelligence", "DocumentIntelligenceClient", "form recognizer", "invoice extraction", "receipt OCR", "document analysis .NET".
Skill Creator
99Guide for creating effective skills for AI coding agents working with Azure SDKs and Microsoft Foundry services. Use when creating new skills or updating existing skills.
Trader Regime
100Detect current market regime using npx neural-trader — bull/bear/ranging/volatile classification with recommended strategy
Trading Memory
100AI交易记忆的领域知识 — 结果加权记忆 (OWM) 架构、5种记忆类型、回忆评分和行为分析。用于记录交易、回忆相似的上下文、分析性能或检查行为漂移。在 "record trade"、"remember trade"、"recall"、"similar trades"、"performance"、"behavioral"、"disposition"、"affective state"、"confidence" 时触发。
TradeMemory Protocol
100Evolution Engine 的领域知识 — 支持 LLM 从原始 OHLCV 数据中自主发现策略。涵盖生成-回测-选择-进化循环、向量化回测、样本外验证和策略梯度。在发现交易模式、运行回测、进化策略或审查进化日志时使用。由“evolve”、“discover patterns”、“backtest”、“evolution”、“strategy generation”、“candidate strategy”触发。
Image Transformation API
100Transform images with resize, crop, smart crop, upscale, remove background, and 20+ operations.