-->

AI-Mocks

AI-Mocks provides specialized mock server implementations built on top of Mokksy for testing and development with LLM APIs.

FeatureOpenAIAnthropicGeminiOllamaA2A
Chat Completions
Streaming
Embeddings
Moderation
Additional APIsResponses--GenerateFull A2A Protocol(11 endpoints)
  • Chat Completions (/v1/chat/completions) - with streaming support
  • Embeddings (/v1/embeddings) - text embedding generation
  • Moderation (/v1/moderations) - content moderation
  • Responses (/v1/responses) - response generation from input files
  • Messages (/v1/messages) - Claude's message API with streaming
  • Generate Content - standard content generation
  • Streaming Content - streaming content generation
  • Chat (/api/chat) - with streaming support
  • Generate (/api/generate) - text generation with streaming
  • Embeddings (/api/embed) - text embeddings
  • Agent Discovery - agent card endpoint
  • Message Exchange - send/receive messages with streaming
  • Task Management - create, get, cancel, and resubscribe to tasks
  • Push Notifications - configure task notifications
  • Full support for A2A Protocol v0.3.0