Skip to main content

OpenSculpt — The Self-Evolving Agentic OS

Project description

OpenSculpt

The Self-Evolving Agentic OS

GitHub Stars Python 3.11+ Tests License

Open in GitHub Codespaces Open in VS Code Open in Gitpod

Every failure is a chisel strike. Every fix reveals a better shape. 🐧🪨

OpenSculpt is not another agent framework. It's an operating system for intelligence. You speak naturally, it reasons, plans, spawns agents, executes, remembers, and evolves — driven by what you actually need, not random research papers. Claude Code, Cursor, Windsurf are the chisels. The OS is the stone. Like Tux represents Linux, Chip (the self-sculpting penguin) represents an OS that shapes itself.

sculpt "why is my API slow?"
# → Spawns analyst agent, profiles endpoints, checks logs, reports findings

sculpt "write a REST API for user management with tests and docs"
# → Assembles a team: architect → coder → [tester + documenter in parallel]

Install

From Source (recommended)

git clone https://github.com/opensculpt/opensculpt.git
cd opensculpt
pip install -e ".[dev]"

Note: If sculpt isn't found after install, use python -m agos instead.

Quick Start

# Set your API key (Anthropic, OpenRouter, or any supported provider)
export SCULPT_LLM_API_KEY=your-key-here

# Initialize workspace
sculpt init

# Talk to it via CLI
sculpt "analyze my codebase and summarize what each module does"
sculpt "find all TODO comments and prioritize them"

# Or launch the web dashboard
python -m agos.serve
# Opens http://localhost:8420

Architecture

+------------------------------------------------------------------+
|                         OpenSculpt                                  |
|                                                                   |
|   INTERFACE    Natural Language CLI  |  Dashboard  |  SDK         |
|                         |                                         |
|   SOUL         Intent Engine (understand → plan → execute)        |
|                         |                                         |
|   BRAIN        Agent Kernel (lifecycle, state, budget)            |
|                         |                                         |
|   MEMORY       Knowledge System (episodic + semantic + graph)     |
|                         |                                         |
|   BODY         Tool Bus (file, shell, HTTP, Python, web search)   |
|                         |                                         |
|   SENSES       Triggers (file watch, cron, webhooks)              |
|                         |                                         |
|   SOCIAL       Coordination (channels, teams, debate protocol)    |
|                         |                                         |
|   IMMUNE       Policy Engine + Audit Trail                        |
|                         |                                         |
|   EVOLUTION    Demand-Driven Self-Evolution (failures → research  |
|                → code generation → sandbox → deploy)              |
+------------------------------------------------------------------+

CLI Commands

Command Description
sculpt "<intent>" Natural language — the OS figures out what to do
sculpt ps List running agents
sculpt recall "<topic>" Search knowledge system
sculpt timeline View event history
sculpt watch <path> "<intent>" Watch files, trigger agent on changes
sculpt schedule <interval> "<intent>" Run agent on a schedule
sculpt team "<task>" Multi-agent team execution
sculpt evolve Run R&D cycle (scan arxiv, analyze, propose)
sculpt evolve --proposals View pending evolution proposals
sculpt ambient --start Start background watchers
sculpt proactive --scan Run pattern detection
sculpt audit View audit trail
sculpt policy Configure safety policies
sculpt dashboard Launch web monitoring UI
sculpt update Check for updates and self-update
sculpt version Show version

Configuration

All settings via environment variables with SCULPT_ prefix:

Variable Default Description
SCULPT_LLM_API_KEY (required) Your LLM API key (Anthropic, OpenRouter, etc.)
SCULPT_DEFAULT_MODEL anthropic/claude-haiku-4-5 Claude model to use
SCULPT_WORKSPACE_DIR .opensculpt Local workspace directory
SCULPT_MAX_CONCURRENT_AGENTS 50 Max agents running at once
SCULPT_DASHBOARD_PORT 8420 Dashboard web UI port
SCULPT_LOG_LEVEL INFO Logging level

Self-Evolution

OpenSculpt evolves itself based on what you actually need:

  1. Detect — Collects demand signals from user failures, tool errors, missing capabilities, agent crashes
  2. Scout — Searches arxiv for papers that address actual problems (not random topics)
  3. Analyze — Extracts actionable techniques from each paper
  4. Generate — LLM writes code implementing the technique, with demand context injected
  5. Test — Runs code patterns in a sandboxed environment
  6. Deploy — Applies sandbox-passing code as live evolved strategies
  7. Learn — Records what worked and what failed for cross-cycle learning
sculpt evolve                    # Run a full R&D cycle
sculpt evolve --proposals        # Review what it found
sculpt evolve --accept <id>      # Accept a proposal
sculpt evolve --apply <id>       # Apply it (with auto-rollback on failure)

Every failure is a chisel strike. Every fix reveals a better shape. The OS sculpts itself — shaped by AI coding tools on every user's machine.

Security

OpenSculpt is an operating system — it executes shell commands, writes files, makes HTTP requests, and manages Docker containers by design. This is equivalent to giving it sudo access.

Before exposing to a network:

  • Set SCULPT_DASHBOARD_API_KEY to a strong random value
  • Set SCULPT_APPROVAL_MODE to confirm-dangerous (default is auto)
  • Do not expose port 8420 to the public internet without auth

By design, the OS agent can:

  • Execute arbitrary shell commands and Python code
  • Read/write any file on the filesystem
  • Make HTTP requests to any URL
  • Manage Docker containers via the Docker socket

This is intentional — it's an OS, not a sandboxed app. Treat it like SSH access to a server.

Development

pip install -e ".[dev]"
pytest tests/ -v          # 779+ tests
ruff check agos/ tests/   # lint

License

Apache License 2.0. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opensculpt-0.1.0.tar.gz (553.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opensculpt-0.1.0-py3-none-any.whl (569.5 kB view details)

Uploaded Python 3

File details

Details for the file opensculpt-0.1.0.tar.gz.

File metadata

  • Download URL: opensculpt-0.1.0.tar.gz
  • Upload date:
  • Size: 553.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for opensculpt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 52803502c4568014d852b0ce466c7eef515b4d7a840b3cd0527355ca511712ed
MD5 ce19a66ee2f3e6379c9ac3c8abacbb6e
BLAKE2b-256 afe0e7bfec4d56f80e2364f1331e7b06b6552655d4bd9ce5fea49c8a00b906b8

See more details on using hashes here.

File details

Details for the file opensculpt-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: opensculpt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 569.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for opensculpt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68687bdea473adc1931007cea6a47afd4b704200ce7450d94c9bcecc5d401ffb
MD5 83d10ff04544d5723586d93cc50be9d3
BLAKE2b-256 1997aef3c5ab75792f1e5e5342045cf949a028b15f93e2d84736cff2ba939f81

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page