Scan your whole stack
From OX Research Newsroom
Are you using langchain-flagsmith?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.0
langchain-flagsmith was last scanned on 29 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.0 LATEST | 29 Nov 2026 | No rules fired |
Findings for v0.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The Flagsmith integration for LangChain and LangGraph.
pip install langchain-flagsmith
Add [langgraph] for hand-built LangGraph graphs, or [agent] to also install LangChain for create_agent.
langchain-flagsmith lets you control a LangChain agent from Flagsmith feature flags. Flip a flag and the running agent picks it up on its next refresh. No redeploy.
One flag each for:
llm_model switches between models you list in a catalog.system_prompt replaces the system message.tool_<name> turns one tool on or off.agent_enabled stops the agent with a safe answer.Segments and percentage splits work too, so you can give one model to beta users or A/B test a prompt.
pip install "langchain-flagsmith[agent]" langchain-openai
import os
from langchain.agents import create_agent
from langchain_openai import ChatOpenAI
from langchain_flagsmith import AgentFlags, Catalog, Fixed
flags = AgentFlags(
os.environ["FLAGSMITH_SERVER_KEY"], # server-side key, starts with "ser."
catalog=Catalog(
default="fast",
entries=[
Fixed("fast", lambda: ChatOpenAI(model="gpt-4o-mini")),
Fixed("smart", lambda: ChatOpenAI(model="gpt-4o")),
],
),
refresh_interval=5, # seconds between flag fetches. Default 60. A webhook is instant.
)
agent = create_agent(ChatOpenAI(model="gpt-4o-mini"), tools=[], middleware=[flags.middleware()])
out = agent.invoke(
{"messages": [("user", "hi")]},
config={"configurable": {"user_id": "u1"}},
)
Already have an agent? Wrap the model in one line: model = flags.wrap(ChatOpenAI(...)).
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.