|
| 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 | + |
| 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 | + |
| 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. |
0 commit comments