Sense: Go SDK for LLM-powered test assertions and structured text extraction

What Sense does
Sense is a Go SDK that leverages Claude for two primary use cases: evaluating non-deterministic output in tests and extracting structured data from unstructured text.
Key features
1. LLM-powered test assertions:
- Write expectations in plain English instead of rigid assertions
- Get structured feedback on failures including what passed, what failed, why, with evidence and confidence scores
- Example usage:
s.Assert(t, agentOutput).Expect("produces valid Go code").Expect("handles errors idiomatically").Run()
2. Structured text extraction:
- Extract typed structs from unstructured text
- Define a struct, pass a pointer, and schema is generated via reflection
- Schema enforcement happens server-side through Claude's forced tool_use
- Example usage:
var m MountError s.Extract("device /dev/sdf already mounted with vol-0abc123", &m).Run() fmt.Println(m.Device) // "/dev/sdf" - Useful for log parsing, support tickets, and API normalization beyond just testing
Additional functionality
Evalfor programmatic resultsComparefor A/B testing- Batching support with 50% cost savings
EvaluatorandExtractorinterfaces for mocking- Includes 135+ tests
Development context
The entire SDK was built using Claude Code, from initial design through implementation, tests, and documentation. The creator is seeking feedback on API design and what would make this useful for developer workflows.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Desktop App Cowork Function Enables AI-to-AI Communication via Shared Google Docs
Users successfully implemented Claude-to-Claude communication using the new cowork function in the desktop app, with two AI agents reading and writing to a shared Google Doc in a structured five-exchange dialogue.

jsongrep: A DFA-Based JSON Query Tool That Outperforms jq in Benchmarks
jsongrep is a Rust-based command-line tool for querying JSON documents using a regular language syntax that compiles to deterministic finite automata (DFA), achieving faster search times than jq, jmespath, jsonpath-rust, and jql in benchmarks.

Open Source Agent Skill for TypeScript, React, and Next.js Patterns
A developer has released a 4,000-line, 17-file structured markdown reference designed for AI agents like Claude Code to follow when generating or reviewing TypeScript, React, and Next.js code. It addresses common issues like improper API response validation and misuse of 'use client' directives.

Queuelo: A Lightweight Approval API for LLM Agents
Queuelo is a simple API layer that lets LLM agents pause before irreversible actions. Agents POST action requests, you get notified to approve or reject, and the agent receives the answer via webhook.