Have an AI agent? Let it configure ContextShim for you.

Connect your agent
What your agent reads

Read https://contextshim.com/llms.txt and https://contextshim.com/.well-known/agent-card.json, then inspect https://contextshim.com/.well-known/mcp.json. Show me how to point OPENAI_BASE_URL, ANTHROPIC_BASE_URL, or OLLAMA_HOST at ContextShim and list the active wire rules before making any changes.

Interactive Wire & Rule Simulator

Inspect wire diffs or fire live Cloud Ollama calls.

Select any of the 4 native wire protocols, toggle active rules, and click Simulate Wire Diff for an instant dry-run or Run Live Request to execute against Cloud Ollama (https://ollama.com/v1).

Rules Evaluated on Wire
Ready. Pick a preset or run live against Cloud Ollama.
Incoming Wire JSON (Caller -> ContextShim)
{
  "model": "glm-5.3-flash",
  "messages": [
    {
      "role": "user",
      "content": "Please implement a concise JavaScript clamp(value, min, max) function."
    }
  ],
  "stream": false
}
Mutated Outgoing Wire JSON (ContextShim -> Upstream)
{
  "model": "glm-5.3-flash",
  "messages": [
    {
      "role": "system",
      "content": "ContextShim Policy [rule-coding-standards]: Follow strict ES modules, explicit error handling, Web Crypto APIs instead of Math.random, and concise JSDoc comments. End your reply with [CSHIM-STD] to confirm policy injection."
    },
    {
      "role": "user",
      "content": "Please implement a concise JavaScript clamp(value, min, max) function."
    }
  ],
  "stream": false
}
x-contextshim-* Receipt Headers & Wire Diff
{
  "x-contextshim-mode": "inject_context",
  "x-contextshim-rules-matched": "rule-coding-standards",
  "x-contextshim-upstream": "ollama-cloud"
}
{
  "changed": true,
  "applied_operations": [
    {
      "rule_id": "rule-coding-standards",
      "slot": "system_append"
    }
  ]
}
Native Wire Response Payload
{
  "status": "Click Simulate Wire Diff or Run Live Request to inspect full response JSON."
}