Getting Started — Seeding your Context Layer
A guide to importing your organization's knowledge base into Loxtep's semantic layer
What is Context Seeding?
Context seeding is the process of importing your organization's existing knowledge — wikis, glossaries, decision logs, and ontologies — into Loxtep's semantic layer. This gives Loxtep and your team members shared understanding of your business concepts, terminology, and organizational memory.
The process: the five-step meaning pipeline
Seeding is not a separate feature — it is a way of getting through the first two steps of the meaning pipeline faster. The pipeline is the process, and it is what the Meaning workspace tracks:
- Activate a vocabulary pack — industry-standard concepts, so new data has something to align to.
- Organize your terms — a hierarchy plus the aliases each term goes by.
- Define canonical shapes — the field contracts your data binds to.
- Bind sources to shapes — confirm the match between a connector's real fields and a shape.
- Attach processes — the process steps that act on that vocabulary.
Context seeding executes steps 1–2. It does not replace steps 3–5; those still happen in the hub, against the vocabulary you seeded. The three options below are three ways to do the same two steps — pick one, then continue at step 3.
Once seeded, this context becomes the foundation for:
- AI-powered discovery — AI agents understand your org's vocabulary and concepts
- Collaboration — Team members can review and refine seeded knowledge before it goes live
- Reuse — Canonicalize frequently-used concepts to avoid duplication
Before You Start
You'll need:
- A Loxtep organization (you have one if you're reading this)
- A knowledge source — an OKF wiki (Open Knowledge Format, a structured knowledge representation standard), or any wiki/docs your AI agent can read
- Access to the Context Lifecycle page — open Meaning → Context Lifecycle in Loxtep
- Basic knowledge of your org's structure — domains, teams, key concepts
Once connected, seeding a concept is a single MCP call:
{
"operation": "create_ontology_concept",
"name": "Customer Segment",
"namespace": "commerce",
"node_type": "entity"
}
This creates a concept in your semantic layer, ready for your review.
Three Ways to Execute Steps 1–2
All three produce the same thing — concepts and vocabulary in your semantic layer, unreviewed — and all three leave you at step 3. MCP is the fastest, not the only way.
Option 1: Seed via MCP + Your AI Agent — Recommended
This is the preferred method. You connect the Loxtep MCP server to your AI coding tool, then prompt your agent to seed your knowledge base from your wiki. The LLM does the heavy lifting — reading your wiki, extracting concepts and vocabulary, and writing them into Loxtep via the MCP tools.
Steps:
-
Set up the Loxtep MCP server in your tool
- Use the loxtep-plugins-skills repo for your specific tool (Cursor, Claude, Kiro, etc.)
- Follow the install instructions for your client — typically just adding the MCP server URL to your config:
{ "mcpServers": { "loxtep": { "url": "https://mcp.loxtep.io/ai/mcp/stream" } } }- Authenticate via the OAuth browser flow on first connect
-
Prompt your agent to seed your Loxtep knowledge base using your llm-wiki
- Point the agent at your wiki/knowledge source (OKF files, Notion exports, markdown docs, etc.)
- Ask it to create ontology concepts, thesaurus terms, relationships, and process maps in Loxtep
- Example prompt:
"Read our company wiki at
docs/okf/and seed our Loxtep knowledge base with the key concepts, vocabulary terms, and relationships you find. Use theloxtep_meaningandloxtep_buildMCP tools." -
The LLM does the rest
- It reads your source material
- Extracts concepts, terms, aliases, and relationships
- Calls the Loxtep MCP tools to create them (e.g.
loxtep_meaning→create_ontology_concept,create_term, etc.) - Everything lands in a Raw state, ready for your review
-
Review and approve
- Go to the My Context tab on the Context Lifecycle page to see what was seeded
- Edit, refine, or remove artifacts as needed
- Submit for review when ready
Why this is the best approach:
- Zero manual data entry — The LLM reads and extracts knowledge for you
- Understands context — An LLM can infer relationships, aliases, and structure from prose
- Uses your existing tools — Works in Cursor, Claude, Kiro, or any MCP-capable client
- You always get the final say — Everything lands unreviewed; you approve before it goes live
Option 2: Import an OKF Knowledge Bundle
If you have a structured OKF file (.okf.json or equivalent), you can import it in bulk without needing a live MCP connection.
When to use this:
- You have an existing OKF export from another system
- You want a one-time bulk import
- Your knowledge sources don't have MCP connectors yet
- You prefer to version-control your knowledge as files
Steps:
-
On the Context Lifecycle page, navigate to the My Context tab
-
Click "Import OKF Bundle"
-
Select your OKF file
-
Loxtep will:
- Parse the OKF structure
- Create ontology concepts (taxonomies, entity types, relationships)
- Register thesaurus terms (your vocabulary)
- Create canonical knowledge artifacts (decision traces, templates)
- Place all artifacts in a Raw state for your review
-
Review the imported artifacts in My Context, then click "Submit All for Review"
-
Domain owners review and approve in the Domain Review tab
-
Once approved, artifacts move to Ready and become part of your shared context
A minimal OKF bundle looks like this:
{
"version": "1.0",
"namespace": "acme-corp-2024",
"concepts": [
{
"id": "customer-segment",
"name": "Customer Segment",
"description": "Classification of customers by size and industry",
"uri": "https://acme.corp/ontology#customer-segment",
"type": "taxonomy"
}
],
"relationships": [
{
"source": "customer-segment",
"target": "product-line",
"type": "relates-to"
}
],
"vocabulary": [
{
"canonical_key": "smb",
"term": "Small and Medium Business",
"aliases": ["SMB", "mid-market"]
}
]
}
Option 3: Seed Manually from the UI
If you don't have an OKF file or MCP setup yet, you can create concepts and vocabulary directly in Loxtep.
For ontology concepts:
-
Go to the Canonical tab on the Context Lifecycle page
-
Click "New Concept"
-
Define:
- Name — e.g. "Customer Segment"
- Type — Taxonomy, Entity Type, Process, etc.
- Description — What does this concept mean in your org?
- URI — Optional identifier for linking across systems
- Domain — Which team owns this?
-
Click "Create" → artifact enters a Raw state
-
Repeat for related concepts
-
Create relationships between concepts (e.g. "Customer Segment relates-to Product Line")
-
When ready, Submit for Review in My Context tab
For vocabulary/thesaurus terms:
-
Go to the My Context tab on the Context Lifecycle page
-
Click "Add Term" (or wait for OKF import)
-
Define:
- Canonical Key — Unique identifier (e.g.
smbornet-new-customer) - Term — Primary name (e.g. "Small and Medium Business")
- Aliases — Alternate names (e.g. ["SMB", "mid-market"])
- Scheme — optional.
field(vocabulary / correlation key; not an ontology concept),entity(ontology class), orcustom(non-class ontology concept). MCP or APIcreate_termwith no scheme becomesfieldand is not shown as an ontology concept. A new canvas concept with no scheme saves ascustom. Existing terms that already have a missing or unknown scheme show Thesaurus terms need scheme review on the Meaning canvas.
- Canonical Key — Unique identifier (e.g.
-
Click "Create"
-
Submit for review when ready
Option 4: Connect Your Wiki via API or Batch Import
For advanced workflows without MCP, you can:
- Use the Loxtep SDK to programmatically seed concepts
- Schedule batch imports from a connected knowledge system via direct API calls
- Use webhooks and custom scripts to push updates
See the reference section for API documentation and SDK examples.
The Review Step
Once you've seeded artifacts, they move through a context review lifecycle — its own review flow, separate from the Raw / In Progress / Ready readiness stages used for data products (see Data Product Readiness). These are two different lifecycles that happen to sound similar; context artifacts use Draft / In Review / Approved / Published / Retired so a status badge is never ambiguous about which lifecycle it means.
Stages
- Draft (
draft) — You're creating/editing; only you see it - In Review (
in_review) — Submitted for team/domain owner approval - Approved (
approved) — Signed off, on its way to publishing - Published (
deployed) — Live in your org's shared context - Retired (
retired) — No longer active, kept for historical/audit reference (a separate end state, not part of the progression above)
Review Process
- You create → artifacts start Draft
- You submit → move to In Review
- Domain owner reviews → sees your artifact in the Domain Review tab
- Domain owner approves → moves to Approved, then Published
- Live → Your team and AI agents now see this knowledge
If Changes Are Needed
During review, the domain owner may ask for edits. You'll:
- See feedback in My Context
- Click "Edit" on the artifact
- Make changes
- Submit again
Understanding the Tabs
My Context
- Shows: Your personal drafts and in-progress artifacts
- Actions: Create, edit, submit for review, delete
- Purpose: Your workspace for seeding
Domain Review
- Shows: (For domain owners) Artifacts from your team pending approval
- Actions: Approve, request changes, resolve conflicts
- Purpose: Quality gate for shared knowledge
Canonical
- Shows: Live artifacts that are Published (ontology concepts & relationships)
- Actions: View, search, understand relationships
- Purpose: Your org's shared knowledge reference
Best Practices for Seeding
- Start with your glossary — High-ROI, low-risk; teams understand terminology
- Define 5–10 key concepts — Don't try to ontologize everything at once
- Use consistent naming — "Customer Segment" not "Cust Seg" or "Segments"
- Link related concepts — Relationships make the ontology searchable and AI-useful
- Add aliases — Help AI agents recognize variations (e.g. "SMB" = "Small and Medium Business")
- Assign domains — Clarifies ownership; helps with access control
- Write clear descriptions — Future team members will thank you
- Review iteratively — Start small, grow over time
- Document your namespace — If exporting OKF later, namespace helps prevent collisions
- Plan for maintenance — Designate a curator; treat seeded knowledge like any other asset
Troubleshooting
"Your personal context is empty"
This means you haven't created or imported any artifacts yet. Start with Option 1 (import OKF) or Option 2 (create manually).
"I submitted artifacts, but they're not showing as Published"
Artifacts must be approved by a domain owner or organization admin before they become Published. Check with your domain owner or go to the Domain Review tab to track status.
"I can't create concepts"
You need at least Contributor role in Loxtep. Contact your organization admin if you don't have access.
"The OKF import failed"
Common causes:
- Invalid JSON — Verify your OKF file is well-formed
- Missing required fields — Check the OKF schema documentation
- Duplicate concept IDs — Each concept must have a unique ID within your namespace
- Network issue — Retry; contact support if it persists
"I want to export my seeded knowledge back to OKF"
Use the Export button in the Canonical tab. This creates an OKF file you can version control, share, or use in other systems.
What Happens After Seeding?
Once your context is Published, it powers:
AI Agents
AI agents can now:
- Understand your terminology (e.g. "smb" = "Small and Medium Business")
- Reason about your org structure
- Make decisions consistent with your documented processes
- Reference canonical knowledge in responses
Process Intelligence
- Agents can search and reason about your domain concepts
- Relationships help with entity resolution across systems
- Vocabulary helps with intent matching
Governance
- Track changes to critical knowledge
- See who seeded what and when
- Audit approval chains
- Manage transitions between Draft, In Review, Approved, Published, and Retired
Recommended Seeding Sequence
- Gather your source material — Wiki exports, glossaries, decision logs
- Prepare OKF format (if bulk import) — Or create manually
- Create your first artifacts — Start with 5–10 high-value concepts
- Submit for review — Ask a domain owner to approve
- Iterate — Add more as you go
- Continue at pipeline step 3 — Open Meaning → Shapes and define the canonical shapes your seeded vocabulary will bind to. Seeding got you through steps 1–2; the Meaning workspace takes it from step 3.
Learn More
Explore the rest of the docs for:
- OKF Specification — Detailed OKF schema reference
- Data Product Readiness — the same Raw/In Progress/Ready model applied to data products, see Data Product Readiness
- Advanced Seeding — Programmatic seeding via SDK and API
- Governance — Access control and approval workflows
- Semantic Layer Architecture — How Loxtep stores and indexes your context
Get Help
- In-product: Look for ? icons next to form fields for contextual help
- Knowledge Base: Search "context seeding" in our docs
- Community: Ask in Loxtep Slack or Discord
- Support: Email support@loxtep.io with details of your use case