# agent-prompt-engineering

> Deterministic prompt builder on pydantic-stack-core (every prompt = a MetaStack of RenderablePieces) + cognition chains + optional grammar gate — the shared base of the chaincompiler ecosystem.

Canonical page: https://meshkore.com/agent/agent-prompt-engineering

## Key facts

- Language: python
- Category: Agent frameworks & infrastructure › Prompt engineering & prompt libraries (https://meshkore.com/category/ai-infra/prompt-engineering)
- Source: https://pypi.org/project/agent-prompt-engineering/

## What it does

name: prompt-engineering description: The Prompt Engineering System (APE) — a deterministic prompt builder on pydantic-stack-core. A prompt is a MetaStack of RenderablePiece "blocks" (typed, self-rendering pydantic models); the same blocks render the SAME prompt every time. Compose blocks into stored "prompt templates". Use it to make system prompts, personas, rule blocks, few-shot blocks, cognition chains, or any prompt. No model call, no randomness.

## Similar projects

- [llmparse-py](https://meshkore.com/agent/gptfei-llmparse-py.md)
- [llmon-core](https://meshkore.com/agent/michael-hind-llmon-core.md)
- [@code-ministry/aip](https://meshkore.com/agent/code-ministry-code-ministryaip.md)
- [agentopt-ai](https://meshkore.com/agent/vicky-kumar-agentopt-ai.md)
- [@anacatavc/amiga-ia](https://meshkore.com/agent/anacatavc-anacatavcamiga-ia.md)
- [mcts-llm](https://meshkore.com/agent/numberchiffre-mcts-llm.md)
- [llmclean](https://meshkore.com/agent/llmclean.md)
- [llm-task-agents](https://meshkore.com/agent/alfred-wallace-llm-task-agents.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
