Before you begin, make sure you have installed an SDK and set your API key.
Step 1: Parse a Document
Start with the Context pillar. Meibel can parse any document (PDF, DOCX, images) and return structured content in a single synchronous call.process_document handles parsing, OCR, and structuring in one step. The response contains the extracted text, tables, and metadata.
Step 2: Create a Datasource and Upload Content
Documents become searchable once they live inside a datasource — a managed knowledge base that agents can query.Step 3: Create an Agent
Now move to the Agentic pillar. An agent combines a system prompt with one or more datasources to answer questions grounded in your content.Step 4: Chat with the Agent
Start a session and send a message. Each session maintains its own conversation history.Step 5: Stream a Response
For a real-time experience, stream the agent’s reply token-by-token. This is ideal for chat interfaces where you want to show output as it is generated.Step 6: Check Confidence
The Confidence pillar is built into every response. When an agent answers a question, the response includes confidence metadata that tells you how well-grounded the answer is in your datasource content.What’s Next?
You have now used all three pillars of the Meibel platform. Dive deeper into each area:Context Engineering
Learn how datasources, documents, and ingestion work together
Agents
Understand agent definitions, publishing, and versioning
Confidence Scoring
Deep dive into confidence metrics, citations, and thresholds
Streaming Guide
SSE streaming patterns and best practices