← Back to Leaderboard
Aagentrhq

agentrhq/authsome

A self-hosted HTTP credential gateway that keeps API secrets out of agent processes

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
B · 58/100
Maintenance Activity
● Updated 4mo ago
Latest Release
authsome-v0.7.2
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance12/35
Fork Adoption12/25
Release Cadence14/20
License Clarity20/20
DockerSelf-HostedCLI
Total Stars
★ 109
24h Growth
+0
7d Growth
+2
Forks
14

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

agentrhq/authsome Star History (2026-04-20 - 2026-12-03) ALL-TIME STAR HISTORY (2026-04 – 2026-12) +108 in 227d · avg +0/day 115 58 0 2026-04-20: ★ 12026-05-09: ★ 162026-05-23: ★ 332026-06-06: ★ 462026-06-20: ★ 522026-07-04: ★ 592026-07-18: ★ 692026-08-01: ★ 722026-08-15: ★ 782026-08-29: ★ 832026-09-12: ★ 872026-09-26: ★ 902026-10-10: ★ 952026-10-24: ★ 992026-11-07: ★ 1042026-11-21: ★ 1072026-12-03: ★ 109 ★ 109 2026-04 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Authsome separates the agent that requests access from the component that holds upstream credentials. An operator establishes an OAuth2 or API-key connection, and an agent invokes a tool through authsome run --. The HTTP proxy matches the destination against a provider's API URL and adds authentication on the outbound request. The agent can exercise the connection's permissions without receiving the raw upstream secret through that path.

The Python package targets 3.13+ and lists pydantic, pydantic-settings, requests, cryptography, and keyring among its dependencies. The repository contains src/, ui/, skills/, and .claude-plugin/, covering the package, web UI, and agent-facing integration assets. The CLI, provider definitions, and agent adapters are the visible integration points; the presence of those adapters does not imply transparent support for arbitrary network clients or protocols.

Key Capabilities & Differentiators

Bundled providers support OAuth2 and API keys, including multiple accounts per provider. Initial setup can use browser-based PKCE, device-code authorization, or a browser bridge for API-key entry. Credentials are encrypted at rest, and renewable tokens are refreshed before expiry, allowing scheduled jobs and background workers to operate without a browser during normal execution. That refresh behavior does not imply automatic rotation of static API keys or indefinite access after upstream revocation.

authsome onboard sets up identity and claim and supports importing API keys from .env; --base-url connects the CLI to a remote daemon and saves that endpoint for later use. Integrations include Claude Code, Codex, Cursor, OpenCode, LangChain, LlamaIndex, and the OpenAI and Anthropic SDK ecosystems. Provider coverage and agent integration are separate questions: verify both the target provider's authentication flow and whether the chosen tool sends requests through the proxy.

Trade-offs & Limitations

A scoped environment token remains the simpler option for one trusted job that already has a rotation process. Authsome becomes more compelling when several agents need provider access and would otherwise each implement OAuth setup, storage, and refresh. Compared with a custom integration, the bundled providers and wrappers reduce repeated work, but introduce a proxy hop and a shared dependency. If a central daemon is unavailable, every workflow that relies on it can lose access to upstream services.

Keeping raw secrets out of the agent process is not the same as preventing misuse: an agent can still act within the permissions of its connection. Before sharing a deployment across teams or trust boundaries, verify agent-to-connection authorization, multi-account selection and fallback, and whether audit records support incident review. The package is MIT-licensed and marked Alpha; the breaking onboarding change in 0.7.0 is a practical reason to pin versions and test upgrades before rolling them out.

Hardware & Deployment Guide

For local CLI use, provide Python 3.13+ and install with uv tool install authsome, then run authsome onboard. The Docker path runs a persistent daemon without requiring host Python. The Compose stack includes postgres:16-alpine and redis:7-alpine, each with a persistent volume; Redis is configured with append-only persistence. Set AUTHSOME_POSTGRES_PASSWORD, AUTHSOME_MASTER_KEY, and AUTHSOME_UI_SESSION_KEY before launching with docker compose up -d, and check http://localhost:7998/health.

For remote hosting, set AUTHSOME_BASE_URL to the public HTTPS URL and plan for TLS termination, secret management, persistent-volume backups, and recovery tests. No local inference hardware is indicated, but self-hosting does not make provider logins or API calls work offline. Version 0.7.0 made a breaking CLI change by replacing init and scan with authsome onboard and added an authentication session store contract. Versions 0.7.1 and 0.7.2 focused on UI changes, including updates to connection, provider, and settings pages and an agent detail view.

Credential boundary: The HTTP proxy attaches upstream credentials without passing the raw secrets to the wrapped agent process.
Headless execution: Browser PKCE, device code, or browser-assisted API-key entry can be used at setup; routine calls run without a browser.
Provider routing: authsome run -- wraps tool commands, and provider API URLs drive automatic matching.
Connection management: OAuth2 and API-key connections share an encrypted store, with multi-account support and refresh for eligible tokens.
Agent integrations: Adapters cover tools such as Claude Code, Codex, and Cursor, as well as SDKs and frameworks such as OpenAI Agents SDK, LangChain, and LlamaIndex.
Self-hosted operations: Docker Compose includes PostgreSQL 16 and Redis 7 with persistent volumes; the gateway exposes a /health endpoint.
Best For

Teams running headless agents in CI, scheduled jobs, or background workers that need supported APIs without distributing upstream credentials to each process.

Skip If

A single narrowly scoped token already meets your needs, your traffic cannot use the HTTP proxy, or you require verified tenant isolation and audit controls that you have not validated in this deployment.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedCLI
uv tool install authsome

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
authsome ★109+2PythonMITA self-hosted HTTP credential gateway that keeps API secrets out of agent proces
n8n213.1k+787TypeScript—Visual Node.js platform for self-hosted workflows and multi-step AI agents
hermes-agent268.1k+1.5kPythonMITSelf-hosted Python agent with persistent memory and automation across chat and C
Vibe-Trading39.6k+490PythonMITA self-hosted trading agent for evidence-linked research and inspectable backtes

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/agentrhq/authsome.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

agentrhq/authsome Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about authsome

How does an existing agent use a connection without receiving the upstream secret?

Complete onboarding, configure an OAuth2 or API-key connection, and wrap a supported HTTP client command with authsome run --. The proxy matches the destination against provider API URLs and attaches credentials on the outbound request. Test the actual client and endpoints you intend to use; a working curl example does not establish compatibility with every SDK or transport.

What hardware and runtime overhead should I budget for?

The observed workload is HTTP proxying, credential handling, and token refresh, not local model inference. Plan for CPU, memory, network traffic, and persistent storage rather than GPU or VRAM. For Compose, include PostgreSQL and Redis in capacity planning, and measure resource use under realistic request concurrency and payload sizes. No numerical sizing baseline is established.

Can we use Authsome commercially and self-host it for compliance?

The project uses the MIT license, which generally permits commercial use and modification; retain the copyright and license notices when redistributing covered copies. Self-hosting gives you control over where the gateway and its credential store run, but does not remove upstream provider terms, data-handling obligations, or the need to secure the deployment.

When is Authsome preferable to direct API tokens or a custom integration?

A narrowly scoped environment token is simpler when one trusted process calls one provider and rotation is already handled. Authsome is more useful when several agents need the same providers, OAuth refresh would otherwise be duplicated, or upstream secrets should stay outside agent processes. The trade-off is another component to operate and validate as an authorization boundary.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining agentrhq/authsome? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature agentrhq/authsome on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare