Why StructOp exists
StructOp was created in response to six problems that most development teams know. It does not claim to remove them. Its architecture is designed to address them, and each section below says which part of StructOp does so today.
On this page
Software complexity#
As applications grow, understanding their internal structure, dependencies, execution relationships and behaviour becomes increasingly difficult.
StructOp aims to make these relationships more explicit and inspectable. Every declaration has an address, such as ability.print.Greet. A dependency is written as depends_on, a read of a value goes through a named data block, and structop graph draws these relationships for the whole project.
Software maintenance#
Developers often spend considerable time understanding existing code before implementing changes.
StructOp provides structured application definitions intended to improve application comprehension and maintainability. Each declaration states its kind and its name, and structop validate rejects a reference to anything that does not exist, with the file, line, column and the nearest existing name.
Fragmented development ecosystems#
Different programming languages introduce different syntax, libraries, development workflows and tooling.
StructOp provides a unified declarative application layer that can leverage supported native programming ecosystems. The same declarations build as C or as Rust when the project uses the portable provider families: 195 of the 209 documented example projects produce the same output on both targets. The other 14 use features of one target. See Native language interoperability for the scope.
Change transparency#
Conventional source code diffs show textual changes but do not always clearly communicate their structural significance.
StructOp introduces application-level change planning to help developers inspect changes before building. structop plan names each ability that is added, changed or removed, down to the attribute, and says when a change moves others in the run order. Change planning in practice follows one change from edit to result.
AI-assisted development#
AI systems are increasingly capable of generating and modifying software. However, understanding, reviewing and governing those changes remains a significant challenge.
StructOp aims to make human and AI collaboration more transparent through structured declarations, explicit relationships, validation, change plans and machine-readable outputs. Nine commands print JSON with -json, in a versioned format. See Human and AI collaboration.
Development lifecycle fragmentation#
Application development often requires separate tools for validation, compilation, dependency management, visualisation and testing.
StructOp brings supported capabilities together through a consistent development workflow. One program initialises providers, validates, plans, draws the graph, builds, records state and runs the tests. It still uses the C compiler or Cargo for compilation.
Where StructOp fits#
StructOp works alongside the tools and practices a team already has. Each capability has a clear boundary:
| StructOp provides | Stays with your tools and team |
|---|---|
Build state: what the last apply built | Run-time inspection, with debuggers and monitoring |
| An execution graph of declared run order and dependencies | Run-time analysis, with profilers and tracing |
| A change plan: what will be added, changed or removed | Review of the change, and formal verification where it is required |
| Validation of declarations, types and references | Security review and vulnerability scanning |
| Native code generation for C and Rust | Other languages, through their own toolchains |
| Structured input and output that AI development agents can use | Human review of what an agent writes |
Security, regulatory compliance, performance and production readiness are properties of the application and of the organisation that ships it. StructOp gives that work one checkable description of the application to start from.