// agent

My Türkçe Genel Yardımcı

by rempelemed · Sep 20, 2026 Public

Choose how to run this agent

⚡ Local runs on your GPU. For usable speed it needs a WebGPU-capable browser — Chrome or Edge on a machine with a graphics card, or an Apple Silicon Mac. Without a supported GPU, pick OpenAI or Anthropic above instead. Check your machine
Try it now

Requires an API key and an AgentOp account.

11 downloads
0 forks
0.0 rating

Description

Based on the Türkçe Genel Yardımcı template.

What this agent can do

My Türkçe Genel Yardımcı is built from the Türkçe Genel Yardımcı template. Runs fully on your own device: llama.cpp compiled to WebAssembly, GPU-accelerated through WebGPU, with no API key and no server. After the one-time model download it works offline. Can run on OpenAI models with your own API key, encrypted in your browser. Can run on Anthropic Claude models with your own API key, encrypted in your browser.

Source Code

agent.py
async def process_user_query(query: str) -> str:
    """Kullanıcının Türkçe isteğine kısa, net ve yardımcı bir yanıt üretir.

    Args:
        query: Kullanıcının Türkçe isteği.

    Returns:
        Modelin ürettiği yanıt metni.
    """
    clean_query = (query or '').strip()
    if not clean_query:
        return 'Lütfen bir istek yaz.'

    prompt = f"""Kullanıcı isteği:\n{clean_query}\n\nTürkçe, net ve yararlı bir yanıt ver. İstek yazma veya düzenleme ise doğrudan sonucu üret. Soru ise anlaşılır şekilde cevapla. Gerekirse maddeler kullan ama gereksiz uzatma yapma."""
    answer = await agentop_llm.generate(prompt, globals().get('TEMPLATE_SYSTEM_PROMPT', ''))
    return answer.strip() if isinstance(answer, str) and answer.strip() else 'Bir yanıt üretilemedi.'