Hyset POC — AI skill for Claude Code
Clean-room PoC of HySet (arXiv:2607.25718): set-level tool retrieval for LLM agents via query-conditioned hyperedge prediction.
How to install Hyset POC
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open cicorias/hyset-poc and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Hyset POC does
Clean-room PoC of HySet (arXiv:2607.25718): set-level tool retrieval for LLM agents via query-conditioned hyperedge prediction. PyTorch model + training, CLI, HTTP & MCP server, LangChain execution feedback (Claude/Ollama).
Alternatives in AI
- PyTorch Lightning — Deep learning with PyTorch Lightning framework 6.4k ★
- Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
- Room — Open-source earning-focused swarm intelligence engine 838 ★
README
hyset — set-level tool retrieval for LLM agents
[](LICENSE) [](mise.toml) [](https://arxiv.org/abs/2607.25718)
A runnable, clean-room proof of concept of **HySet**, from *"Tools Are Not Islands: Set-Level Tool Retrieval for LLM Agents via Query-Conditioned Hyperedge Prediction"* (Hong, Dong, Yu, Jiang, [arXiv:2607.25718](https://arxiv.org/abs/2607.25718)).
Independent reimplementation. It is not affiliated with the paper's authors, and their code was not used (see [Clean room](#clean-room)).
An agent with thousands of tools can't put them all in its prompt, so a retriever picks a few first. Most retrievers score each tool on its own and take the top-k. A travel request then comes back with three flight APIs and no currency converter. HySet makes the **tool set** the unit of retrieval: it scores whole candidate sets (hyperedges of a tool co-invocation hypergraph) and hands the single best set to an unmodified agent.
What's in the box:
- Method: the HySet model, its training loop (InfoNCE over pools of negative sets, plus reward-weighted self-training), and exact two-stage inference (shortlist, then score all 21,699 subsets).
- Data: a synthetic tool world with planted set structure (decoy tools, implicit sub-tasks, cardinality-dependent co-invocation), plus a ToolBench converter.
- Execution feedback: via LangChain, with Claude (default) or a local Ollama model
as agent and judge over mock tools. An offline
simreward covers demos and CI. - Interfaces: a
hysetCLI, an HTTP service (FastAPI), and an MCP server, so agents can call it as a pre-selection step.
How it works
Each tool `t` has a learned unit vector `z_t`, initialized from a frozen text encoder's embedding of its description. A candidate s
Related Skills
AI ML Expert
Invoke the AI/ML expert skill for PyTorch, LangChain, and LLM integration
AI Engineering
Use when starting any AI/ML task and unsure which Yzmir specialist pack applies - routes to PyTorch, training,
SkillNav
clawhub install HuiW86/skillnav Search 3,900+ MCP servers with install commands, get daily AI brief, query arX
Knowledge Graph Based Hybrid RAG System
Knowledge Graph-RAG system using Neo4j, LangChain, LangGraph, Claude-3.5-Sonnet. Hybrid retrieval: SBERT embed
Rmcprofile Skill
AI-agent skill, verified toolkit, clean-room teaching engine, executed book and course for RMCProfile (Reverse
Langsmith Fetch Skill
🔍 AI observability skill for Claude Code. Debug LangChain/LangGraph agents by fetching execution traces from
Related Agents
PyTorch
PyTorch ML model implementation, training loops, and model export.
ML Cv
ML/Computer Vision specialist. Use for PyTorch/TensorFlow model work, training pipelines, CoreML export, datas
AI LLM Engineer
Use this agent when the user types /ai or asks for ai/llm engineer work — e.g., build a RAG pipeline over our