Prompt for your coding agent

- Jailbreak: Flags prompt-injection and jailbreak attempts.
- Difficulty: Rates how hard a prompt is, for routing simple vs complex models.
- Domain: Classifies the topic or domain of a request.
- Ambiguity: Flags vague or underspecified prompts.
- Stuck-in-a-loop: Flags when your agent gets blocked and doesnt try new things
- Guardrail: Monitor if a message contains harrassment or illegal Content
- Leaked Thinking: Monitor your agent for leaking internal thinking or instructions
- Incomplete Throught: Monitor if your user sent an incomplete prompt or instruction
Getting Started
Pricing
Reflexes are priced per event — one classification is one event. Realtime calls hit/v1/reflex/predict and return in about 30ms. The async batch API trades latency for cost: submit events offline and pick up results when the job finishes. Rates step down once you pass 1M events in a billing month.
| Mode | Under 1M events | Over 1M events |
|---|---|---|
| Realtime | $0.0005/event | $0.00025/event |
| Async batch | $0.00003/event | $0.00001/event |
Train a Custom Reflex
When the defaults don’t match your categories, train your own in one API call. Bring labeled examples, let Morph synthesize a dataset from a description, or hand it unlabeled text to sort. A small Reflex trains in about 30 seconds.Choose your labels
The categories you want to sort text into, like
spam vs not_spam, or frustrated vs neutral.Train a Reflex
Send labeled examples, a description to synthesize from, or unlabeled text to sort. Training returns a
fine_tuned_model you classify against.Train a Custom Reflex
Send labeled examples, get a trained classifier. Full API: create, poll, predict, manage jobs.