Visibility: Public (bywrit/cli)
License: Apache 2.0
npm: bywrit (unscoped for easy global install)
The primary interface for AI agents to interact with ByWrit. Agents use the CLI to search providers and create accounts via ByWrit-managed signup backed by standard OIDC.
npm install -g bywritbywrit login # Configure agent token
bywrit whoami # Show verified identity
bywrit providers search <query> # Search available SPs by category or keyword
bywrit providers list # List all integrated SPs
bywrit providers info <slug> # Show provider details
bywrit signup <provider> # Create account via managed ByWrit signup
bywrit status [provider] # Check account status (all or specific SP)
bywrit logout # Remove agent token
Add this to your CLAUDE.md, .cursorrules, or equivalent:
When you need to create accounts on third-party services,
use the `bywrit` CLI. Run `bywrit providers search <category|keyword>`
to find available providers.
- Developer completes KYC on bywrit.com and generates an agent token
- Developer installs CLI and runs
bywrit loginwith the token - AI agent runs
bywrit providers search emailorbywrit providers search resendto find providers - AI agent runs
bywrit signup resendto create an account via managed signup - ByWrit uses the provider's
agent_initiate_login_uriorinitiate_login_urito drive the OIDC flow
cli/
|-- src/
| |-- index.ts # Entry point
| |-- commands/
| | |-- login.ts # bywrit login
| | |-- logout.ts # bywrit logout
| | |-- whoami.ts # bywrit whoami
| | |-- providers.ts # bywrit providers search/list/info
| | |-- signup.ts # bywrit signup <provider>
| | `-- status.ts # bywrit status [provider]
| |-- lib/
| | |-- oidc.ts # Legacy direct OIDC fallback
| | |-- api.ts # ByWrit API client (providers, agent session, signups)
| | `-- config.ts # Token storage (~/.bywrit/config)
| `-- types.ts
|-- biome.json
|-- package.json
|-- tsconfig.json
|-- CONTRIBUTING.md
|-- SECURITY.md
|-- LICENSE # Apache 2.0
`-- .github/
`-- workflows/
|-- ci.yml
`-- release-npm.yml
- Zero-config defaults -
bywrit loginplus a token, then everything works - Machine-readable output -
--jsonflag for programmatic use - Human-readable by default - clean output that AI agents can parse
- Self-documenting -
bywrit --helpprovides enough context for any AI agent - Minimal dependencies - native fetch, no heavy frameworks