https://github.com/copyleftdev/sigmos
A next-generation Domain-Specific Language (DSL) designed to define, orchestrate, and execute AI-native, composable, reactive, and multimodal systems.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.6%) to scientific vocabulary
Keywords
Repository
A next-generation Domain-Specific Language (DSL) designed to define, orchestrate, and execute AI-native, composable, reactive, and multimodal systems.
Basic Info
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
# SIGMOS: Sigma Modular Operating Spec
*A next-generation Domain-Specific Language (DSL) designed to define, orchestrate, and execute AI-native, composable, reactive, and multimodal systems.*
🚀 Features
- Declarative-first: Express what should happen, not how
- Typed & Validated: Strong types, constraint logic, schema compliance
- AI-Native: Prompts, LLM inference, dynamic generation as first-class citizens
- Composable: Modular specs, reusable patterns, namespaced imports
- Extensible: Plugin-based architecture with secure runtime extensions
- Reactive: Trigger-based, event-driven, lifecycle-aware
- Secure: Field permissioning, trusted imports, deterministic evaluation
📁 Project Structure
sigmos/
├── crates/
│ ├── core/ # Grammar, AST, parser
│ ├── runtime/ # Evaluation engine
│ ├── cli/ # CLI binary
│ ├── plugins/ # Official plugins (mcp, rest, etc.)
│ └── transpiler/ # Export formats (json, yaml, etc.)
├── docs/
├── examples/
├── spec/ # DSL EBNF, version log
├── registry/ # Plugin manifest JSON
└── tests/
🛠️ Installation
```bash
Clone the repository
git clone https://github.com/copyleftdev/sigmos.git cd sigmos
Build the project
cargo build --release
Install the CLI
cargo install --path crates/cli ```
📖 Quick Start
Basic Specification
```sigmos spec "Agent" v1.0 { description: "Defines an AI Agent with LLM prompt capabilities."
inputs: name: string tone: enum("friendly", "hostile") api_key: string { secret: true }
computed: greeting: -> "Hello, I'm {{name}}, and I'm {{tone}}."
events: oncreate(agent): mcp.call("mission.begin", { auth: ref("apikey"), payload: { id: agent.name } })
constraints: assert name != "" ensure tone in ["friendly", "hostile"]
lifecycle: before: validate after: log("agent init complete") } ```
CLI Usage
```bash
Validate a specification
sigmos validate spec.sigmos
Run a specification
sigmos run spec.sigmos
Transpile to JSON
sigmos transpile spec.sigmos --to json
Describe a specification
sigmos describe spec.sigmos ```
🧪 Development
Prerequisites
- Rust 1.70+
- Cargo
Building
```bash
Check all crates
cargo check --workspace
Run tests
cargo test --workspace
Run with all features
cargo test --workspace --all-features ```
Code Quality
This project enforces strict code quality standards:
- Zero unsafe code: All code must be memory-safe
- Clippy clean: No warnings allowed
- Formatted:
cargo fmtenforced - Documented: All public APIs have doc comments with examples
- Tested: Comprehensive test coverage including doctests
```bash
Format code
cargo fmt
Run lints
cargo clippy --workspace --all-targets --all-features -- -D warnings
Test documentation
cargo test --workspace --doc ```
🏗️ Architecture
Core Components
sigmos-core: PEG grammar, AST definitions, parser implementationsigmos-runtime: Async execution engine, event handling, lifecycle managementsigmos-cli: Command-line interface with rich error reportingsigmos-plugins: Plugin system and official plugin implementationssigmos-transpiler: Export to JSON, YAML, TOML formats
Type System
SIGMOS features a rich type system with:
- Primitive types: string, int, float, bool, null
- Generic types: list<T>, map<K,V>
- Custom types via types {} blocks
- Constraint validation and type checking
Plugin System
Extend SIGMOS with custom functionality: - Secure sandboxed execution - Signature verification - Runtime registration - Async plugin methods
🤝 Contributing
- Fork the repository
- Create a feature branch
- Make your changes following the code rules
- Ensure all tests pass and code is formatted
- Submit a pull request
Code Rules
- Idiomatic Rust: Zero unsafe, strict ownership model
- Highly Modular: Decoupled, trait-oriented design
- Extensive Docstrings: Every public item documented with examples
- Property-based Testing: Use
proptestfor comprehensive testing - Strong Typing: Avoid stringly-typed code, use newtypes
📄 License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT License (LICENSE-MIT)
at your option.
🙏 Acknowledgments
SIGMOS is designed for the builders of what comes next - a future-proof DSL for orchestrating cognition, automation, and intelligence across AI-native systems.
SIGMOS: The modular operating specification for the AI era.
Owner
- Name: Donald Johnson
- Login: copyleftdev
- Kind: user
- Location: Los Angeles
- Repositories: 39
- Profile: https://github.com/copyleftdev
GitHub Events
Total
- Watch event: 1
- Delete event: 1
- Push event: 12
- Pull request event: 6
- Create event: 4
Last Year
- Watch event: 1
- Delete event: 1
- Push event: 12
- Pull request event: 6
- Create event: 4
Dependencies
- Swatinem/rust-cache v2 composite
- actions/checkout v4 composite
- dtolnay/rust-toolchain stable composite
- actions/checkout v4 composite
- actions/configure-pages v4 composite
- actions/deploy-pages v4 composite
- actions/upload-pages-artifact v3 composite
- ruby/setup-ruby v1 composite
- tokio-test 0.4 development
- reqwest 0.11
- tokio-test 0.4 development
- serde_yaml 0.9
- toml 0.8
- jekyll-feed ~> 0.12 development
- jekyll-seo-tag >= 0 development
- jekyll-sitemap >= 0 development
- http_parser.rb ~> 0.6.0
- jekyll ~> 4.3.0
- minima ~> 2.5
- tzinfo >= 1, < 3
- tzinfo-data >= 0
- wdm ~> 0.1.1