Skip to content

Kody is live

Watch the launch video — what Kody is, and why it exists.

← Public packages

@kody/blandPublic

AGENTS.md

35 lines · 1.3 KB · Markdown

@kody/bland — agent notes (Bland.ai phone calls)

Imports

import smokeTest from 'kody:@kody/bland/smoke-test'
import settings from 'kody:@kody/bland/settings'
import adapt from 'kody:@kody/bland/adapt'
import me from 'kody:@kody/bland/me'
import { sendCall } from 'kody:@kody/bland/send-call'
import { getCall } from 'kody:@kody/bland/get-call'
import { listCalls } from 'kody:@kody/bland/list-calls'
import { stopCall } from 'kody:@kody/bland/stop-call'
import { blandRequest } from 'kody:@kody/bland/request'

Setup playbook

  1. await adapt() after a community fork.
  2. Send the owner the prefilled blandApiKey URL — never ask them to paste the value in chat.
  3. Confirm host api.bland.ai is approved on that secret.
  4. await smokeTest({ live: true }) (hits GET /v1/me when live).
  5. Dry-run sendCall({ phone_number, task }). Pass confirm: true only for a live dial.
  6. After a live send, poll getCall({ call_id }) until completed is true (~5s), or set webhook on send.

Auth

  • Header: Authorization: Bearer {{secret:blandApiKey|scope=user}}
  • Optional BYOT Twilio: useEncryptedKey: true + secret blandEncryptedKey
  • Mutations default to dry-run. GET list/get/me do not need confirm.

Escapes

  • Raw paths: blandRequest({ method, path, body?, confirm? })
  • Extra apps: account: "work"blandApiKey-work