chatgpt-api/readme.md

80 wiersze
3.1 KiB
Markdown
Czysty Zwykły widok Historia

2025-04-04 10:53:50 +00:00
<p>
<a href="https://github.com/transitive-bullshit/agentic-platform/actions/workflows/main.yml"><img alt="Build Status" src="https://github.com/transitive-bullshit/agentic-platform/actions/workflows/main.yml/badge.svg" /></a>
<a href="https://prettier.io"><img alt="Prettier Code Formatting" src="https://img.shields.io/badge/code_style-prettier-brightgreen.svg" /></a>
</p>
# Agentic <!-- omit from toc -->
2025-06-05 16:14:53 +00:00
## API Gateway
- **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` 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
## TODO
2025-05-27 07:16:08 +00:00
- **webapp**
2025-06-04 20:00:28 +00:00
- stripe
- stripe checkout
- stripe billing portal
2025-05-26 09:36:44 +00:00
- end-to-end working examples
- openapi
- mcp
2025-06-04 18:13:15 +00:00
- raw
2025-05-27 07:16:08 +00:00
- auth
2025-05-31 10:50:24 +00:00
- custom auth pages for `openauth`
2025-05-31 09:48:27 +00:00
- add username / team name blacklist
2025-05-31 10:50:24 +00:00
- admin, internal, mcp, sse, etc
2025-06-05 16:14:53 +00:00
- API gateway
- `cfValidateJsonSchemaObject` relax object constraint for output validation
- tool call outputs might not be objects
- keep the object validation for tool input params
- public MCP interface
- MCP origin server support
2025-05-31 16:28:09 +00:00
- add support for custom headers on responses
2025-06-03 13:52:41 +00:00
- how to handle binary bodies and responses?
2025-06-05 17:19:59 +00:00
- add requestId to all JSON error responses
2025-06-05 17:59:21 +00:00
- add support for `immutable` in `toolConfigs`
2025-06-05 21:21:43 +00:00
- mcp origin servers
- ignore sse for now
- only support [streamable http](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http) like smithery does
2025-06-06 09:30:19 +00:00
- allow config name to be `project-name` or `@namespace/project-name`?
2025-06-04 20:00:28 +00:00
## TODO Post-MVP
2025-06-05 16:14:53 +00:00
- first-party deployment hosting
2025-06-04 20:00:28 +00:00
- 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
- signed requests
- `@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
2025-06-04 20:00:28 +00:00
- additional transactional emails
- consider `projectName` and `projectSlug` or `projectIdentifier`?
2025-04-04 10:53:50 +00:00
## License
UNLICENSED PROPRIETARY © [Agentic](https://x.com/transitive_bs)
To stay up to date or learn more, follow [@transitive_bs](https://x.com/transitive_bs) on Twitter.