Example Project#
See real tools, agents, templates, and generated projects wired up end-to-end.
Goal#
Point you to a working repo with runnable examples across the current AgentPM surfaces. It is useful for learning manifests, publishing, agentpm new, workspaces, CLI execution, MCP exposure, and the SDKs together.
Repository#
- GitHub: https://github.com/agentpm-dev/agentpm-examples
- Published tools namespace: https://agentpackagemanager.com/namespaces/e6363bd8-e70c-4c11-928b-ebee22de7ede
These examples are for education and demos, not production hardening. Expect simple error handling and minimal security hardening.
What’s inside#
- Tools — Each has a
agent.json(kind:"tool"), an entrypoint,files[], and IO schemas. - Agent packages — Published reusable
kind:"agent"package sources underagent-packages/*. - Workflow templates — Published
kind:"template"package sources undertemplate-packages/*. - Generated example apps — Checked-in projects created from published templates, showing the actual output of
agentpm new. - Direct package app examples — Older and current apps that install published agent packages or tools directly rather than starting from a workflow template.
- SDK usage — Node and Python examples that
load()tools or published agent roots.
Current recommended example paths#
The examples repo now teaches two complementary flows:
- Start from a workflow template
Use
agentpm newto generate a project, then work inside the generated app. - Install published packages directly
Use
agentpm installin a hand-maintained app when you want to learn the lower-level package flow.
The clearest current examples are:
- Harness minimal Agent starter
app-harness-minimal-agent- Generated from
template-packages/harness-minimal-agent - Best first Harness template for most users: install one published Agent, run the TUI, or run one-shot
--headless.
- Harness SDK host starters
app-harness-sdk-host-nodeapp-harness-sdk-host-python- Generated from
template-packages/harness-sdk-host-nodeandtemplate-packages/harness-sdk-host-python - Best path when your Node or Python app owns model providers, Hooks, approvals, cancellation, or report handling.
- Harness embedding-provider starter
app-harness-embedding-provider- Generated from
template-packages/harness-embedding-provider - Shows a local EmbeddingProvider host wired to the published
@zack/agentpm-docsKnowledge package.
- Harness provider lab
app-harness-provider-lab- Generated from
template-packages/harness-provider-lab - Shows process-backed model, embedding, KnowledgeRuntime, and MemoryRuntime provider contracts.
- Harness MCP bridge
app-harness-mcp-bridge- Generated from
template-packages/harness-mcp-bridge - Shows Agent-authored MCP exports and explicitly scoped runtime MCP imports.
- Template-generated Node SDK app
agent-app-research-node- Generated from
template-packages/research-assistant-node
- Template-generated Python SDK app
agent-app-ops-python- Generated from
template-packages/triage-worker-python
- Template-generated CLI automation app
app-cli-automation-worker- Generated from
template-packages/cli-automation-worker
- Template-generated MCP server app
app-mcp-tool-server- Generated from
template-packages/mcp-tool-server
- Template-generated multi-agent workspace
- Direct published-agent app
agent-app-devwork-python- Consumes the published
@zack/devwork-copilotagent package without starting from a workflow template
Older agent-app-node and agent-app-python directories are still useful for historical context, but they are no longer the main starting point.
Harness Template Family#
Use the focused Harness templates when you want a runnable starter rather than a full reference matrix.
agentpm new @zack/harness-minimal-agent my-harness-agent
agentpm new @zack/harness-sdk-host-node my-node-host
agentpm new @zack/harness-sdk-host-python my-python-host
agentpm new @zack/harness-embedding-provider my-embedding-host
agentpm new @zack/harness-provider-lab my-provider-lab
agentpm new @zack/harness-mcp-bridge my-mcp-bridgeThe family is intentionally split by entry point:
- Start with
harness-minimal-agentfor ordinary TUI/headless Harness usage. - Use the SDK host templates when your app should drive
agentpm harness --machine. - Use
harness-embedding-providerwhen you need a small copyable EmbeddingProvider shape. - Use
harness-provider-labwhen you are building external runtime providers. - Use
harness-mcp-bridgewhen you need MCP import/export behavior.
AgentPM does not ship a single "full reference" Harness template. Focused templates are easier to run, easier to copy, and less likely to mix unrelated runtime surfaces into a confusing starter. Broad compatibility and non-ended terminal-path verification live in Harness docs and manual verification rather than in a beginner scaffold.
How to read the repo#
If you want to learn:
- How to author and publish a workflow template
- start in
template-packages/*
- start in
- What a real generated project looks like after
agentpm new- start in the matching generated app directory such as
agent-app-research-nodeorapp-mcp-tool-server
- start in the matching generated app directory such as
- How published tools and agent packages are authored
- start in
tools-node/*,tools-python/*, oragent-packages/*
- start in
- How a hand-maintained app can consume published packages directly
- start in
agent-app-devwork-python
- start in
Contributing#
Issues and PRs welcome, especially corrections, new tool examples, template examples, and small agent demos that illustrate good manifest patterns.