chatgpt-api/todo.md

116 wiersze
5.3 KiB
Markdown
Czysty Zwykły widok Historia

2025-06-28 14:52:23 +00:00
## API Gateway
- **MCP**: `https://gateway.agentic.so/@{username}/{project-slug}/mcp`
- **HTTP**: `GET/POST` `https://gateway.agentic.so/@{username}/{project-slug}/{tool-name}`
## TODO: MVP
- **website**
- stripe
- double check stripe upgrade flow and add fireworks
- should we bypass stripe for `free` plans to increase conversions?
- handle browser back/forward with `?next=`
- add some social proof to signup page
- docs
- main readme
- sub readmes
- hosted docs
- social images
2025-06-28 16:22:35 +00:00
- add really strict free rate-limits to `@agentic/search`
2025-06-29 03:36:13 +00:00
- **move legacy packages, examples, and docs over**
- replace json project and components with actual designs
- implement footer
- finesse header (mobile)
2025-06-28 16:22:35 +00:00
- create agentic products for legacy tools
2025-06-29 03:36:13 +00:00
- add basic legal terms and privacy policy (and update links in stripe)
- add caching to public projects api endpoints
2025-06-29 10:46:38 +00:00
- add support for [`@google/genai`](https://github.com/googleapis/js-genai) tools adapter
- fix gateway sentry deployment upload
- add feature about optimized context to marketing site
2025-06-29 10:46:38 +00:00
- ensure all agentic tool inputSchemas support openai strict mode by default
- openapi tool extraction currently supports optional properties
- mcp tool inputSchemas may not support openai strict mode either
- maybe default `strict` to `false` in `createAIFunction` for now?
- also add `@agentic/json-schema` to `createJsonSchema` parsing instead of current no-op
2025-06-28 14:52:23 +00:00
## TODO: Post-MVP
- **API gateway**
- oauth flow
- https://docs.scalekit.com/guides/mcp/oauth
- custom oauth flow might need to use separate domains per project instead of separate pathnames?
- since the .well-known routes and standard oauth 2.1 routes are all at the top-level?
- **e2e tests for usage tracking and reporting**
- marketplace
- may need a different flag besides `private` for inclusion on the marketplace
- projects may be public but not accepted into the marketplace?
- => **punt on this for mvp**
- **website**
- llms.txt and llms.txt for all projects
- first-party deployment hosting
- api gateway stress tests
- auth
- custom auth provider configs for projects/deployments
- stripe
- re-add coupons
- declarative json-based pricing
- like https://github.com/tierrun/tier and Saasify
- https://github.com/tierrun/tier/blob/main/pricing/schema.json
- https://blog.tier.run/tier-hello-world-demo
- stripe connect
- stripe-related billing emails
- re-add support for teams / organizations
- consider switching to [consola](https://github.com/unjs/consola) for logging?
- consider switching to `bun` (for `--hot` reloading!!)
- validate stability of pricing plan slugs across deployments
- same for pricing plan line-items
- replace `ms` package
- **API gateway**
- **do we just ditch the public REST interface and focus on MCP?**
- SSE support? (no; post-mvp if at all; only support [streamable http](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http) like smithery does, or maybe support both?)
- signed requests
- add support for custom headers on responses
- add ability to only report stripe usage on non-cached requests
- add support for ToolConfig.cost defaulting to 1, to easily support tools which cost multiple "credits"
- extra `Sentry` instrumentation (`setUser`, `captureMessage`, etc)
- test handling of binary bodies and responses
- improve logger vs console for non-hono path and util methods
- consider replacing `eventId` with uuids for `requestId`?
- openapi origin kitchen sink
- add more test cases to e2e tests for diff content types
- mcp origin kitchen sink
- add support for `/sse`? need to test with claude desktop
- test handling of resources
- `@agentic/platform-hono`
- fix sentry middleware
- https://github.com/honojs/middleware/blob/main/packages/sentry/src/index.ts
- https://github.com/honojs/middleware/issues/943
- https://github.com/getsentry/sentry-javascript/tree/master/packages/cloudflare
- **Origin MCP servers**
- how to guarantee that the request is coming from agentic?
- `_meta` for tool calls
- _still need a way of doing this for initial connection requests_
- _=> ask in the official mcp developers discord_
- mcp auth provider support
- test binary bodies / responses / mcp resources
- resources
- prompts
- other MCP features?
- additional transactional emails
- handle or validate against dynamic MCP origin tools
- upgrade to zod v4
- decide whether deployment fields like `defaultRateLimit` and others should be generated and stored in the db, or should be inferred based on `undefined` values
- support multiple rate-limits by slug
- RateLimit-Policy: "burst";q=100;w=60,"daily";q=1000;w=86400
- https://datatracker.ietf.org/doc/draft-ietf-httpapi-ratelimit-headers/
- make json `$schema` public for `agentic.config.json`
- handle hosting of deployment and user images
- about page inspiration: https://mastra.ai/about
2025-06-29 04:39:23 +00:00
- simplify overlap between `@agentic/core` and `@agentic/platform-core`
- consider moving packages to correspond to their licenses and public/private
- platform AGPL-3.0 private
- platform AGPL-3.0 public; maybe this should be MIT?
- stdlib MIT public
- **simplify `AgenticToolClient` and only require one package per TS LLM SDK**
- `createAISDKToolsFromIdentifier(projectIdentifier)`