Skip to content

Added support for exporting agent definitions#6

Merged
burgaard merged 4 commits into
mainfrom
agent-export
Apr 2, 2026
Merged

Added support for exporting agent definitions#6
burgaard merged 4 commits into
mainfrom
agent-export

Conversation

@burgaard

@burgaard burgaard commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 2, 2026 04:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR appears to introduce an OpenAPI-backed “agent definition export” capability and regenerate the Python SDK client code accordingly.

Changes:

  • Added GET /agents/{agent_id}/export to the OpenAPI spec along with an AgentExportResponse schema.
  • Regenerated/added many _generated endpoint modules (agents, memory banks, knowledge bases, governance, identity, alerts, etc.), including widespread support for X-Account-Id.
  • Updated .github/copilot-instructions.md with additional “quality gates” and workflow rules.

Reviewed changes

Copilot reviewed 94 out of 315 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
seclai/_generated/api/memory_banks/memory_bank_ai_generate_api_memory_banks_ai_assistant_post.py New generated endpoint wrapper for memory bank AI assistant generation.
seclai/_generated/api/memory_banks/list_templates_api_memory_banks_templates_get.py New generated endpoint wrapper for listing memory bank templates.
seclai/_generated/api/memory_banks/get_memory_bank_api_memory_banks_memory_bank_id_get.py New generated endpoint wrapper for fetching a memory bank by ID.
seclai/_generated/api/memory_banks/get_agents_using_bank_api_memory_banks_memory_bank_id_agents_get.py New generated endpoint wrapper for listing agents referencing a memory bank.
seclai/_generated/api/memory_banks/delete_memory_bank_source_api_memory_banks_memory_bank_id_source_delete.py New generated endpoint wrapper for deleting a memory bank’s content source.
seclai/_generated/api/memory_banks/delete_memory_bank_api_memory_banks_memory_bank_id_delete.py New generated endpoint wrapper for deleting a memory bank.
seclai/_generated/api/memory_banks/create_memory_bank_api_memory_banks_post.py New generated endpoint wrapper for creating a memory bank.
seclai/_generated/api/memory_banks/init.py Package initializer docstring for generated memory bank endpoints.
seclai/_generated/api/knowledge_bases/update_knowledge_base_api_knowledge_bases_knowledge_base_id_put.py New generated endpoint wrapper for updating a knowledge base.
seclai/_generated/api/knowledge_bases/get_knowledge_base_api_knowledge_bases_knowledge_base_id_get.py New generated endpoint wrapper for fetching a knowledge base.
seclai/_generated/api/knowledge_bases/delete_knowledge_base_api_knowledge_bases_knowledge_base_id_delete.py New generated endpoint wrapper for deleting a knowledge base.
seclai/_generated/api/knowledge_bases/create_knowledge_base_api_knowledge_bases_post.py New generated endpoint wrapper for creating a knowledge base.
seclai/_generated/api/knowledge_bases/init.py Package initializer docstring for generated knowledge base endpoints.
seclai/_generated/api/identity/get_me_api_me_get.py New generated endpoint wrapper for the /me identity endpoint.
seclai/_generated/api/identity/init.py Package initializer docstring for generated identity endpoints.
seclai/_generated/api/governance/list_governance_ai_conversations_api_governance_ai_assistant_conversations_get.py New generated endpoint wrapper for listing governance AI assistant conversations.
seclai/_generated/api/governance/governance_ai_generate_api_governance_ai_assistant_post.py New generated endpoint wrapper for governance AI assistant generation.
seclai/_generated/api/governance/governance_ai_decline_api_governance_ai_assistant_conversation_id_decline_post.py New generated endpoint wrapper to decline a governance AI plan.
seclai/_generated/api/governance/governance_ai_accept_api_governance_ai_assistant_conversation_id_accept_post.py New generated endpoint wrapper to accept a governance AI plan.
seclai/_generated/api/governance/init.py Package initializer docstring for generated governance endpoints.
seclai/_generated/api/contents/upload_file_to_content_api_contents_source_connection_content_version_upload_post.py Updated generated content upload endpoint to support X-Account-Id and auth docstring changes.
seclai/_generated/api/contents/list_content_embeddings_api_contents_source_connection_content_version_embeddings_get.py Updated generated embeddings listing endpoint to support X-Account-Id and auth docstring changes.
seclai/_generated/api/contents/get_content_detail_api_contents_source_connection_content_version_get.py Updated generated content detail endpoint to support X-Account-Id and auth docstring changes.
seclai/_generated/api/contents/delete_content_api_contents_source_connection_content_version_delete.py Updated generated content delete endpoint to support X-Account-Id and auth docstring changes.
seclai/_generated/api/alerts/get_alert_detail_api_alerts_alert_id_get.py New generated endpoint wrapper for alert detail fetch.
seclai/_generated/api/alerts/delete_alert_config_api_alerts_configs_config_id_delete.py New generated endpoint wrapper for deleting an alert config.
seclai/_generated/api/alerts/init.py Package initializer docstring for generated alerts endpoints.
seclai/_generated/api/ai_assistant/api_ai_source_api_ai_assistant_source_post.py New generated endpoint wrapper for standalone AI assistant “source plan”.
seclai/_generated/api/ai_assistant/api_ai_solution_api_ai_assistant_solution_post.py New generated endpoint wrapper for standalone AI assistant “solution plan”.
seclai/_generated/api/ai_assistant/api_ai_memory_bank_api_ai_assistant_memory_bank_post.py New generated endpoint wrapper for standalone AI assistant “memory bank” plan.
seclai/_generated/api/ai_assistant/api_ai_knowledge_base_api_ai_assistant_knowledge_base_post.py New generated endpoint wrapper for standalone AI assistant “knowledge base” plan.
seclai/_generated/api/ai_assistant/api_ai_feedback_api_ai_assistant_feedback_post.py New generated endpoint wrapper for AI assistant feedback submission.
seclai/_generated/api/ai_assistant/api_ai_decline_api_ai_assistant_conversation_id_decline_post.py New generated endpoint wrapper to decline a standalone AI plan.
seclai/_generated/api/ai_assistant/api_ai_accept_api_ai_assistant_conversation_id_accept_post.py New generated endpoint wrapper to accept/execute a standalone AI plan.
seclai/_generated/api/ai_assistant/init.py Package initializer docstring for generated AI assistant endpoints.
seclai/_generated/api/agents/search_agent_runs_api_agents_runs_search_post.py New generated endpoint wrapper for semantic search over agent traces/runs.
seclai/_generated/api/agents/run_streaming_agent_api_agents_agent_id_runs_stream_post.py Updated generated agent streaming run endpoint to support X-Account-Id and expanded docs.
seclai/_generated/api/agents/run_agent_api_agents_agent_id_runs_post.py Updated generated agent run endpoint to support X-Account-Id and expanded docs.
seclai/_generated/api/agents/list_agents_api_agents_get.py New generated endpoint wrapper for listing agents with pagination.
seclai/_generated/api/agents/get_agent_run_api_agents_runs_run_id_get.py Updated generated get-run endpoint to support X-Account-Id and auth docstring changes.
seclai/_generated/api/agents/get_agent_metadata_api_agents_agent_id_get.py New generated endpoint wrapper for fetching agent metadata.
seclai/_generated/api/agents/delete_agent_run_api_agents_runs_run_id_delete.py Updated generated cancel-run endpoint to support X-Account-Id and auth docstring changes.
seclai/_generated/api/agents/delete_agent_api_agents_agent_id_delete.py New generated endpoint wrapper for deleting an agent.
seclai/_generated/api/agent_evaluations/list_run_evaluation_results_api_agents_agent_id_runs_run_id_evaluation_results_get.py New generated evaluation-results listing endpoint wrapper.
seclai/_generated/api/agent_evaluations/list_evaluation_criteria_api_agents_agent_id_evaluation_criteria_get.py New generated evaluation-criteria listing endpoint wrapper.
seclai/_generated/api/agent_evaluations/get_evaluation_summary_api_agents_evaluation_criteria_criteria_id_summary_get.py New generated evaluation summary endpoint wrapper.
seclai/_generated/api/agent_evaluations/get_evaluation_criteria_api_agents_evaluation_criteria_criteria_id_get.py New generated get-evaluation-criteria endpoint wrapper.
seclai/_generated/api/agent_evaluations/delete_evaluation_criteria_api_agents_evaluation_criteria_criteria_id_delete.py New generated delete-evaluation-criteria endpoint wrapper.
seclai/_generated/api/agent_evaluations/create_evaluation_result_api_agents_evaluation_criteria_criteria_id_results_post.py New generated create-evaluation-result endpoint wrapper.
seclai/_generated/api/agent_evaluations/init.py Package initializer docstring for generated agent evaluations endpoints.
openapi/seclai.openapi.json Adds AgentExportResponse schema, GET /agents/{agent_id}/export, and includes step input fields in responses.
.github/copilot-instructions.md Adds stricter workflow/quality-gate guidance for tests, linting, and commands.

Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md
Comment thread openapi/seclai.openapi.json
Comment thread openapi/seclai.openapi.json Outdated
Comment thread seclai/_generated/api/agents/list_agents_api_agents_get.py
Copilot AI review requested due to automatic review settings April 2, 2026 05:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 95 out of 317 changed files in this pull request and generated 3 comments.

Comment thread seclai/_generated/api/memory_banks/create_memory_bank_api_memory_banks_post.py Outdated
Comment thread seclai/_generated/api/agents/list_agents_api_agents_get.py
Comment thread pyproject.toml
@burgaard burgaard merged commit 3757982 into main Apr 2, 2026
1 check passed
@burgaard burgaard deleted the agent-export branch April 2, 2026 05:18
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.

2 participants