Skip to main content

altergo

Don't break flow. Switch accounts.

PyPI version Python 3.10+ License: PolyForm Shield 1.0.0 CI

Personal, Pro, side project — as many AI accounts as you need.
altergo pro and you're in. Isolates credentials. Shares everything else.

Active development — if something breaks, open an issue.


Why altergo

You hit a rate limit mid-session. altergo pro swaps credentials in place. Same project, same history, no ramp-up.

  • Rate-limited, not stopped. Another account is ready. Drop back into the same session.
  • Thinker, then sprinter. One account for heavy reasoning, another for fast execution. Flip between them like gear ratios.
  • Work, personal, clients. Each account isolated at HOME. Session history, settings, AWS/gh/kubectl shared by default.

Supports Claude Code, Gemini CLI, Codex CLI, GitHub Copilot. macOS and Linux.


Install

pipx install altergo

Requires Python 3.10+ and at least one supported AI CLI on your PATH.


Quick start

# Name your accounts — run once per login you have
altergo --config hocus
altergo --config pocus

# Pick a default — bare `altergo` now launches it
altergo --use pocus
altergo

# Everything below runs against your default account.
# Prefix with an account name to override (e.g. `altergo hocus --yolo`).

altergo --yolo            # skip provider permission prompts
altergo --yolo-resume     # skip prompts + resume your last session
altergo --recall          # interactive picker across every account
altergo --search "query"  # full-text search across history

That's the full workflow. The first launch authenticates that account; subsequent launches drop you straight in.


Essential commands

Command What it does
altergo <account> Launch as the named account
altergo --config <account> Create or reconfigure an account
altergo --use <account> Set the default for bare altergo
altergo --recall TUI session picker across all accounts
altergo --search <query> Full-text search across history
altergo --yolo / --yolo-resume Skip permission prompts (optionally resume)
altergo portal <account> tmux-backed session that survives SSH drops
altergo native Launch against your real $HOME, no isolation
altergo --settings Manage themes, behavior, shared credentials
altergo --help Full reference

How it works (in one paragraph)

altergo overrides HOME to ~/.altergo/accounts/<name>/ before exec'ing the provider binary. Each account keeps its own .credentials.json; everything else inside the provider's dot-dir (projects/, settings.json, CLAUDE.md, agents/, skills/, …) is a symlink back to your real ~/.claude/. Same inode, no sync step. AWS, gcloud, Docker, kubectl, gh stay shared by default — toggle per-tool in altergo --settings.

Deep dive: docs/architecture.md


More


License & contributing

Fair-code under PolyForm Shield 1.0.0 — personal and internal business use is free; commercial use is fine as long as it doesn't directly compete with altergo. See CONTRIBUTING.md.


altergo is an independent project by Pixelabs — not affiliated with Anthropic, Google, OpenAI, or GitHub. It depends on each provider's internal directory structure; if one changes and altergo breaks, please open an issue. Full terms in DISCLAIMER.md.

Metadata

Release files for altergo 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for altergo 1.4.1
File Size Uploaded
altergo-1.4.1.tar.gz 165.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for altergo 1.4.1
File Interpreter ABI Platform
altergo-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 276.3 kB

Release files / altergo-1.4.1.tar.gz

Download URL altergo-1.4.1.tar.gz
Size 165.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0fe45be5b0f49736e87c79f2a05b3c8ea1d0fff23e4f9f851713255319aeb80b
BLAKE2b-256 checksum
How to use checksums
824dbb2a8b918c5b281690bc25795322918351b52cdffe0d675f6dfcf28addb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / altergo-1.4.1-py3-none-any.whl

Download URL altergo-1.4.1-py3-none-any.whl
Size 111.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdec5bbfccdc6b057284c8b20e65811abca86df6890eec6601e17ea20f55c9c2
BLAKE2b-256 checksum
How to use checksums
dfe204da2eecb6a347d5e912be1b7e5667f5eaf9794ec0a03fa44073022ba2c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

1.4.0

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.0.2

2 release files

0.45.0

2 release files

0.44.7

2 release files

0.44.6

2 release files

0.44.5

2 release files

0.44.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page