#CodeAgent
smolagents is a barebones library to unlock both native and traditional tool calling for language models

LLMs can already write code and do reasoning, so why bother yourself with writing the tool?

CodeAgent class is here for it! see it in action below
December 31, 2024 at 3:39 PM
Qwen3:8b falls on its face when using this little CodeAgent with search from smolagents I put together and gemma3n:e4b knocks it out of the park.
July 20, 2025 at 11:40 PM
Context + Reliable LLM e.g., Claude code will be the future of coding agents. Checkout Cocoindex that brings fresh context for reliable coding agents!

github.com/cocoindex-io...

(Appreciate a star!)

Full blog here:

cocoindex.io/blogs/index-...

#opensource #codeagent
Build Real-Time Codebase Indexing for AI Code Generation | CocoIndex
Indexing codebase for RAG with CocoIndex and Tree-sitter in real-time: chunking, embedding, semantic search, and build vector index for efficient retrieval.
cocoindex.io
July 13, 2025 at 8:14 AM
It is very easy to use CodeAgent!

Just initialize it with the tool of your choice and the model of your choice

See below how you can get started, you can use the models with HF Inference API as well as locally!
December 31, 2024 at 3:39 PM
New in smolagents v1.17.0:
- Structured generation in CodeAgent 🧱
- Streamable HTTP MCP support 🌐
- Agent.run() returns rich RunResult 📦

Smarter agents, smoother workflows.
Try it now: github.com/huggingface/...
Release v1.17.0 · huggingface/smolagents
New Features ✨ Structured Generation in CodeAgent: Add optional support for structured outputs in CodeAgent, enabling more reliable and consistent generation patterns Adding optional structured g...
github.com
May 27, 2025 at 12:07 PM
#AST #KnowledgeGraph navigate large codebase with #semanticsearch & #graph clustering. #Memory with pruning & undo. Obsidian-style linking. Analysis: Blast radius, unused variables, dead code, and type errors. Reduces token use with skeleton.

TS, Python, Rust, Go
#OpenSource MIT lic
#AI #CodeAgent
GitHub - forloopcodes/contextplus: Semantic Intelligence for Large-Scale Engineering. Context+ is an MCP server designed for developers who demand 99% accuracy. By combining RAG, Tree-sitter AST, Spec...
Semantic Intelligence for Large-Scale Engineering. Context+ is an MCP server designed for developers who demand 99% accuracy. By combining RAG, Tree-sitter AST, Spectral Clustering, and Obsidian-st...
github.com
May 9, 2026 at 12:17 PM
Run untrusted generated by the #harness #codeagent in a sbx with this plugin for runc or Kata #container #OCI runtimes on #Kubernetes. It transparently sandboxes container commands using #nono, a kernel-enforced #sandbox #CLI built on #Linux #Landlock.
#Agents #AI
#OpenSource Apache 2.0 lic
GitHub - kubefence/kubefence: Securely run untrusted workloads in Kubernetes
Securely run untrusted workloads in Kubernetes. Contribute to kubefence/kubefence development by creating an account on GitHub.
github.com
May 14, 2026 at 5:46 PM
Reduce token & tool calls from 26-52 to 1-6 calls, faster 43-82%. When #codeagent explores your codebase query code #graph instead of scanning files with grep, glob, and read.
#MCP server & #CLI, auto index.

TS/JS, Python, Go, Rust, Java, C

#OpenSource MIT lic
#Development #Coding #Programming
GitHub - colbymchenry/codegraph: Pre-indexed code knowledge graph for Claude Code — fewer tokens, fewer tool calls, 100% local
Pre-indexed code knowledge graph for Claude Code — fewer tokens, fewer tool calls, 100% local - colbymchenry/codegraph
github.com
May 6, 2026 at 6:34 PM
August 14, 2025 at 5:23 PM
I was thinking about Anthropics Code execution article, Smolagents CodeAgent and that how come I haven't seen someone do a .NET/C# example of this - so I did a little experiment... 1/
Code execution with MCP: building more efficient AI agents
Learn how code execution with the Model Context Protocol enables agents to handle more tools while using fewer tokens, reducing context overhead by up to 98.7%.
www.anthropic.com
November 8, 2025 at 5:51 AM
Hugging Face Agents Course Quiz — Inference API Connection Error
I think this is related to a known issue that’s been lingering for a while: * * * The warning looks much more like a failure in the **quiz’s own feedback grader** than a failure in your `CodeAgent`. The current quiz Space still creates its own `InferenceClient`, sends your submitted code to `Qwen/Qwen2.5-Coder-32B-Instruct`, and catches failures from that separate inference call as: > `Error generating feedback: ...` You can see that path directly in the current quiz app.py. So I would **not keep changing your exercise code just to make this particular warning disappear**. If your main goal is to continue the course, the simplest option is probably to **skip this Final Quiz for now and continue to the next section**. The course explicitly describes this quiz as ungraded and uncertified; it is meant as a learning/self-check exercise rather than a certification gate. If you want to check your answer anyway, I would use the question’s assessment criteria/reference solution as the useful signal rather than treating this connection error as evidence that your answer is wrong. Why this looks like a long-running grader-side issue (click for more details) Where the failure actually occurs (click for more details) What seems to be the current migration direction (click for more details) A practical decision tree (click for more details) So, in short: **this warning does not look like evidence that your submitted`CodeAgent` solution is wrong.** It looks closely related to the quiz grader’s long-running inference-routing problem. I would continue with the course for now, and treat fixing the grader as a separate Space/maintainer-side issue. The existing Space discussion, migration PR, and Agents Course issue #709 are probably the most useful places for future readers to follow its status.
discuss.huggingface.co
September 10, 2026 at 12:57 AM
Mijn huidige werkomgeving bestaat uit Visual Studio Code met daarop de Cline-codeagent geïnstalleerd.
In Cline kan ik meerdere modellen kiezen, en momenteel werk ik met DeepSeek V4-Flash.
info: semantisch-grootboek.nl
August 17, 2026 at 11:50 AM
Infographic gemaakt op basis van het semantisch-grootboek.nl met Cline als codeagent en DeepSeek V4-Flash als AI.

In tegenstelling tot Gemini Notebook afbeeldingen kun je deze HTML bewerken in VS Code.

Minder grafisch, maar beter beheersbaar en praktisch toepasbaar in een zakelijke context.
August 12, 2026 at 3:06 PM
CVE-2026-12946 - langflow oss
IBM Langflow OSS versions 1.0.0 to 1.10.0 have a security weakness. An attacker can potentially inject malicious code on your system, which could lead to unauthorized access or…

Too many irrelevant or confusing CVEs? Use stackflag.com

#langflowoss #ibm #CVE #infosec
CVE-2026-12946: Remote Code Execution in CUGA Component CodeAgent in IBM Langflow OSS
IBM Langflow OSS versions 1.0.0 to 1.10.0 have a security weakness.
stackflag.com
July 30, 2026 at 8:02 PM
CVE-2026-61447 - PraisonAI before 1.6.78 Remote Code Execution via CodeAgent
CVE ID : CVE-2026-61447

Published : July 11, 2026, 2:16 p.m. | 1 hour, 8 minutes ago

Description : PraisonAI before 1.6.78 contains a remote code execution vulnerability in CodeAgent._execute_py...
CVE-2026-61447 - PraisonAI before 1.6.78 Remote Code Execution via CodeAgent
PraisonAI before 1.6.78 contains a remote code execution vulnerability in CodeAgent._execute_python() that executes LLM-generated Python code without AST validation, import restrictions, or sandbox enforcement. Attackers can influence LLM output through prompt injection to exfiltrate all environment secrets and execute arbitrary code on the host system.
cvefeed.io
July 11, 2026 at 3:29 PM
PraisonAI <1.6.78 hit by CRITICAL CVE-2026-61447: unauthenticated RCE via prompt injection allows code execution & secret exfiltration. No fix yet — restrict access, monitor usage. https://radar.offseq.com/threat/cve-2026-61447-improper-control-of-generation-of-c-51bde3fa75b4e680 #OffSeq #CVE2026...
CVE-2026-61447: Improper Control of Generation of Code ('Code Injection') in Mer
CVE-2026-61447 is a critical vulnerability in MervinPraison's PraisonAI product prior to version 1.6.78. The issue lies in the CodeAgent._execute_python() method, which executes Python code generated by the language model without AST valida
radar.offseq.com
July 12, 2026 at 12:00 AM
🔴 CVE-2026-61447 - Critical (10)

PraisonAI before 1.6.78 contains a remote code execution vulnerability in CodeAgent._execute_pyth...

https://www.thehackerwire.com/vulnerability/CVE-2026-61447/

#infosec #cybersecurity #CVE #vulnerability #security #patchstack
July 11, 2026 at 3:00 PM
🚨 EUVD-2026-43182
📊 10.0/10
🏢 mervinpraison

📝 PraisonAI before 1.6.78 contains a remote code execution vulnerability in CodeAgent._execute_python() that executes LLM-generated Python code witho...

🔗 https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-43182

#cybersecurity #infosec #cve #euvd
July 11, 2026 at 3:00 PM
CVE-2026-61447
PraisonAI versions prior to 1.6.78 are at risk of attackers executing malicious code on the host system. This is due to a lack of validation and restrictions on Python code generated by the Large Language Model…

Too many irrelevant or confusing CVEs? Use stackflag.com

#CVE #infosec
CVE-2026-61447: PraisonAI CodeAgent Python Code Execution Risk
PraisonAI versions prior to 1.6.78 are at risk of attackers executing malicious code on the host system.
stackflag.com
July 11, 2026 at 2:28 PM
個人開発なのでこんなんでええやろと思ってるんだけど、CodeAgentにgit logされると、「あ、やめて……見ないで……」ってなってしまう。
May 15, 2026 at 9:25 AM
DeepSeek研究员陈德里最近与AI协作完成了一项开创性实验,通过自研的DeliAutoResearch系统,由CodeAgent(基于DeepSeek-V4-Pro与GPT-Image2)主导撰写了45页综述论文《从Copilots到同事:自主科研智能体综述》,人类参与时间仅2小时,6天完成全流程

1. 五级能力分级体系
提出L1-L5自主研究智能体分级标准:
•L1(代码补全)到L4(全流程科研)已实现,L5(自主选题/资源分配)仍属构想。当前主流系统如Devin、SWE-Agent处于L4级,展现多日无人值守研究能力
May 27, 2026 at 11:13 AM