CrewAI extensions
Use Pocket Tools
from crewai import Agent
from crewai.project import CrewBase, agent
from hyperpocket_crewai import PocketCrewAI
@CrewBase
class YourCrew:
"""Your Crew"""
def __init__(self):
self.pocket = PocketCrewAI(
tools=[
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/google/get-calendar-events",
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/google/get-calendar-list",
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/github/list-pull-requests",
]
)
# (optional) if you use tools that require authentication.
self.pocket.init()
@agent
def your_agent(self) -> Agent:
return Agent(
role=ROLE,
llm=LLM,
goal=GOAL,
backstroy=BACKSTORY,
tools=self.pocket.get_tools()
)
if you want to use tools that require authentication,
you should call PocketCrewAI.init() during the init phase.
since CrewAI basically works as a batch system, it doesn't allow to interact during execution.
therefore, all necessary authentication processes must be completed before it starts.
And then, you can see all the required authentication urls during the init phase.
[SLACK]
User needs to authenticate using the following URL: https://slack.com/oauth/v2/authorize?...
[GOOGLE]
User needs to authenticate using the following URL: https://accounts.google.com/o/oauth2/v2/auth?...
[GITHUB]
User needs to authenticate using the following URL: https://github.com/login/oauth/authorize?...
after completing all authentication urls, it will proceed to the next step and start the tasks.
Metadata
Release files for hyperpocket-crewai 0.5.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hyperpocket_crewai-0.5.7.tar.gz | 227.3 kB | Without provenance | Details for hyperpocket_crewai-0.5.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hyperpocket_crewai-0.5.7-py3-none-any.whl | Python 3 | none | any | Details for hyperpocket_crewai-0.5.7-py3-none-any.whl |
Total release size: 230.1 kB
Release files / hyperpocket_crewai-0.5.7.tar.gz
| Download URL | hyperpocket_crewai-0.5.7.tar.gz |
|---|---|
| Size | 227.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
237e23ac796b69d24377a4336047857ed4067b54ade2e7a0826933065a58cf3b
|
|
BLAKE2b-256 checksum How to use checksums |
a51ed7b6247d64b687562a38388c2953985c2d98a3658fe76b02c2060e8b7977
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / hyperpocket_crewai-0.5.7-py3-none-any.whl
| Download URL | hyperpocket_crewai-0.5.7-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c12c41361082e71d811a5f32252cf03655fcc0c0363a857224c4c3ea22c536d
|
|
BLAKE2b-256 checksum How to use checksums |
0585d2ee663e0caccd3c62c966e8f01e5c1b3d61970d51d5b1e53c7a52b923e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Security for hyperpocket-crewai 0.5.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.