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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a27bd86b8707bdea2c133ff56091a959e401bce97f75893e5a6ccbaa0e386d2b
|
|
| MD5 |
93e3ec30111bff4b4bbea67453bed944
|
|
| BLAKE2b-256 |
db94cb778e6006db583eab45bf36f66ac5377c2abc05f689efca6e235e2e5d05
|
Provenance
The following attestation bundles were made for exfunc_agent_toolkit-0.0.2.tar.gz:
Publisher:
release.yml on carvedai/exfunc-agent-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
exfunc_agent_toolkit-0.0.2.tar.gz -
Subject digest:
a27bd86b8707bdea2c133ff56091a959e401bce97f75893e5a6ccbaa0e386d2b - Sigstore transparency entry: 586077254
- Sigstore integration time:
-
Permalink:
carvedai/exfunc-agent-toolkit@fdb2944ae8fc8613795b42a7884f4d22b719255c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/carvedai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fdb2944ae8fc8613795b42a7884f4d22b719255c -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file exfunc_agent_toolkit-0.0.2-py3-none-any.whl.
File metadata
- Download URL: exfunc_agent_toolkit-0.0.2-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cf1e5017b731d6e40f557cb2ac7a120f05b6bd4baacd48c3aa44e7f8cdf1369
|
|
| MD5 |
7dcdbfbf9293d561d221f05e898461cb
|
|
| BLAKE2b-256 |
9639dfe90bb8af52a845430218204848b079de31f76dfb3421cf13345ef2f9ee
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
exfunc_agent_toolkit-0.0.2-py3-none-any.whl -
Subject digest:
9cf1e5017b731d6e40f557cb2ac7a120f05b6bd4baacd48c3aa44e7f8cdf1369 - Sigstore transparency entry: 586077255
- Sigstore integration time:
-
Permalink:
carvedai/exfunc-agent-toolkit@fdb2944ae8fc8613795b42a7884f4d22b719255c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/carvedai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fdb2944ae8fc8613795b42a7884f4d22b719255c -
Trigger Event:
workflow_dispatch
-
Statement type: