some actions need precursor actions before being able to execute them
a concrete example
- the tool
GMAIL_REPLY_TO_THREADwhich needs athread_id - which can be got by
GMAIL_LIST_THREADSas an example, there could be other ways to get athread_idtoo
a second more dense exmaple the send email tool needs an email, if you give a name it should fetch the name from contacts and then you can send the email
when we agentically execute actions inside composio, we need to know either what info to get from the user or what other action we should take before we execute the action.
you are supposed to build a basic dependency graph for this
to keep this limited in scope, we expect you to only do it for Google Super and Github
the final submission should be a visualized dependency graph where i can see connection (this is not super important just should exist for me to see if graph with edges and nodes)
- go to https://platform.composio.dev and get an api key
- run
COMPOSIO_API_KEY=PUT_YOUR_KEY_HERE sh scaffold.shwill give you an openrouter-key - check
src/index.tsto see how to fetch full google raw tools (fastest way to run is https://bun.sh/)
you can implement this with whatever language you want, feel free to use language models and coding tools
once you are done use sh upload.sh <your_email> [--skip-session]
upload.shcollects recent local agent sessions intoagent-sessions/before creating your submission zip.- It includes recent activity from this task folder for Codex, Claude Code, OpenCode, and Cursor (90-minute window).
- If no recent sessions are found, interactive runs prompt you before continuing.
- Use
--skip-sessiononly if you explicitly want to upload without session tracing.
examples:
sh upload.sh your_email@example.comsh upload.sh your_email@example.com --skip-session