Skip to content

Analyzer cli agent mode#17

Draft
dommyrock wants to merge 38 commits intomainfrom
feat/dommyrock-analyzer-cli-agent-mode
Draft

Analyzer cli agent mode#17
dommyrock wants to merge 38 commits intomainfrom
feat/dommyrock-analyzer-cli-agent-mode

Conversation

@dommyrock
Copy link
Copy Markdown
Member

@dommyrock dommyrock commented Mar 26, 2026

Core idea is to have CLI read and build CLI commans / args dynamically at runtime with the help of custom Discovery.json schema built from existing openapi.json specs we provide from internal API's.

This already works locally, but I'm experimenting with having ci/cd build this discovery spec or , just have it as a Library imported by the analyzer-cli (this option is easier because it skips having to setup ci/cd for each service we have serving openapi specs)

At the moment this is inspired by the existing OSS project:
gws - google workspace cli , which exposes and dynamically generates cli for agentic use.

Core idea from here is this "skill generation concept" , which i used here , and than i copy it over to root ~.claude dir for now.

REF: Skill generation

---update
should now work with fully pointing to the hosted openapi specs

Note

This is not yet polished, i mostly experimented with this on weekends and in my own claude chats with this "agentic-mode" cli extenstion.

Idea is to preserve existing cli feature set that we already have here , and just expose this "agentic-mode" additionally as another option for users to use with their coding-agent of choice (i have only tested with Claude agent for now)

… manuly re-generate new discovery.json from latest openapi.json spec
…://git@github.com/exein-io/openapi-to-discovery
@dommyrock
Copy link
Copy Markdown
Member Author

dommyrock commented Mar 26, 2026

Right now build fails because of another private repo added to support this dynamic schema generation (openapi-to-discovery):
So we probably want to update ci/cd to beable to pull this private repository dependency.

Caused by:
process didn't exit successfully: git fetch --no-tags --force --update-head-ok 'ssh://git@github.com/exein-io/openapi-to-discovery' '+HEAD:refs/remotes/origin/HEAD' (exit status: 128)

Discovery documents in `discovery/` have changed.
Skill files in `skills/` have been regenerated.
branch: update-discovery
commit-message: "update: discovery documents + regenerated skills"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: This was in v1 , i can remove this now if we don't build discovery.json at the c/cd time and pull it on agent-init cmd startup time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant