You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
datahub-agent-context: langchain_registration import fails, datahub.api.entities.agent missing from the pinned acryl-datahub #18686
datahub_agent_context.langchain_registration cannot be imported with the exact acryl-datahub version that datahub-agent-context pins, so the LangChain and
Google ADK registration paths fail at import time on a clean install.
datahub-agent-context==1.6.0.16 declares:
acryl-datahub[datahub-rest]==1.6.0.6
and datahub_agent_context/_registration_core.py line 26 does:
datahub.api.entities.agent does not exist in acryl-datahub==1.6.0.6. The
package directory contains: assertion, common, corpgroup, corpuser, datacontract, datajob, dataprocess, dataproduct, dataset, external, forms, platformresource, structuredproperties. No agent.
I also checked acryl-datahub==1.6.0.15 and the module is absent there too, so
this does not look like a resolver picking an old version. It looks like the
registration core is ahead of any published acryl-datahub.
File ".../datahub_agent_context/_registration_core.py", line 26, in <module>
from datahub.api.entities.agent.agent import Agent, StructuredPropertyValue
ModuleNotFoundError: No module named 'datahub.api.entities.agent'
Installing the [langchain] extra makes no difference, since the missing module
is in acryl-datahub rather than in LangChain.
Expected behavior
import datahub_agent_context.langchain_registration succeeds on a clean
install, or the pin is raised to the acryl-datahub version that first ships datahub.api.entities.agent.
What still works
The MCP tool functions are unaffected and I have been using them without
trouble. search, get_lineage (including the column argument), list_schema_fields and get_entities all work against a self-hosted GMS:
Activity
github-actions commentedon Jul 28, 2026
Linear: ING-3137
fix(agent-context): require a minimum acryl-datahub rather than an ex…