Skip to main content

Overview

OneCLI connects AI agents to Google Classroom through Google’s OAuth flow. Agents can manage courses, create and grade assignments, and view student rosters. The gateway injects OAuth credentials into requests to the Google Classroom API automatically. This is useful for education-focused agents that need to automate course management, distribute assignments, or process student submissions.

Setup

1

Go to Connections

Open the OneCLI dashboard and navigate to Connections > Google Classroom.
2

Authorize

Click Connect Google Classroom. You’ll be redirected to Google to authorize OneCLI. Review the permissions and click Allow.

What agents can do

  • List courses and their details (name, section, status, enrollment code)
  • Create new courses with specified name, section, and description
  • Update course details and archive courses
  • List students and teachers enrolled in a course
  • Invite students or teachers to a course
  • Create coursework (assignments, quizzes) with due dates and point values
  • List and read student submissions
  • Grade student submissions and return them with feedback
  • Create course materials and announcements
  • Read and post to the course stream

Controlling access

Access is per agent: grant the connection to each agent that needs it, choosing per tool what runs freely, what needs human approval, and what stays blocked — a read-only agent is a single grant. Organization rules add guardrails on top, like rate limits and blanket blocks. Everything is checked before credential injection, so a blocked request never reaches Google Classroom.