For the complete documentation index, see llms.txt. This page is also available as Markdown.

Guides

Task-focused how-to guides for extending an existing Lynk project.

Use this section when you already have a working semantic layer and need to add something new — a new entity, a new feature — without rebuilding from scratch. Each guide is a focused checklist that walks through every required step in the right order.


What's in this section

Page
When to use it

You're modeling a new business concept the agent should be able to query — from YAML through relationships, context files, and evaluations

You're adding a new attribute to an existing entity — includes a decision tree to pick the right feature type (field / first_last / formula / metric)

You're adding a new aggregation to an entity — covers checking available features, avoiding duplicate metrics, and writing the SQL

You need to write regression test cases — covers what to test, how to write expected_output, and how to run evaluations in the UI

The agent is generating wrong SQL — covers how to identify the right rule, choose the right scope, and verify the fix

Agent returned a wrong answer, an evaluation failed, or context isn't loading — diagnostic steps for the most common problems


What you can do with this

Use these guides to:

  • Add a new entity correctly — without missing steps that cause the agent to fail (missing relationships, missing context files)

  • Choose the right feature type for what you're trying to express — and understand why the wrong choice produces wrong results

  • Follow a verified checklist so nothing is skipped before you run evaluations and push to production

Before using these guides:

  • If you're building a project from scratch, start with the Project Walkthrough instead — it covers the right build order for a new project

  • If you need the exact field-level syntax for a file you're writing, see File-Types Reference

Last updated