CLI-first verification workflow platform for grounded AI-assisted hardware validation
Project description
Telchines
CLI-first verification workflows for hardware teams that want grounded, replayable AI instead of generic repo chat.
Quick Start | v1 Workflows | How It Works | Documentation
Why Telchines
Generic coding assistants are weak at verification work because the real loop is not just text generation. It is specs, RTL, logs, tool feedback, coverage holes, prior runs, and the ability to replay what happened.
Telchines is built around that loop:
- retrieve evidence from RTL, docs, logs, and run history
- run verification-native workflows instead of generic chat prompts
- preserve replay artifacts and citations
- validate outputs through adapters and deterministic gates
- keep model routing local-first and policy-aware
Telchines is not trying to replace simulators or formal tools. It is the orchestration layer that helps engineers move from signal to next action faster.
What You Can Do With v1
| Workflow | What it does | Primary command |
|---|---|---|
| Retrieval | Builds task-aware evidence packs from repo and run history | tel retrieve "query" |
| Repair | Proposes and validates minimal fixes from tool output | tel repair --tool ... --file ... |
| Triage | Clusters repeated regressions with evidence and history | tel triage --logs logs/regressions |
| Spec-to-SVA | Generates first-pass assertions from spec plus RTL | tel gen-sva --spec docs/uart.md --rtl rtl/uart_rx.sv |
| DUT-to-Cocotb | Scaffolds a grounded cocotb starter testbench | tel gen-cocotb --dut rtl/uart_rx.sv --spec docs/uart.md |
| Coverage Planning | Classifies uncovered items and ranks next actions | tel coverage-plan --report cov/coverage.json ... |
| Waveform Debug | Parses VCDs and inspects signals from CLI or shell | tel waveforms show ... |
| Benchmarks | Runs the built-in offline evaluation suite | tel eval run |
What It Looks Like
$ tel
tel[uart] sample_project> /index
Index Complete
indexed 18 chunks
tel[uart] sample_project> /triage --logs logs/regressions
Triage Summary
run run_... produced 2 cluster(s)
1. UART receiver start-bit regressions grouped together
likely cause: missing stimulus or broken start-bit detection path
suggested action: inspect uart_rx start-bit handling and nearby waveform evidence
evidence: docs/uart.md#L1, rtl/uart_rx.sv#L1, logs/regressions/run_a.log#L1
tel[uart] sample_project> /gen-sva --spec docs/uart.md --rtl rtl/uart_rx.sv
Spec-to-SVA Result
provider: heuristic
status: validated
artifact: .tel/artifacts/generated/uart_rx_assertions.sv
validation: passed
How It Works
Telchines keeps the loop explicit:
- Index the project and build retrieval context.
- Run a verification workflow such as repair, triage, generation, or coverage planning.
- Store evidence, artifacts, validation output, and replay metadata under
.tel/. - Reuse prior runs and benchmark the behavior over time.
Architecture Snapshot
Quick Start
Install from PyPI:
pip install telchines
Or from source:
python -m venv .venv
. .venv/Scripts/activate
pip install -e .[dev]
Validate the install:
tel --version
telchines --help
Initialize and index a project:
tel project init .
tel index
tel providers list
Run a few common workflows:
tel retrieve "uart timeout handling"
tel triage --logs logs/regressions --format human
tel gen-sva --spec docs/uart.md --rtl rtl/uart_rx.sv
tel gen-cocotb --dut rtl/uart_rx.sv --spec docs/uart.md --intent "smoke the start-bit path"
tel coverage-plan --report cov/coverage.json --rtl rtl/uart_rx.sv --spec docs/uart.md --format human
Interactive Shell
Running tel with no arguments opens the shell. Slash commands and lightweight plain-text intents are both supported.
tel> /help
tel> /providers
tel> /index
tel> /triage --logs logs/regressions
tel> /gen-sva --spec docs/uart.md --rtl rtl/uart_rx.sv
tel> show my providers
tel> triage the regression logs
tel> /exit
Adapter And Provider Model
Built-in adapters in v1:
verilatoriverilogslangveriblesymbiyosys
Provider kinds in v1:
heuristicopenai_compatiblelocal_command
Policy controls:
model_mode=localblocks remote providersmodel_mode=remoteblocks local command providersmodel_mode=hybridallows bothno_egress=trueblocks networked providers
See docs/adapters.md and docs/providers.md for the exact support contract.
Benchmarks And Release Validation
Telchines ships with an offline benchmark suite covering:
- repair
- triage
- retrieval
- spec-to-SVA
- DUT-to-cocotb
- coverage planning
Run it with:
tel eval run
tel eval report
The current default suite contains 18 cases and is part of the v1 credibility story, not optional polish.
v1 Scope
Included:
- interactive shell and one-shot CLI
- project indexing and retrieval
- run storage and replay
- repair, triage, waveform inspection,
gen-sva,gen-cocotb, andcoverage-plan - provider policy controls for
local,hybrid,remote, andno_egress - built-in benchmark suite
Not in v1:
- web UI
- hosted service
- enterprise-only integrations
- richer shell affordances like command palettes and
@filementions - broader regression-manager integrations beyond the current adapter surface
Documentation
- Quickstart
- Worked Examples
- Provider Configuration
- Adapter Support And Contribution Contract
- External Retrieval Policy
- Evaluation And Benchmarks
- Compatibility Promise
- Release Checklist
Stability Promise For v1
The 1.x line treats these interfaces as stable unless explicitly deprecated:
- top-level CLI command names
.tel/config.jsonlayout- run-store replay artifacts
- JSON output shape for the main workflow commands
See docs/compatibility.md for the exact boundary.
Full CLI Surface
teltel shelltel project inittel indextel retrievetel repairtel triagetel coverage-plantel gen-svatel gen-cocotbtel waveforms listtel waveforms showtel waveforms signalstel waveforms inspecttel runs listtel runs showtel runs replaytel adapters listtel providers listtel eval runtel eval report
Development
pip install -e .[dev]
pytest
Project contribution and disclosure guidance:
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 telchines-1.0.0.tar.gz.
File metadata
- Download URL: telchines-1.0.0.tar.gz
- Upload date:
- Size: 83.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd16cf6f8a0b5198efcf9402a51bb479f335754c4e3282cf0e2805941cbaa0ed
|
|
| MD5 |
832993c69cf8a16a28473f7101f6f837
|
|
| BLAKE2b-256 |
da8e4381533961c951da6760255116a1b527fd50a5a7683a1623c352361256ef
|
Provenance
The following attestation bundles were made for telchines-1.0.0.tar.gz:
Publisher:
publish-pypi.yml on ivanbard/telchines
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
telchines-1.0.0.tar.gz -
Subject digest:
dd16cf6f8a0b5198efcf9402a51bb479f335754c4e3282cf0e2805941cbaa0ed - Sigstore transparency entry: 1706953068
- Sigstore integration time:
-
Permalink:
ivanbard/telchines@654de7c98c07d1345a7d4f1a3ffcd2c36cc247d1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ivanbard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@654de7c98c07d1345a7d4f1a3ffcd2c36cc247d1 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file telchines-1.0.0-py3-none-any.whl.
File metadata
- Download URL: telchines-1.0.0-py3-none-any.whl
- Upload date:
- Size: 71.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
292d93b3a5db632173a68108f15a2726fd88fe3cff78dee986e09eb548017cad
|
|
| MD5 |
b52229788ffb7cc11261a0ca5121515d
|
|
| BLAKE2b-256 |
6b1f3b6261f0c8ef4b7aa3a7f3cdd5b7c06f51f0ad73ad56a7fb991238ff989d
|
Provenance
The following attestation bundles were made for telchines-1.0.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on ivanbard/telchines
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
telchines-1.0.0-py3-none-any.whl -
Subject digest:
292d93b3a5db632173a68108f15a2726fd88fe3cff78dee986e09eb548017cad - Sigstore transparency entry: 1706953085
- Sigstore integration time:
-
Permalink:
ivanbard/telchines@654de7c98c07d1345a7d4f1a3ffcd2c36cc247d1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ivanbard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@654de7c98c07d1345a7d4f1a3ffcd2c36cc247d1 -
Trigger Event:
workflow_dispatch
-
Statement type: