Basic Usage
Learn the basic usage of our project with step-by-step instructions.
Origin enables structured, repository-backed development inside an isolated sandbox environment. Work is organized around Projects, broken down into Tasks, executed through Trials, and recorded within Sessions.
This guide explains how to work effectively inside a project, collaborate and manage execution.
Working Inside a Project
A project represents a deployed repository running inside a provisioned sandbox. Once deployed, the project includes:
- A cloned Git repository
- Indexed codebase for contextual reasoning
- Project-level environment variables
- Branch-based execution isolation
When you open a project, you are working against this controlled workspace.
Example: Backend API Repository
You import a backend service from GitHub and deploy it with a Standard runtime (4 CPU, 8GB RAM).
Once deployment completes:
- Origin clones the repository
- The codebase is indexed
- The sandbox is provisioned
- You can immediately begin working
Tasks and Trials
Work begins by creating or selecting a Task.
A task defines what needs to be accomplished.
When you start working on a task, Origin creates a Trial. A trial represents an attempt to complete that task in an isolated branch.
Each trial:
- Runs against a project-scoped branch
- Maintains its own execution history
- Can be reviewed independently
- Does not affect other trials
Example: Adding Rate Limiting
Task:
“Add rate limiting to the public API.”
When you begin, Origin creates a trial such as:
feature/add-rate-limiting-4821All changes, reasoning, and commands executed during that work remain scoped to this trial.
Sessions: Where Work Happens
Inside a trial, work is recorded in Sessions.
A session captures:
- Your prompts
- Agent responses
- File edits
- Shell commands
- Diffs and changes
- Context references
Sessions persist. You can leave and return without losing history.
When to Start a New Session
Start a new session if:
- You want a clean reasoning history
- You’re switching from debugging to feature work
- You want to test an alternative implementation
Reference files
Inside a session chat, you can directly reference files from the codebase.
Typing @ in the chat lets you reference repository files and attach context directly into the conversation.
This keeps interactions precise and scoped. In addition to inline references, you can also attach broader context using the Context panel from the sidebar
This allows you to control exactly what the model sees and reasons over, whether it is a single file, a group of files, or structured project context.
Explorer and Code Navigation
The Explorer panel exposes the full repository file system as accessible to the sandbox.
You can:
- Browse directories
- Open files
- Inspect code
- Verify changes
The explorer reflects the exact state of the working branch.
Use Case: Debugging
If an integration test fails, you can:
- Open the failing test file
- Inspect related modules
- Run commands in Terminal
- Apply fixes within the same trial
Terminal Execution
The Terminal is attached to the active sandbox.
You can:
- Install dependencies
- Run build scripts
- Execute tests
- Start services
- Inspect logs
Examples
Run tests:
pnpm testStart a development server:
pnpm devInstall a dependency:
pnpm add zodAll commands run within the trial’s isolated environment.
Changes and Review
The Changes panel shows all file modifications made during the session or trial.
You can:
- View diffs
- Inspect additions and deletions
- Review modified files
- Prepare commits
Example: Reviewing a Feature
After implementing rate limiting:
- Open the Changes panel
- Review modifications in
middleware.ts - Verify test updates
- Confirm no unintended file edits
Changes remain isolated until merged or pushed.
Typical Workflow Example
Scenario: Implementing API Integration Tests
- Open project
- Create task: “Add integration tests for chat route”
- Origin creates a trial
- Start session
Use:
locate existing test infrastructure- Open relevant files in Explorer
Run:
pnpm test
- Generate tests
- Review Changes panel
- Commit or prepare PR
All reasoning, file edits, and commands remain recorded.
Key Principles
Origin maintains:
- Branch-isolated execution
- Persistent session history
- Indexed repository awareness
- Transparent diffs
- Controlled sandbox runtime
This structure allows you to:
- Experiment safely
- Work in parallel
- Review changes clearly
- Maintain clean development workflows