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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file exfunc_agent_toolkit-0.0.1.tar.gz
.
File metadata
- Download URL: exfunc_agent_toolkit-0.0.1.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dd46f8fe7d537257bde704f35d452d3144825f388bb308f5e8a5d06e50a3d98 |
|
MD5 | a003171db080b9da5809f7fac4d230db |
|
BLAKE2b-256 | e0a046718f75da714e91a1f233f6d545b940aee580951bfbb69a5538ca3746c8 |
Provenance
The following attestation bundles were made for exfunc_agent_toolkit-0.0.1.tar.gz
:
Publisher:
release.yml
on carvedai/exfunc-agent-toolkit
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
exfunc_agent_toolkit-0.0.1.tar.gz
- Subject digest:
0dd46f8fe7d537257bde704f35d452d3144825f388bb308f5e8a5d06e50a3d98
- Sigstore transparency entry: 150453775
- Sigstore integration time:
- Predicate type:
File details
Details for the file exfunc_agent_toolkit-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: exfunc_agent_toolkit-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ecfddc189f1fb573578335e27f7c8cb6ac2148a63085257c694f24983487bac |
|
MD5 | b05cebe8e6383a32baa658a98feb9b5d |
|
BLAKE2b-256 | 53c3ae3dd3f9c6ccd14b10c739582f565107aa843db7a348afbcc8fc998be823 |
Provenance
The following attestation bundles were made for exfunc_agent_toolkit-0.0.1-py3-none-any.whl
:
Publisher:
release.yml
on carvedai/exfunc-agent-toolkit
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
exfunc_agent_toolkit-0.0.1-py3-none-any.whl
- Subject digest:
0ecfddc189f1fb573578335e27f7c8cb6ac2148a63085257c694f24983487bac
- Sigstore transparency entry: 150453776
- Sigstore integration time:
- Predicate type: