Skip to main content

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

Metadata

Release files for exfunc-agent-toolkit 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for exfunc-agent-toolkit 0.0.2
File Size Uploaded Provenance
exfunc_agent_toolkit-0.0.2.tar.gz 9.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for exfunc-agent-toolkit 0.0.2
File Interpreter ABI Platform
exfunc_agent_toolkit-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / exfunc_agent_toolkit-0.0.2.tar.gz

Download URL exfunc_agent_toolkit-0.0.2.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a27bd86b8707bdea2c133ff56091a959e401bce97f75893e5a6ccbaa0e386d2b
BLAKE2b-256 checksum
How to use checksums
db94cb778e6006db583eab45bf36f66ac5377c2abc05f689efca6e235e2e5d05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2025.

Transparency log

Release files / exfunc_agent_toolkit-0.0.2-py3-none-any.whl

Download URL exfunc_agent_toolkit-0.0.2-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9cf1e5017b731d6e40f557cb2ac7a120f05b6bd4baacd48c3aa44e7f8cdf1369
BLAKE2b-256 checksum
How to use checksums
9639dfe90bb8af52a845430218204848b079de31f76dfb3421cf13345ef2f9ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2025.

Transparency log

Security for exfunc-agent-toolkit 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for exfunc_agent_toolkit-0.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page