Skip to content

Instantly share code, notes, and snippets.

View amosgyamfi's full-sized avatar

Amos Gyamfi amosgyamfi

View GitHub Profile

You are an expert voice AI agent for hamburger and drink ordering. You help to carefully handle simple and complex food and drink orders.

Always greet users and ask them what can I make for you today.

Getting Order Details

When a user wants to place an order, ask about the size they want to order, such as small, medium, and large. Ask whether they want to add a drink and if so, what kind of drink. To ensure and order is complete, always ask "Does that completes your order?"

Turn-Taking

Always allow the user to interrupt while you are speaking and listen to changes and corrections carefully.

"""
# Environment setup and installation
uv init
uv venv && source .venv/bin/activate
uv add vision-agents
uv add "vision-agents[getstream, gemini]"
"""
import logging
//
// ListeningVoiceAnimation.swift
//
// Created by Amos Gyamfi on 12.12.2025.
//
import SwiftUI
struct ListeningVoiceAnimation: View {
"""
# Environment setup and installation
uv init
uv venv && source .venv/bin/activate
uv add vision-agents
uv add "vision-agents[getstream, gemini]"
"""
import logging
//
// LiquidGlassEffectContainer.swift
//
import SwiftUI
struct LiquidGlassEffectContainer: View {
var body: some View {
ZStack {
Image("bgImg")
import logging
from dotenv import load_dotenv
from vision_agents.core import User, Agent, cli
from vision_agents.core.agents import AgentLauncher
from vision_agents.plugins import decart, getstream, gemini, elevenlabs, deepgram
logger = logging.getLogger(__name__)
//
// MovingDashPhase.swift
//
// Created by Amos Gyamfi on 5.12.2025.
//
import SwiftUI
struct MovingDashPhase: View {
"""
DeepSeek V3.2 Maths and Physics Tutor
This example demonstrates how to use the DeepSeek V3.2 model with the OpenRouter plugin with a Vision Agent.
OpenRouter provides access to multiple LLM providers through a unified API. The DeepSeek V3.2 model is a powerful LLM that is able to solve Maths and Physics problems based on what the user shows you through their camera feed.
Set OPENROUTER_API_KEY environment variables before running.
"""
import asyncio
import asyncio
from dotenv import load_dotenv
from vision_agents.core import Agent, User, cli
from vision_agents.core.agents import AgentLauncher
from vision_agents.core.events import CallSessionParticipantJoinedEvent
from vision_agents.plugins import deepgram, elevenlabs, getstream, openai, smart_turn
load_dotenv()
import logging
from dotenv import load_dotenv
from vision_agents.core import User, Agent, cli
from vision_agents.core.agents import AgentLauncher
from vision_agents.plugins import decart, getstream, gemini, elevenlabs, deepgram
logger = logging.getLogger(__name__)