Skip to content

Add generic AI agent workflow - #72

Merged
ocots merged 2 commits into
mainfrom
feat/albert-hello-workflow
Sep 7, 2026
Merged

ocots merged 2 commits into
mainfrom
feat/albert-hello-workflow

Conversation

@ocots

@ocots ocots commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Rename the reusable workflow to ai-agent.yml.
  • Add a generic provider input, defaulting to albert.
  • Load agents by name from Handbook/ai-agents/<agent_name>.md.
  • Keep deepseek as the default model alias for the initial Albert adapter.
  • Validate provider and agent names before checking out the agent instructions.
  • Keep provider-specific API logic inside the shared workflow so a future Claude adapter can be added without creating a workflow per agent.

The current implementation supports the Albert provider. Unsupported providers fail explicitly until their adapter is implemented.

Related PRs

Test plan

  • Validate the workflow file as YAML.
  • Run git diff --check.
  • Execute it through the CTBase caller after the related branches are available.

Generated with Devin

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@ocots

ocots commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

This PR provides the reusable middle layer of the experiment:

  • It consumes the agent definition from Handbook PR #20.
  • It exposes the Albert model as an input, defaulting to deepseek.
  • It is invoked by CTBase PR #559.

The CTBase workflow currently points to this development branch so the complete process can be tested before merging.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@ocots ocots changed the title Add reusable Albert agent workflow Add generic AI agent workflow Sep 7, 2026
@ocots

ocots commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

The workflow is now provider-oriented rather than agent-oriented:

  • ai-agent.yml is the single reusable runner.
  • provider selects the backend; albert is the first implemented adapter.
  • agent_name selects a generic file such as ai-agents/hello.md.
  • A future Claude integration can add another provider adapter without adding one workflow per agent.

This consumes Handbook PR #20 and is called by CTBase PR #559.

@ocots
ocots merged commit dd23c4f into main Sep 7, 2026
@ocots
ocots deleted the feat/albert-hello-workflow branch September 7, 2026 21:29
@ocots
ocots restored the feat/albert-hello-workflow branch September 7, 2026 21:30
@ocots
ocots deleted the feat/albert-hello-workflow branch September 7, 2026 21:33
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