Monorepo for SAP AI Core Foundation Models tooling in the Vercel AI SDK ecosystem.
Packages:
packages/sap-aicore-provider/- Vercel AI SDK provider (@ai-foundry/sap-aicore-provider)packages/sap-aicore-nano-sdk/- Lightweight SDK helpers for SAP AI Core (@ai-foundry/sap-aicore-nano-sdk)
Examples:
examples/basic/- BasicgenerateTextexampleexamples/streaming/- StreamingstreamTextexampleexamples/mastra-agents/- Example using Mastra Agents with SAP AI Coreexamples/openai-agents/- Example using OpenAI Agents SDK with SAP AI Core
pnpm install
pnpm run buildpnpm run ci:check # Full CI validation
pnpm run build # Build all packages with tsup
pnpm run test # Run vitest tests
pnpm run lint # TypeScript type checking
pnpm run format # Format with Prettier
pnpm run format:check # Check formattingpnpm --filter basic-example start
pnpm --filter streaming-example start
pnpm --filter mastra-agents-example start
pnpm --filter openai-agents-example startContributions are welcome! Please open issues or pull requests on GitHub.