Skip to content

SDK Overview

AgentProc SDKs remove the boilerplate of reading env vars and writing the stdout protocol, so you can focus on your agent logic.

Available SDKs

LanguagePackageInstall
Pythonagentprocpip install agentproc
Node.jsagentprocnpm install agentproc

Without an SDK

You don't need an SDK. Any script that reads AGENT_* env vars and writes to stdout works. See Bare script examples.

With an SDK

Write one async function. The SDK handles the rest.

python
from agentproc import create_profile

async def handler(ctx):
    reply = await my_llm(ctx.message)
    return reply

create_profile(handler)
js
const { createProfile } = require('agentproc');

createProfile(async ({ message }) => {
  const reply = await myLLM(message);
  return { response: reply };
});

Released under the MIT License.