t3code is a platform for operating AI coding agents through a web interface to develop and maintain software projects. It functions as an orchestrator that manages AI agent lifecycles and communication, providing a system for provisioning isolated remote development environments and managing secure connections to cloud-hosted resources.
The project utilizes an event-sourced backend architecture that processes typed commands into persisted domain events to maintain system state. It employs a communication system based on JSON-RPC over WebSockets to synchronize real-time state and events between clients and servers.
The platform includes capabilities for workspace versioning and diffing, using Git-based worktree isolation to provide dedicated environments for specific conversation threads. It further manages asynchronous tasks through queue-backed background workers and implements handshake-based traffic routing to transition clients to direct environment paths.
The repository also serves as a TypeScript monorepo boilerplate, providing a pre-configured full-stack project structure with shared type contracts and standardized build tooling.