#198198th of 242 in Agent frameworks and SDKs

sgr-agent-core

Python framework for research agents using Schema-Guided Reasoning

Stars
1.1k
License
MIT
Last commit
Sep 2026
Last release
Jul 2026
Language
Python
Stars, last 29 weeks+55
7 May 2026: 1,073 stars14 May 2026: 1,074 stars21 May 2026: 1,076 stars28 May 2026: 1,080 stars4 Jun 2026: 1,083 stars11 Jun 2026: 1,083 stars18 Jun 2026: 1,085 stars25 Jun 2026: 1,089 stars2 Jul 2026: 1,092 stars9 Jul 2026: 1,092 stars16 Jul 2026: 1,100 stars23 Jul 2026: 1,106 stars30 Jul 2026: 1,110 stars6 Aug 2026: 1,110 stars13 Aug 2026: 1,112 stars20 Aug 2026: 1,113 stars27 Aug 2026: 1,115 stars3 Sept 2026: 1,116 stars10 Sept 2026: 1,116 stars17 Sept 2026: 1,117 stars24 Sept 2026: 1,118 stars1 Oct 2026: 1,119 stars8 Oct 2026: 1,120 stars15 Oct 2026: 1,120 stars22 Oct 2026: 1,124 stars29 Oct 2026: 1,125 stars5 Nov 2026: 1,125 stars12 Nov 2026: 1,126 stars19 Nov 2026: 1,126 stars26 Nov 2026: 1,128 stars

1,073 on 7 May 20261,128 on 26 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

SGR Agent Core is a Python library with a BaseAgent interface and a two-phase design that has the LLM produce structured reasoning against a schema before picking a tool. It ships SGRAgent, ToolCallingAgent and SGRToolCallingAgent, plus search, reasoning and clarification tools. Agents can be served through an OpenAI-compatible REST API with SSE streaming, a sgrsh CLI, or an ACP stdio server.

Who it is for: Developers building research agents on OpenAI-compatible or local LLMs

Strengths

  • Works with any OpenAI-compatible LLM, including local models
  • Core install is small: pydantic, PyYAML, openai, httpx; integrations are opt-in extras
  • Three entry points: OpenAI-compatible HTTP API, sgrsh CLI, and ACP over stdio
  • Reports 86.08% on SimpleQA with gpt-4.1-mini

Weaknesses

  • Ready-made agents focus on research; other workflows need custom agents and tools
  • Web search and page extraction tools depend on Tavily
  • Docker quick start asks for chmod 777 on logs and reports directories
  • Benchmark covers only gpt-4.1-mini; no local-model results listed

What it needs

  • no GPU
  • Docker + Compose
  • Needs Tavily (optional, for search), OpenAI-compatible LLM endpoint
  • Models: OpenAI-compatible APIs, local OpenAI-compatible servers
  • port 8010

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Agent frameworks and SDKs

See all 242
Also in Agent frameworks and SDKs
RankProjectScore
#196kalosmRust library for running local language, audio and image models2.2k starsApache-2.040 out of 100
#197xagentAutonomous LLM agent that plans subtasks and runs tools in a sandbox8.5k starsApache-2.039 out of 100
#199clawteamCLI that lets a leader agent spawn and coordinate CLI coding agents5.6k starsMIT38 out of 100
#200siaLoop that rewrites a task agent's harness and weights against a benchmark2.2k starsMIT38 out of 100
#201open-autoglmPhone-control agent for Android, HarmonyOS and iOS using ADB and a vision model26.7k stars+254 (+1.0%) in 30 daysApache-2.037 out of 100