Support Bring Your Own Key (BYOK) for agents
Open
Nobody has claimed this yet.
enhancement
feature/desktop
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 6h 51m
- Merged PRs (30d)
- 232
Description
The problem(s)
- If you do not have a paid plan, running out of tokens is fatal and renders the app considerably less useful.
- Some companies will not be happy with their code and product data going through PostHog. They'll want to leverage existing agreements they have with providers.
Proposed solution
- Add support for going direct to model providers
- Add support for providing API keys for supported model providers.
- Add support for connecting to model providers through OAuth.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the agents' model-provider integration and mapping how provider credentials would be supplied through API keys or OAuth. Done means supported providers can use direct keys or OAuth connections, with coverage for both access paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, authentication
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100