
Reference implementation of TSCG (Token-Context Semantic Grammar), a deterministic compiler for transforming JSON tool schemas into compressed, model-readable formats for use in agentic AI systems. This bundle contains the source code of 4 npm packages: @tscg/core (1.4.3): Core compiler with 8 operators (SDM, TAS, DRO, CFL, CFO, CAS, SAD, CCP). Sub-millisecond execution. Zero dependencies. @tscg/mcp-proxy (1.4.3): Model Context Protocol-aware proxy with adaptive profile resolution and per-model cache reader. @tscg/tool-optimizer (1.4.3): Framework integrations for LangChain, MCP, Vercel AI SDK. @tscg/openclaw (1.4.3): OpenClaw plugin with adaptive sweep CLI for per-model empirical profile detection. Validated across 20,000+ API calls on 15+ models (4B-32B parameters + frontier models GPT-4o, GPT-5.2/5.4/5.5, Claude Sonnet 4, Claude Opus 4.7). Sub-millisecond execution. Zero dependencies. MIT licensed. Companion findings library: github.com/SKZL-AI/tscg/tree/main/findings
LLM, tool-calling, JSON, npm, model-context-protocol, prompt-engineering, format-translation, NLP, function-calling, schema-compression, MCP, language-models, agentic-AI, TypeScript
LLM, tool-calling, JSON, npm, model-context-protocol, prompt-engineering, format-translation, NLP, function-calling, schema-compression, MCP, language-models, agentic-AI, TypeScript
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
