What You’ll Learn
In this quickstart you will:- Understand how Mave differs from simple chat: a 5-phase research process with multiple data sources and fact-checking.
- Send your first message to Mave and receive a researched response with sources and a thread ID.
- Continue the conversation in the same thread for follow-up questions without repeating context.
- Inspect validation (confidence, hallucination risk) and credit usage.
- Optionally list and manage threads via the API.
Time: About 10 minutes (first response can take 30–90 seconds). Credits: A typical Mave query uses 10–50 credits depending on complexity.
Prerequisites
Mavera account with an active subscription and sufficient credits. Check usage at app.mavera.io/settings/usage.
API key from Developer Settings. Keys start with
mvra_live_.HTTP client: Python
requests/httpx, Node fetch, or cURL.POST /mave/chat), not the OpenAI SDK. You’ll use your language’s HTTP client; the Responses API quickstart is optional background.
How Mave Works (5 Phases)
Mave doesn’t just reply—it researches your question before answering:1
Triage
Classifies your query (Simple, Moderate, Complex, or Strategic) and decides whether to ask for clarification.
2
Planning
Chooses which personas and data sources to use (web search, news, SEO, knowledge base) and plans the research steps.
3
Research
Runs tool calls in parallel to gather information from those sources.
4
Execution
Writes a response that weaves together research and persona perspectives and cites sources.
5
Validation
Performs a reality check, flags unsupported claims, and returns a confidence score and hallucination risk.
message (and optionally a thread_id for follow-ups); Mave handles the rest and returns content, sources, validation, and usage.credits_used.
Step 1: Send Your First Message
Send a clear, specific question. Broad or vague questions still work but tend to produce broader answers and use more credits.thread_id (e.g. mave_thread_abc123). You’ll use it for follow-up questions so Mave keeps context.
Step 2: Understand the Response Shape
A successful Mave response looks like this (conceptually):
Example (simplified):
sources to link users to evidence; use validation to decide how much to trust the answer (e.g. show a warning when hallucination_risk is not low).
Step 3: Ask a Follow-Up in the Same Thread
Send a second request with the samethread_id so Mave has full context and doesn’t re-research from scratch.
Step 4: Optional — Enable Streaming
For long answers, you can stream content as it’s generated so users see progress immediately.thread_id, sources, and usage; check the API reference or the actual response format for your version.
Step 5: List and Manage Threads
You can list your threads, fetch one thread’s details, or delete a thread when you’re done.Credit Expectations
Mave is more expensive than simple chat because it runs multiple phases and data sources:
Monitor
usage.credits_used and set budget alerts or use Credits best practices so you don’t run out mid-session.
Common Issues
Request times out after 30+ seconds
Request times out after 30+ seconds
Mave research can take 30–90 seconds. Increase your HTTP client timeout (e.g. 120 seconds) or use streaming so the connection stays active while content is generated.
thread_id not found or 404
thread_id not found or 404
The thread may have been deleted or the ID might be from another account/workspace. Start a new conversation by omitting
thread_id in the next request.402 credits_exhausted
402 credits_exhausted
Your account has no credits left. Refill credits or enable auto-recharge; see Credits.
429 rate_limit_exceeded
429 rate_limit_exceeded
Mave has stricter concurrency limits. Space out requests or implement retries with backoff; see Rate Limits and Errors.
Next Steps
Mave Agent
Data sources, validation, and best practices
Responses API
Simpler, cheaper persona-driven responses when you don’t need research
Credits
Allocation, costs by endpoint, and budget alerts
API Reference
Full Mave chat and thread API specification