ChatGPT integration — enables students to interact with MathTrail through OpenAI's custom GPTs or plugin ecosystem.
- Expose MathTrail API as OpenAI-compatible actions
- Provide task retrieval and submission via conversational interface
- Translate between ChatGPT function calls and MathTrail API
- Language: Go or Python
- API: OpenAI Actions / Plugin schema
- Auth: OAuth2 via Ory Hydra
- Inbound: OpenAI → Actions API
- Outbound: mathtrail-task, mathtrail-profile
- Define OpenAI Actions schema (get-task, submit-answer, get-progress)
- Implement OAuth2 flow with Ory Hydra for ChatGPT auth
- Build action handlers that proxy to internal services