ConnectOnionConnectOnion
DocsUseful Tools

Useful Tools

Pre-built tools from connectonion.useful_tools

Quick Usage

main.py
1from connectonion import Agent 2from connectonion.useful_tools import gmail, memory, web_fetch 3 4agent = Agent( 5 "assistant", 6 tools=[gmail.search, gmail.send, memory.remember, web_fetch.fetch] 7) 8 9agent.input("Search my emails for invoices from last week")

Memory & Storage

Persistent memory and knowledge storage

Web

Fetch and interact with web content

Productivity

Task management and productivity tools

Building Custom Tools

Any Python function can be a tool. Just pass it to the Agent:

main.py
1def my_custom_tool(query: str) -> str: 2 """Search my database for relevant information.""" 3 return database.search(query) 4 5agent = Agent("assistant", tools=[my_custom_tool])

Learn more in the Tools documentation.