Skip to content

A Pipecat memory service for voice agents #717

Closed

Description

@zlareb1

Company or project name

No response

Component

Python SDK

Use case

Voice agents built on Pipecat need memory that survives calls (who the caller is, what was agreed). Loom keeps per-user memory but has no Pipecat integration.

Describe the solution you'd like

Goal. loom.integrations.pipecat: a frame processor or service that recalls a user's memories into the context at the start of a turn and writes the call's facts after it. Keep calls off the audio path's hot loop (recall once per turn, write after).

Files to change. #650 (the OpenAI Agents SDK tools) is a worked example of each:

  • sdk/python/loom/integrations/pipecat.py and sdk/python/loom/integrations/__init__.py;
  • a pipecat extra in sdk/python/pyproject.toml, pinned to a Pipecat minor range;
  • pipecat in SDK_ADAPTER_EXTRAS in the Makefile;
  • the Pipecat modules in the mypy ignore_missing_imports list for the framework adapters in the root pyproject.toml;
  • sdk/python/tests/test_pipecat.py;
  • a row in the table and a section in docs/features/integrations/frameworks.md, the framework list in docs/features/integrations/index.md, a line in docs/reference/python-sdk.md, and the [pipecat] extra in the framework adapters sentence of sdk/python/README.md.

Acceptance criteria

  • A unit test shows one recall per turn and the write after the turn, with no Loom call on the audio frames.
  • make test-sdk-adapter-pipecat passes (one venv with the extra installed, its tests and mypy --strict), and so does make test-sdk-adapter-pipecat SDK_ADAPTERS_PYTHON=3.11 SDK_ADAPTERS_RESOLUTION=lowest-direct, the lowest-deps leg of CI's sdk-python-adapters job, which installs every direct requirement at its lower bound.
  • make test-sdk-adapters, make format-check lint typecheck and .venv/bin/python -m pytest tests/unit/test_sdk_extra_requirements.py -q pass; that test checks that every extra in SDK_ADAPTER_EXTRAS has loom/integrations/<extra>.py and tests/test_<extra>.py.
  • loom/integrations/pipecat.py imports the framework inside try/except ImportError and re-raises an ImportError that names pip install 'clickhouse-loom[pipecat]', as sdk/python/loom/integrations/openai_agents.py does (lines 31-37). CI's sdk-python-package job checks it with scripts/gates/sdk_wheel_smoke.py, which imports every submodule in a clean venv holding only the wheel and fails on an adapter whose ImportError does not name its extra. Run it locally from an empty dist/:
uv build sdk/python --out-dir dist
uv venv /tmp/sdk-venv
uv pip install --python /tmp/sdk-venv/bin/python dist/*.whl
/tmp/sdk-venv/bin/python scripts/gates/sdk_wheel_smoke.py dist/*.whl
  • The docs checks pass:
.venv/bin/python -m pytest tests/unit/test_doc_links.py tests/unit/test_public_copy.py -q
.venv/bin/python -m scripts.codegen.docs_reference --check

Describe alternatives you've considered

A Pipecat app can call the SDK from its own processor; an integration gives it a tested one that keeps Loom off the audio path.

Where the need comes from

The need is mine, an AI tool helped shape the proposal

Additional context

Start after #696 (the Google ADK memory service) merges, or rebase onto it: it edits frameworks.md, integrations/index.md, python-sdk.md, sdk/python/README.md, SDK_ADAPTER_EXTRAS in the Makefile and both pyproject.toml files.

Size: L (several days). Read CONTRIBUTING.md first (signed-off commits), and comment here to say you are working on it.

Activity

  1. added
    enhancement
    help wanted
    on Nov 16, 2026
  2. added
    up-for-grabs
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wantedup-for-grabs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions