Enable Agno agents to interact directly with the operating system’s terminal, allowing them to perform file system operations, run scripts, and manage system processes
Copy
Ask AI
from agno.agent import Agentfrom agno.tools.shell import ShellTools# ---------------------------------------------------------------------------# Create Agent# ---------------------------------------------------------------------------agent = Agent(tools=[ShellTools()])# ---------------------------------------------------------------------------# Run Agent# ---------------------------------------------------------------------------if __name__ == "__main__": agent.print_response("Show me the contents of the current directory", markdown=True)