Logo di S2s Demo

S2s Demo

Organizzazione
Cognigy
s2s-demo

Use when the user wants a speech-to-speech (S2S, also called voice-to-voice or V2V) voice agent, or a callable realtime voice demo for a customer from one prompt. Covers the GPT Live voice model, the agent's voice and voice prompt, the click-to-call page, and what to do when speech-to-speech is not enabled. Call it speech-to-speech in every reply, also when the user said V2V or voice-to-voice.

Panoramica

Pubblicato daCognigy
Repositorycognigy-plugin
Nome della skills2s-demo
Stelle
20
Fork
14
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da Cognigy su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA S2s Demo in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/s2s-demo
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Cognigy/cognigy-plugin.git /tmp/cognigy-plugin
mkdir -p .claude/skills
cp -r /tmp/cognigy-plugin/plugin/skills/s2s-demo .claude/skills/s2s-demo
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva S2s Demo in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente S2s Demo non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi S2s Demo non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Speech-to-speech (S2S) demo

Speech-to-speech (S2S) is the product's name for this. Users may also say voice-to-voice or V2V: it is the same thing. Call it speech-to-speech in every answer, also when the user said V2V or voice-to-voice: never write "V2V demo", "V2V" or "voice-to-voice" yourself.

A speech-to-speech demo is four things: a gpt-live-1 voice model (GPT Live), an AI Agent that keeps a normal text LLM and points at the voice model, a Voice Gateway endpoint on that agent, and its click-to-call page. Nothing on the endpoint says "speech-to-speech": a call runs speech-to-speech because the agent has a voice model. GPT Live hands the reasoning to the agent's text LLM, so the agent's role, instructions and tools still do the real work. The agent hears and speaks directly, for faster replies and natural interruptions.

Call it an "AI Agent" toward the user. Speech-to-speech is marked experimental on the platform; say so once in the hand-back.

Build order

The order matters: the only gated write (step 3) comes before anything that could be left half-built.

  1. Check the environment. check_capabilities.
    • aiAgents or s2s is unavailable: write nothing. Tell the user in one line that speech-to-speech is not enabled on this environment (an admin turns on FEATURE_ENABLE_V2V), and offer a cascaded voice demo (voice-gateway-setup skill) or a Webchat demo. Never switch to one of them without the user's yes.
    • s2s is unknown: carry on; step 3 is the hard gate.
  2. Project and text LLM. Pick or create the project, then make sure it has a connected text LLM: reuse one, through packages when it lives in another project (agent-creation skill). Do this before step 3: a project's first LLM becomes its default, even when it is GPT Live.
  3. The GPT Live model.
    • Reuse: list_resources { resourceType: "llm_model", projectId }, a row with modelType: "gpt-live-1" (modelGroup: "voiceToVoice").
    • Else import one from another project that has it (package-management skill: export the LLM, its Connection comes with it).
    • Else setup_llm { projectId, provider, modelType: "gpt-live-1", apiKey } with a provider from check_capabilities s2sProviders and a key the user gives you. Never invent one; ask, or stop and say a key is needed.
    • error: "s2s_not_enabled": stop as in step 1. Nothing else exists yet.
  4. The agent. manage_agent { operation: "create", projectId, agentType: "voice", name, role, description, instructions, largeLanguageModelReferenceId: <text LLM>, voiceLargeLanguageModelReferenceId: <gpt-live-1 referenceId>, realtimeVoice }, built from the customer brief. Add a brand persona when the brand voice matters, and mock tools with the http-request builtin (agent-creation skill). A _hints.warning that the voice fields "did not stick" means speech-to-speech is off for AI Agents here: stop and offer the alternatives from step 1.
  5. The voice. manage_agent { operation: "voice_prompt", agentId, projectId } lists realtimeVoices (default marin). Pick one that fits the brand, or ask when the user cares.
  6. The voice prompt. Keep the default template and shape the agent through its role, description, instructions, persona and tools. preview_voice_prompt { template } must come back without warnings. Edit the template (update { voicePromptTemplate }) only for a specific need, and keep the {{group.key}} tokens voice_prompt lists, above all those with warnIfMissing. voicePromptTemplate: null resets it.
  7. Test the answers. Two or three talk_to_agent { agentId, projectId, message } turns on the customer's main use cases. This tests the text LLM that GPT Live hands work to, not the voice.
  8. The click-to-call page. The WebRTC page needs the project's voice preview provider: manage_settings { operation: "set_voice_preview", projectId, provider, isNiceProvided: true } where check_capabilities reports niceSpeech: "available" (settings skill), else the provider's Connection. Then manage_voice_gateway { projectId, agentId, name, webrtcWidgetConfig: { label, avatarLogoUrl, tagline, theme } } with the customer's name, logo and tagline.
  9. Hand back. What was built (agent, text LLM, GPT Live model, endpoint) and the test result, then the webrtcDemoUrl last. The voice itself is tested by calling that link; say so.

Changing an existing agent

  • Turn speech-to-speech on: manage_agent { operation: "update", voiceLargeLanguageModelReferenceId }; off: the same with "".
  • Change the voice: realtimeVoice; null resets it to the default.
  • Never bind gpt-live-1 as largeLanguageModelReferenceId: the platform rejects it, and a text turn would fail.

Domande frequenti

Cosa fa la skill IA S2s Demo?

Use when the user wants a speech-to-speech (S2S, also called voice-to-voice or V2V) voice agent, or a callable realtime voice demo for a customer from one prompt. Covers the GPT Live voice model, the agent's voice and voice prompt, the click-to-call page, and what to do when speech-to-speech is not enabled. Call it speech-to-speech in every reply, also when the user said V2V or voice-to-voice.

Perché usare S2s Demo su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. S2s Demo è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo S2s Demo in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/s2s-demo. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare S2s Demo?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con S2s Demo?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con S2s Demo: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA S2s Demo è gratuita?

Sì. È pubblicata su GitHub da Cognigy con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇