I recently tried the french provider Eden as a dropin replacement for openrouter. Turns out pi doesnt support them and the devs dont seem to be in a hurry to address this.
My point is, despite everyone using the same openai API format switching to a new router is not completely frictionless.
Oh My Pi may have support. But also you can have Pi extend itself with that support. If you're starting from zero, Get ChatGPT or another provider with web chat to bootstrap the extension. Someone will eventually make a "router bootstrapper" recipe (if there isn't already) so anyone can generate code for a new router specific to their agent.
Oh I don't mean bootstrap a full router service; just the connection to any. Very simple because every router worth using implements the OpenAI and/or Anthropic API specs. The only thing that's really "custom" about a router that's relevant to base agent functionality is how to fetch and parse the list of models.
A router service too should be fairly simple to setup though, as it's just a map of inference sources. The real work is in the deals struck with all those sources to get tokens priced so they can earn.
Comments (115) 46 threads
Show all comments
Showing thread 15 of 46
My point is, despite everyone using the same openai API format switching to a new router is not completely frictionless.
Oh My Pi may have support. But also you can have Pi extend itself with that support. If you're starting from zero, Get ChatGPT or another provider with web chat to bootstrap the extension.
Someone will eventually make a "router bootstrapper" recipe (if there isn't already) so anyone can generate code for a new router specific to their agent.
I haven't tested oh-my-pi, maybe it works. Can be a last resort (but I prefer the simplicity of pi).
A router service too should be fairly simple to setup though, as it's just a map of inference sources. The real work is in the deals struck with all those sources to get tokens priced so they can earn.