Specification and architecture driven code generation toolkit.
Project description
Ossature
An open-source harness for spec-driven code generation.
You write a specification, optionally lay out the architecture, and Ossature breaks it down into a build plan that gets executed step by step with an LLM doing the code generation under tight constraints. The specs are your source of truth, you review the plan before anything gets built, and when something breaks you fix that step and keep going instead of starting over.
Works with Anthropic, OpenAI, Mistral, Google, and most other hosted providers, as well as local models through Ollama.
Ossature (pronounced OSS-uh-cher) means the underlying framework or skeleton of a structure.
Quick start
Requires Python 3.14+.
pip install ossature
Or run it directly with uvx:
uvx ossature --version
Set your LLM provider API key:
export ANTHROPIC_API_KEY="sk-ant-..."
# or OPENAI_API_KEY, MISTRAL_API_KEY, etc.
Create and build a project:
ossature init myproject && cd myproject
ossature new my-feature
# edit specs/my-feature.smd
ossature validate
ossature audit
ossature build
Examples
See ossature-examples for complete projects with specs, build plans, and generated code.
Documentation
Full docs at docs.ossature.dev. The workflow guide walks through a complete project from init to generated code.
License
MIT
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ossature-0.0.1.tar.gz.
File metadata
- Download URL: ossature-0.0.1.tar.gz
- Upload date:
- Size: 60.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
968ba9a7e9d6d8ead2a8568a5fdbb2126f1bf47547440f4d4457c187c7127cf0
|
|
| MD5 |
d268b5f9a02954e7fd1fa254d8d82558
|
|
| BLAKE2b-256 |
61396605603bb4af409107af689be4665ed1b365cb81d7fbea1f91043c15d8bd
|
Provenance
The following attestation bundles were made for ossature-0.0.1.tar.gz:
Publisher:
release.yml on ossature/ossature
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ossature-0.0.1.tar.gz -
Subject digest:
968ba9a7e9d6d8ead2a8568a5fdbb2126f1bf47547440f4d4457c187c7127cf0 - Sigstore transparency entry: 1122858869
- Sigstore integration time:
-
Permalink:
ossature/ossature@561f443aeb077bb89ff558a8973102e521879427 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/ossature
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@561f443aeb077bb89ff558a8973102e521879427 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ossature-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ossature-0.0.1-py3-none-any.whl
- Upload date:
- Size: 80.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12a7d14ce507db6e3df8514eccbdcb3c7e0c7697b55714274a2b5f21aed9dfa9
|
|
| MD5 |
53c777c3c6ac43a965ba05a69dca1ebd
|
|
| BLAKE2b-256 |
184f795278aec4f41dea46505977368bb6b80759f197a1e3954b339bd3bedf6d
|
Provenance
The following attestation bundles were made for ossature-0.0.1-py3-none-any.whl:
Publisher:
release.yml on ossature/ossature
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ossature-0.0.1-py3-none-any.whl -
Subject digest:
12a7d14ce507db6e3df8514eccbdcb3c7e0c7697b55714274a2b5f21aed9dfa9 - Sigstore transparency entry: 1122858870
- Sigstore integration time:
-
Permalink:
ossature/ossature@561f443aeb077bb89ff558a8973102e521879427 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/ossature
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@561f443aeb077bb89ff558a8973102e521879427 -
Trigger Event:
push
-
Statement type: