Skip to main content

Ariadne

Your AI coding agent delegates mechanical tasks to a cheap local worker — Aider + DeepSeek — on a separate branch. The agent reviews the patch before anything merges. You never touch the CLI.

How it works

  1. Tell the agent once: "use Ariadne for this session"
  2. The agent runs preflight, creates a worker branch, invokes Aider, and shows you the patch
  3. You decide whether to merge

The agent reads the skill file and handles everything. No CLI knowledge required.

Requirements

Supported platforms: Linux and macOS.

Setup

1. Install Ariadne

pip install ariadne-skill

2. Install Aider

pip install aider-chat

3. Get a DeepSeek API key

Sign up at platform.deepseek.com and create an API key. Top up a small amount — most tasks cost under $0.01.

Export the key in your shell:

export DEEPSEEK_API_KEY="sk-..."

Add that line to ~/.zshrc or ~/.bashrc to persist across sessions.

4. Install the skill into your agent

ariadne install-skill

Detects which agents you have installed (Claude Code, Codex) and asks where to install — globally for all projects, or locally for the current repo. Follow the prompts.

Trigger with /ariadne in Claude Code, or say "use Ariadne".

That's it.

Quick test

At the start of a conversation, tell the agent once:

"Use Ariadne for delegation tasks in this session."

Then just describe your work:

"Write unit tests for src/foo.py."

The agent recognises suitable tasks and triggers Ariadne automatically. You can also trigger explicitly at any time with /ariadne.

What Ariadne handles well

These patterns cover the majority of mechanical coding work in a typical project. If a task has a clear scope and a defined target file, Ariadne is the right tool.

Testing

  • Write unit tests for an existing module
  • Add parametrised or property-based test cases
  • Generate test fixtures and mock factories

Documentation and types

  • Add or improve docstrings
  • Add type annotations to an existing module
  • Translate inline comments to English

Refactoring

  • Rename symbols consistently within a file
  • Extract constants from magic numbers or repeated strings
  • Convert imperative loops to comprehensions or functional style
  • Add input validation or error handling to existing functions

Implementation

  • Fill in a stub or scaffold that is already defined
  • Implement a small interface or abstract base class
  • Add logging to an existing module
  • Convert synchronous functions to async (or vice versa)

Not suited for: architectural decisions, bug diagnosis requiring cross-system tracing, changes spanning many unrelated files, or tasks requiring external context the worker has not been given.

Works especially well with TDD

TDD's red-green-refactor loop maps directly onto Ariadne's delegation model. Each slice is bounded, has a clear success criterion, and touches one file at a time — exactly the conditions under which the worker performs best.

A typical TDD loop with Ariadne:

  1. Red — delegate test writing: --editable tests/test_foo.py --readonly src/foo.py
  2. Green — delegate the implementation: --editable src/foo.py --readonly tests/test_foo.py
  3. Refactor — delegate cleanup under the now-passing tests

The worker never makes architectural decisions. The test suite keeps it honest. Each patch is small enough to review in seconds. That's the loop.

If you are not already using TDD with your agent, the /tdd skill from Matt Pocock's skills collection is a practical starting point. It codifies a red-green-refactor loop and works well alongside Ariadne.

Environment variables

Only needed if you want to change default behaviour:

Variable Default When to change
ARIADNE_AIDER_MODEL deepseek/deepseek-chat If DeepSeek renames the model
ARIADNE_AIDER_IDLE_TIMEOUT 90 Slow API responses
ARIADNE_AIDER_MAX_RUNTIME 600 Very large tasks
ARIADNE_CHECK_TIMEOUT 120 Slow test suites used as a quality gate

Security

Ariadne never writes your API key to any file. DEEPSEEK_API_KEY must come from your shell environment only.

Run artifacts (patches, logs, metadata) are written to .ariadne/ inside the target repository. That directory is git-ignored and never committed. What you build stays local.

Development

Run the test suite — no API key or Aider required:

PYTHONPATH=src python3 -m unittest discover -s tests

Architecture decisions live in docs/adr/. Skill files live in .claude/skills/ariadne/ and .codex/skills/ariadne/.

License

Apache-2.0. See LICENSE.

Metadata

Release files for ariadne-skill 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ariadne-skill 0.1.3
File Size Uploaded Provenance Actions
ariadne_skill-0.1.3.tar.gz 89.6 kB With provenance Details for ariadne_skill-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ariadne-skill 0.1.3
File Interpreter ABI Platform Actions
ariadne_skill-0.1.3-py3-none-any.whl Python 3 none any Details for ariadne_skill-0.1.3-py3-none-any.whl

Total release size: 123.8 kB

Release files / ariadne_skill-0.1.3.tar.gz

Download URL ariadne_skill-0.1.3.tar.gz
Size 89.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a5224c39f22a65e51961b0cb195003341b6e97b9cd06e8d0a4272c33519d1461
BLAKE2b-256 checksum
How to use checksums
9a40d1d730750ec28ee13d81552f5340582617e1a5c7192efff0bffd7aba0200
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 31, 2026.

Transparency log

Release files / ariadne_skill-0.1.3-py3-none-any.whl

Download URL ariadne_skill-0.1.3-py3-none-any.whl
Size 34.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83a0a702c0d10f7ea73f4025b15422c638b559306e75c67a263a24b6924adf84
BLAKE2b-256 checksum
How to use checksums
7d9e3552b52b15918135814d31809b7968bea8aa4775ce06ae8200b793a42157
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 31, 2026.

Transparency log

Security for ariadne-skill 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ariadne_skill-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page