clawc

agent
Guvenlik Denetimi
Uyari
Health Uyari
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 12 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested
Purpose
This project is an early-stage C++ reimplementation of an AI agent runtime designed to orchestrate tools, manage execution loops, and coordinate tasks. It is inspired by the architectural patterns of Claude Code following a recent source code leak.

Security Assessment
The automated code scan of 12 files found no dangerous patterns, no hardcoded secrets, and no requests for dangerous permissions. Because the project contains mostly transitional stubs and is in the very early phases of a "clean-room" migration, the actual attack surface is currently minimal. However, any tool designed to manage execution loops and orchestrate commands inherently has the potential to execute system commands or access local resources once fully built. Overall risk is rated as Low today, but should be reassessed as the C++ runtime matures.

Quality Assessment
The repository is highly active, with its most recent push occurring today. It has a small but growing level of community trust with 12 GitHub stars. However, it completely lacks a software license, meaning there are no clear legal terms for using, modifying, or distributing the code. Additionally, the README clearly notes the project is in a transitional phase with temporary stubs, meaning it is likely far from a production-ready state.

Verdict
Use with caution — the code is currently safe but lacks a license, is in a highly experimental phase, and should be reassessed as the runtime engine develops.
SUMMARY

Claude Code in C++ — clean-room rebuild of the leaked source code

README.md

ClawC

⚡ C++ Reimplementation of Claude Code's Agent Runtime ⚡

Inspired by the leaked Claude Code source — rebuilt from scratch in C++

[!IMPORTANT]
This repository is under active migration to a full C++ runtime.
Current source files include transitional stubs while modules are ported and validated.


⚠️ Context

After the Claude Code source leak on March 31, 2026, dozens of repositories appeared attempting to run or redistribute the original system.

This project takes a different approach:

Reconstruct the core architecture of Claude Code — in C++ — from first principles.

  • ❌ No leaked source code included
  • ❌ No direct copying
  • ✅ Clean-room reimplementation
  • ✅ Systems-level runtime design

🧠 What is this?

ClawC is a clean-room C++ implementation of an AI agent harness
inspired by the architectural patterns behind systems like Claude Code.

It focuses on:

  • Tool orchestration
  • Execution loops
  • Command systems
  • Task lifecycle management
  • Runtime coordination

🚀 Why this exists

Most current implementations are:

  • Python-heavy
  • Hard to scale
  • Weak in runtime control

This project explores:

What happens when agent systems are treated like real infrastructure?


⚡ Why C++?

  • ⚡ Deterministic performance
  • 🧠 Memory-level control
  • 🧵 Fine-grained concurrency
  • 🔧 Custom runtime engineering

If agents are the future — they need real engines, not wrappers.


🧩 What is an Agent Harness?

An agent harness is the system that:

  • Connects LLMs with tools
  • Manages execution loops
  • Tracks context and state
  • Coordinates multi-step reasoning

This repo focuses on building that system from the ground up in C++.


🏗️ Project Structure

.
├── src/
│   ├── core/        # runtime engine
│   ├── agent/       # execution loop
│   ├── tools/       # tool interface + registry
│   ├── commands/    # command system
│   ├── models/      # data structures
│   └── main.cpp
├── tests/
├── benchmarks/
└── README.md

🧪 Quickstart

git clone https://github.com/yourname/clawc
cd clawc

mkdir build && cd build
cmake ..
make

./clawc summary

Run tests:

ctest

📊 Vision

Most AI systems today are:

  • Slow
  • Script-heavy
  • Hard to control

This project explores:

Agent systems as real infrastructure — not demos.


⚖️ Legal & Ethical Position

  • This is a clean-room implementation
  • No proprietary or leaked code is included
  • Only high-level architectural patterns are studied

🧠 Philosophy

Don’t archive the system. Out-engineer it.


⭐ Why star this?

Because the future of AI isn’t prompts.

It’s runtime systems.


🚧 Status

Early stage — rapidly evolving.

  • Target language: C++
  • Current phase: module-by-module runtime migration
  • Temporary stubs may appear during active porting
  • Goal: full architecture and runtime parity in C++

If you're interested in:

  • AI agents
  • systems programming
  • runtime design

This repo is for you.

Yorumlar (0)

Sonuc bulunamadi