Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

agnara-cli

Project introspection and scaffolding CLI. Owns project/app generators, templates and diagnostics.

This distribution is built and versioned with the synchronized workspace set. Which versions exist on an index is answered by its PyPI project page, not by this file: a README ships inside the artifact and cannot describe the state of a publication that happens after it is built.

It installs the agnara console script.

  • Import package: agnara_cli
  • Depends on: the exact synchronized agnara version
  • Must not import: sibling adapter packages

See ARCHITECTURE.md sections 3 and 4 for the package boundaries and the allowed dependency graph.

Status

agnara project create, agnara app create with its app-api, app-mcp, app-agent and app-worker profile shorthands, agnara apps, agnara inspect, agnara graph, agnara schema openapi and agnara context are implemented. agnara doctor remains ahead in the backlog.

agnara --help lists the commands the installed version actually has, which is the answer to trust over any list written down elsewhere.

agnara inspect

agnara inspect billing.bootstrap:app --dependencies registry
agnara inspect billing.bootstrap:app --json

Imports a compiled application and presents its filtered protocol-neutral introspection snapshot. Text and --json build one snapshot and apply one visibility decision, so the two cannot disagree, and neither derives anything from OpenAPI.

Importing the target executes the module that defines it. A malformed target is rejected before any import happens.

The attribute may be a dotted path, so an application held inside a container or a factory result needs no rearranging to be inspectable:

agnara inspect billing.bootstrap:container.app --dependencies container.registry

--visibility selects full (default), agent or identity; --as-scope simulates a viewer's scopes; --hide removes named capabilities. Offline inspection is therefore not a documented bypass of a publication decision.

Exit codes are 0 for an answer, 1 for a target the CLI could not use and 2 for an invalid command line. Output carries no ANSI decoration. See ADR 0047 and docs/CLI_SPEC.md.

agnara graph

agnara graph billing.bootstrap:app --dependencies registry

Draws capability, dependency and provider relationships from the same filtered snapshot, with the same target and visibility arguments. There is no second discovery path: both commands read one View, so neither can show something the other withheld. A withheld relationship source is named rather than drawn as an empty tree. See ADR 0048.

agnara schema openapi

agnara schema openapi billing.bootstrap:served
agnara schema openapi billing.bootstrap:document --output openapi.json

Exports the OpenAPI document the composition produced. This package must not import agnara-http, so it does not project one — which is also the safer design: a second projection here could disagree with the one a server serves.

The named attribute may be serialized bytes, the mapping they came from, or a zero-argument callable returning either. Bytes are emitted unchanged, so an export is byte-identical to what is served. --output writes a file and refuses to replace one without --overwrite. See ADR 0050.

agnara context

agnara context billing.bootstrap:app --visibility agent
agnara context billing.bootstrap:app --output CAPABILITIES.md

Renders the filtered snapshot as Markdown for a model to read, from the same shared view agnara inspect uses. Every rendering states that seeing a capability is not permission to invoke it, and a withheld field is named rather than printed as its declared default. Not llms.txt, and not a security boundary. See ADR 0051.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agnara_cli-0.1.0a8.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agnara_cli-0.1.0a8-py3-none-any.whl (58.0 kB view details)

Uploaded Python 3

File details

Details for the file agnara_cli-0.1.0a8.tar.gz.

File metadata

  • Download URL: agnara_cli-0.1.0a8.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for agnara_cli-0.1.0a8.tar.gz
Algorithm Hash digest
SHA256 2c308cc5ad77bdf131ecedab124754cc922c424e7f84525e65aa7e54768c9cdf
MD5 74bd0113abecdff23cd7420b613c5621
BLAKE2b-256 4912c2789bb0ff30fbb39fa53ae73eed0190ac6fe6a2b99e558a4f430fc09d58

See more details on using hashes here.

Provenance

The following attestation bundles were made for agnara_cli-0.1.0a8.tar.gz:

Publisher: release.yml on Blandskron/agnara

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agnara_cli-0.1.0a8-py3-none-any.whl.

File metadata

  • Download URL: agnara_cli-0.1.0a8-py3-none-any.whl
  • Upload date:
  • Size: 58.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for agnara_cli-0.1.0a8-py3-none-any.whl
Algorithm Hash digest
SHA256 407986d7bdea99e3557bb7b93237359695d9c4526de5912338b6f5e59b20d3fd
MD5 0472050a22f719e76095a35d7e90de67
BLAKE2b-256 ca647bd2b5fc7773386bb5dc23c7cb50a3ac18e59321bc2741c0a48831dc04c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for agnara_cli-0.1.0a8-py3-none-any.whl:

Publisher: release.yml on Blandskron/agnara

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0a8 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page