docs/adapters/process.md
The process adapter executes arbitrary shell commands. Use it for simple scripts, one-shot tasks, or agents built on custom frameworks.
claude_local or codex_local)| Field | Type | Required | Description |
|---|---|---|---|
command | string | Yes | Shell command to execute |
cwd | string | No | Working directory |
env | object | No | Environment variables |
timeoutSec | number | No | Process timeout |
PAPERCLIP_AGENT_ID, PAPERCLIP_API_KEY, etc.)An agent that runs a Python script:
{
"adapterType": "process",
"adapterConfig": {
"command": "python3 /path/to/agent.py",
"cwd": "/path/to/workspace",
"timeoutSec": 300
}
}
The script can use the injected environment variables to authenticate with the Paperclip API and perform work.