authsome
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Local auth cli for AI agents. Log in once via Oauth2/API Key. Every agent stays authenticated — headless, no SaaS, credentials never leave your machine.
authsome
__ __
____ ___ _/ /_/ /_ _________ ____ ___ ___
/ __ `/ / / / __/ __ \/ ___/ __ \/ __ `__ \/ _ \
/ /_/ / /_/ / /_/ / / (__ ) /_/ / / / / / / __/
\__,_/\__,_/\__/_/ /_/____/\____/_/ /_/ /_/\___/
Local auth for AI agents.
Log in once via OAuth2/API Key. Authsome keeps the credentials fresh for every AI agent.
Why Agents Are Different
Agents need API access that survives outside an interactive app:
- agents run without interactive sessions
- tokens expire, rotate, and need refresh
- tool access must work in scripts, cron, CI, SSH, background workers, and parallel pipelines
Hardcoded env tokens leak or go stale. DIY auth means rebuilding flow logic, token storage, refresh handling, expiry checks, and per-provider config for every project.
Authsome is the local credential layer agents can call at runtime.
- No credential sprawl. One encrypted store — every provider, every agent, one place.
- No SaaS, no privacy trade-off. Credentials never leave your machine. No third-party cloud dependency.
- No browser required at runtime. Setup can use browser PKCE, device code, or a browser bridge for secure API key entry. After that, agents run headlessly in CI, SSH, cron, workers, or parallel pipelines.
How It Works
The CLI is the agent's interface: setup once, then inject fresh credentials whenever a tool runs.
┌──────────┐ authsome ┌──────────────┐
│ Agent │ ──────────────────────▶ │ Local Vault │
└──────────┘ └──────┬───────┘
▲ │
│ fresh token / API key │ encrypted
└──────────────────────────────────────┘
Authenticate once:
authsome login github
Then agents get valid credentials on demand:
authsome get github --field access_token
# → ghu_...
authsome export github --format shell
# → export GITHUB_TOKEN=ghu_...
authsome run --provider github --provider openai -- python my_agent.py
# runs the script with GITHUB_TOKEN and OPENAI_API_KEY injected
Credentials are stored locally, encrypted at rest, and refreshed before expiry. No server. No account. No cloud.
Why Authsome
| authsome | Hardcoded env tokens | DIY | |
|---|---|---|---|
| Automatic token refresh | ✅ | ❌ | build it |
| OAuth2 + API keys | ✅ | ❌ | build it |
| Runtime headless use | ✅ | ✅ | varies |
| Local — no SaaS dependency | ✅ | ✅ | ✅ |
| Built-in providers, zero config | ✅ | ❌ | ❌ |
| Multi-account per provider | ✅ | ❌ | build it |
Authsome gives agents one command for a valid token, without scattering long-lived secrets across every project.
Quick Start
pip install authsome
authsome init
authsome login github # opens browser, completes PKCE flow
authsome login github --flow device # headless: Device Code, works over SSH and CI
authsome login openai # secure API key entry via browser bridge
authsome list # all connections + token status
Docs
Specs
License
MIT — see LICENSE.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi