# Claude Agent SDK vs OpenAI Agents SDK

OpenAI Agents SDK is open source and Claude Agent SDK is not, so the question is whether you want source access and the option to fork, or would rather have a vendor accountable for it.

| | Claude Agent SDK | OpenAI Agents SDK |
| --- | --- | --- |
| Licence | Proprietary | Open source |
| Pricing | usage based | usage based |
| Self-hostable | No | No |
| Languages | TypeScript, Python | Python, TypeScript |
| Install | npm install @anthropic-ai/claude-agent-sdk | pip install openai-agents |
| Keys required | ANTHROPIC_API_KEY | OPENAI_API_KEY |

## Full pages

- https://newagent.build/c/claude-agent-sdk
- https://newagent.build/c/openai-agents-sdk

## Machine interfaces

- `GET https://newagent.build/api/registry` — every component as JSON
- `GET https://newagent.build/api/vendors` — vendors, with the repo and releases feed to watch
- `GET https://newagent.build/api/advise?q=<plain english>` — recommended stack for a description
- `GET https://newagent.build/api/stack?<layer>=<id>&format=sh|json|md|yml|agents|env` — a stack as files
- `GET https://newagent.build/llms.txt` — the whole registry in one fetch

Any page here also returns markdown if you send `Accept: text/markdown`.