Node.js client for the unofficial ChatGPT API.
 
 
 
Go to file
Travis Fischer 6530f6a56f 👬 2025-06-05 01:03:40 +07:00
.cursor/rules 💖 2025-05-21 00:50:41 +07:00
.github 📩 2025-06-01 20:02:02 +07:00
.vscode feat: add initial impl of better-auth 2025-05-23 00:19:04 +07:00
apps feat: fixins 2025-06-05 01:01:35 +07:00
packages 👬 2025-06-05 01:03:40 +07:00
.editorconfig feat: init skeleton 2025-04-04 17:53:50 +07:00
.gitignore feat: first e2e test with gateway working :) 2025-06-03 19:46:02 +07:00
.npmrc feat: init skeleton 2025-04-04 17:53:50 +07:00
.prettierignore 🚾 2025-06-01 02:17:31 +07:00
eslint.config.js 🚖 2025-06-05 00:37:57 +07:00
license feat: init skeleton 2025-04-04 17:53:50 +07:00
package.json feat: refactor and WIP add e2e tests 2025-06-03 16:48:24 +07:00
pnpm-lock.yaml 🚡 2025-06-05 00:33:33 +07:00
pnpm-workspace.yaml 🚡 2025-06-05 00:33:33 +07:00
readme.md feat: refactor hono middleware to separate package; lots of work on gateway 2025-06-04 22:54:28 +07:00
tsup.config.ts feat: init skeleton 2025-04-04 17:53:50 +07:00
turbo.json feat: init skeleton 2025-04-04 17:53:50 +07:00

readme.md

Build Status Prettier Code Formatting

Agentic

TODO

  • webapp
  • end-to-end working examples
    • raw
    • openapi
    • mcp
  • stripe
  • transactional emails
    • (openauth password emails and sendCode)
    • stripe-related billing emails
  • auth
    • custom auth pages for openauth
  • re-add support for teams / organizations
  • consider switching to consola for logging?
  • consider switching to bun (for --hot reloading!!)
  • consider projectName and projectSlug or projectIdentifier?
  • for clients and internal packages, importing some types from platform-types and some types from platform-api-client is confusing
    • this actually causes problems because some types from the openapi version aren't compatible with the schema types like PricingPlan
    • solved for now; revisit this to clean up in the future
  • validate stability of pricing plan slugs across deployments
    • same for pricing plan line-items
  • replace ms package
  • add username / team name blacklist
    • admin, internal, mcp, sse, etc
  • API gateway
    • share hono middleware and utils across apps/api and apps/gateway
      • or combine these together? ehhhh
    • MCP server vs REST gateway on public and internal sides
      • REST: GET/POST gateway.agentic.so/deploymentIdentifier/toolName
        • => MCP: MCPClient.callTool with JSON body parameters
        • => OpenAPI: GET/POST/ETC originUrl/toolName operation with transformed JSON body params
      • MCP: mcp.agentic.so/deploymentIdentifier/sse MCP server?
        • => MCP: MCPClient.callTool just proxying tool call
        • => OpenAPI: GET/POST/ETC originUrl/toolName operation with transformed tool params
      • RAW: METHOD gateway.agentic.so/deploymentIdentifier/<pathname>
        • => Raw HTTP: METHOD originUrl/<pathname> simple HTTP proxy request
    • add support for caching
    • add support for custom headers on responses
    • how to handle binary bodies and responses?
    • signed requests
  • revisit deployment identifiers so possibly be URL-friendly?
  • move validators package into platform-types?
    • force toolPath to be non-empty except for raw?
      • will remove ambiguity from username/
    • make namespace optional? and require @ prefix if so? like npm packages
    • separate parseToolIdentifier from parseDeploymentIdentifier and parseProjectIdentifier?
  • @agentic/platform-hono

License

UNLICENSED PROPRIETARY © Agentic

To stay up to date or learn more, follow @transitive_bs on Twitter.