Skip to main content

*codeplain renderer

What is *codeplain?

*codeplain platform makes coding agents better by having them write and maintain specifications instead of code. It extends coding agents with agentic skills for working at the specification layer, and with tools that convert specifications into tested and validated implementation code.

This repository is the renderer that powers that last step, turning ***plain specs into software using the *codeplain API.

The result is a software development workflow centered on specifications, which are faster and more efficient for AI to produce and easier for developers to review and maintain than raw code.

Schematic overview of the *codeplain's code rendering:

Getting started

Get started in 15 minutes.

1. Install *codeplain in the terminal

macOS and Linux:

curl -fsSL https://codeplain.ai/install.sh | bash

Windows PowerShell:

irm https://codeplain.ai/install.ps1 | iex

Windows users: Please install WSL (Windows Subsystem for Linux) as this is currently the supported environment for running plain code on Windows.

Follow the installation instructions to complete setup. The installer installs the codeplain CLI, walks you through setting your CODEPLAIN_API_KEY, and offers to set up plain-forge and the plyn editor extension for you in the same session.

If you'd rather not run the installer, sign up at platform.codeplain.ai to get your API key and export it yourself:

export CODEPLAIN_API_KEY="your_actual_api_key_here"

2. Let your agent work in specs, not code

You describe what you want in plain English, an agent helps you write a spec in ***plain language, and *codeplain renders the actual code. This is what plain-forge sets up: a toolkit of skills, rules, and docs that plugs into your AI coding agent of choice — Claude Code, Codex, ForgeCode, OpenCode, or any other agent that reads from a standard skills directory — and turns a conversation into a complete .plain spec, then keeps maintaining it across the lifetime of the project.

If you didn't install it during step 1, run it any time:

npx plain-forge install

3. Convert specs into tested and validated code

*codeplain extends coding agents with agentic skills for working at the specification layer, and with tools that convert specifications into tested and validated implementation code.

codeplain your-project.plain

Try it now

You can immediately test the system with a simple "Hello World" example:

  • Change to the example folder and run the example:

    cd examples/example_hello_world_python
    codeplain hello_world_python.plain
    

    Note: Rendering will take a few minutes to complete.

  • The system will generate a Python application in the build directory. You can run it with:

    cd build
    python hello_world.py
    

VS Code / Cursor extension

If you're using Visual Studio Code or Cursor IDE, we also recommend installing the plyn extension for ***plain syntax highlighting. The installer in step 1 offers to install it automatically if it detects code or cursor on your PATH.

Community and support

Share what you're building! Join the *codeplain Discord if you have questions, ideas, or want to share what you built.

Hit an edge case or have feedback? Reach us at support@codeplain.ai.

Abstracting Away Code Generation Complexity with ***plain

***plain is the language of spec-driven development — a specification language that combines the efficiency of natural language with the control and precision of code.

Structured sections for definitions, functional specs, implementation requirements, test requirements, and acceptance tests let your specs (not scattered docs or ad hoc prompts) become the source of truth for your software's behavior, abstracting away the complexity of using large language models for code generation.

Specs are plain text, so they fit into the workflows you already use — version control, pull requests, and code review.

See the ***plain language guide to learn the full syntax.

An example application in ***plain

Additional Resources

Examples and Sample Projects

  • See the examples folder for sample projects in Golang, Python, React, and Flutter.
  • For an example of how to implement Pong in ***plain, see the pong example.
  • For an example of how to implement a task manager in ***plain, see the task-manager example.

Documentation

Download files

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

Source Distribution

codeplain-0.3.6.tar.gz (478.5 kB view details)

Uploaded Source

Built Distribution

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

codeplain-0.3.6-py3-none-any.whl (164.6 kB view details)

Uploaded Python 3

File details

Details for the file codeplain-0.3.6.tar.gz.

File metadata

  • Download URL: codeplain-0.3.6.tar.gz
  • Upload date:
  • Size: 478.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for codeplain-0.3.6.tar.gz
Algorithm Hash digest
SHA256 b9241593ba9038e2343d93b8079f05b91f7fbed7d532047c1ac06cc20cc62d72
MD5 d81f7f6c7b6cbef4079c77e6d360810c
BLAKE2b-256 d0c4655501007bf0961c5183060db895da2accf4d26e7a5745c7d7d8fb42e96e

See more details on using hashes here.

File details

Details for the file codeplain-0.3.6-py3-none-any.whl.

File metadata

  • Download URL: codeplain-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 164.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for codeplain-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 32cda79f2563bde17e946f4e91bbe190e5a0dfc8ab7ef2fca0f5e93a0776a455
MD5 f65fa12804e7b2a4a181b3fe61cf8511
BLAKE2b-256 b7e0092cb9f99a960ca5fbfd93b9f05515d7efc89f22080eb43d41f32c2156f4

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 Sentry Error logging StatusPage Status page