
← Semaphore Uncut16 sep · 2 min
sem-ai 0.4.0 gives AI agents safer and more efficient access to CI/CD
AI coding agents can generate and modify code quickly. But to work effectively with CI/CD, they need focused information, clearly defined permissions, and safeguards that prevent unsuitable changes from progressing.
The new sem-ai 0.4.0 release improves all three areas.
In our latest product news video, Nick demonstrates more compact pipeline responses, flexible context switching, and the ability to create and validate Semaphore preflight checks directly with an AI coding agent.
Get the essential pipeline information
Requests for Semaphore workflows and pipelines now return a much more compact response by default.
In the demonstration, the new response was approximately 99 percent smaller than the previous full output. This gives an AI coding agent the essential pipeline information without filling its context window with unnecessary detail.
The complete output is still available when needed. Results can also be limited or filtered by date.
This makes sem-ai more efficient by default while giving developers control over how much information the agent receives.
Switch between permission contexts
sem-ai 0.4.0 also introduces a context flag.
You can define separate contexts for different Semaphore organizations or service accounts, then select the appropriate one through a command line flag or an environment variable.
For example, one service account could have read only access for reviewing code and investigating pipeline failures. Another could have permission to modify Semaphore configuration.