Skip to main content
Installation | Custom Environment Variables | Loading Prompts | Troubleshooting | FAQ

Installation

The easiest way to get started is to install the CodeLayer IDE, which provides a full-featured interface for AI-assisted development.

macOS (Homebrew)

brew install --cask --no-quarantine humanlayer/humanlayer/codelayer
Note: The OSS version of codelayer doesn’t have app signing, so you’ll need to use the --no-quarantine flag to brew install or manually bypass the macOS quarantine in Security and Privacy settings. Note: Optionally, opening from CLI rather than Spotlight/Raycast ensures CodeLayer inherits your shell environment including API keys and configuration.
open /Applications/CodeLayer.app

Updating

To update your existing install, you can run the same brew install command again.
brew install --cask --no-quarantine humanlayer/humanlayer/codelayer
Releases and release notes can be found at https://github.com/humanlayer/humanlayer/releases

Custom Environment Variables

If you need to set custom environment variables (e.g., for connecting to Bedrock or setting CLAUDE_BASE_MAINTAIN_WORKING_DIR=1), you can set them in the env block of the built-in Claude Code Settings File

Loading Prompts

If you want to load the generic version of the HumanLayer prompts, check out this workshop gist

Troubleshooting

  • Logs can be found at ~/Library/Logs/dev.humanlayer.wui/CodeLayer.log
  • If you see errors about missing mcp__codelayer__approvals tool, you’re missing the humanlayer CLI - you need to install with brew, copying the app from a DMG won’t work
  • If install fails, ensure you’ve cleaned up all previous artifacts. brew reinstall is worth a shot as well

FAQ

Where can I learn more?

There’s a super-thread of content we’ve shared on X: https://x.com/dexhorthy/status/1978676162495688719 You can collaborate with other codelayer users in the CodeLayer Discord

How do I get all those fancy prompts I’ve heard about?

If you want to load the generic version of the HumanLayer prompts, check out this workshop gist

How do I use custom claude config / bedrock / env vars?

If you need to set custom environment variables (e.g., for connecting to Bedrock or setting CLAUDE_BASE_MAINTAIN_WORKING_DIR=1), you can set them in the env block of the built-in Claude Code Settings File
// ~/.claude/settings.json
{
  "env": {
    "CLAUDE_BASE_MAINTAIN_WORKING_DIR": "1",
    "BEDROCK_REGION": "us-east-1",
    "BEDROCK_MODEL": "us.meta.llama3-2-11b-instruct"
  }
}

Do you support git worktrees?

There’s no built-in worktree management YET, but you can launch CodeLayer from any directory including worktrees. Claude is very good at making and configuring worktrees for you as well, so you can ask it to do that. tip - use the humanlayer CLI (or ask claude to use it) to launch a session in a newly created worktree:
humanlayer launch -w DIRECTORY -m MODEL "PROMPT"

How do I manage all the markdown docs

These features are coming to CodeLayer soon - in the meantime you can check out the HumanLayer Repo and ask claude how does the thoughts system work?. This will set you up with our v0 janky prototype of the thoughts system. More coming soon but there are at least a handful of highly-motivated engineers using the system as it exists today.

Can I use CodeLayer from my Phone? Can I run claude sessions in the cloud?

Coming soon!

How much does CodeLayer cost?

During the private beta, CodeLayer is free to use.