MCPcopy Index your code
hub / github.com/humanlayer/humanlayer

github.com/humanlayer/humanlayer @nightly-nightly-2025.10.30-094448 sqlite

repository ↗ · DeepWiki ↗ · release nightly-nightly-2025.10.30-094448 ↗
3,247 symbols 8,764 edges 517 files 927 documented · 29%
README

Wordmark Logo of HumanLayer

The best way to get Coding Agents to solve hard problems in complex codebases

CodeLayer is an open source IDE that lets you orchestrate AI coding agents.

It comes with battle-tested workflows that enable AI to solve hard problems in large, complex codebases.

Built on Claude Code. Open source. Scale from your laptop to your entire team.

GitHub Repo stars License: Apache-2

[Join Waitlist](https://humanlayer.dev/code) | [Discord](https://humanlayer.dev/discord)


"Our entire company is using CodeLayer now. We're shipping one banger PR after the other. It is so f-ing good. Unbelievable dude."

– René Brandel, Founder @ Casco (YC X25)


  • Superhuman for Claude Code - Keyboard-first workflows designed for builders who value speed and control.

  • Advanced Context Engineering - Scale AI-first dev to your entire team, without devolving into a chaotic slop-fest.

  • M U L T I C L A U D E - Run Claude Code sessions in parallel. Worktrees? Done. Remote cloud workers? You got it.


"This has improved my productivity (and token consumption) by at least 50%. Taking a superhuman style approach just makes soo much sense. Also, its so freaking cool to look back at all the work you've done in a day."

– Tyler Brown, Founder @ Revlo.ai


From the team that brought you "Context Engineering"

Leading experts on getting the most out of today's models.

Advanced Context Engineering for Coding Agents

This talk, given at YC on August 20th, 2025 lays out the groundwork for using AI to solve hard problems in complex codebases. - GitHub - YouTube

12 Factor Agents

A set of principles for building reliable and scalable LLM applications, inspired by the original 12-Factor App methodology. - GitHub - YouTube

The original repo that coined the term "context engineering" back in April 2025.

🦄 AI That Works

A weekly conversation about how we can all get the most juice out of todays models with @hellovai & @dexhorthy - GitHub - Podcast


For Teams

Invest in outcomes, not tools.

Want to scale AI-first development to your entire org? Get tailored workflows, custom integrations, and cutting-edge advice.

HumanLayer's expert engineers will ship in the trenches with you and your team until everyone is a 100x engineer.

📧 Shoot us an email at contact@humanlayer.dev, mention your team size and current AI development stack.


Quick Start

# Coming soon - join the waitlist for early access
npx humanlayer join-waitlist --email ...

Legacy Documentation

Looking for the HumanLayer SDK documentation? See humanlayer.md

Contributing

CodeLayer and the HumanLayer SDK are open-source and we welcome contributions in the form of issues, documentation, pull requests, and more. See CONTRIBUTING.md for more details.

License

The HumanLayer SDK and CodeLayer sources in this repo are licensed under the Apache 2 License.


Star History Chart

Extension points exported contracts — how you extend this code

ClaudeSession (Interface)
ClaudeSession is an interface that wraps claudecode.Session for testability go:generate mockgen -source=claudecode_wrap [3 …
hld/session/claudecode_wrapper.go
ConversationStore (Interface)
ConversationStore defines the interface for storing conversation data [2 implementers]
hld/store/store.go
Client (Interface)
Client defines the interface for communicating with the HumanLayer daemon [1 implementers]
hld/client/types.go
Manager (Interface)
Manager defines the interface for managing local approvals [1 implementers]
hld/approval/types.go
EventBus (Interface)
EventBus defines the interface for the event bus [1 implementers]
hld/bus/types.go
EventSourceLike (Interface)
(no doc) [2 implementers]
hld/sdk/typescript/src/client.ts
HandlerFunc (FuncType)
HandlerFunc is a function that handles an RPC method
hld/rpc/server.go
TestEditorProps (Interface)
* Test component for rendering TipTap editors in tests
humanlayer-wui/src/test-utils/tiptap.tsx

Core symbols most depended-on inside this repo

Error
called by 373
hld/store/errors.go
Run
called by 271
hld/daemon/daemon.go
EXPECT
called by 258
hld/session/mock_claudecode.go
error
called by 256
hlyr/src/mcpLogger.ts
push
called by 170
humanlayer-wui/src/hooks/hotkeys/scopeManager.ts
cn
called by 124
humanlayer-wui/src/lib/utils.ts
Close
called by 117
hld/client/types.go
Error
called by 99
hld/session/types.go

Shape

Function 1,391
Method 1,024
Interface 401
Struct 276
Class 82
TypeAlias 64
Enum 6
FuncType 3

Languages

TypeScript59%
Go41%
Python1%

Modules by API surface

hld/api/server.gen.go477 symbols
hld/sdk/typescript/src/generated/apis/SessionsApi.ts83 symbols
humanlayer-wui/src/lib/daemon/types.ts78 symbols
hld/sdk/typescript/src/generated/runtime.ts70 symbols
hld/store/store.go45 symbols
humanlayer-wui/src/lib/daemon/http-client.ts43 symbols
hld/store/sqlite.go42 symbols
hld/api/handlers/sessions_slash_commands_test.go39 symbols
hld/sdk/typescript/src/client.ts37 symbols
hld/api/handlers/sessions.go32 symbols
hld/session/manager.go29 symbols
hlyr/src/daemonClient.ts28 symbols

Dependencies from manifests, versioned

github.com/apapsch/go-jsonmerge/v2v2.0.0 · 1×
github.com/bahlo/generic-list-gov0.2.0 · 1×
github.com/cloudwego/base64xv0.1.5 · 1×
github.com/gin-contrib/corsv1.7.6 · 1×
github.com/gin-contrib/ssev1.1.0 · 1×

Datastores touched

electricDatabase · 1 repos

For agents

$ claude mcp add humanlayer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact