anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
An agent that solves tasks by writing Python, running it and fixing its own errors, built on TinyAgent with a Qwen model. Also works as an MCP server. For agent builders and developers.
TinyCodeAgent is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download Agents-MCP-Hackathon/TinyCodeAgent --repo-type space --local-dir TinyCodeAgent cd TinyCodeAgent
TinyCodeAgent is an AI agent that solves a task by writing Python, running it and fixing its own errors. It can build helper functions as it goes. It is made on the TinyAgent framework, uses Qwen/Qwen3-235B-A22B, and can serve as an MCP server or as a tool for another agent.
Developers who want to see a code-writing agent that tests and repairs its own snippets, and people who want to extend an agent with hooks.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| AI development | Agent builders | Study an agent that writes and debugs code | Watching it retry after a traceback |
| Data work | Analysts | Ask for quick calculations | Asking for the root mean square error of two lists |
| Operations | Developers | Use the agent as a tool for another agent | Connecting it through MCP |
You can skip it if you want a fixed workflow, since the agent decides its own code and tools.
| Use case | Who | What they get back |
|---|---|---|
| Solve a task with code | Anyone | An answer found by running Python the agent wrote |
| Find popular Spaces | Hobbyists | A list built from Hugging Face's Spaces |
| Extend an agent | Developers | A base to add hooks, storage and extra MCP connections |
pip install -U huggingface_hub hf download Agents-MCP-Hackathon/TinyCodeAgent --repo-type space --local-dir TinyCodeAgent cd TinyCodeAgent pip install gradio==5.33.1 pip install -r requirements.txt
Type a task into the chat and let the agent work. It writes code, runs it, reads any error and tries again until the task is solved. On your own computer, start the app first and open the page it serves.
python app.py
| Tool | What it does |
|---|---|
| python app.py | Starts the agent's web page on your own computer |
| TinyAgent hooks | Let you extend the agent's behavior |
| Gradio integration | Lets another agent use this one as a tool |
You ask, "Which Spaces are trending on Hugging Face right now?" The agent writes Python to fetch and list them, and you see the answer it produces.
If you are new to this, try one of the sample questions, such as the root mean square error of two lists. Watch how the agent writes code to answer it.
For experts, the agent keeps state across code runs through Modal Functions rather than a sandbox, which the source says is faster and cheaper. It logs, stores data, supports several MCP connections and reaches other models through LiteLLM. Its system prompt builds on the SmolAgents coding prompt.
An agent that solves tasks by writing Python, running it and fixing its own errors, built on TinyAgent with a Qwen model. Also works as an MCP server. For agent builders and developers.
Made by Agents-MCP-Hackathon on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.
What it is: TinyCodeAgent is an AI agent that solves a task by writing Python, running it and fixing its own errors. It can build helper functions as it goes. It is made on the TinyAgent framework, uses Qwen/Qwen3-235B-A22B, and can serve as an MCP server or as a tool for another agent.
Who it suits: Developers who want to see a code-writing agent that tests and repairs its own snippets, and people who want to extend an agent with hooks.
Industry | Who uses it | How they use it | Example
AI development | Agent builders | Study an agent that writes and debugs code | Watching it retry after a traceback
Data work | Analysts | Ask for quick calculations | Asking for the root mean square error of two lists
Operations | Developers | Use the agent as a tool for another agent | Connecting it through MCP
You can skip it if you want a fixed workflow, since the agent decides its own code and tools.
Where to use it:
Use case | Who | What they get back
Solve a task with code | Anyone | An answer found by running Python the agent wrote
Find popular Spaces | Hobbyists | A list built from Hugging Face's Spaces
Extend an agent | Developers | A base to add hooks, storage and extra MCP connections
How to set it up:
pip install -U huggingface_hub
hf download Agents-MCP-Hackathon/TinyCodeAgent --repo-type space --local-dir TinyCodeAgent
cd TinyCodeAgent
pip install gradio==5.33.1
pip install -r requirements.txt
How to use it: Type a task into the chat and let the agent work. It writes code, runs it, reads any error and tries again until the task is solved. On your own computer, start the app first and open the page it serves.
python app.py
Tool | What it does
python app.py | Starts the agent's web page on your own computer
TinyAgent hooks | Let you extend the agent's behavior
Gradio integration | Lets another agent use this one as a tool
Example: You ask, "Which Spaces are trending on Hugging Face right now?" The agent writes Python to fetch and list them, and you see the answer it produces.
For newcomers and experts: If you are new to this, try one of the sample questions, such as the root mean square error of two lists. Watch how the agent writes code to answer it.
For experts, the agent keeps state across code runs through Modal Functions rather than a sandbox, which the source says is faster and cheaper. It logs, stores data, supports several MCP connections and reaches other models through LiteLLM. Its system prompt builds on the SmolAgents coding prompt.
You describe a task
The agent writes Python
The code runs and is tested
Errors are read and fixed
The solved result comes back
Good to know:
Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
README.md 4 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| TinyCodeAgent This page | 29 | gradio | apache-2.0 | |
| Z Image TurboShares mcp-server · gradio | 1,940 | gradio | apache-2.0 | |
| TRELLISShares mcp-server · gradio | 817 | gradio | mit | |
| SAM3 DemoShares mcp-server · gradio | 91 | gradio | apache-2.0 | |
| TRELLIS.2-Text-to-3D (Rerun)Shares mcp-server · gradio | 58 | gradio | apache-2.0 | |
| Multi-Agent AI - CodingShares mcp-server · gradio | 39 | gradio | apache-2.0 |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.