Skip to main content

Small, test-first AI agent starter kit with built-in pytest harness.

Project description

PyPI NPM Build Status

MiniAgentHarness

⚡️ Small, test-first AI-agent starter kit with one-click deploy.

MiniAgentHarness gives you a production-ready scaffold for building ReAct-style language-model agents with a built-in Pytest harness so you catch prompt regressions before they reach prod. Spin it up locally, run pytest, and deploy to Vercel in minutes.

Features

  • 🧪 Testing harness — Pytest plugin, DeepEval metrics, LangSmith replays (coming soon)
  • 🚀 Zero-config deploy — FastAPI backend + React chat, ready for Vercel Edge / CF Workers
  • 🧩 Tool registry — YAML → auto-imported Python stubs (generate via CLI)
  • 📦 Batteries included — CLI, CI workflow, linting hooks, example agents & tests

Quickstart

# 1. Install (Poetry recommended)
pipx install poetry  # if you don't already have it
git clone https://github.com/HalukProductions/MiniAgentHarness.git && cd MiniAgentHarness
poetry install

# 2. Run unit tests (stub passes green)
poetry run pytest -q

# 3. Generate an example agent
poetry run mini-agent init  # creates agents/quickstart.yaml

# 4. (Soon) Serve with your favourite model
poetry run mini-agent serve --model ollama/llama3

CLI

Command Description
mini-agent init Generate a stub agent YAML & tool skeleton
mini-agent test Run Pytest suite (wrapper)
mini-agent serve Start FastAPI + React UI (TBA)

Contributing

PRs welcome! Check TASKS.md for the active roadmap. For local development:

poetry install --with dev
pre-commit install

License

MIT © Haluk Sonmezler

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

mini_agent_harness-0.2.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

mini_agent_harness-0.2.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file mini_agent_harness-0.2.0.tar.gz.

File metadata

  • Download URL: mini_agent_harness-0.2.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.12 Linux/6.11.0-1015-azure

File hashes

Hashes for mini_agent_harness-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bdabd51e1477e0ea0b9d40ff6fd8479c024f04e85f913032a1849f9e8adca388
MD5 63b52e794c4beb632bb03c633af6abd7
BLAKE2b-256 066b7e37963ed4f81519be78aa4c5dd2430fd996c7c97009ca336d1c04c69cc2

See more details on using hashes here.

File details

Details for the file mini_agent_harness-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mini_agent_harness-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.12 Linux/6.11.0-1015-azure

File hashes

Hashes for mini_agent_harness-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1aa06afef6496fa601989e93ad75a057aa7552b88b0c166f3f606c45237e20c9
MD5 3023df7b810039edbb56f2c532a162ee
BLAKE2b-256 78659adfdee919d7a67c88e63bbd1b28e80562f76896ec5ad320a64452d57c53

See more details on using hashes here.

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