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
Release history Release notifications | RSS feed
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.2.tar.gz
(47.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file memoair_voice-0.3.2.tar.gz.
File metadata
- Download URL: memoair_voice-0.3.2.tar.gz
- Upload date:
- Size: 47.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c52d85aec4d0690962c17b5a534189de2405ae74e2356797a0a414de4b413139
|
|
| MD5 |
066ef271763badf7a8639768c4ad64f3
|
|
| BLAKE2b-256 |
83ee8193afebff8ca2dacf2c16142ee6cd0cfd4341fcd08e99ac770668af20d5
|
File details
Details for the file memoair_voice-0.3.2-py3-none-any.whl.
File metadata
- Download URL: memoair_voice-0.3.2-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e59826cb624c71cbaf9a8fce26415c9516a1da72f08a5f11c8042598fdd645f8
|
|
| MD5 |
9eecc37bde5b0e642e6092b597da8b84
|
|
| BLAKE2b-256 |
98bc546f51ea26618a08d80105e2f4539435eb10fc661c38f014fdd2aa8a9681
|