--- title: TinyCodeAgent emoji: 🐣 colorFrom: indigo colorTo: yellow sdk: gradio sdk_version: 5.33.1 app_file: app.py pinned: true license: apache-2.0 short_description: Think in python and execute code to solve a task tags: - agent-demo-track - mcp-server-track - mcp - code-agent --- ## TinyCodeAgent TinyCodeAgent is an extention to [TinyAgent](https://github.com/askbudi/tinyagent) that think in python and allows you to execute python code to solve a task. You can extend it using TinyAgent Hooks system, and use it with Gradio Integration. Your agent could become a MCP Server or tool for another agent. This Project is using **Qwen/Qwen3-235B-A22B** from [Nebius](https://nebius.ai/) thanks to their support. ## Benefits - Stateful python code using Modal Functions (Instead of using a sandbox, Faster and cheaper) - Use TinyAgent Hooks system to extend your agent - Use Gradio Integration to use your agent as a tool for another agent - Log System - Storage - Multi MCP Connections - Support Models through LiteLLM ## Credits - [TinyAgent](https://github.com/askbudi/tinyagent) I have built this project as well. - [Modal](https://modal.com/) I use Modal Functions to run python code. - [Gradio](https://gradio.app/) I use Gradio to create a web interface for my agent. - [Cloudpickle](https://github.com/cloudpipe/cloudpickle) I use Cloudpickle to serialize and deserialize python objects. - [SmolAgents](https://github.com/huggingface/smolagents) Use SmolAgents Coding Agent System Prompt as a base for my system prompt.