{"full_name":"huggingface/smolagents","owner":"huggingface","name":"smolagents","shard":"1","url":"https://github.com/huggingface/smolagents","description":"🤗 smolagents: a barebones library for agents that think in code.","homepage":"https://huggingface.co/docs/smolagents","topics":[],"tag_pages":[],"language":"Python","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/25720743?v=4","created_at":"2024-12-05T11:28:04Z","pushed_at":"2026-11-15T12:44:37Z","metrics":{"stars":30384,"forks":3221,"watchers":137,"issues":984,"prs":2035,"releases":36,"issues_open":432,"issues_closed":552,"prs_open":79,"prs_closed":1086,"prs_merged":870,"discussions":133},"growth":{"day":{"stars":16,"forks":5,"base_day":"2026-11-15"},"week":{"stars":185,"forks":28,"base_day":"2026-11-04"},"month":{"stars":585,"forks":149,"base_day":"2026-10-17"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[28973,28989,29002,29019,29024,29033,29041,29105,29124,29140,29156,29170,29216,29237,29261,29275,29287,29297,29326,29338,29347,29368,29387,29401,29431,29450,29462,29476,29492,29502,29556,29588,29630,29651,29663,29687,29706,29722,29738,29753,29771,29799,29819,29847,29864,29886,29896,29929,29949,29962,29989,30014,30029,30076,30098,30121,30136,30149,30191,30199,30295,30314,30331,30341,30353,30368,30384],"forks":[2889,2892,2894,2895,2896,2899,2904,2918,2918,2917,2921,2925,2937,2941,2946,2952,2954,2956,2963,2967,2968,2970,2975,2978,2980,2986,2988,2995,2995,2997,3000,3009,3028,3036,3040,3047,3048,3050,3051,3051,3060,3072,3075,3079,3087,3090,3094,3106,3114,3119,3128,3133,3139,3151,3158,3163,3166,3172,3190,3193,3208,3208,3212,3212,3214,3216,3221],"watchers":[135,136,136,136,136,136,137,139,139,139,139,139,140,140,140,140,141,141,143,143,143,143,143,143,143,143,143,143,143,143,143,143,143,143,143,143,142,142,142,142,142,142,142,142,142,142,142,142,142,142,142,143,138,138,138,138,139,139,139,139,null,140,139,139,139,139,137],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,427,432,432,433,433,432],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,646,653,653,653,653,79]},"boards":{},"same_owner":[{"full_name":"huggingface/transformers","name":"transformers","shard":"1","boards":{"total":54}},{"full_name":"huggingface/OpenEnv","name":"OpenEnv","shard":"1","boards":{}},{"full_name":"huggingface/accelerate","name":"accelerate","shard":"1","boards":{}},{"full_name":"huggingface/agents-course","name":"agents-course","shard":"1","boards":{}},{"full_name":"huggingface/alignment-handbook","name":"alignment-handbook","shard":"1","boards":{}},{"full_name":"huggingface/diffusers","name":"diffusers","shard":"1","boards":{}},{"full_name":"huggingface/ml-intern","name":"ml-intern","shard":"1","boards":{}},{"full_name":"huggingface/parler-tts","name":"parler-tts","shard":"1","boards":{}},{"full_name":"huggingface/pytorch-image-models","name":"pytorch-image-models","shard":"1","boards":{}},{"full_name":"huggingface/sentence-transformers","name":"sentence-transformers","shard":"1","boards":{}},{"full_name":"huggingface/skills","name":"skills","shard":"1","boards":{}},{"full_name":"huggingface/speech-to-speech","name":"speech-to-speech","shard":"1","boards":{}},{"full_name":"huggingface/transformers.js","name":"transformers.js","shard":"1","boards":{}},{"full_name":"huggingface/trl","name":"trl","shard":"1","boards":{}}],"issues":[{"number":201,"title":"Repeatedly getting \"Error in code parsing: Your code snippet is invalid\"","comments":39,"created_at":"2025-01-15T12:41:48Z"},{"number":2117,"title":"ENH: Add pre-tool-call authorization layer to MultiStepAgent","comments":33,"created_at":"2026-03-23T15:19:17Z"},{"number":2654,"title":"ENH: [Feature] Governance middleware hooks for tool/code execution (PII blocking, cost caps, tool authorization)","comments":16,"created_at":"2026-08-18T10:47:05Z"},{"number":153,"title":"Does smolagents offer structured outputs (constrained decoding not implicit)","comments":15,"created_at":"2025-01-11T04:50:33Z"},{"number":805,"title":"userinputtool() Prompts Not Displaying in Gradio Interface","comments":12,"created_at":"2025-02-26T12:05:06Z"},{"number":655,"title":"[BUG] Sambanova, Groq and Cerebras models not found after update to 1.9.1","comments":12,"created_at":"2025-02-14T16:34:33Z"},{"number":1460,"title":"Feature Proposal: MCP Resource Support","comments":11,"created_at":"2025-06-20T16:23:25Z"},{"number":1159,"title":"[BUG] `ValueError: I/O operation on closed pipe`  `with ToolCollection.from_mcp(...) as tool_collection: ` using StdioServer","comments":11,"created_at":"2025-04-08T03:14:25Z"}],"discussions":[{"number":3174,"title":"Chopper: a small open model that cuts only the needed sentences out of retrieved text","comments":0,"category":"Show and tell","created_at":"2026-11-15T09:09:29Z"},{"number":3172,"title":"187 of 189 pages follow dark mode: a small interactive check from ArtiGram","comments":0,"category":"Show and tell","created_at":"2026-11-14T08:39:59Z"},{"number":3171,"title":"epistemic-guard: Catch unexecuted tool claims in Python on CPU (~11 ms, 0 VRAM, MIT)","comments":2,"category":"Show and tell","created_at":"2026-11-14T03:06:05Z"},{"number":3167,"title":"Approval, spend caps and safe retries for CodeAgent tools: free MIT patterns","comments":1,"category":"Show and tell","created_at":"2026-11-13T06:46:05Z"},{"number":3158,"title":"mcp-slim: Zero-dependency MCP stdio proxy for smolagents ToolCollection.from_mcp (-50% to -98% tokens & SecretGuard)","comments":0,"category":"Show and tell","created_at":"2026-11-12T05:39:06Z"},{"number":3122,"title":"Sandbox containment and revoked tool authority: ARQUIA-EVAL-001 open fixture","comments":0,"category":"Show and tell","created_at":"2026-11-07T01:24:56Z"},{"number":3087,"title":"Carbon Forge over MCP: a shared, versioned record smolagents can read and write","comments":0,"category":"Show and tell","created_at":"2026-10-28T09:48:42Z"},{"number":3086,"title":"OpenAIModel + any OpenAI-compatible endpoint: when to use ToolCallingAgent vs CodeAgent, and which knobs fix gateway quirks","comments":0,"category":"Show and tell","created_at":"2026-10-28T03:30:24Z"}],"latest_release":{"name":"v1.26.0","tag":"v1.26.0","published_at":"2026-05-29T05:09:47Z","body":"## What's Changed\r\n* Bump dev version: v1.26.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/2273\r\n* Add new possible error message to test of LiteLLM providers w/o key by @albertvillanova in https://github.com/huggingface/smolagents/pull/2275\r\n* Fix typo cleanups across docs, examples, and tests by @luojiyin1987 in https://github.com/huggingface/smolagents/pull/2208\r\n* fix: correct f-string escaping in ToolSerializer.dumps error message by @Ricardo-M-L in https://github.com/huggingface/smolagents/pull/2134\r\n* Revert fix: correct f-string escaping by @albertvillanova in https://github.com/huggingface/smolagents/pull/2291\r\n* Update docstring of LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/2292\r\n* Add Exa as a search engine option in WebSearchTool by @10ishq in https://github.com/huggingface/smolagents/pull/2139\r\n* Remove remote WasmExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/2321\r\n\r\n## New Contributors\r\n* @luojiyin1987 made their first contribution in https://github.com/huggingface/smolagents/pull/2208\r\n* @Ricardo-M-L made their first contribution in https://github.com/huggingface/smolagents/pull/2134\r\n* @10ishq made their first contribution in https://github.com/huggingface/smolagents/pull/2139\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.25.0...v1.26.0","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}