mlsanityData to 7 Oct 2026

HarnessAPI: A Skill-First Framework for Unified Streaming APIs and MCP Tools

arXiv 2605.22733 ↗First posted 21 May 2026cs.AI cs.SEcited by 1

Not on the map. Why?

Abstract (arXiv)

Every Python function deployed as an LLM tool must today exist in two forms: an HTTP endpoint for human-facing clients and CI pipelines, and an MCP tool registration for agent runtimes such as Claude and Cursor. These representations share business logic yet diverge in all the surrounding machinery (routing, validation, serialisation, streaming, and schema maintenance), and they drift apart as the underlying code evolves. We present HarnessAPI, a Python framework that eliminates this duplication by treating a typed skill folder as the single source of truth. From one handler.py plus Pydantic schemas, the framework automatically derives a streaming HTTP endpoint with Server-Sent Events, an interactive OpenAPI/Swagger UI, and a zero-configuration MCP tool, all served from a single process. Dual-mode content negotiation lets the same handler serve SSE-streaming and JSON-returning clients with no handler changes. A dynamic code-generation mechanism ensures Pydantic type annotations propagate correctly to FastMCP's inspection layer, resolving a technical limitation that prevents naive closure-based registration. Measured across six representative skills using cloc, HarnessAPI reduces framework-facing boilerplate by 74% compared with a manually maintained dual-stack implementation (FastAPI server + FastMCP server). HarnessAPI subclasses FastAPI, inheriting its full middleware, dependency-injection, and deployment ecosystem. It is available at https://github.com/edwinjosechittilappilly/harnessapi and on PyPI (pip install harnessapi)

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 14 of its 20 references that are in the map. First posted on arXiv 21 May 2026.

Builds on

14 of 20 references.

References · 14

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  4. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
  5. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  6. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
  7. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  8. 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 507
  9. 2025A survey of agent interoperability protocols: Model Context Protocol (MCP), Agent Communication Protocol (ACP), Agent-to-Agent Protocol (A2A), and Agent Network Protocol (ANP)cited by 98
  10. 2025ScaleMCP: Dynamic and Auto-Synchronizing Model Context Protocol Tools for LLM Agentscited by 36
  11. 2025From REST to MCP: An Empirical Study of API Wrapping and Automated Server Generation for LLM Agentscited by 14
  12. 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestrationcited by 11
2 more
  1. 2025ToolFactory: Automating Tool Generation by Leveraging LLM to Understand REST API Documentationscited by 8
  2. 2025Validating API Design Requirements for Interoperability: A Static Analysis Approach Using OpenAPIcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Flama: a Python framework for development and deployment of production-ready APIs, machine learning, and LLM services
  2. 2026Orchestral AI: A Framework for Agent Orchestration
  3. 2025ToolRegistry: A Protocol-Agnostic Tool Management Library for Function-Calling LLMs
  4. 2026Separating Intelligence from Execution: A Workflow Engine for the Model Context Protocol
  5. 2025A Framework for Testing and Adapting REST APIs as LLM Tools
  6. 2026AEX: Non-Intrusive Multi-Hop Attestation and Provenance for LLM APIs
  7. 2026Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systems
  8. 2026AiFlow: Token-Native Reactive Orchestration with Bounded Backpressure for Streaming LLM Applications