00:00:00This is a CLI tool from ASI1.
00:00:02It's an agentic AI model you can run from a Python CLI.
00:00:06It's either really useful or it's just another agent that falls apart the second
00:00:10you try to automate it.
00:00:11That's what we're gonna find out here.
00:00:13We have videos coming out all the time, be sure to subscribe.
00:00:16[MUSIC]
00:00:21Now, ASI1 is already a platform, but their CLI tool is new.
00:00:26Most AI tools right now start with a dashboard.
00:00:29ASI1 can now start in the terminal, which sounds small, but it actually changes a lot.
00:00:34Because there isn't a UI-first product, it's not a prompt playground anymore like
00:00:39others trying to be a workflow tool.
00:00:41It's a CLI, an API, and an agent-style behavior all in one.
00:00:45Yeah, that's pretty sweet, we can just integrate it right into our workflows.
00:00:49But it could also be a trap, because a lot of these tools fall apart with time.
00:00:53And if this is real, then our command should actually work here.
00:00:55This is the entire setup.
00:00:57A Python CLI calling the AS1 API.
00:01:00The custom script that I have here is what you use when you actually wanna wire
00:01:05into your system.
00:01:06You'll see token streaming, cool, but that's not the point.
00:01:09The point is that this isn't a chat UI covered up like an API.
00:01:14It's just HTTP, headers, and JSON.
00:01:17Now since I have the script, I can now just run this and paste in a question here.
00:01:22I'll do something like let's plan to build a CLI that monitors, logs, and
00:01:26detects spikes, output only the plan.
00:01:29Then we get a rather detailed output here as you could expect.
00:01:33Another nice fact here is that the CLI script version will actually remember
00:01:36context, so you can keep going.
00:01:39Now I can keep going with a question like why?
00:01:42Which is exactly what we often want as a developer, and
00:01:45we can expand on this context.
00:01:46Now if you need fresh data,
00:01:48then it also can do a web search using the parameter web search like this.
00:01:52I'll ask, what changed in Python 3.14 recently?
00:01:55Give me five bullet points, we're gonna do web search and stream.
00:01:59But it still doesn't mean it's useful even though it produces this.
00:02:01So the real question is now, why should you care?
00:02:04Because if this works, it slots into workflows, scripts, SSH sessions, CI pipelines.
00:02:12And if it doesn't work, then it's just another thing you can't trust in automation.
00:02:16It's nice to have a tool that isn't just nice to have, but
00:02:18something you can actually wire up and forget about it.
00:02:21So now we do the thing most agent demos avoid.
00:02:25Now instead of creating a CLI script and running it with a stream,
00:02:28we can actually just pip install it as well,
00:02:31which is gonna shorten out the commands when we actually run them.
00:02:34So this does give us less flexibility, but also allows us to just run this faster.
00:02:40After I pip installed everything, we can prompt it out just by saying now asi1,
00:02:45explain why stateful sessions matter for automation, run it.
00:02:50Here you can see it spins up a quick interface and then outputs our answer for
00:02:53us.
00:02:53Now for this pip install version,
00:02:55there is one issue that's a huge drawback in my book.
00:02:58It doesn't actually retain any context like the CLI script does.
00:03:02So do with that what you will.
00:03:04Now, okay, when asi1 says agentic, it really means three specific things here.
00:03:10One, stateful sessions, then you have multi-step reasoning, and
00:03:15then it can defer work and continue later.
00:03:18Which really just means it's not prompt in text out,
00:03:21it's closer to a workflow you can keep going.
00:03:24Now quick point here, agent frameworks are everywhere.
00:03:27Yeah, so most of them look great in a demo and then fall apart in real usage.
00:03:32The bar is does this hold up when you script it?
00:03:35We generated that CLI script, you could integrate that into one of your workflows.
00:03:39And the answer is sometimes, which brings me to the trade-offs.
00:03:42First, what does asi1, the CLI tool, do really well?
00:03:45Well, first, it's OpenAI compatible API.
00:03:48You already know how to call it, that's easy.
00:03:51Then it's CLI first, not UI first.
00:03:53That's rare, but it's also intentional.
00:03:56Then it is Python native, which is great when we're diving into our scripts.
00:04:01There's no DSL, there's no YAML stuff.
00:04:03And the last one is session state lives where it should,
00:04:06in the protocol, not in your app.
00:04:08Those are real nice for us.
00:04:10But then the downsides are still here, because there are a few.
00:04:13API access isn't obvious.
00:04:15It actually took me a while to find it, longer than it should have.
00:04:18This is still early stage tooling, so the ecosystem is small.
00:04:22And like every agent system,
00:04:23reliability depends heavily on how you design the workflow.
00:04:27This is not just plug and play.
00:04:29So who is this actually for?
00:04:31If you're building automation, internal agents, or
00:04:33infra-level AI workflows, then this might be worth checking out.
00:04:37If you want a polished chatbot or a nice looking UI, this is not that.
00:04:41But that's fine.
00:04:42It's just important to know what you actually need in your workflow.
00:04:45AI tooling is moving down the stack away from products towards primitives.
00:04:49CLIs are back and agents are starting to look less like platforms and
00:04:53more like composable tools.
00:04:55ASI1, the CLI tool, fits squarely into that shift.
00:04:59I'm not saying this is the future of agents, but
00:05:01it is one of the better implementations that I've played around with so far.
00:05:05Check it out, spin it up below, and we'll see you in another video.