Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Develop and customize Slackbot with Centaur

Develop and customize Slackbot with Centaur

More Decks by NearMeの技術発表資料です

Other Decks in Programming

Transcript

  1. What’s our problems Currently, we use Claude Code and ChatGPT

    APP locally for AI assisted development. 1. Current — Engineer-driven, local AI assistance 2. Target — Automated AI support in a remote sandbox we control 1
  2. Considerations Limitations - Effort: We prefer out-of-the-box solutions instead of

    developing custom Slackbot. - Compatibility: We prefer reusing existing AI harness Solutions - OpenClaw etc: custom harness that wasn’t build for tenanted usage - Claude Tags + Self-hosted Environment: - https://code.claude.com/docs/en/self-hosted-environments - Was in beta - Collides with existing @claude usage - Unable to customize - Centaur: Our pick - https://centaur.run/what-is-centaur 2
  3. What’s Centaur • Agentic Slackbot solution • Cloudnative (Kubernetes) •

    OpenSource • Customizable `@centaur --persona <persona id> <prompt>` https://centaur.run/architecture • Secure by defaults ◦ currently 1Password or Kubernetes secrets ◦ other secret vaults maybe supported latter (or maybe we can vibe it) 3
  4. How to customize Centaur with overlay? Example repo: https://github.com/nearme-jp/centaur-overlay 1.

    Tools Installable Python package, `[project.scripts]`; optional `[tool.centaur]` metadata 2. Skill `.agents/skills/<name>/SKILL.md` with `name` and `description` YAML frontmatter 3. Persona `tools/personas/<id>/pyproject.toml` with `[tool.centaur] type = "persona"` and a prompt file 4. Workflow Discoverable Python file with a literal unique `WORKFLOW_NAME` and `async handler(inp, ctx)` 6
  5. Overlay flow 1. Update files in a repository - tools,

    skills, workflows, persona 2. Refresh the `values` of the helm chart deploying Centaur a. Maybe through Kargo + ArgoCD b. or Octopus Deploy manual scripting 3. Agent pick up the changes through repository cache 4. Agent starts new behavior in a new Slack session 7