google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
localai
Run local AI models with LocalAI. Deploy OpenAI-compatible API for LLMs, embeddings, audio, and images. Use for self-hosted AI, offline inference, and privacy-focused AI deployments.
Full skill instructions
Expert guidance for self-hosted OpenAI-compatible AI API.
# Basic (CPU)
docker run -p 8080:8080 localai/localai:latest
# With GPU (CUDA)
docker run --gpus all -p 8080:8080 localai/localai:latest-gpu-nvidia-cuda-12
# With models directory
docker run -p 8080:8080 \
-v /path/to/models:/models \
localai/localai:latest
services:
localai:
image: localai/localai:latest-gpu-nvidia-cuda-12
ports:
- "8080:8080"
volumes:
- ./models:/models
environment:
- THREADS=8
- CONTEXT_SIZE=4096
- DEBUG=true
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
# models/llama3.yaml
name: llama3
backend: llama-cpp
parameters:
model: /models/llama-3-8b-instruct.gguf
temperature: 0.7
top_p: 0.9
top_k: 40
context_size: 4096
threads: 8
f16: true
mmap: true
template:
chat_message: |
<|start_header_id|>{{.RoleName}}<|end_header_id|>
{{.Content}}<|eot_id|>
chat: |
{{.Input}}
<|start_header_id|>assistant<|end_header_id|>
# models/embeddings.yaml
name: text-embedding
backend: bert-embeddings
parameters:
model: /models/all-MiniLM-L6-v2
embeddings: true
# models/whisper.yaml
name: whisper-1
backend: whisper
parameters:
model: /models/whisper-base.bin
language: en
# models/stablediffusion.yaml
name: stablediffusion
backend: stablediffusion
parameters:
model: /models/sd-v1-5
step: 25
from openai import OpenAI
client = OpenAI(
base_url="http://localhost:8080/v1",
api_key="not-needed" # LocalAI doesn't require API key
)
# Chat completion
response = client.chat.completions.create(
model="llama3",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "What is machine learning?"}
],
temperature=0.7,
max_tokens=500
)
print(response.choices[0].message.content)
# Streaming
stream = client.chat.completions.create(
model="llama3",
messages=[{"role": "user", "content": "Tell me a story"}],
stream=True
)
for chunk in stream:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")
response = client.embeddings.create(
model="text-embedding",
input=["Hello world", "How are you?"]
)
embeddings = [e.embedding for e in response.data]
response = client.images.generate(
model="stablediffusion",
prompt="A beautiful sunset over mountains",
n=1,
size="512x512"
)
image_url = response.data[0].url
with open("audio.mp3", "rb") as f:
response = client.audio.transcriptions.create(
model="whisper-1",
file=f
)
print(response.text)
# List available models
curl http://localhost:8080/models/available
# Install from gallery
curl http://localhost:8080/models/apply -d '{
"id": "huggingface://TheBloke/Llama-2-7B-Chat-GGUF/llama-2-7b-chat.Q4_K_M.gguf"
}'
# Or via config
curl http://localhost:8080/models/apply -d '{
"url": "github:go-skynet/model-gallery/gpt4all-j.yaml"
}'
# models/llama3-functions.yaml
name: llama3-functions
backend: llama-cpp
parameters:
model: /models/llama-3-8b-instruct.gguf
function:
disable_no_action: false
grammar_prefix: |
<|start_header_id|>assistant<|end_header_id|>
response = client.chat.completions.create(
model="llama3-functions",
messages=[{"role": "user", "content": "What's the weather in Paris?"}],
tools=[{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get weather for a city",
"parameters": {
"type": "object",
"properties": {
"city": {"type": "string"}
},
"required": ["city"]
}
}
}],
tool_choice="auto"
)
# Environment variables
THREADS=8 # Number of CPU threads
CONTEXT_SIZE=4096 # Context window size
F16=true # Use FP16
MMAP=true # Memory map models
GPU_LAYERS=35 # Layers to offload to GPU
TENSOR_SPLIT=0.5,0.5 # Multi-GPU split
# models/llama3-gpu.yaml
name: llama3
backend: llama-cpp
parameters:
model: /models/llama-3-8b-instruct.gguf
gpu_layers: 35
main_gpu: 0
tensor_split: ""
apikind: Deployment
metadata:
name: localai
spec:
replicas: 1
selector:
matchLabels:
app: localai
template:
metadata:
labels:
app: localai
spec:
containers:
- name: localai
image: localai/localai:latest-gpu-nvidia-cuda-12
ports:
- containerPort: 8080
resources:
limits:
nvidia.com/gpu: 1
volumeMounts:
- name: models
mountPath: /models
env:
- name: THREADS
value: "8"
volumes:
- name: models
persistentVolumeClaim:
claimName: models-pvc
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.
Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.
Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Opus.ai: Revolutionize Your Web Experience
Build a no-code AI app in minutes.
An IDE for code migration from legacy to modern frameworks through coding agents.
Automate CGI animation in live-action scenes
Branded artistic QR-code concepts
Launch a website in seconds with AI.
Streamline Your Coding Experience with AI Code Helper
Convert any screenshot or design to clean code.