Thin adapter and compatibility wrapper for persona-object-protocol.
langchain-pop preserves a standalone packaging surface for LangChain users who want a minimal POP integration entrypoint. It exists to expose integration glue and migration continuity, not to redefine the Persona Object Protocol itself.
The canonical implementation now lives in persona-object-protocol, under its POP integration surface and examples:
persona-object-protocol/integrations/langchain-poppersona-object-protocol/src/pop/integrations/langchain
- not the canonical persona protocol implementation
- not the architecture hub
- not the benchmark suite
- not the governance or audit layer
pip install langchain-pop
python examples/langchain_middleware_demo.py --print-configfrom langchain_openai import ChatOpenAI
from langchain_pop.agent import create_pop_agent
agent = create_pop_agent(
pop_source="tests/fixtures/mentor.v1.json",
model=ChatOpenAI(model="gpt-4o", temperature=0.0),
tools=[],
)For current protocol context, schema evolution, and integration guidance, start from persona-object-protocol and treat this repo as a compatibility wrapper.
- deprecated standalone wrapper
- canonical home is
persona-object-protocol - kept for packaging continuity and thin integration examples
- The standalone package remains installable for now.
- Protocol semantics, schema, and canonical examples live in
persona-object-protocol. - Future consolidation may fold this wrapper completely into the parent repo.