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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wick_deep_agent-0.1.0-py3-none-win_amd64.whl.
File metadata
- Download URL: wick_deep_agent-0.1.0-py3-none-win_amd64.whl
- Upload date:
- Size: 3.4 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5d21725bb1a4467a083afe234727f53a0b5cbc86779e3db6021acb3c6264b8e
|
|
| MD5 |
f85d215e2788bc01fb9cbbfe1d8d8e99
|
|
| BLAKE2b-256 |
7cc56331fbaaf50a66469a7fa9edc99271980a431adba04744d0cdfedd8ad8cf
|
File details
Details for the file wick_deep_agent-0.1.0-py3-none-manylinux2014_x86_64.whl.
File metadata
- Download URL: wick_deep_agent-0.1.0-py3-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53f5da72dc96d6841e1ef3498d8d6852208c7480a80eba94c015e6c150a6d2e6
|
|
| MD5 |
89e0f55a86fac122a4c55656dc9a9e4a
|
|
| BLAKE2b-256 |
19d31a9513ac9c8d2bef85186031130322835651e8ee1ff21451f0dd81a49937
|
File details
Details for the file wick_deep_agent-0.1.0-py3-none-manylinux2014_aarch64.whl.
File metadata
- Download URL: wick_deep_agent-0.1.0-py3-none-manylinux2014_aarch64.whl
- Upload date:
- Size: 3.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6932929202e3ada013f19591f13544bfc60d74fdf93ddfe1ae85636fd4d88ca8
|
|
| MD5 |
3dda888260f6f4d32a98aa2a0a8e3c65
|
|
| BLAKE2b-256 |
d2da610a520f26a72b62be944826237855866b11d547548bb1571cce09c7b688
|
File details
Details for the file wick_deep_agent-0.1.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: wick_deep_agent-0.1.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80085be7e1d53d4d819a9b351538aecd4d88fae81ca22b67368f31d86bc43b7a
|
|
| MD5 |
6e1e7df8bccc2c0396f8d3ef498f6c97
|
|
| BLAKE2b-256 |
d7fc8e2794bf04f8d5f3920c4d9d25e4055f1ac190981c2fba7a696162213bb5
|