Exploring Advanced Features of the OmniCLI Tool

Nate Agrin · Friday Demos · April 3, 2026 · 6:59

Part 2 of the Omni CLI - a few use nice use cases. Think local agents on top of our rich APIs (plus faster and fewer tokens).

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Okay, part two of the Omni CLI demo. Uh one thing I forgot to show in the first demo is that when you first download and set up your Omni CLI, you're allowed to configure as many different Omni instances as you like. And this allows you to trivially switch environments that your Omni CLI is pointing to, um which is really nice if you have like a staging instance and a project production instance and you want to be able to manage them independently.

  2. Okay, so why build the Omni CLI? Um big motivator was to enable our local agents to have a lot more rich interactivity with uh an Omni instance without requiring them to learn all the semantics of our API. Um internally, just some early testing has shown that uh this significantly reduces the token usage required by agents um to make uh Omni API calls.

  3. Um and it also allows them to complete tasks at a very high rate, like something like 90% with very minimal context. Um So, let's try out uh some Omni commands with an agent. You have access to the Omni CLI uh um One thing we've added is uh run Omni agent help to learn more about how the tool works.

  4. So, we've added this agent up command. It's very similar to a cloud MD or agents MD file that you might find in a project. This just allows um the agent to learn a lot more about how the API or how the CLI works. And uh how it can expect to use it to to answer questions. How many users are on my Omni instance?

  5. Um So, what we're going to see here is uh it's going to try to learn a little bit about the CLI surface area. Unsurprisingly, it tried to uh run the Omni users list command. Um pretty quickly seemed to have learned that that's not exactly the user list command that uh that it needs. It needs to go through the SCIM protocol, which allows it access to the internal user list.

  6. And then uh you can see the first request attempted to look at the length. Um This is paginated, so it learned that there were 100, and then it realized it actually needs to just pull up the total results uh metadata. We got 181. If we go back to our um our manual run, we'll see total results is 181.

  7. So, answered the question correctly. Let's try another one. Um Let's ask it how to add formats to a dimension. So, one really cool thing we allow the LLM to or the CLI to access are these AI search doc endpoints. Uh you can see here it attempted to guess what the body format should be for the the uh request property.

  8. It guessed wrong, it iterated, uh got the correct format, and here we go. So, to add a format to a dimension, use the format parameter in your dimension definition. Um Cool. So, you could use this, you can imagine a scenario where you're trying to automate some updates to your model YAML, and you just are trying to learn how to add these different things or this maybe the LLM on its own is trying to learn them.

  9. And so, you can access this kind of data pretty trivially from our docs. Uh Okay, and the last one, um look up the demo on Okay. So, this one uh on this particular instance is a little trickier. Uh this is a testing instance where we have a lot of models, uh something like in the thousands of models.

  10. And um what we're asking it to do is just look at the user growth month over month. Uh but it's got to find the right model first. Um And unfortunately, the the model list is quite quite large, so I have seen it struggle at times to correctly find the the uh model. But in this case, it looks like it's doing well.

  11. Okay, let's see. So, it's still going through the model list. Once it has the model list, it should switch. Oh, yeah, see, 48,000 models. Um Once it has the model list, it should be able to generate the query correctly. Oh, okay, so it's off to generating the query. Uh this is another indication where it's attempting to prompt, but it got it wrong, so then it um I guess it's gone back to searching for models.

  12. Oh, okay, interesting. So, it got the wrong UUID. Okay, it's still learning, trying to find Okay, so finally found the model. Okay, now it looks like it's used the correct UUID structure. And it's generating query using our AI generate query. And here we go. Cool. So, we've got uh root query results from our nice deterministic model directly in the CLI.

  13. Uh you can imagine, you know, asking the agent to convert that to CSV output and then doing some additional data processing work directly on your command line. Um you can do silly things like convert that table into an ASCII bar chart. Um But in any case, I think you can see here the power of um of this tool is that it just allows you to access both a lot of your Omni instance administrative data and your modeling data directly in the command line, directly available to agents with minimal context.

  14. Um Yeah, so hope you enjoy it, hope you use it, and uh find it to be productive.