Name | exfunc-agent-toolkit JSON |
Version |
0.0.1
JSON |
| download |
home_page | None |
Summary | Exfunc Agent Toolkit |
upload_time | 2024-11-21 09:13:45 |
maintainer | None |
docs_url | None |
author | None |
requires_python | None |
license | The MIT License (MIT) Copyright (c) 2024 Stripe Copyright (c) 2024 CarvedAI Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
exfunc
api
automation
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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][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:
```sh
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][api-keys].
```python
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:
```python
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`.
[python-sdk]: https://github.com/carvedai/exfunc-py
[api-keys]: https://app.exfunc.com/dashboard
## Development
```
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
Raw data
{
"_id": null,
"home_page": null,
"name": "exfunc-agent-toolkit",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "exfunc, api, automation",
"author": null,
"author_email": "Exfunc <support@exfunc.com>",
"download_url": "https://files.pythonhosted.org/packages/e0/a0/46718f75da714e91a1f233f6d545b940aee580951bfbb69a5538ca3746c8/exfunc_agent_toolkit-0.0.1.tar.gz",
"platform": null,
"description": "# Exfunc Agent Toolkit - Python\n\nThe Exfunc Agent Toolkit library enables popular agent frameworks such as LangChain to integrate with Exfunc APIs through function calling. The\nlibrary is not exhaustive of the entire Exfunc API. It is built directly on top\nof the [Exfunc Python SDK][python-sdk].\n\n## Installation\n\nYou don't need this source code unless you want to modify the package. If you just\nwant to use the package, just run:\n\n```sh\npip install exfunc-agent-toolkit\n```\n\n### Requirements\n\n- Python 3.11+\n\n## Usage\n\nThe library needs to be configured with your account's API key which is\navailable in your [Exfunc Dashboard][api-keys].\n\n```python\nfrom exfunc_agent_toolkit.langchain.toolkit import ExfuncAgentToolkit\n\nexfunc_agent_toolkit = ExfuncAgentToolkit(\n api_key=os.environ.get(\"EXFUNC_API_KEY\"), # This is the default and can be omitted\n)\n```\n\nThe toolkit works with LangChain can be passed as a list of tools. For example:\n\n```python\nfrom langchain_openai import ChatOpenAI\nfrom langgraph.prebuilt import create_react_agent\n\nllm = ChatOpenAI(model=\"gpt-4o-mini\")\n\ntools = []\ntools.extend(exfunc_agent_toolkit.get_tools())\n\nlanggraph_agent_executor = create_react_agent(llm, tools)\n```\n\nExample for LangChain is included in `/examples`.\n\n[python-sdk]: https://github.com/carvedai/exfunc-py\n[api-keys]: https://app.exfunc.com/dashboard\n\n## Development\n\n```\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n",
"bugtrack_url": null,
"license": "The MIT License (MIT) Copyright (c) 2024 Stripe Copyright (c) 2024 CarvedAI Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "Exfunc Agent Toolkit",
"version": "0.0.1",
"project_urls": {
"Bug Tracker": "https://github.com/carvedai/exfunc-agent-toolkit/issues",
"Source Code": "https://github.com/carvedai/exfunc-agent-toolkit"
},
"split_keywords": [
"exfunc",
" api",
" automation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "53c3ae3dd3f9c6ccd14b10c739582f565107aa843db7a348afbcc8fc998be823",
"md5": "b05cebe8e6383a32baa658a98feb9b5d",
"sha256": "0ecfddc189f1fb573578335e27f7c8cb6ac2148a63085257c694f24983487bac"
},
"downloads": -1,
"filename": "exfunc_agent_toolkit-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b05cebe8e6383a32baa658a98feb9b5d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10258,
"upload_time": "2024-11-21T09:13:43",
"upload_time_iso_8601": "2024-11-21T09:13:43.642634Z",
"url": "https://files.pythonhosted.org/packages/53/c3/ae3dd3f9c6ccd14b10c739582f565107aa843db7a348afbcc8fc998be823/exfunc_agent_toolkit-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e0a046718f75da714e91a1f233f6d545b940aee580951bfbb69a5538ca3746c8",
"md5": "a003171db080b9da5809f7fac4d230db",
"sha256": "0dd46f8fe7d537257bde704f35d452d3144825f388bb308f5e8a5d06e50a3d98"
},
"downloads": -1,
"filename": "exfunc_agent_toolkit-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "a003171db080b9da5809f7fac4d230db",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9784,
"upload_time": "2024-11-21T09:13:45",
"upload_time_iso_8601": "2024-11-21T09:13:45.463029Z",
"url": "https://files.pythonhosted.org/packages/e0/a0/46718f75da714e91a1f233f6d545b940aee580951bfbb69a5538ca3746c8/exfunc_agent_toolkit-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-21 09:13:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "carvedai",
"github_project": "exfunc-agent-toolkit",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "exfunc-agent-toolkit"
}