Skip to main content

Local-runtime voice memory client for MemoAir (sits on top of memoair-runtime)

Project description

memoair-voice

Local-runtime voice memory client for MemoAir. Wraps the loopback voice-runtime sidecar, keeps per-user memory on-device, syncs to cloud.

Install

pip install memoair-voice

Quick start

from memoair_voice import MemoAirVoiceAgent

agent = MemoAirVoiceAgent(
    api_key="memoair_pk_...",        # account-scoped API key
    project_id="proj_xxx",            # which customer project
    agent_id="agent_xxx",             # which agent identity
    user_id="caller_phone_hash",      # optional, per-call end user
)

# Or pull from MEMOAIR_API_KEY / MEMOAIR_PROJECT_ID / MEMOAIR_AGENT_ID /
# MEMOAIR_USER_ID (+ optional MEMOAIR_BASE_URL):
agent = MemoAirVoiceAgent.from_env()

# Headers carrying every identity dimension:
#   Authorization: Bearer memoair_pk_...
#   X-Project-Id: proj_xxx
#   X-Agent-Id: agent_xxx
#   X-User-Id: caller_phone_hash
agent.headers()

# Build a runtime-backed client:
async with agent.client() as client:
    await client.search_memory("what time is standup")
    await client.save_response(
        user_text="What time is standup?",
        assistant_text="10:30 IST.",
    )

Docs

Full documentation at https://docs.memoair.dev/voice

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

memoair_voice-0.3.1.tar.gz (46.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

memoair_voice-0.3.1-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file memoair_voice-0.3.1.tar.gz.

File metadata

  • Download URL: memoair_voice-0.3.1.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for memoair_voice-0.3.1.tar.gz
Algorithm Hash digest
SHA256 3f1ee5701f3ccbb88144811519521459cd35d4d546850fa359046c72ed9ac421
MD5 9710bc1a87dd7e2f095fcaef5e7a9c35
BLAKE2b-256 491027b3bd6aa1c4ca2e7cb431555ec1743d0224a7d502a679cf2fbc192fcdce

See more details on using hashes here.

File details

Details for the file memoair_voice-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: memoair_voice-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for memoair_voice-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1511900190f00288c4daf496399868283bde80ad96829e5f2cbc3c86a43411e
MD5 a400f058797f88043310467f3b9780c6
BLAKE2b-256 d22a8ad510201d53bf7f22cd9215bad4ca7b1ef8525c49ab0cf7d95392bdb0b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page