File size: 1,559 Bytes
fd81fb2
 
61c20c3
fd81fb2
 
 
 
 
61c20c3
fd81fb2
 
ed9e6ea
61c20c3
 
 
 
 
fd81fb2
 
78098b8
ed9e6ea
78098b8
 
 
 
 
 
 
 
840d305
dae0ada
 
78098b8
 
 
 
 
 
 
dae0ada
 
78098b8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dae0ada
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
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.