Metadata-Version: 2.4
Name: startupbuddykernel
Version: 0.1.3
Summary: Internal kernel for the startupbuddy cli
Requires-Python: >=3.13.2
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: dotenv>=0.9.9
Requires-Dist: ollama>=0.6.2
Requires-Dist: openai>=2.44.0
Requires-Dist: openapi>=2.0.0
Requires-Dist: pytest>=9.0.3
Requires-Dist: pytest-mock>=3.15.1
Requires-Dist: python-frontmatter>=1.3.0
Requires-Dist: wavespeed>=1.0.9
Dynamic: license-file

# startupbuddy-kernel
An implementation of using the http://kernel-based.dev paradigm. Bootstrap the kernel with `kernel = startupbuddykernel.bootstrap()` and dispatch commands with `kernel.cmd(SysCommand.<NAME>, **kwargs)`.

## System Commands

| System Command | Description |
| --- | --- |
| `TEST` | Health-check command; returns a `GOOD` exit code to confirm the kernel is wired up and dispatching correctly. |
| `PROMPT_PITCH` | Brainstorms a business pitch. Validates that all required fields are present (`business_idea`, `the_problem`, `the_insight`, `traction`, `business_model`, `the_team`, `the_ask`), builds a pitch-framework system prompt, and returns the generated pitch response. |
| `CREATE_MOCKUP` | Generates a mockup of a signup/landing page for the business from a prompt via Wavespeed, returning the URL of the generated mockup (errors if generation fails, e.g. insufficient Wavespeed credits). |
| `KERNEL_PROMPT` | Sends a prompt to the kernel's LLM interface, scoped to a given project directory (reads/writes are restricted to that directory). Returns the response messages and any requested tool calls. |
| `TOOL_CALL` | Executes the tool calls requested by a previous kernel prompt and returns their results. |
| `REPROMPT` | Continues a previous kernel prompt conversation (re-prompts with the existing context for the project directory) and returns the new messages and tool calls. |
| `REPROMPT_PITCH` | Re-runs pitch generation with the pitch framework in reprompt mode, refining or regenerating a previously created pitch. |
