Skip to main content

Codex app-server adapter and chatbot for Meshagent

Project description

meshagent-codex

meshagent-codex adds Codex app-server backed agents:

  • CodexChatBot
  • CodexTaskRunner

Included

  • CodexChatBot: chat agent backed by codex app-server
  • CodexTaskRunner: task runner backed by codex app-server

Example

from meshagent.api.services import ServiceHost
from meshagent.codex import CodexChatBot

service = ServiceHost()


@service.path("/agent")
class MyCodexAgent(CodexChatBot):
    def __init__(self):
        super().__init__(
            name="meshagent.codex-chatbot",
            title="codex chatbot",
            description="chatbot powered by codex app-server",
            rules=["You are a concise assistant."],
            model="codex-mini-latest",
        )

By default, the backend launches Codex via codex app-server.

You can override transport with environment variables:

  • MESHAGENT_CODEX_COMMAND to change the launch command.
  • MESHAGENT_CODEX_WS_URL to connect to an existing Codex app-server websocket instead of launching a local process.

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

meshagent_codex-0.35.3.tar.gz (51.2 kB view details)

Uploaded Source

Built Distribution

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

meshagent_codex-0.35.3-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

Details for the file meshagent_codex-0.35.3.tar.gz.

File metadata

  • Download URL: meshagent_codex-0.35.3.tar.gz
  • Upload date:
  • Size: 51.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for meshagent_codex-0.35.3.tar.gz
Algorithm Hash digest
SHA256 8519f77acb08642518151bea49cc6dc0ced39822e569521ff54fe4916bf470ac
MD5 f4e0050d2bd9fcd8403b5d0e9a7542aa
BLAKE2b-256 02f6c7b2ebfb193a28f42da95b15a37ae907940304192e0edc1a8dde0ae5ae8e

See more details on using hashes here.

File details

Details for the file meshagent_codex-0.35.3-py3-none-any.whl.

File metadata

File hashes

Hashes for meshagent_codex-0.35.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1e3b555773d507ad50d1e95e6b4f4224dc60bf6a0341b27345859cb3c7933703
MD5 fa43cdefdc699a179b485cc8fa3c68c8
BLAKE2b-256 af0f5758e9ac8578ec3d214d691e687c765419fc0a579f626f1f39b144122846

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