Skip to content

limecloud/agentcontext

Repository files navigation

Agent Context

Agent Context is a portable draft standard for the context layer in agent systems: context surfaces, context items, source refs, selection and ranking, budget and window constraints, assembly and injection, compaction and summaries, missing-context records, policy refs, evidence refs, and telemetry refs.

It interoperates with MCP, Agent2Agent, OpenTelemetry, W3C PROV, W3C Web Annotation, CloudEvents, JSON Schema, Agent Runtime, Agent UI, Agent Policy, Agent Evidence, Agent Artifact, Agent Tool, Agent Knowledge, Agent Skills, memory stores, retrieval systems, and model APIs without taking ownership of those systems.

What v0.1.0 defines

  • Context envelopes that snapshot the context available to a turn, task, session, tool, or peer-agent handoff.
  • Context surfaces and items for user messages, system prompts, session history, working memory, durable memory, knowledge snippets, artifact refs, tool results, browser state, runtime state, policy notes, and computed summaries.
  • Source refs with selectors, digests, authority, provenance, and native protocol mappings.
  • Selection, ranking, budget, and context-window records.
  • Assembly and injection records that explain what actually became visible to a model, tool, UI, runtime, or peer agent.
  • Compaction, summaries, omissions, missing-context requests, redaction, and lifecycle events.
  • Public JSON Schemas and LLM-friendly llms.txt / llms-full.txt entrypoints.

Documentation

LLM entrypoints

Related Agent standards

  • Agent Knowledge - source-grounded knowledge packs.
  • Agent UI - interaction surfaces for agent products.
  • Agent Runtime - execution facts, controls, tasks, tools, and recovery.
  • Agent Evidence - evidence, provenance, verification, review, replay, and export.
  • Agent Policy - policy decisions, approvals, permissions, risk, retention, waivers, and traces.
  • Agent Artifact - durable deliverables, versions, parts, previews, exports, and handoff packages.
  • Agent Tool - tool declarations, surfaces, invocations, progress, results, permissions, and audit refs.
  • Agent Context - context surfaces, items, source refs, selection, budgets, assembly, injection, compaction, and missing-context facts.

See the Agent standards ecosystem page for the mutual-link map and future standard candidates.

Local development

npm install
npm run dev

Build

npm run build

The static site is generated at docs/.vitepress/dist.

About

agent context

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors