Skip to main content

CLI to manage DevHive skills and autonomous AI agents for OpenCode.

Project description

DevHive: Skill-Driven Development (SDD) for OpenCode

DevHive is a fully autonomous AI software development pipeline designed specifically as a set of Skills and a dedicated Agent for OpenCode.

It replaces complex background servers and in-memory states with a transparent, predictable, and local Skill-Driven Development (SDD) architecture. DevHive uses your file system (.devhive/specs/) as its database, generating readable Markdown files at each step of the software lifecycle.

The Pipeline

DevHive is composed of specialized Agent Skills that work sequentially:

  1. devhive-prd: Acts as a Product Manager. Writes or updates a Master docs/PRODUCT_REQUIREMENTS.md and generates a feature-specific .devhive/specs/00-prd.md before any technical work begins.
  2. devhive-explorer: Analyzes the PRD and codebase, then writes .devhive/specs/01-exploration.md
  3. devhive-proposal: Creates technical acceptance criteria in 02-proposal.md
  4. devhive-architect: Designs the system architecture, DB schemas, and UX/UI design system in 03-architecture.md
  5. devhive-taskplanner: Breaks the architecture into actionable items across 8 different domains in 04-tasks.md
  6. devhive-designer: Implements the base UI/UX configuration (CSS vars, Tailwind configs) under ## Design Tasks
  7. devhive-devops: Writes Infrastructure as Code (IaC) (Terraform, CDK, Docker) and checks off ## Infrastructure Tasks
  8. devhive-dba: Creates DB schemas, migrations, and seeders under ## Data Tasks
  9. devhive-backender: Initializes the project, writes APIs and server logic, and checks off ## Backend Tasks
  10. devhive-frontender: Writes UI components and client-side logic, and checks off ## Frontend Tasks
  11. devhive-perf: Writes load testing scripts (k6, artillery) under ## Performance Tasks
  12. devhive-techwriter: Writes API docs (Swagger) and updates README under ## Documentation Tasks
  13. devhive-releaser: Bumps package versions, writes CHANGELOG, and creates local git tags under ## Release Tasks
  14. devhive-sast: Performs a Static Application Security Testing (SAST) scan and writes 05-sast-report.md
  15. devhive-qa: Writes test cases and test plans in 06-qa-plan.md
  16. devhive-auditor: Performs a final check and writes 07-audit.md
  17. devhive-reflection: Extracts persistent memory (semantic, episodic, anti-patterns) to .devhive/memory/ and writes 08-reflection.md

All of this is managed by the devhive-orchestrator skill.

Installation

DevHive is available as a Python package via PyPI. You can install it globally to manage your OpenCode skills across all your environments.

pip install devhive

Once installed, you can use the CLI to setup or update your DevHive environment:

# Install all official and community skills into OpenCode
devhive install

# Update your existing skills to the latest versions
devhive update-skill

# Initialize a modern Next.js/React frontend AI guidelines file in your current project
devhive init-frontend

# Initialize a Hexagonal Architecture backend AI guidelines file (Interactive Prompt)
devhive init-backend

Usage (The @devhive Agent)

Instead of using OpenCode as a general assistant, invoke the dedicated @devhive agent. This agent is hardwired to immediately start the SDD pipeline.

@devhive Build a script that converts CSV to JSON running on AWS Lambda.

The agent will automatically load the orchestrator skill and start the 11-phase pipeline!

Continuous Mode

By default, the orchestrator will pause and ask for your approval after writing each specification file (e.g., after writing the architecture design). If you want it to run entirely autonomously without stopping, you can add the "continuous mode" flag to your prompt:

@devhive Build a React landing page. Run in continuous mode with no pauses.

Or permanently enable it for the project by creating a flag file:

mkdir -p .devhive
touch .devhive/continuous

Why SDD (Skill-Driven Development)?

  • Zero Setup: No Python servers, no MCP configuration, no background processes.
  • Local Memory: The entire state of the project is readable by humans in .devhive/specs/. You can edit 02-proposal.md manually, and the Architect will adapt to your changes.
  • Modular: Need a different architectural approach? You can just tweak the prompt inside skills/devhive_architect/SKILL.md.

License

MIT License.

Project details


Download files

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

Source Distribution

devhive-0.1.35.tar.gz (170.1 kB view details)

Uploaded Source

Built Distribution

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

devhive-0.1.35-py3-none-any.whl (191.8 kB view details)

Uploaded Python 3

File details

Details for the file devhive-0.1.35.tar.gz.

File metadata

  • Download URL: devhive-0.1.35.tar.gz
  • Upload date:
  • Size: 170.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for devhive-0.1.35.tar.gz
Algorithm Hash digest
SHA256 9dcc548c83658f34123e7da584c33b164147dff765f6c4703f436d7fcd58565f
MD5 286582840a8b9e528ffb45483fe16d60
BLAKE2b-256 b7245840d5972d28b1e897d9714cf0835cebe0e27c91b6686057e96d717d9ae0

See more details on using hashes here.

Provenance

The following attestation bundles were made for devhive-0.1.35.tar.gz:

Publisher: release.yml on ramBlanco/devhive

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

File details

Details for the file devhive-0.1.35-py3-none-any.whl.

File metadata

  • Download URL: devhive-0.1.35-py3-none-any.whl
  • Upload date:
  • Size: 191.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for devhive-0.1.35-py3-none-any.whl
Algorithm Hash digest
SHA256 f967a3478e54adcf12074126b4084caeb519e153d3399d34f61106657cdbcf51
MD5 4a7003115387b3e8cd335d1ea6ef690f
BLAKE2b-256 9e94a156abaceed03c50b7cd315d75f7bf4f2c615e45c8168122172052f5afb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for devhive-0.1.35-py3-none-any.whl:

Publisher: release.yml on ramBlanco/devhive

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page