lourencomaciel/sift-gateway
View on GitHub ↗Reliability gateway for AI tool output: schema-stable, secret-safe, pagination-complete JSON for MCP and CLI agents.
31 ★5 forksPythonUpdated 1mo ago
What you need to know
Sift is a reliability gateway for MCP and CLI tool output that persists payloads as SQLite artifacts, returning schema-stable, secret-safe, pagination-complete JSON.
Install
pipx install sift-gateway sift-gateway init --from <claude|claude-code|cursor|vscode|windsurf|zed|auto>
Usage
- •Mirror MCP tool calls and CLI commands through Sift (sift-gateway run)
- •Query stored artifacts with Python (sift-gateway code)
- •Continue pagination until pagination.retrieval_status == COMPLETE
Key features
- ✓Artifact-backed outputs keep full data out of prompt context
- ✓schema_ref mode for large outputs with query guidance
- ✓Exact structured retrieval via Python over stored artifacts
- ✓Explicit pagination contract and pagination-chain analysis
- ✓Outbound secret redaction enabled by default
- ✓Improved accuracy 33% to 99% and 95.4% fewer input tokens in benchmarks
- ✓Python 3.11+, MIT license
Best for
Making MCP/CLI tool output reliable, safe, and pagination-complete for agents.
Clients: Claude · Claude Code · Cursor · VS Code · Windsurf · Zed · OpenClaw
Documentation ↗Reviewed 2026-08-11
Topics
agent-toolingai-agentsartifactsclicontext-engineeringcontext-managementgatewayjsonllmmcpmodel-context-protocolopenclawpaginationpythonredactionreliabilityschemasecuritysqlite
- Stars
- 31★
- Forks
- 5
- Language
- Python
- License
- MIT
- Created
- 2026-02-08
- Last push
- 2026-08-03