New Provider
Developmentnew-providerNew Provider is an Agent Skill for development published in the katanemo/plano repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Add a new LLM provider to hermesllm. Use when integrating a new AI provider.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/katanemo/plano/blob/HEAD/.claude/skills/new-provider/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/new-provider, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Add a new LLM provider to hermesllm. The user will provide the provider name as $ARGUMENTS.
- Add a new variant to
ProviderIdenum incrates/hermesllm/src/providers/id.rs - Implement string parsing in the
TryFrom<&str>impl for the new provider - If the provider uses a non-OpenAI API format, create request/response types in
crates/hermesllm/src/apis/ - Add variant to
ProviderRequestTypeandProviderResponseTypeenums and update all match arms - Add model list to
crates/hermesllm/src/providers/provider_models.yaml - Update
SupportedUpstreamAPIsmapping if needed
After making changes, run cd crates && cargo test --lib to verify everything compiles and tests pass.