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
145
Safetensors
Model size
4B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for yasserrmd/AgenticCoder-4B

Merge model
this model
Quantizations
3 models