[Solved ✅] can not replicate phidata-composio
I am trying to replicate the phidata-composio example from the docs https://docs.composio.dev/framework/phidata
- Installed composio-phidata, composio_openai, and composio_core
- Authenticated Composio with GitHub successfully
- Running into this error: MetadataFileNotFound: Metadata file for GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER not found. Please run composio apps update to fix this.
- Ran composio apps update, but the error is still there
Any idea how to fix this?
Composio Docs
Using Composio With phidata - Composio
Composio enables your agents to connect with Various Tools and work with them
53 Replies
other-emerald•7mo ago
Hey @AINerd, I am checking on it
Before could you tell me, what is the version of your
composio-core
?
@AINerdharsh-harlequin•7mo ago
Also, if you are running in a python noteboook/Google collab, you need to restart the notebook after running composio apps update for the metadata to actually load.
stormy-goldOP•7mo ago
Thanks, did pip install composio-core, which version should I use? I am using VS code
pip install composio-core -U
should install latest version
it should be 0.4.2stormy-goldOP•7mo ago
yes, I did it
but the same issue
here is how my requirements.txt look like, can you please add the versioning
composio-phidata
composio_openai
composio_core==0.4.2
stormy-goldOP•7mo ago


stormy-goldOP•7mo ago
@kaavee @Soham
other-emerald•7mo ago
Have you installed
composio-phidata
??
Check once in your pip list
stormy-goldOP•7mo ago

other-emerald•7mo ago
Can you come at #debug-help for a quick debug??
stormy-goldOP•7mo ago
sure
other-emerald•7mo ago
Check this out in mean time @AINerd
https://docs.composio.dev/introduction/foundations/components/entity/entity-guide
Composio Docs
🧑🤝🧑 Accounts/Entity - Composio
Composio enables your agents to connect with Various Tools and work with them
other-emerald•7mo ago
Hey @AINerd, could you say me what is your version of
phidata
??stormy-goldOP•7mo ago
phidata[aws]==2.4.21
other-emerald•7mo ago
Could you update it to
2.4.29
and check once if its working??
In our case, its working fine in 2.4.29
stormy-goldOP•7mo ago
yes I just added it, but still getting the same error
stormy-goldOP•7mo ago

stormy-goldOP•7mo ago
I think I fixed it by removing bracket$
from here
what other tools are available besides github
do you have some example of how it works with phidata
other-emerald•7mo ago
It works perfectly?!
stormy-goldOP•7mo ago
yes thans a lot
stormy-goldOP•7mo ago

stormy-goldOP•7mo ago
it does not accepnt list of tools
so removed bracket
but it should get fixed
other-emerald•7mo ago
We have more than 90+ tools 🔥
You can get to know more about it here with code: https://composio.dev/tools
You can even execute action and test it on our dashboard: https://app.composio.dev/apps?category=all
Usecases Catalogue | Composio
Discover Usecases Catalogue | Composio
stormy-goldOP•7mo ago
thanks, so telegram or whatsapp are not there yet?
other-emerald•7mo ago
Cool, let me know if you need more help 😄
stormy-goldOP•7mo ago
thank you 🙂
when are you planning to add phidata examples?
stormy-goldOP•7mo ago

other-emerald•7mo ago
Whatsapp tool is there: https://app.composio.dev/app/whatsapp
Rest you can ask for telegram one with stating your need for....
We will be adding it very soon
GitHub
composio/python/examples/scheduler_agent/scheduler_agent_phidata at...
Composio equips agents with well-crafted tools empowering them to tackle complex tasks - ComposioHQ/composio
stormy-goldOP•7mo ago
I am trying to connect to google calendar
Check this
stormy-goldOP•7mo ago
where can I see what to add into my docker for authentication
other-emerald•7mo ago
You can just run:
In your terminal, and connect your google account with it.
Examples on google calendar: https://docs.composio.dev/examples/python/calendar-agent
stormy-goldOP•7mo ago
many thanks
other-emerald•7mo ago
Its my pleasure to help you 🙂
stormy-goldOP•7mo ago
can I give you a nice feedback? very satisfied with your support
other-emerald•7mo ago
Thanks for that 😄
Can you please put that on twitter if you are ok. It would be of great help to us. 🙂
stormy-goldOP•7mo ago
sure
stormy-goldOP•7mo ago

stormy-goldOP•7mo ago
I keep getting this while trying to do google calendar
where can I specify what email do I use etc and where to authenticate
please send me your twitter accont
other-emerald•7mo ago
When you will run
composio add googlecalendar
, it will open your broswer for OAuth and there you can select your accountother-emerald•7mo ago
stormy-goldOP•7mo ago
it did not do it automatecally, but I had to copy past url
stormy-goldOP•7mo ago

other-emerald•7mo ago
Okay, what browser are you using?? Also if you don't mind can you create a fresh forum and give this new issues there?? It will look clean
Ohh yes, as you are using docker, it is have a separate env, it can't get your browser from there.
stormy-goldOP•7mo ago

stormy-goldOP•7mo ago
@thatsmeadarsh @Soham I keep getting ComposioClientError: API Key is not valid! again
It was working yesterday
other-emerald•7mo ago
Replied you...
deep-jade•7mo ago
hi,
i am trying to get all messages from a whatsapp group channel .
this code will give only group names or also the messages in those?
i am trying to do export feature which is there in WA
-- thx
--
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_actions(actions=[Action.WHATSAPP_GET_ALL_GROUPS])
---
i tried the hello_workd porogram from composio docs. still not getting pass through the basic errors
--
(aienv) ec2-user:bkd:~/code/external/composio$ python test_wa.py
Traceback (most recent call last):
File "/home/ec2-user/code/external/composio/test_wa.py", line 3, in <module>
tools = tool_set.get_actions(actions=[Action.WHATSAPP_REQUEST_CODE])
File "/home/ec2-user/.venvs/aienv/lib64/python3.9/site-packages/composio_openai/toolset.py", line 133, in get_actions
for schema in self.get_action_schemas(actions=actions)
File "/home/ec2-user/.venvs/aienv/lib64/python3.9/site-packages/composio/tools/toolset.py", line 562, in get_action_schemas
self.check_connected_account(action=item.name)
File "/home/ec2-user/.venvs/aienv/lib64/python3.9/site-packages/composio/tools/toolset.py", line 271, in check_connected_account
raise ComposioSDKError(
composio.exceptions.ComposioSDKError: No connected account found for app
whatsapp
; Run composio add whatsapp
to fix this
(aienv) ec2-user:bkd:~/code/external/composio$ composio add whatsapp
Adding integration: Whatsapp...Error: {"status":404,"message":"The requested resource was not found"} --
Hey, I know what is happening here. So whatsapp requires special access which has to be approved by. Facebook. Your account needs to have business api clearance. It's pretty painful to get it.
Do you have any other apps you want to try out?
I will fix this error scenario.
deep-jade•7mo ago
Thanks @Soham for the response.
1. i can try getting the account approved. but how it works for a SaaS provider who wants to download clients data on behalf of them. What's the process? i assume client needs to share some auth token etc. 2. Teams chat, Slack chat download are the two integrations [same usecase download chat for that day for a slack group channel or teams chat channel ] we are looking too. if u can give her sample program that, that'll be helpful
1. i can try getting the account approved. but how it works for a SaaS provider who wants to download clients data on behalf of them. What's the process? i assume client needs to share some auth token etc. 2. Teams chat, Slack chat download are the two integrations [same usecase download chat for that day for a slack group channel or teams chat channel ] we are looking too. if u can give her sample program that, that'll be helpful
rare-sapphire•5mo ago
I cannot see this tool?