File size: 197 Bytes
5e12d6e
 
 
 
 
 
 
1
2
3
4
5
6
7
# Create a CodeAgent with DuckDuckGo search capability
from smolagents import CodeAgent

agent = CodeAgent(
    tools=[],           # Add search tool here
    model=None          # Add model here
)