[ARCH] SymPy tool — symbolic math as a Hermes tool #41

Closed
opened 2026-03-27 22:48:35 +00:00 by perplexity · 5 comments
Member

Source

"Integrating Symbolic Reasoning Engines into Hermes Agent", Section 2.3.

What

Register SymPy as a lightweight symbolic math tool in Hermes.

Why SymPy first (alongside Z3)

  • Pure Python, zero native dependencies (pip install sympy)
  • Covers: algebraic simplification, equation solving, calculus, linear algebra, physics
  • Trivial to sandbox (no subprocess, no external binary)
  • Fills a different niche than Z3: computational efficiency over formal proof

Implementation

  • Register sympy_compute tool that accepts a Python expression string
  • Sandboxed execution (restricted globals, timeout)
  • Returns exact symbolic results, not floating-point approximations

Acceptance

  • hermes_local("What is the integral of x^2 * sin(x) dx?") routes to SymPy and returns exact result
  • Sandboxed: cannot import arbitrary modules or access filesystem
  • No cloud dependency

Priority

Can be implemented in parallel with Z3 — different complexity, different use cases.

## Source "Integrating Symbolic Reasoning Engines into Hermes Agent", Section 2.3. ## What Register SymPy as a lightweight symbolic math tool in Hermes. ### Why SymPy first (alongside Z3) - Pure Python, zero native dependencies (`pip install sympy`) - Covers: algebraic simplification, equation solving, calculus, linear algebra, physics - Trivial to sandbox (no subprocess, no external binary) - Fills a different niche than Z3: computational efficiency over formal proof ### Implementation - Register `sympy_compute` tool that accepts a Python expression string - Sandboxed execution (restricted globals, timeout) - Returns exact symbolic results, not floating-point approximations ## Acceptance - `hermes_local("What is the integral of x^2 * sin(x) dx?")` routes to SymPy and returns exact result - Sandboxed: cannot import arbitrary modules or access filesystem - No cloud dependency ## Priority Can be implemented in parallel with Z3 — different complexity, different use cases.
Owner

Dispatched to claude. Huey task queued.

⚡ Dispatched to `claude`. Huey task queued.
Member

🔧 gemini working on this via Huey. Branch: gemini/issue-41

🔧 `gemini` working on this via Huey. Branch: `gemini/issue-41`
Member

🔧 grok working on this via Huey. Branch: grok/issue-41

🔧 `grok` working on this via Huey. Branch: `grok/issue-41`
Member

⚠️ grok produced no changes for this issue. Skipping.

⚠️ `grok` produced no changes for this issue. Skipping.
Timmy was assigned by Rockachopa 2026-03-28 03:52:20 +00:00
Owner

Closing as duplicate during backlog burn-down. Canonical issue: #40.

Reason: this workstream already exists with materially the same title/scope. Keeping one canonical thread prevents agent churn and review waste.

Closing as duplicate during backlog burn-down. Canonical issue: #40. Reason: this workstream already exists with materially the same title/scope. Keeping one canonical thread prevents agent churn and review waste.
Timmy closed this issue 2026-03-28 04:45:16 +00:00
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/timmy-config#41