#126126th of 242 in Agent frameworks and SDKs

symbolicai

Python framework mixing LLM calls with operators and contract-validated outputs

Stars
1.8k
License
BSD-3-Clause
Last commit
Oct 2026
Last release
Oct 2026
Language
Python
Stars, last 30 weeks+87
29 Apr 2026: 1,697 stars6 May 2026: 1,698 stars13 May 2026: 1,700 stars20 May 2026: 1,702 stars27 May 2026: 1,705 stars3 Jun 2026: 1,707 stars10 Jun 2026: 1,714 stars17 Jun 2026: 1,718 stars24 Jun 2026: 1,722 stars1 Jul 2026: 1,726 stars8 Jul 2026: 1,730 stars15 Jul 2026: 1,732 stars22 Jul 2026: 1,733 stars29 Jul 2026: 1,736 stars5 Aug 2026: 1,739 stars12 Aug 2026: 1,742 stars19 Aug 2026: 1,747 stars26 Aug 2026: 1,750 stars2 Sept 2026: 1,751 stars9 Sept 2026: 1,753 stars16 Sept 2026: 1,767 stars23 Sept 2026: 1,772 stars30 Sept 2026: 1,774 stars7 Oct 2026: 1,775 stars14 Oct 2026: 1,776 stars21 Oct 2026: 1,776 stars28 Oct 2026: 1,778 stars4 Nov 2026: 1,778 stars11 Nov 2026: 1,780 stars18 Nov 2026: 1,783 stars25 Nov 2026: 1,784 stars

1,697 on 29 Apr 20261,784 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

SymbolicAI is a Python library that wraps values in `Symbol` objects whose operators (`==`, `+`, `&`, `.map()`, `.choice()`) run either as plain Python or through an LLM. It adds a `@contract` decorator that validates LLM input and output against Pydantic-compatible data models, with automatic retries and remedies. Engines for LLMs, embeddings, search, drawing, OCR and speech are set in `symai.config.json`.

Who it is for: Python developers building LLM apps with typed, validated outputs

Strengths

  • Symbols switch between syntactic and semantic modes with .sem and .syn, so LLM calls are opt-in
  • @contract validates LLM output with retry, backoff and error accumulation on Pydantic-style models
  • Provider-prefixed model names (openai:, anthropic:, gemini:) over plain httpx, no provider SDKs needed
  • Engine tests run against a mock transport, so no API keys are needed to run them

Weaknesses

  • A neurosymbolic engine must be configured before use; README examples show hosted providers
  • Some optional extras are described as experimental and may not work as expected
  • Overloaded Python operators with semantic meaning can surprise readers of the code
  • Config is a JSON file resolved across three locations with priority rules

What it needs

  • Needs LLM provider API key (OpenAI, Anthropic or Gemini), Qdrant (optional indexing engine), WolframAlpha (optional symbolic engine)
  • Models: openai, anthropic, gemini

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
#124llamasharpC# library for running GGUF models locally via llama.cpp bindings3.8k starsMIT63 out of 100
#125webcmdBrowser CLI for agents that remembers how sites work Live demo ↗ (opens in a new tab)2.8k stars+72 (+2.6%) in 30 daysApache-2.063 out of 100
#127anyjevTyped decisions with real probabilities from any open LLM's logits1.7k starsApache-2.063 out of 100
#128unreal-agentGo library for async, crash-recoverable LLM agents, with a TUI and runner2.2k starsMIT62 out of 100
#129node-llama-cppNode.js bindings for llama.cpp to run GGUF models locally from TypeScript2.2k starsMIT62 out of 100