Skip to main content

Exfunc Agent Toolkit

Project description

Exfunc Agent Toolkit - Python

The Exfunc Agent Toolkit library enables popular agent frameworks such as LangChain to integrate with Exfunc APIs through function calling. The library is not exhaustive of the entire Exfunc API. It is built directly on top of the Exfunc Python SDK.

Installation

You don't need this source code unless you want to modify the package. If you just want to use the package, just run:

pip install exfunc-agent-toolkit

Requirements

  • Python 3.11+

Usage

The library needs to be configured with your account's API key which is available in your Exfunc Dashboard.

from exfunc_agent_toolkit.langchain.toolkit import ExfuncAgentToolkit

exfunc_agent_toolkit = ExfuncAgentToolkit(
    api_key=os.environ.get("EXFUNC_API_KEY"),  # This is the default and can be omitted
)

The toolkit works with LangChain can be passed as a list of tools. For example:

from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent

llm = ChatOpenAI(model="gpt-4o-mini")

tools = []
tools.extend(exfunc_agent_toolkit.get_tools())

langgraph_agent_executor = create_react_agent(llm, tools)

Example for LangChain is included in /examples.

Development

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exfunc_agent_toolkit-0.0.2.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exfunc_agent_toolkit-0.0.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file exfunc_agent_toolkit-0.0.2.tar.gz.

File metadata

  • Download URL: exfunc_agent_toolkit-0.0.2.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for exfunc_agent_toolkit-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a27bd86b8707bdea2c133ff56091a959e401bce97f75893e5a6ccbaa0e386d2b
MD5 93e3ec30111bff4b4bbea67453bed944
BLAKE2b-256 db94cb778e6006db583eab45bf36f66ac5377c2abc05f689efca6e235e2e5d05

See more details on using hashes here.

Provenance

The following attestation bundles were made for exfunc_agent_toolkit-0.0.2.tar.gz:

Publisher: release.yml on carvedai/exfunc-agent-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file exfunc_agent_toolkit-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for exfunc_agent_toolkit-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9cf1e5017b731d6e40f557cb2ac7a120f05b6bd4baacd48c3aa44e7f8cdf1369
MD5 7dcdbfbf9293d561d221f05e898461cb
BLAKE2b-256 9639dfe90bb8af52a845430218204848b079de31f76dfb3421cf13345ef2f9ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for exfunc_agent_toolkit-0.0.2-py3-none-any.whl:

Publisher: release.yml on carvedai/exfunc-agent-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page