new·Earn with mozg — 20% of every monthSend somebody here and take a fifth of every plan payment they make, for as long as they keep paying — not a bounty on the first invoice. Your handle is the link, the window is thirty days, and the commission lands on your balance the second they pay. Free to join: if you have signed in, you already have the link. mozg.sh/earnall news →
mozg.beta
Sign in

LangChain · LangGraph · all subjects

out of scope

8 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Context engineering definition and purpose

Context engineering is the practice of building and optimizing context to improve agent performance and capabilities. Context is the information an agent relies on to act, such as system instructions, tool definitions, and reference material. Agents behave inconsistently in production when their context is poorly managed.

Skill definition and contents

A skill is a versioned repo in the Context Hub that packages a reusable capability an agent can invoke. Skill repos usually contain a SKILL.md file in the root directory for instructions and usage guidance, plus optional supporting files such as references, templates, and schemas. Examples include email formatting, code review, and web research.

Agent definition and contents

An agent is an AI system that completes tasks end to end using tools, skills, and subagents. An agent repo packages its configuration, including high-level instructions, linked skills and subagents, and tool configuration. Agent repos usually contain an AGENTS.md file for system prompt and operating instructions, plus optional files such as tools.json and linked agents/* or skills/* entries. Examples include an email assistant, coding copilot, or customer support agent.

Skills vs agents use cases

Skills are reusable context modules for reusable instructions, policies, or examples shared across agents. Agent repos are top-level bundles that define how an agent should operate. Use skills when you find yourself copying the same block of context into several agents; pull it out into a skill repo and reference it from each agent instead.

Linked repos in Context Hub

Context Hub commits support three entry types in files: file (inline file content), agent (link to another agent repo), and skill (link to another skill repo). When a linked agent or skill repo gets a new commit, LangSmith propagates that update to parent repos that reference it.

Context Hub vs store backend

Context in LangSmith can be managed by two different backends: the Context Hub and a store backend. The Context Hub is the agents' long-term context store that tracks every change as a commit and supports versioning, sharing, and continuous improvement. A store backend is built for runtime state and holds information an agent accumulates while running: memories, conversation history, user preferences, learned facts, and other data that evolves per session or per user.

Context Hub versioning capabilities

Every change to a repo in the Context Hub creates a new commit. Commits are immutable, browsable, and comparable. You can see exactly what changed between two versions of an agent, revert to any prior commit if a change regresses behavior, tag important commits for easy reference, and promote a commit to an environment like Staging or Production so downstream agents pull a stable version rather than the latest edit.

Context Hub sharing and permissions

Every repo in the Context Hub lives in a workspace, and access depends on workspace permissions plus repo visibility. Private repos are visible only inside the workspace. Public repos can be discovered and pulled by anyone. Creating commits, adding tags, and promoting environments requires update access in the workspace.

Give your agent this brain