Skip to main content

Python client and server manager for the wick_go agent server.

Project description

wick-deep-agent

Python client and server manager for the wick_go agent server.

Provides a typed HTTP client (WickClient), a server lifecycle manager (WickServer), and a wick-agent CLI for building, starting, stopping, and inspecting the Go server.

Installation

pip install -e .

With development tools:

pip install -e ".[dev]"

Quick Start

Python

from wick_deep_agent import WickClient, WickServer
from wick_deep_agent.messages import HumanMessage, SystemMessage, Messages

# Build the server binary
WickServer.build()

# Start with inline agent config — no YAML file needed
server = WickServer(
    port=8000,
    agents={
        "default": {
            "name": "My Agent",
            "model": "ollama:llama3.1:8b",
            "system_prompt": "You are a helpful assistant.",
        },
    },
)
server.start()
server.wait_ready()

# Talk to the agent
client = WickClient("http://localhost:8000")
result = client.invoke(HumanMessage("Hello!"), agent_id="default")
print(result)

# Clean up
server.stop()

CLI

wick-agent build
wick-agent start --port 8000
wick-agent status
wick-agent logs -n 100
wick-agent stop
wick-agent systemd --binary ./server/wick_go

Import Structure

# Core API
from wick_deep_agent import WickClient, WickServer

# Message types
from wick_deep_agent.messages import (
    HumanMessage,
    SystemMessage,
    AIMessage,
    ToolMessage,
    Messages,
)

Project Layout

wick_deep_agent/
├── wick_deep_agent/     # Python package
│   ├── __init__.py      # WickClient, WickServer
│   ├── client.py        # WickClient — typed HTTP client
│   ├── launcher.py      # WickServer — server lifecycle manager
│   ├── cli.py           # wick-agent CLI entry point
│   └── messages.py      # HumanMessage, SystemMessage, Messages, ...
├── server/              # Go server source (wick_go)
├── pyproject.toml
├── LICENSE
└── README.md

License

Apache License 2.0 — see LICENSE.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

wick_deep_agent-0.1.1-py3-none-win_amd64.whl (3.4 MB view details)

Uploaded Python 3Windows x86-64

wick_deep_agent-0.1.1-py3-none-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file wick_deep_agent-0.1.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for wick_deep_agent-0.1.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ddf5bc65084be0a8cc349a2683c15a2523dfd6680dd0fafbe82bdf8b8e307f90
MD5 bafc64cc3d6b9ea7bb11821009daebf1
BLAKE2b-256 d08a0e3f8bb411dfca8910404588af07de95c928e8513218984eb49acd01bc62

See more details on using hashes here.

File details

Details for the file wick_deep_agent-0.1.1-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wick_deep_agent-0.1.1-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f958d6ce23be066d1cf501af666c4b7d9277d804a34c978c82230c95822c686c
MD5 a1174095d61591e088560b25a0845a70
BLAKE2b-256 ae89c0d86b2d899be6179b36e88311fdbd1ee72b8f042143e9c950d894329088

See more details on using hashes here.

File details

Details for the file wick_deep_agent-0.1.1-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for wick_deep_agent-0.1.1-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a72b4e375c61f5634f4bf846a773d34cad17f33c637803ff7d9e330e72b1228b
MD5 fcb95fedc6ab5976a8b623918a939dd1
BLAKE2b-256 ad0bb56f21d3045b1f186dab4f43d3047468a355c9c48596807feca4502bf868

See more details on using hashes here.

File details

Details for the file wick_deep_agent-0.1.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wick_deep_agent-0.1.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 59bb90fd4ac7b953d4224cfd6e6113fcce317091ca869bfd1d0b917ba7ae3614
MD5 687b998c923692156989122d82434391
BLAKE2b-256 f2671c969affe26eac1b66ba7732dec2933e9ed62bb17c6d171f84b7abebcc0c

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