Multi-agent system for HED annotation generation and validation
Project description
HEDit
Convert natural language event descriptions into valid HED (Hierarchical Event Descriptors) annotations.
Part of the Annotation Garden Initiative.
Installation
# Default (lightweight API client, ~100MB)
pip install hedit
# Standalone mode (run locally without backend, ~2GB)
pip install hedit[standalone]
Quick Start
# Configure your OpenRouter API key (https://openrouter.ai)
hedit init --api-key sk-or-v1-xxx
# Generate HED annotation from text
hedit annotate "participant pressed the left button"
# Generate HED from an image
hedit annotate-image stimulus.png
# Validate a HED string
hedit validate "Sensory-event, Visual-presentation"
Commands
| Command | Description |
|---|---|
hedit init |
Configure API key and preferences |
hedit annotate "text" |
Convert natural language to HED |
hedit annotate-image <file> |
Generate HED from image |
hedit validate "HED-string" |
Validate HED annotation |
hedit health |
Check service status |
hedit config show |
Display configuration |
Options
hedit annotate "text" -o json # JSON output for scripting
hedit annotate "text" --schema 8.3.0 # Specific HED schema version
hedit annotate "text" --standalone # Run locally (requires hedit[standalone])
How It Works
HEDit uses a multi-agent system (LangGraph) with feedback loops:
- Annotation Agent - Generates initial HED tags
- Validation Agent - Checks syntax and tag validity
- Evaluation Agent - Assesses faithfulness to input
- Assessment Agent - Identifies missing elements
Annotations are automatically refined until validation passes.
Links
- Documentation
- GitHub Repository
- HED Standard
- OpenRouter - Get an API key
License
MIT
Project details
Release history Release notifications | RSS feed
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 hedit-0.6.3a2.tar.gz.
File metadata
- Download URL: hedit-0.6.3a2.tar.gz
- Upload date:
- Size: 104.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
674086b13944c527594e85da72037cf2babd99e50ac53e28bbd26d747df2e6af
|
|
| MD5 |
e9e1fc8a2042079d3b90d45333917b3b
|
|
| BLAKE2b-256 |
9a33582e75a63ff72e3cd7be4e267233e3d73019d7b1131ff98b882f7c7763f0
|
Provenance
The following attestation bundles were made for hedit-0.6.3a2.tar.gz:
Publisher:
publish.yml on Annotation-Garden/HEDit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hedit-0.6.3a2.tar.gz -
Subject digest:
674086b13944c527594e85da72037cf2babd99e50ac53e28bbd26d747df2e6af - Sigstore transparency entry: 771999235
- Sigstore integration time:
-
Permalink:
Annotation-Garden/HEDit@08d432a0a4e9d2e7b1539335d8ca89d9bff0d6b7 -
Branch / Tag:
refs/tags/v0.6.3a2 - Owner: https://github.com/Annotation-Garden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@08d432a0a4e9d2e7b1539335d8ca89d9bff0d6b7 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file hedit-0.6.3a2-py3-none-any.whl.
File metadata
- Download URL: hedit-0.6.3a2-py3-none-any.whl
- Upload date:
- Size: 88.8 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 |
2ac4ddaf2da4623c097155eb27c6188c73e0494ce170d4a21755efa8907d30d8
|
|
| MD5 |
bbee6f0bdd9cc5482c3b69496471d281
|
|
| BLAKE2b-256 |
1f44d7e21fb0b5adcf19ec7fe26cd6f0cfa793380a2d496ebebeec218f890ccd
|
Provenance
The following attestation bundles were made for hedit-0.6.3a2-py3-none-any.whl:
Publisher:
publish.yml on Annotation-Garden/HEDit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hedit-0.6.3a2-py3-none-any.whl -
Subject digest:
2ac4ddaf2da4623c097155eb27c6188c73e0494ce170d4a21755efa8907d30d8 - Sigstore transparency entry: 771999236
- Sigstore integration time:
-
Permalink:
Annotation-Garden/HEDit@08d432a0a4e9d2e7b1539335d8ca89d9bff0d6b7 -
Branch / Tag:
refs/tags/v0.6.3a2 - Owner: https://github.com/Annotation-Garden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@08d432a0a4e9d2e7b1539335d8ca89d9bff0d6b7 -
Trigger Event:
workflow_dispatch
-
Statement type: