transcribe

This New Open Source Tool Just Fixed Your Claude Code Workflow

AI LABS · 12m · transcribed Oct 2026
More from AI LABS Business
𝕏 Share ▶ YouTube 📥 PDF 🤖 .md

Section Insights

# 0:00

Challenges of Context Sharing in Sessions

What are the challenges of sharing context between multiple sessions?

The main issue with working across multiple sessions is the difficulty in sharing context. Each session is limited to a single agent in a specific folder, requiring manual file writing to transfer context, which often results in loss of detail. Agent Git addresses this by allowing seamless management and sharing of sessions across different agents.

  • Context sharing between sessions is challenging due to limitations in session management.
  • Agent Git simplifies the process of managing and sharing sessions.
  • The tool retains detailed context, unlike traditional file writing methods.
# 2:29

Session Management and Sharing with A Git

How does A Git manage and share sessions?

A Git saves conversation records as commits, allowing users to revisit discussions without altering the app's state. Users can share sessions through profiles, with options for private or public repositories, and can control access to their conversations.

  • A Git allows users to save and revisit conversation records without affecting the application.
  • Users can manage access to their sessions through profiles and repository settings.
  • Private repositories have a storage limit of 1 GB, while public repositories allow broader access.
# 4:58

Installing A Git

What are the steps to install A Git?

To install A Git, users can choose between two commands from the GitHub repository. The installation sets up the tool for the entire computer, and users must create an account and log in to start using it. After installation, users can initialize a project for A Git.

  • Installation of A Git can be done via two commands from GitHub.
  • Users must create an account and log in to utilize the tool effectively.
  • The initialization command prepares a project for A Git usage.
# 7:27

Reverting Conversations in A Git

How can users revert conversations in A Git?

Users can revert conversations by using the log command to view session history and then the revert command to go back to a specific point in the conversation. This process allows users to change the conversation without altering the application's state.

  • Users can revert conversations to previous points without affecting the app's version.
  • The log command is essential for identifying which conversation turns to revert.
  • Reverted turns remain in the log for reference, ensuring transparency.
# 9:56

Handling Secrets in Conversations

How does A Git manage sensitive information in conversations?

A Git checks for sensitive information like API keys and passwords when saving conversations, replacing them with placeholders to prevent accidental sharing. This ensures that sensitive data remains secure while allowing users to share their conversation history.

  • A Git replaces sensitive information with placeholders to protect user data.
  • The tool checks for secrets both during saving and before pushing conversations.
  • Recognizable patterns help A Git identify API keys, but passwords may still pose a risk.

Transcript

0:00 The biggest problem with working with multiple sessions is sharing context between them. This is because your session is limited to the same agent working in the same folder. So, when you need to move to another session or share that context with someone else, you need to write it out into files so that other agents can continue from where you left off. And we run into this a lot ourselves because when we're discussing something with an agent and need to share it with someone else, the file it writes just keeps the key points and misses the details. But there's a tool called Agent Git that solves exactly this problem. And not only does it let you manage the sessions inside one agent, it also makes moving them across different agents easier, which no other tool does as cleanly. And you can share your sessions with other people as well, so they can carry on from the discussions you've already had. So, if you're new here, we're a software company and this is AI Labs. And in this video, we're going over what A Git is, how it actually solves this problem, and the one problem the tool itself had and how we solved it. So, before we get into A Git, you need to know about Git because A Git borrows the whole idea from it. If you already know about it, you can skip straight to the next section from the timestamps below. Git is actually a tool that basically tracks the changes in your projects. When you let it track a project, not only can you see exactly which lines were changed, but you can also see who made those changes. Each saved version of your project is called a commit and Git keeps it under your name. So, if a change breaks something, you can go back to the previous commit that was working. You can also work on a separate version of your project called a branch, so you can experiment with a completely different direction. And if you don't want the changes you made in that branch, you can delete that branch and nothing in your main project would be affected at all.

1:36 Now, those commits are saved on your computer. When you send them to a site like GitHub to save them online, that's called a push. That way, your teammates can get the versions you've saved and work on the project, too. Now, when multiple people work on the same project, each person can make changes on their own branch without changing the main version. Their commits show what they changed and once they push those commits, their teammates can review the changes and combine them with the main version. So, you can use this for the projects you build together or a shared second brain or knowledge base where everyone adds their own information. A get takes the same idea from get and uses it on the conversations you have with your agents. In get, your project and its history are kept in one place called a repo. In A get, the repo holds your agents conversations instead of code and file along with its saved memory and skills. Each session gets its own branch inside that repo. So, you can have multiple conversations about the same project and each one stays separate. And a commit in A get saves the messages and what the agent did in response. This gives you a record of the conversation that you can go back to later. But, if you go back in the conversation, it doesn't undo changes to your app. The app stays the same, just the conversation that the agent sees is changed. You can share these sessions with other people as well. For that, you need a profile so people know who had the session and you can control who gets access to it. The profile works the same as your own get hub one does. When you save a session on your computer, it doesn't appear on your profile though.

2:59 You need to push it and then it appears there. Your repos are private by default, which means other people can't view the sessions inside them unless you give them access. But, there's a limit worth knowing before you start. You only get 1 GB of storage for storing all the conversations in your private repos. But, if you want anyone to be able to view your conversations, you can make the repo public. A get runs multiple checks and then asks you to confirm if you want convert to public. Once you confirm it, will be public. People can copy that history and you can't make the repo private again. And when you want to share a conversation with particular people, there are two ways to do it. The first is adding them to the repo itself.

3:35 You need to go to the settings pane, look for collaborators, and add whoever you want to work with. They can continue from where you stopped then send a request to add their work back to your repo, which is called a pull request. The second way is creating a read-only link so whoever you send it to can read the conversation without changing it. You can set how many times the link can be opened. Once that limit is reached, the link stops working and no one will be able to access that session using the link you gave. But before we install it, let's have a word by our sponsor, Runnable. Building real products usually means juggling a whole stack of separate tools that barely talk to each other and paying for a new subscription every time you add one. Runnable is one AI agent that builds all of it from a single prompt. We asked it for a landing page that could take real payments. It asked a couple of quick questions about our product and pricing, then started building. First, it laid out the page on the canvas, a hero, a features row, and a three-tier pricing table, each section appearing as it wrote it. Then it filled in the copy, the headline, the descriptions, the button text. For checkout, it set up the payments itself, created the plans, spun up a live checkout, and wired every pricing button to it with no dashboard and no keys to paste. When it finished, it deployed and handed us a real URL. We opened it, clicked a plan, and a working checkout loaded on a page that didn't exist 10 minutes earlier. Building real products doesn't get any easier than this. So, try Runnable and build yours today.

4:58 Links in the description below. So, in order to install this tool, you need to go to their GitHub repo, where there are two install commands. The create A Git command installs the tool and sets it up for your coding tool in one go. You can use that if you want the one command installer. The other command installs the same tool through another installer, and it's an alternative if the first installer doesn't work for you. Both install it for your whole computer. We went with NPM because the other installer couldn't install when we ran it. You just need to copy the install command and run it in your terminal.

5:27 Once it's installed, you can check which version you have by running the version command. Now, you might think that since it is installed on all of your computer, it will start saving everything that you're working on, but it won't be saving everything and it will only save where you ask it to. You need to create an account on their site, then run the login command in your terminal to connect A Git to that account. You need to choose the browser login option, then approve the login on the page that opens. You can check which account you're logged into by using the who am I command and your email and account will be shown. Once you're logged in, you're ready to create a repo for your project.

6:01 Now, we're testing it on a demo event management app. We use the web app template that we have in our community to make that build easier, downloaded it, and open the project folder in the terminal. You need to run the init command to make this project ready for A git. When you do that, it opens up an interface. The first option is the name, which will be unnamed by default, and you need to give it whichever name you want for your repo. Then, you need to check that if it's using the right project folder. After that, you can choose to review the instructions and skills that the setup is saving. There's also auto push, which lets the agent push your conversation automatically without you asking for it. If you leave that off, you can still push it yourself later. Then, you need to select which file should hold the instructions. The first option it gave was agents. md, which coding tools like Codex use for project instructions. The other is Claude.md, which Claude code uses. You need to select the file for the coding tool you're using. Since we work in both Codex and Claude code, we added both.

6:57 So, in our project folder, both files contain the instructions the agent needs to use A git. A git also keeps a separate folder for the repo inside the .a git folder in your home folder. That's where it stores your conversations, memory, and skills. Memory holds saved facts and decisions, and skills is where it keeps any skills that it created and would be used in the future sessions. Once you've run init, you can prompt the agent about your task. As it finishes each turn, A git saves the conversation on your computer.

7:25 But, before we explore more features of A git, it would be great if you subscribe to the channel and hit the like button. This small gesture of support goes a long way for us. Now, there are times when the agent does something wrong and you need to go back a step in the conversation. You might think that it's the same as the rewind command that a lot of agents already have and does exactly this. But that's different with A get because you can rewind not only your conversations, but the conversations that somebody else shared with you as well. But this only changes the conversation. It doesn't take your app back to an earlier version. But before you run rewind, you need to run the log command first and it will list your sessions so you can choose the conversation you want to change. You can select the session you want and it will show the prompts you gave and what the agent did in response.

8:08 The numbers next to those prompts identify each turn, which is your prompt and the agent's response to it. If you want to take a session back to an earlier point, you need to use the revert command and use the number you saw in the log to tell agent which prompt you want to go back to. In the command, the turn number goes after the session name with a hash symbol before the number. But you don't give it the number of turn you want to return to.

8:30 Instead, you need to tell it what number of turns that are needed to go to the point you want to revert to and mention the numbers from the end back to that point. You can include all of them in one command. Now, those turns don't disappear from the log. The record of what happened stays there, but the agent no longer sees the turns you removed. You need to run the resume command to continue that conversation. And if you want the version on your profile updated as well, you can use the push command.

8:54 Now, with A get, you can also take a message from one conversation and bring it into a different one. When you do that, the agent's response and the record of everything it did come along with it as well. So, if there's something useful in another conversation, you can pull that part into the session you're currently working in and continue from there. To do this, you'll first need to use the log command to find the message in the conversation you want to copy from. Once you found it, you can use the cherry pick command, provide that session's name and the message number, and tell it to add the message to your current session. The message and the agent's response will be added to the end of your current session, which means you can keep working with all of that context available. And if you need more than one message, you can include multiple message numbers in the same command. One thing to keep in mind is that this only copies the conversation history. It doesn't apply any of the app changes that were made or described in those messages. Now, with A Git, you can also continue a conversation that you're having in one agent in another agent as well. This is something that none of the coding agents let you do by default. We often need this because we use both Codex and Claude code. When we're deep in a conversation with Claude code and want Codex to continue the work, we normally ask Claude to write down what it's done and what Codex needs to know.

10:05 Then we ask Codex to read that before giving it the next task. But A Git lets you bring the conversation into Codex directly, so you don't have to write that handoff yourself. You need to use the fork command and choose Codex. This creates a new session from the conversation you've already had, converts it into the format Codex reads, and opens it there. Your original conversation stays available, too. You can ask your current agent to write the command for you, so you don't have to remember all the options. But you need to run it in your terminal instead of asking the agent to do that for you, so that you can continue the conversation in another terminal. Agents often handle things like API keys and passwords that you wouldn't want other people to have access to, and once the agent reads that information, it becomes part of the conversation. So, if you push that conversation, you could end up sharing those secrets as well. To prevent that, A Git checks for secrets when it saves the conversation and replaces any recognized keys with placeholders. These placeholders show where the key was without including the actual value. We tested this with some made-up API keys, and when we checked the saved history, those keys had been replaced with placeholders. A Git also checks the history again before pushing it, but there's a limitation here because API keys usually have a recognizable pattern, like a specific beginning and a fixed length. A password made up of ordinary words doesn't necessarily have any of those patterns.

11:23 So, A Git can miss it even if the conversation explicitly says that it's a password. That's why we built a skill that registers passwords with A Git before the conversation gets saved. It starts by registering the secrets that are already in your project and then it tells the agent to register any new password you give it before continuing. Once a password is registered, A Git knows to replace that value with a placeholder when it saves the conversation. You don't need to add this skill when you start the session because once A Git has already saved a password in the history, adding the skill later won't remove it. Even if you remove the message, the password will still remain in the history. Now, this skill that we made along with the starter pack we showed you here and all the other resources are all available in AI Labs Pro. So, if you found value in what we do and want to support the channel, this is the best way to do it. The link's in the description. That brings us to the end of this video. If you'd like to support the channel and help us keep making videos like this, you can do so by using the Super Thanks button below.

12:20 As always, thank you for watching and I'll see you in the next one.

Summary

Agent Git addresses the challenge of sharing context between multiple sessions with AI agents by allowing users to manage conversations as if they were code repositories. This tool enhances collaboration by enabling users to share sessions, revert conversations, and transfer context between different agents seamlessly.

- The main issue with multiple sessions is the difficulty in sharing context without losing important details.
- Agent Git allows users to manage conversations like Git manages code, with features such as commits, branches, and repositories.
- Each conversation session is treated as a separate branch, preserving individual discussions while allowing for easy access and sharing.
- Users can revert to previous conversation states without affecting the underlying application, maintaining a clear history of interactions.
- Agent Git includes security features that replace sensitive information with placeholders to prevent accidental sharing of secrets.
- Users can transfer conversations between different agents (e.g., from Claude to Codex) using the fork command, streamlining workflows.
- The tool provides options for collaboration, including adding collaborators to repositories or creating read-only links for sharing.
- A Git has a storage limit of 1 GB for private repositories, with the option to make repositories public for broader access.

Questions Answered

What are the challenges of sharing context between multiple sessions?

The main issue with working across multiple sessions is the difficulty in sharing context. Each session is limited to a single agent in a specific folder, requiring manual file writing to transfer context, which often results in loss of detail. Agent Git addresses this by allowing seamless management and sharing of sessions across different agents.

How does A Git manage and share sessions?

A Git saves conversation records as commits, allowing users to revisit discussions without altering the app's state. Users can share sessions through profiles, with options for private or public repositories, and can control access to their conversations.

What are the steps to install A Git?

To install A Git, users can choose between two commands from the GitHub repository. The installation sets up the tool for the entire computer, and users must create an account and log in to start using it. After installation, users can initialize a project for A Git.

How can users revert conversations in A Git?

Users can revert conversations by using the log command to view session history and then the revert command to go back to a specific point in the conversation. This process allows users to change the conversation without altering the application's state.

How does A Git manage sensitive information in conversations?

A Git checks for sensitive information like API keys and passwords when saving conversations, replacing them with placeholders to prevent accidental sharing. This ensures that sensitive data remains secure while allowing users to share their conversation history.

© transcribe · For agents Built with care and craft by Gokul Rajaram