Coding & Developmentโจgemini๐คclaude๐ฌgpt๐universal
PromptKit
Test, red-team, and deploy LLM applications with confidence. Multi-provider support (OpenAI, Anthropic, Gemini), MCP integration, self-play testing, and production SDK.
Quick Start
Install this Skill
npx skills add AltairaLabs/PromptKit# PromptKit
[](https://github.com/AltairaLabs/PromptKit/actions/workflows/ci.yml)
[](https://github.com/AltairaLabs/PromptKit/actions/workflows/capability-matrix.yml)
[](https://github.com/AltairaLabs/PromptKit/actions/workflows/docs.yml)
[](https://sonarcloud.io/summary/new_code?id=AltairaLabs_PromptKit)
[](https://sonarcloud.io/summary/new_code?id=AltairaLabs_PromptKit)
[](https://goreportcard.com/report/github.com/AltairaLabs/PromptKit)
[](https://pkg.go.dev/github.com/AltairaLabs/PromptKit)
[](https://opensource.org/licenses/Apache-2.0)
> **Multi-provider prompt testing and deployment. Test prompts before they fail in production.**
PromptKit is the open-source toolkit for [**PromptPack**](https://github.com/AltairaLabs/promptpack-spec) โ test prompts across Claude, OpenAI, Gemini, Azure, and local models, run red-team scenarios in CI, and compile portable packs for runtime. The spec lives upstream so your config isn't locked to a vendor.
## How it fits together
```
PromptPack โโ open spec for portable prompts (JSON, vendor-neutral)
โ
โโโ PromptKit โโ this repo
โโโ promptarena โโ test, red-team, evaluate (CLI)
โโโ packc โโ compile config โ portable pack
โโโ SDK โโ embed in your Go application
```
## Why PromptKit
| | PromptKit | Promptfoo | LangSmith | Helicone |
|---|---|---|---|---|
| Multi-provider testing | โ
| โ
| LangChain-only | Observability-only |
| Built-in workflow orchestration | โ
| โ | Partial | โ |
| Red-team / security scenarios | โ
| Partial | โ | โ |
| Voice self-play (persona callers โ realtime agent) | โ
| โยน | โ | โ |
| Speech-emotion / paralinguistic checks | โ
| โ | โ | โ |
| Multimodal scenarios (audio + vision + video) | โ
| Partial | โ | โ |
| MCP integration | โ
| โ | โ | โ |
| Spec-driven (portable packs) | โ
([PromptPack](https://github.com/AltairaLabs/promptpack-spec)) | โ | โ | โ |
| License | Apache 2.0 | MIT | Closed | Closed |
<sub>ยน Promptfoo has a text-only [simulated user](https://www.promptfoo.dev/docs/providers/simulated-user/) and separate audio testing, but doesn't combine them โ it can't drive a persona-driven caller through a realtime voice agent.</sub>
## Install
```bash
npm install -g @altairalabs/promptarena @altairalabs/packc
```
Building from source: see [CONTRIBUTING.md](./CONTRIBUTING.md).
## Quick Start
### 1. Create a project
```bash
promptarena init my-project --template iot-maintenance-demo
cd my-project
```

### 2. Inspect configuration
```bash
promptarena config-inspect
```

### 3. Run a test scenario
```bash
promptarena run --scenario scenarios/hardware-faults.scenario.yaml
```

### 4. Red-team security testing
```bash
promptarena run --scenario scenarios/redteam-selfplay.scenario.yaml
```

### 5. Review results
```bash
promptarena view
```

### 6. Deploy with the SDK
Compile prompts and run in your Go application:
```bash
packc compile -c config.arena.yaml -o app.pack.json
```

## Voice-agent self-play
You can't unit-test a voice agent โ so PromptKit has AI personas *call it*. Synthetic, personality-driven callers (hostile, evasive, anxious) are driven through TTS into your realtime agent (Gemini Live, OpenAI Realtime), and structured assertions score whether it holds policy under pressure โ never issuing an unauthorized refund, escalating when it should. It even checks the caller *sounds* angry (speech-emotion recognition), not just says angry words.
Try it in one command โ keyless, runs green out of the box:
```bash
promptarena init my-refund-demo --template voice-refund-demo
cd my-refund-demo
promptarena run --provider mock-duplex --ci # no API keys needed
```
Swap in `--provider gemini-2-flash` or `openai-gpt4o-realtime` (plus TTS keys) to run it against a live voice agent โ pass rates vary, and that variation is the test. Full breakdown: [voice-refund walkthrough](https://altairalabs.github.io/PromptKit/arena/exampl
... (truncated)Repository
8stars
3forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
๐คclaude๐universal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
๐universal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
โจgemini๐คclaude๐ฌgpt๐universal
524
34
View
misakanet-failure-memory
Coding & Development๐ A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
๐คclaudeโจ๏ธcursor๐universal
424
158
View