How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "yasserrmd/AgenticCoder-4B" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "yasserrmd/AgenticCoder-4B",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "yasserrmd/AgenticCoder-4B" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "yasserrmd/AgenticCoder-4B",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

🧠 AgenticCoder‑4B

AgenticCoder‑4B is a compact 4B parameter language model designed for autonomous agent workflows and intelligent code reasoning. It merges the planning and tool-use strengths of Jan-nano with the coding and logic capabilities of Qwen3‑4B‑Code‑Reasoning, creating a balanced model ideal for real-world assistant scenarios, research agents, and smart development tools.


✨ Key Features

  • 🔁 Agentic Planning & MCP Alignment
    Trained on datasets and architectures optimized for multi-step reasoning, task decomposition, and memory–contextual workflows.

  • 💻 Code Understanding & Reasoning
    Strong capabilities in Python code generation, script explanation, optimization, and multi-turn task development.

  • 🧰 Tool Use Simulation
    Handles realistic tool interaction prompts such as CSV analysis, OCR, and file parsing in code.

  • 📦 Compact & Efficient (4B)
    Lightweight enough for cost-efficient deployment, edge device integration, and fine-tuning.


🛠️ Merge Details


📎 Example Use Cases

✅ "Design a 3-week beginner Python curriculum including AI tools."
✅ "Write a Python function to recursively scan JSON for a key, without using recursion."
✅ "Read a folder of images and extract text using OCR, save to files."
✅ "Summarize trends in a sales CSV and visualize monthly performance."

📁 License & Use

This model is provided for research and development use under the terms of the base models’ respective licenses. Please ensure compliance before commercial usage.


🧬 Citation

If you use this model, consider citing it as:

@misc{agenticcoder4b2025,
  title={AgenticCoder-4B: A Compact Agent + Code Reasoning Model},
  author={Yasser, M.},
  year={2025},
  url={https://huggingface.co/your-username/AgenticCoder-4B}
}

🤝 Acknowledgements


Downloads last month
8
Safetensors
Model size
4B params
Tensor type
F16
·
Inference Providers NEW
Input a message to start chatting with yasserrmd/AgenticCoder-4B.

Model tree for yasserrmd/AgenticCoder-4B

Merge model
this model
Quantizations
3 models