Codemagic

Trigger Codemagic builds and manage mobile CI/CD from any chat

Mobile teams juggle builds across Flutter, iOS, and Android daily. Your AI agent connects to Codemagic's REST API, triggers builds, retrieves build history, manages environment variables, and onboards team members, all without anyone opening the Codemagic dashboard.

Chosen by 800+ global brands across industries

Mobile CI/CD, powered by conversation

From triggering builds to rotating environment secrets, these are the Codemagic operations your AI agent handles directly inside team chat.

Codemagic

Use Cases

Ship mobile apps faster

See how mobile development teams use AI agents to control their Codemagic CI/CD pipeline from Slack, Teams, or any chat interface.

One-Message Production Builds

Release day arrives and the lead engineer types 'Trigger a production build from the release/3.2 tag.' Your AI Agent calls Codemagic's start build API with the app ID, workflow for production, and the tag name. The build kicks off on an Apple Silicon machine, and the agent returns the build ID and a link to monitor progress. The team ships without anyone logging into the CI dashboard.

Environment Secret Rotation at Scale

After a credential leak, the security team needs every Firebase API key rotated across three apps. An engineer messages the AI Agent with the new key values. The agent fetches each app's variable groups, finds the matching variable, updates the value, and toggles the secure flag. All three apps have fresh secrets within minutes, and audit logs confirm every change.

Onboarding Contractors to the Build Pipeline

A new contractor needs Codemagic access by end of day. The project manager tells the AI Agent, 'Invite alex@agency.io as a developer to team mobile-ios.' The agent sends the invite through Codemagic's team API and confirms the role assignment. The contractor receives their invitation email and starts contributing builds the same afternoon.

Try
Codemagic

Codemagic

FAQs

Frequently Asked Questions

How does the AI agent trigger a Codemagic build?

The agent calls Codemagic's POST /builds endpoint with the required parameters: appId, workflowId, and either a branch or tag. You can also pass environment variable overrides and select a machine type like mac_mini_m1. The API returns a build ID immediately so the agent can report progress.

Where do I find my Codemagic API token for the integration?

Navigate to Teams, then Personal Account, then Integrations, then Codemagic API, and click Show. Copy the token and paste it into the Tars tool configuration. This token is personal to your account, so every action the agent takes is attributed to you in Codemagic's audit logs.

Can the AI agent manage environment variables marked as secure?

Yes. The agent can update a variable's value and toggle its secure flag through Codemagic's update variable endpoint. Secure variables are encrypted at rest in Codemagic. The agent sends the new value over HTTPS, and Codemagic handles encryption. The plain-text value is never logged by Tars.

Does Tars store my Codemagic build artifacts or source code?

No. Tars calls Codemagic's API in real time and returns the response to the conversation. Build artifacts remain in Codemagic's storage. Source code is never downloaded or cached by Tars. The integration only reads metadata like build status, app names, and variable configurations.

Can the agent invite someone to a specific Codemagic team?

Yes. Provide the email address, team ID, and role (developer for Member, owner for Admin). The agent calls the invite endpoint and Codemagic sends the invitation email. You must be a team admin for the invite to succeed. The agent will report any permission errors clearly.

How is this different from triggering builds through GitHub webhooks?

Webhooks trigger builds automatically on every push or PR. The Tars integration gives your team manual, on-demand control through natural language. Need to rebuild a specific tag with different environment variables? Just ask the agent. It complements webhooks by covering scenarios that automated triggers do not handle.

What happens if I trigger a build for a branch that does not exist?

Codemagic's API returns an error response, and the agent relays the message to the user. It will suggest checking the branch name or listing the application's configured branches. No broken build is queued, and no resources are consumed.

Can the agent clear build caches for a single application?

Yes. The agent supports two cache operations: delete all caches for an app or delete a specific cache by its ID. Cache deletion is asynchronous in Codemagic, so the agent confirms the request was accepted and the cleanup will complete shortly. This is useful when stale dependency caches cause build failures.

How to add Tools to your AI Agent

Supercharge your AI Agent with Tool Integrations

Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Real results, real customers, real stories

“We're saving an average of 4,000+ calls a month.”
Implementing an Agent revolutionized our customer service channels and our service to Indiana business owners. We're saving an average of 4,000+ calls a month and can now provide 24x7x365 customer service️ along with our business services.
Lindsey Roark Mayes
Ex-Director of SOS IT (State of Indiana)
“Cutting down on staff needing to email back.”
Since our launch of Tars Agents, we've had more than 5k interactions with them from individuals on the website. We saw prospects interacting with the Agent regarding application timelines, tuition, curriculum, and other items that may come through an email. This provides another avenue of access to our team while cutting down on staff needing to email back.
Levi Eastwood
Marketing Director of UCI Merage School
“Powerful tool - and there's so much more still to explore!”
I love the flexibility of the TARS chatbot design tool. The ability to drop in a new gambit and easily de-link and re-link gambits before and after it saves HOURS of time lost if I had to regenerate from scratch. TARS stands out for its flexibility, consistent performance, and outstanding support.
Aaron Rittmaster
Founder
“I like the product.”
Takes those boring forms and allows you to make the collecting of customer information enjoyable for the user. It has a lot of value and I see the company constantly working on improving it.
Pierre Rattini
Director of Marketing
“Very responsive and supportive Team”
I love how supportive and responsive the team members are. The chatbots are not difficult to build once you have an idea of what you are doing, and this is so based on the backend work Tars has completed. Also, they are flexible to the clients' requests.
Keisha Cameron
Product Manager
“Easy for cooperation and open to agreement.”
One of the biggest qualities of TARS is their ability to truly understand their clients' needs. They took the time to thoroughly assess our requirements, offering valuable insights and recommendations that we hadn't even considered. This level of personalized attention made a significant difference in the success of our project.
Milica Petrovic
Customer Care Project Associate
“Great service”
The guys at Tars are so passionate about bots and maximum engagement. Tars is overall a great product with really nice people there to help me engage and automate conversations I would have otherwise missed.
Nigel Gosling
Health Coach
“Best in class for lead generation”
TARS is an essential tool within our lead gen strategy. I started to use it a couple years ago, and the platform evolved to focus on results. You can integrate your Google Analytics, Facebook Pixel, and AdWords conversion tag to track results and measure your campaign. You can also integrate with Zapier, which opens a lot of possibilities. Compared with static landing pages, we have seen an increase in conversions and more engagement.
Leonardo Wolff
Founder
“Very professional and cooperative”
Building an automated chat that our customers actually used and reduced calls amount.
Maryam Alhaddad
Customer Journey Designer
“Flexibility and good service”
Tars platform is very flexible, so you can do pretty much any flux you desire. Also integrates with any third party through APIs with a very simple and easy-to-use interface. Also tars team is great! Always at disposal and brings suggestions and solutions for any issue encountered during the process of building the chatbot.
Lucas Von Lachmann
Process Manager
“Deserved The title of the Best Chatbot of the Year”
If you are building chatbots, you cannot go wrong with TARS. I have been with this company since their beginning. Seen how they have grown. I have tested a lot of bots, but this one is still the best out there. We use WhatsApp a lot for our business. And what I like best is that I can have 1 chatbot for website and for my WhatsApp. I especially appreciate their support team as well. Whenever I am stuck, they quickly reply to my questions.
MJ Felix
Chairman
“Advanced integration, easy to use, and very customizable.”
This chatbot does everything from AI integration to complete customization and is excellent for lead conversion in most industries. I think the pre-formatted templates are an excellent boost to get started quickly. The team is also excellent.
Rachel Rowling
Chief Operating Officer
“The chatbot implementation has exceeded expectations!”
The implementation has delivered 24/7 customer support and is proving its value by reducing Contact center calls by around 5% in just four months of operation. Beyond enhancing the e-care experience, the chatbot is driving impressive business results, achieving a remarkable 20% month-on-month growth.
Victor Pereira
Customer Care and CX Manager
“We're saving an average of 4,000+ calls a month.”
Implementing an Agent revolutionized our customer service channels and our service to Indiana business owners. We're saving an average of 4,000+ calls a month and can now provide 24x7x365 customer service️ along with our business services.
Lindsey Roark Mayes
Ex-Director of SOS IT (State of Indiana)
“Cutting down on staff needing to email back.”
Since our launch of Tars Agents, we've had more than 5k interactions with them from individuals on the website. We saw prospects interacting with the Agent regarding application timelines, tuition, curriculum, and other items that may come through an email. This provides another avenue of access to our team while cutting down on staff needing to email back.
Levi Eastwood
Marketing Director of UCI Merage School
“Powerful tool - and there's so much more still to explore!”
I love the flexibility of the TARS chatbot design tool. The ability to drop in a new gambit and easily de-link and re-link gambits before and after it saves HOURS of time lost if I had to regenerate from scratch. TARS stands out for its flexibility, consistent performance, and outstanding support.
Aaron Rittmaster
Founder
“I like the product.”
Takes those boring forms and allows you to make the collecting of customer information enjoyable for the user. It has a lot of value and I see the company constantly working on improving it.
Pierre Rattini
Director of Marketing
“Very responsive and supportive Team”
I love how supportive and responsive the team members are. The chatbots are not difficult to build once you have an idea of what you are doing, and this is so based on the backend work Tars has completed. Also, they are flexible to the clients' requests.
Keisha Cameron
Product Manager
“Easy for cooperation and open to agreement.”
One of the biggest qualities of TARS is their ability to truly understand their clients' needs. They took the time to thoroughly assess our requirements, offering valuable insights and recommendations that we hadn't even considered. This level of personalized attention made a significant difference in the success of our project.
Milica Petrovic
Customer Care Project Associate
“Great service”
The guys at Tars are so passionate about bots and maximum engagement. Tars is overall a great product with really nice people there to help me engage and automate conversations I would have otherwise missed.
Nigel Gosling
Health Coach
“Best in class for lead generation”
TARS is an essential tool within our lead gen strategy. I started to use it a couple years ago, and the platform evolved to focus on results. You can integrate your Google Analytics, Facebook Pixel, and AdWords conversion tag to track results and measure your campaign. You can also integrate with Zapier, which opens a lot of possibilities. Compared with static landing pages, we have seen an increase in conversions and more engagement.
Leonardo Wolff
Founder
“Very professional and cooperative”
Building an automated chat that our customers actually used and reduced calls amount.
Maryam Alhaddad
Customer Journey Designer
“Flexibility and good service”
Tars platform is very flexible, so you can do pretty much any flux you desire. Also integrates with any third party through APIs with a very simple and easy-to-use interface. Also tars team is great! Always at disposal and brings suggestions and solutions for any issue encountered during the process of building the chatbot.
Lucas Von Lachmann
Process Manager
“Deserved The title of the Best Chatbot of the Year”
If you are building chatbots, you cannot go wrong with TARS. I have been with this company since their beginning. Seen how they have grown. I have tested a lot of bots, but this one is still the best out there. We use WhatsApp a lot for our business. And what I like best is that I can have 1 chatbot for website and for my WhatsApp. I especially appreciate their support team as well. Whenever I am stuck, they quickly reply to my questions.
MJ Felix
Chairman
“Advanced integration, easy to use, and very customizable.”
This chatbot does everything from AI integration to complete customization and is excellent for lead conversion in most industries. I think the pre-formatted templates are an excellent boost to get started quickly. The team is also excellent.
Rachel Rowling
Chief Operating Officer
“The chatbot implementation has exceeded expectations!”
The implementation has delivered 24/7 customer support and is proving its value by reducing Contact center calls by around 5% in just four months of operation. Beyond enhancing the e-care experience, the chatbot is driving impressive business results, achieving a remarkable 20% month-on-month growth.
Victor Pereira
Customer Care and CX Manager

Privacy & Security

We’ll never let you lose sleep over privacy and security concerns

At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.

GDPR
ISO
SOC 2
HIPAA

Still scrolling? We both know you're interested.

Let's chat about AI Agents the old-fashioned way. Get a demo tailored to your requirements.

Schedule a Demo