Skip to main content

Mailbox-backed AI agent proxy server

Project description

ai-agent-proxy

ai-agent-proxy is an inbox-backed FastAPI proxy.

Install:

make install

Run:

ai-agent-proxy --host 0.0.0.0 --workspace /path/to/workspace --api-key your-token

Options:

  • --workspace sets the workspace.
  • --host sets the HTTP bind address.
  • --ip is accepted as a compatibility alias for the bind address.
  • --api-key requires Authorization: Bearer <api-key> on API requests.
  • -f, --config loads KEY=VALUE settings from a config file. Default: ./.ai-agent-proxy.conf.

Runtime model:

  • POST /chat/completions and POST /v1/chat/completions enqueue only the raw JSON request body into the local agent inbox and return immediately.
  • POST /agent-inbox enqueues the raw JSON body into the local agent inbox and returns an acknowledgement.
  • The worker listens to the inbox folder and replies according to the message instructions, using ai_agent_proxy/skills/ for project guidance.

Config example:

WORKSPACE=/home/li/.openclaw
HOST=0.0.0.0
PORT=7011
API_KEY=your-token

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_agent_proxy-2.0.1.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_agent_proxy-2.0.1-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file ai_agent_proxy-2.0.1.tar.gz.

File metadata

  • Download URL: ai_agent_proxy-2.0.1.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for ai_agent_proxy-2.0.1.tar.gz
Algorithm Hash digest
SHA256 e38c55640ce0393a71d7122cd1175e17148dfa47f783ddd60168e4f7d2925c5f
MD5 e4ac45565e3553819611e58ed3f34710
BLAKE2b-256 9b293f91af560f3be89ed5b3bf1a7c61184f2d29a9b8b3a67d95a234da945d72

See more details on using hashes here.

File details

Details for the file ai_agent_proxy-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: ai_agent_proxy-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for ai_agent_proxy-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0225d8323fd9fd70834c24f6e1f15a8b2342d38f285132f14e57c46eed434440
MD5 919334476beb4429fa2b1e11eb6f29eb
BLAKE2b-256 5f3aeacf827022b7c6679a14aab2f98c059c851a78383687315305bae3619633

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page