Skip to content

A Langflow component for Loom memory and document search #703

Closed

Description

@zlareb1

Company or project name

No response

Component

Python SDK

Use case

Langflow users can attach an MCP server, but a native component gives them typed inputs (namespace, user, query) and outputs without hand-written MCP config.

Describe the solution you'd like

A Langflow custom component in integrations/langflow/ (loom_component.py, README.md) that saves and searches Loom memory and searches knowledge documents through the Python SDK, with typed inputs for namespace, user and query.

Files to change

  • integrations/langflow/loom_component.py and integrations/langflow/README.md;
  • tests/unit/test_langflow_component.py: pytest collects only tests/ (testpaths = ["tests"] in pyproject.toml) and no CI environment installs langflow, so the test loads the component file by path, puts stand-ins for the Langflow base class and input/output types it imports into sys.modules, and gives the SDK an httpx.MockTransport (as tests/unit/test_sdk_session_tools.py does). make test-unit then runs it in CI with no Langflow server and no Loom server. tests/unit/test_librechat_integration.py is the precedent for a unit test of a file under integrations/;
  • a row in the "Supported integrations" table of integrations/README.md, its Tests column naming the unit test;
  • a row in docs/features/integrations/frameworks.md that links the README.

Acceptance criteria. The unit test drives the component's run method for each action (save, search memory, search documents) and checks the request each sends and the output it returns; the README shows install from a path, a flow using it, and the output of a real run against a quickstart server with the Langflow version named; make format-check lint and .venv/bin/python -m pytest tests/unit/test_langflow_component.py -q pass, and so do the docs checks:

.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

Langflow's MCP support reaches Loom's tools, without typed inputs for namespace and user.

Where the need comes from

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

Additional context

Start after #696 merges, or rebase onto it: it edits docs/features/integrations/frameworks.md.

Size: M (a day or two). 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