Skip to content

Commit 9a559ff

Browse files
committed
new context engineering section under prompt engineering with initial quickstart doc
1 parent 29f9e5e commit 9a559ff

6 files changed

Lines changed: 59 additions & 0 deletions

File tree

src/docs.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,12 @@
628628
}
629629
]
630630
},
631+
{
632+
"group": "Context engineering",
633+
"pages": [
634+
"langsmith/context-engineering-quickstart"
635+
]
636+
},
631637
{
632638
"group": "Tutorials",
633639
"pages": [
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: Context engineering quickstart
3+
sidebarTitle: Quickstart
4+
---
5+
6+
7+
8+
9+
## 1. Open the Context Hub
10+
11+
In the [LangSmith UI](https://smith.langchain.com), select **Context** in the
12+
left-hand navigation. The Context Hub lists every agent and skill in your workspace
13+
14+
![The Context Hub home view listing existing Agent and Skill contexts with their commit metadata.](/langsmith/images/context-hub-home.png)
15+
16+
## 2. Create context
17+
18+
1. Click **+ Create** in the top left of the Context Hub.
19+
1. Choose the context type:
20+
- **Agent** — a full agent bundle including an `AGENTS.md` file and tools.
21+
- **Skill** — a reusable capability that agents can use including a `SKILL.md` file
22+
23+
<img src="/langsmith/images/context-hub-create-context.png" alt="The Create dropdown showing the Agent and Skill context type options." width="360" />
24+
25+
1. Edit and create
26+
27+
## 3. View context
28+
Click on an agent or skill from the Context Hub to view it
29+
30+
![An Agent context with an AGENTS.md file open, showing the environments panel, commit history, and file tree.](/langsmith/images/context-hub-agent-view.png)
31+
32+
The middle panel shows the files in the current commit and
33+
the right panel previews the selected file.
34+
35+
Each saved change creates a new **commit** in the **Commit History** panel on
36+
the left, so you can browse, compare, and revert prior versions without losing
37+
work.
38+
39+
## 4. Tag and promote a commit
40+
41+
Once a commit is ready to ship, promote it to an environment so downstream
42+
agents can pull it.
43+
44+
1. With the target commit selected, click **Promote** in the top right.
45+
1. Choose the destination environment:
46+
- **Promote to Production** — the commit your production agents pull.
47+
- **Promote to Staging** — a pre-production environment for validation.
48+
49+
<img src="/langsmith/images/context-hub-promote.png" alt="The Promote dropdown with options to promote a commit to Production or Staging." width="300" />
50+
51+
1. The environment label (for example, `Production 7ca95573`) moves to the
52+
promoted commit. Use the **Tag** button next to **Promote** to attach a
53+
human-readable label to any commit for easy reference.
436 KB
Loading
33.4 KB
Loading
339 KB
Loading
29.1 KB
Loading

0 commit comments

Comments
 (0)