Supported Packages
NEAR AI supports several framework configurations, each with its own set of Python packages. Here is an overview of available frameworks, the setting value, and descriptions:
Framework | Setting | Description |
---|---|---|
Minimal | minimal | Basic essential packages - DEFAULT |
Standard | standard | More robust Agent Framework |
TypeScript | ts | For creating agents with TypeScript |
AgentKit | agentkit | For use with LangChain, LangGraph, or Coinbase's Agentkit |
Need a package that is not currently supported?
If you have a particular package that is not currently supported, you can reach out to the team to have it added:
Framework Usage¶
To use a specific framework, specify it in your agent's metadata.json
:
Framework Types¶
Below are up-to-date package support for each framework as defined in NEAR AI's AWS Runner Frameworks settings.
Minimal Framework¶
# ex base framework
base58 == 2.1.1
pynacl >= 1.5.0
pytz == 2024.2
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.25.3, < 2.1.0
pydantic >=2.8.2
typing-extensions >= 4.7.1
psutil >= 5.9.5
boto3 >= 1.35.3
litellm >= 1.60.5
openai == 1.66.2
py-near >= 1.1.50
loguru == 0.7.2
ed25519 == 1.5
tweepy >= 4.14.0
tenacity == 9.0.0
mcp
ddtrace == 2.21.0
Standard Framework¶
# ex web-agent framework
base58 == 2.1.1
pynacl >= 1.5.0
pytz == 2024.2
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.25.3, < 2.1.0
pydantic >=2.8.2
typing-extensions >= 4.7.1
psutil >= 5.9.5
boto3 >= 1.35.3
litellm >= 1.60.5
openai == 1.66.2
chardet
bs4
googlesearch-python >= 1.2.5
PyPDF2
youtube_transcript_api >= 0.6.2
py-near >= 1.1.50
loguru == 0.7.2
ed25519 == 1.5
py-multibase==1.0.3
py-multicodec==0.2.1
pydantic==2.9.2
aiohttp==3.11.0b0
borsh-construct
tweepy >= 4.14.0
tenacity == 9.0.0
web3 >= 7.8.0
eth-account >= 0.13.5
numpy >= 1.21.0
ddtrace == 2.21.0
TypeScript Framework¶
For use when creating TypeScript agents.
# ex base framework
base58 == 2.1.1
pynacl >= 1.5.0
pytz == 2024.2
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.25.3, < 2.1.0
pydantic >=2.8.2
typing-extensions >= 4.7.1
psutil >= 5.9.5
boto3 >= 1.35.3
litellm >= 1.60.5
openai == 1.66.2
py-near >= 1.1.50
loguru == 0.7.2
ed25519 == 1.5
tweepy >= 4.14.0
tenacity == 9.0.0
mcp
ddtrace == 2.21.0
AgentKit Framework¶
For use with LangChain, LangGraph, or Coinbase's Agentkit
base58 == 2.1.1
pynacl >= 1.5.0
pytz == 2024.2
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.25.3
pydantic >=2.8.2
typing-extensions >= 4.7.1
psutil >= 5.9.5
boto3 >= 1.35.3
litellm >= 1.41.0
py-near >= 1.1.50
loguru == 0.7.2
ed25519 == 1.5
tweepy >= 4.14.0
cdp-sdk >= 0.15.0
web3 >= 7.6.0
langchain >= 0.3.4
langchain-openai >= 0.2.4
langchain-community >= 0.3.16
langgraph >= 0.2.39
nearai-langchain >= 0.0.12
duckduckgo-search >= 7.3.0
coinbase-agentkit >= 0.1.2
coinbase-agentkit-langchain >= 0.1.0
ddtrace == 2.21.0