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

ProofShot: CLI for AI Agents to Verify UI Code with Browser Recording
ProofShot is a CLI tool that lets AI coding agents open a browser, interact with pages, record sessions, and collect errors, then bundles everything into a self-contained HTML file for review. It works with any AI agent via shell commands and is packaged as a skill.

MCP Search Server with Feedback-Driven Ranking for Claude Desktop
A community-built MCP search server for Claude Desktop runs Exa and Tavily search engines in parallel without requiring API keys. After using a result, users report whether it worked via an outcome tool, which feeds back into ranking to prioritize URLs that help agents succeed.

Google PM Open-Sources Always On Memory Agent with SQLite Storage, No Vector DB
Google senior AI product manager Shubham Saboo has open-sourced an Always On Memory Agent that stores structured memories in SQLite instead of using vector databases, running on Gemini 3.1 Flash-Lite with scheduled memory consolidation every 30 minutes.

Founder Operations in Claude: 19 Reusable Skills for Early-Stage Startups
A founder who exited their first startup published 19 Claude-compatible skill prompts for functions like positioning, pricing, prospecting, and copy — based on their own SOPs and Notion workflows.