--- title: Hackaton Mcp Agents emoji: 💬 colorFrom: yellow colorTo: purple sdk: gradio sdk_version: 5.0.1 app_file: app.py pinned: false license: mit short_description: 'This is the code for the Gradio Agents & MCP Hackathon ' tags: - agent-demo-track - ai-agents link: "jarguello76/hackaton_mcp_agents" description: "This is an Agent that has some common tools like search web and aldo a tool where User writes the question (question1), LLM1 writes the answer, LLM2 gets only the answer from LLM1 and has to guess the question1 from the user and generates the question2, then the similarity model assigns a score of similarity between question1 and question2, if similarity score >0.6 then the output is: question1, question2, similarity score. If similarity score is < 0.6 then the answer is returned to LLM2 with the similarity score so LLM2 tries to increase the similarity score until >0.6." --- An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).