chatgpt-api/readme.md

91 wiersze
3.5 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
2025-06-07 21:11:03 +00:00
**do I just ditch public REST interface and focus on MCP?**
## 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-06-05 16:14:53 +00:00
- API gateway
2025-06-08 21:05:42 +00:00
- **do I just ditch the public REST interface and focus on MCP?**
2025-06-07 17:45:57 +00:00
- enforce rate limits
2025-06-03 13:52:41 +00:00
- how to handle binary bodies and responses?
2025-06-07 12:32:14 +00:00
- add support for `immutable` in `toolConfigs`
- **Public MCP server interface**
2025-06-07 21:11:03 +00:00
- _McpAgent.serve_
- how do I use consumer auth tokens with this flow?
- how does oauth work with this flow?
2025-06-07 12:32:14 +00:00
- **Origin MCP servers**
- how to guarantee that the request is coming from agentic?
2025-06-08 21:05:42 +00:00
- `_meta` for tool calls
- _still need a way of doing this for initial connection requests_
2025-06-07 12:32:14 +00:00
- mcp auth provider support
- 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?)
2025-06-07 09:13:44 +00:00
- caching for MCP tool call responses
2025-06-07 12:32:14 +00:00
- binary bodies / responses?
- resources
- prompts
- other MCP features?
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-07 17:50:18 +00:00
- auth
- custom auth provider configs for projects/deployments
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
2025-06-07 12:32:14 +00:00
- add support for custom headers on responses
- `@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-06-07 09:13:44 +00:00
- handle or validate against dynamic MCP origin tools
- allow config name to be `project-name` or `@namespace/project-name`?
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.