Skip to content

Open the HuggingFace + Ollama "Use this model" listing PRs (protolabs-agent is on PyPI) #1990

Description

@mabry1985

Context

protolabs-agent 0.101.0 is live on PyPI now (uv tool install protolabs-agent → the protoagent command), so the two community-listing pieces from #1833 (HuggingFace local-app) and #1834 (Ollama Community Integrations) finally have a real install target and are unblocked. Both snippets were validated end-to-end against real Ollama (Ornith-1.0-9B → COMPLETED).

Deferred until after more app marketing + demo recordings. This issue is just "open the two external PRs" — public PRs to third-party repos under protoLabs' name.

⚠️ The PyPI name is protolabs-agent, not protoagent (the plain name is similarity-blocked by an unrelated proto-agent). The CLI command is still protoagent. Install line in both snippets is uv tool install protolabs-agent.

1. HuggingFace — PR to huggingface/huggingface.js

File packages/tasks/src/local-apps.ts. Add snippetProtoagent near snippetHermesAgent; insert the entry alphabetically between openclaw and pi.

const snippetProtoagent = (model: ModelData, filepath?: string): LocalAppSnippet[] => {
	const modelId = isMlxModel(model) ? model.id : `${model.id}${getQuantTag(filepath)}`;
	const serverStep = getLocalServerStep(model, filepath);
	return [
		serverStep,
		{
			title: "Point protoAgent at the local server",
			setup: ["# Install protoAgent:", "uv tool install protolabs-agent"].join("\n"),
			content: [
				"# Point protoAgent at the local server:",
				`protoagent model use --base-url http://127.0.0.1:8080/v1 --model ${modelId}`,
			].join("\n"),
		},
		{ title: "Run protoAgent", content: "protoagent up" },
	];
};
// in LOCAL_APPS, between "openclaw" and "pi":
protoagent: {
	prettyLabel: "protoAgent",
	docsUrl: "https://github.com/protoLabsAI/protoAgent/blob/main/docs/guides/cli.md#point-at-a-local-model",
	mainTask: "text-generation",
	displayOnModelPage: isToolCallingLocalAgentModel,
	snippet: snippetProtoagent,
},

Validated details: gate is isToolCallingLocalAgentModel (a non-tool model 400s does not support tools); model use strips the :{{QUANT_TAG}} placeholder; launch verb is protoagent up (bare protoagent prints help). Review ≈ 1–2 weeks.

2. Ollama — PR to ollama/ollama

File README.md, under ### Terminal & CLI (one terse line, matching neighbors):

- [protoAgent](https://github.com/protoLabsAI/protoAgent) - LangGraph agent runtime with an operator console, A2A, and drop-in plugins; runs any Ollama model via its OpenAI endpoint

Acceptance

Refs: #1833, #1834. The plumbing that unblocked this: PyPI publish via #1984 / #1988 / #1989.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions