Documentation Index
Fetch the complete documentation index at: https://docs.agenhq.com/llms.txt
Use this file to discover all available pages before exploring further.
Get started in three steps
Follow these simple steps to set up your first Agen workspace, launch an AI session, and start syncing code manually or via our CLI.Step 1: Set up your workspace
Create an account and workspace
Create an account and workspace
- Navigate to the Agen Web Portal (or your hosted instance).
- Sign up or log in to your account.
- Create a new Workspace. This is where you will manage your repositories, sessions, and team members.
Connect your repository
Connect your repository
- Inside your new workspace, click on Repositories.
- Add the Git repository you want the AI to work on.
- Ensure you have provided the necessary branching permissions so the AI can safely create branches or open pull requests.
Step 2: Launch an AI Session
Start a new AI session
Start a new AI session
- Go to the Sessions tab in your workspace.
- Click New Session and select the repository you just connected.
- Choose the task you want the AI to perform (e.g., “Refactor the authentication module” or “Create a new React component”).
- Select your preferred AI model from the options available in your workspace.
- Start the session. Agen will automatically spin up a secure, isolated sandbox for the AI to work without affecting your local machine.
Step 3: Stream and Sync Code
Install the Agen CLI
Install the Agen CLI
To watch the AI work in real-time and effortlessly sync file modifications to your local environment, install our CLI:(Note: Ensure you have Node.js installed).
Authenticate and Sync
Authenticate and Sync
- Authenticate the CLI with your Agen account:
- Watch the session and sync the patches in real-time:
- As the AI Agent writes and tests code inside the sandbox, you will see the files changing locally in real-time! Review the code, run your own tests, and commit the changes when you are satisfied.
Next steps
Now that you have your first AI session running, explore more advanced integrations and tools:Concept: Secure Sandboxes
Learn how Agen securely isolates AI generated code.
Manage Team & Billing
Learn how to add team members to your workspace and manage usage.
CLI Reference
Deep dive into the Agen CLI commands.