Skip to content

Conversation

@evalstate
Copy link
Collaborator

Two tiny agent examples:

  1. hf.js-assistant. Uses https://gitmcp.io to give the agent search access to the huggingface.js github repository (both docs and code). answers queries like
    How to i set up the inference client and make a call
    How does the inference client use HF_TOKEN
    How can i set up tiny-agents

  2. hf-search. Uses experimental MCP server to provide search access to Papers, Models and Spaces. PROMPT.md contains a hint that arXiv identifiers may link Models and Papers. Enables queries like:
    Find me research on Kazakh Language Text Generation
    Are there any papers relating to industrial engineering

@merveenoyan merveenoyan requested a review from julien-c May 20, 2025 16:00
Copy link
Member

@julien-c julien-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!

{
"type": "http",
"config": {
"url": "https://huggingface.co/spaces/evalstate/hf-mcp-server/mcp"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong URL I think? 👀

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious, I thought it would be a gitmcp.io URL @evalstate - is it handled in your Space directly?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Pierrci @evalstate Sorry if I merged this PR too soon. I've moved the tiny agents examples to a public dataset on the Hub (https://huggingface.co/datasets/huggingface/tiny-agents) so that they can be reused by the Python SDK as well. I opened #1472 to make the JS SDK load from there + remove the examples from this repo.

So if you wanna continue the discussion / edit the files, better to do it on the Hub now. Sorry for the friction 😬

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not at all - let me put it right over there, thanks for your patience.

@merveenoyan merveenoyan requested a review from Pierrci May 21, 2025 11:03
Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@Wauplin Wauplin merged commit 83111a3 into huggingface:main May 21, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants