Developers4VF / VOICE FRAMEWORK

Voice is the interface.
Code is the connection.

Work with familiar primitives at clear boundaries. Connect resources, react to events and bring your own application logic.

05SIPCOMPOSABLE INTERFACES
agent.request.js
// Illustrative REST API syntax
// The .example host does not provide a service.
const response = await fetch(
  "https://api.4vf.example/v1/agents",
  {
    method: "POST",
    headers: {
      "content-type": "application/json",
      authorization: "Bearer <token>"
    },
    body: JSON.stringify({
      name: "Appointment assistant",
      language: "en",
      tools: ["check_availability"]
    })
  }
);
Illustrative syntax · not a production API contract

Follow the conversation
through its events.

A transcript tells you what was said. An execution trace connects the speech, context and actions that produced the response.

speech.recognizedagent.context_resolvedtool.completedvoice.response_ready

Sample events · illustrative names, not a final contract

Explore examples

Start with a clear map.

Read the concepts, then explore the interfaces as they become available.

Open Documentation