Agent Prompting

Learn how to use prompt models like Claude, GPT-4o, and Gemini optimized for agentic workflows.

General

  • Use the system prompt to give instructions to the model.
  • Use the user prompt to give the model a task to complete.
  • Use XML for structuring your prompt.

Morph API Documentation

View our OpenAI-compatible API

To get your API key, visit the dashboard to create an account. For access to our latest models, self-hosting, or business inquiries, please contact us at info@morphllm.com.

Base URL

https://api.morphllm.com/v1

Compatible with OpenAI SDK

Morph’s API is compatible with the OpenAI SDK. You only need to change the base URL and API key: