whereismyai
Unsworn
Unsworn is an API router that runs endpoint handlers written in any programming language and enforces rules through configuration.
Unsworn is an API router that handles routing, validation, auth, CORS, rate limiting, caching, proxying, logging, and metrics through a TOML configuration file. Endpoint handlers can be written in virtually any language, allowing different routes to use the best tool for the task such as Python for data libraries or Rust for performance. It sits in front of existing applications or serves as a standalone router, and can expose the same handlers to AI agents as Model Context Protocol tools. The declarative routing and security rules run entirely in Rust, while handlers operate in worker pools. It includes features like request validation against OpenAPI specs, shadow routing, and performance monitoring.
Unsworn at a glance
- Best for: Software engineer
- Runs on: CLI, self-hosted
- Pricing: Free
- Released: November 2026
- Category: AI coding tool
- Website: github.com/j4crev/unsworn
Key features
- Route API requests to handlers written in any programming language
- Enforce security rules, auth, and rate limits via TOML configuration
- Expose API routes and plain functions as Model Context Protocol tools
- Proxy traffic and add caching or validation to existing apps without code changes
- Validate request parameters, headers, query strings, and bodies with JSON Schema
- Monitor route latency and CPU usage with command line tools
- Generate type definitions in the handler's language from API contracts
Use it for
- Add authentication and rate limits to an existing application without code changes
- Build multi-language APIs combining TypeScript, Python, and Rust endpoints
- Expose existing REST API routes as AI agent tools via the Model Context Protocol
- Enforce security rules and request validation outside application code
Alternatives to Unsworn
- Unspin — Shows live progress, step names, and ETAs for coding agent shell commands instead of a spinner.
- Ungate — Use existing AI subscriptions in Cursor without paying for extra API tokens.
- Unblocked — Reasons across all organizational sources to provide verified context for AI agents.
- FreeLLMAPI — Accesses hundreds of free LLM models and billions of tokens through one API key.
- Ctxfw — Reduces AI context token mass while preserving code structure and dependencies.
- Unlazy — Verifies AI agent output by running shell-based gate contracts against expectations.
- HarnessRouter — One API to manage agent runtimes, sandboxes, and execution lifecycles.
- Project STROT — Runs locally at zero marginal cost with typed JSON outputs and confidence-based abstention.
- OmniRoute — Routes requests across 352 providers with automatic fallback and cost-based selection.
- OpenRouter — Access over 500 models and 80 providers through one unified API.
- Respan — Route requests to over 1,000 models with built-in fallback and observability.
- Lintsure — Runs locally with zero network calls and maps findings to major frameworks.
All Unsworn alternatives