Tutorials¶
Hands-on, end to end
The quickstart gets you a verified answer in ten minutes. These tutorials go deeper: each one is a narrow, concrete scenario you build from scratch, with copy-pasteable commands and a checkpoint at every step. Work through them in order, or jump to the one that matches what you are trying to build.
Before you start any of these
Every tutorial assumes a running telha serve and an API key. If you have not done that yet, start with Installation and the Quickstart.
-
1 · Ingest and ask a verified question
Ingest a handful of supplier RISK records, ask a plain-English question, and read back a cited, claim-verified answer plus its full trace.
~15 min· beginner -
2 · Time-travel with snapshots and compare
Record a fact, correct it, then ask the same question at two different
atTxTimecoordinates to see the correction-versus-past-belief payoff. Finish with/v1/snapshotand/v1/compare.~15 min· beginner -
3 · Hybrid semantic and temporal search
Register an embedding model, ingest text, and run a
vectorquery fused withwhereandatValidTime. TunealphaandminScoreto see similarity and decay trade off.~20 min· intermediate -
4 · Build an MCP agent
Connect to Telha's built-in MCP server with a signed token and drive a minimal agent loop:
findRecords,generate,getTrace.~20 min· intermediate -
5 · Connect a source system
Wire up a real connector end to end: app registration, environment variables, seeding the sync chain, and watching synced items land as sourced, provenance-linked records.
~30 min· advanced
What you need for all of them¶
- A
telhabinary (see Installation) - A running
telha serveinstance and an API key (see the quickstart, steps 2-3) -
curl(every tutorial shows curl first; some also show TypeScript or Python)
Tutorials 3 and 4 additionally need an [llm] and [embedding] provider configured, as covered in quickstart step 7. Tutorial 5 needs credentials for the source system you choose to connect.
Related¶
- Quickstart - the 10-minute path this section expands on
- Concepts - the ideas behind what these tutorials do
- Query language - the full DSL reference
- REST API - every
/v1endpoint