Inspiration
I was inspired by NotebookLM and how it easily organized my study materials for exams and other purposes. Since I wanted my stuff to be accessible in Google Drive, however, and have documents I and others can edit, I decided to make an implementation of Google ADK that does exactly just that. It will also be implemented with calendar scheduling in a larger project of mine.
What it does
It uses graph workflows to structure the user requests into Pydantic schema, categorizing it and determining which document to make (e.g. a Google Docs or a Google Slides presentation). It also moves Drive files if necessary.
How I built it
I used Pydantic schema to categorize the user request and the data inputted into the main agent, a graph workflow implemented to reduce hallucinations and make it more deterministic. I had Claude generate a UI using Streamlit, and the credentials were supplied through an OAuth implementation.
Challenges I ran into
Challenges that I ran into included the inclusion of unwanted schema when initially testing the application, plus dependency issues. In addition, I had to learn how to prompt Claude correctly; the code would be faulty otherwise.
Accomplishments that I'm proud of
I'm proud that the agentic framework I implemented worked fine, and I was able to see google documents on topics (e.g. calculus related rates problems, an infographic on Atlantic salmon ) in my Google Drive, as I requested the agent I implemented in my code.
What I learned
I learned how to properly write out Pydantic schema, using graph workflows to correctly categorize and delegate tasks to sub-agents based off the categories determined by those Pydantic schema. I also learned how to delegate tasks properly to Claude for efficiency.
What's next for Evohacks II Submission - Workspace Agent
I'm planning to implement the same framework I used for this Workspace Agent for a larger calendar app I'm planning on making sometime soon. I'm going to implement it in tandem with scheduling, so that users can have ready-made documents, for whatever plans they schedule using this calendar app.
Built With
- claude
- google-docs-api
- google-drive-api
- google-slides-api
- python
- streamlit