Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pyagentspec/constraints/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jsonschema==4.23.0
pydantic==2.12.4
pyyaml==6.0.3
httpx==0.28.1
urllib3==2.6.2
typing-extensions==4.15.0

# AutoGen adapter
autogen-core==0.7.4
Expand All @@ -15,6 +15,7 @@ crewai==1.6.1
# LangGraph adapter
langgraph==1.0.5
langchain==1.2.0
langchain-core==1.2.7
langchain-openai==1.1.7
langchain-ollama==1.0.1
langchain-oci==0.2.3
Expand All @@ -26,13 +27,13 @@ wayflowcore==26.1.0

# AgentFramework adapter
agent-framework==1.0.0b260130
agent-framework-core==1.0.0b260130

# OpenAI Agents adapter
openai-agents==0.6.9
libcst==1.8.5

# Evaluation
anyio==4.11.0
pandas==2.3.3
oci==2.167.0
litellm==1.81.13
Expand Down
8 changes: 5 additions & 3 deletions pyagentspec/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def read(file_name):
# 3rd party dependencies (imported in code)
"langgraph>=1.0.5",
"langchain>=1.2.0",
"langchain-core>=1.2.7",
"langchain-openai>=1.1.7",
"langchain-ollama>=1.0.1",
"anyio>=4.10.0,<4.12.0",
Expand Down Expand Up @@ -70,8 +71,10 @@ def read(file_name):
"pydantic>=2.10,<2.13",
"pyyaml>=6,<7",
"httpx>0.28.0",
"urllib3>=2.5.0", # needed to avoid a CVE present on earlier versions
"typing-extensions>=4.15.0",
# 4rth party dependencies
"certifi>=2025.1.31", # needed to avoid CVE present in earlier versions
"urllib3>=2.6.3", # needed to avoid a CVE present in earlier versions
],
test_suite="tests",
entry_points={
Expand Down Expand Up @@ -125,8 +128,7 @@ def read(file_name):
# 3rd party dependencies (imported in code)
"agent-framework>=1.0.0b260130; python_version < '3.14'",
# 4rth party dependencies
# including otel-semconv-ai to address internal agent-framework bug
"opentelemetry-semantic-conventions-ai<0.4.14",
"opentelemetry-semantic-conventions-ai<0.4.14", # 0.4.14 breaks agent-framework 1.0.0b260130
],
"evaluation": [
# 3rd party dependencies (imported in code)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def _find_property(properties: List[AgentSpecProperty], name: str) -> AgentSpecP
# Provide both sync and async entrypoints natively. LangGraph will use
# the appropriate one based on invoke/stream vs ainvoke/astream.
runnable = RunnableLambda(
func=lambda state, _exec=node_executor: _exec(state), # type: ignore
func=lambda state, _exec=node_executor: _exec(state),
afunc=lambda state, _exec=node_executor: _exec.__acall__(state),
name=node_id,
)
Expand Down