Internal admin/marketing CLI — discovery, enrichment, outreach, and CRM over one interface.
Project description
dogfu
Internal admin CLI + SDK for Agent Berlin staff (admin_users). One
interface over LinkedIn, X, Google, ChatGPT, SEO (the dogfu data API) and the
Close CRM (via the admin CRM proxy). The sibling of backend/sdk-python — same
transport posture (a single Bearer token against the Berlin backend, retry with
backoff, a typed exception hierarchy, config-file session), scoped to the
internal admin surface instead of a customer project.
Auth
dogfu authenticates with a single session token (a short-lived JWT, 24h),
minted by exchanging a one-time OTP from the dogfu MCP's get_setup_instructions:
dogfu configure --otp <OTP> --title "<what this session is for>"
This POSTs {otp, title} to /dogfucli/exchange-otp and saves the returned
token to ~/.dogfu/config.json. Subsequent commands resolve the token from
DOGFU_TOKEN first, then that file. There is no refresh endpoint — on an auth
failure, run get_setup_instructions again for a fresh OTP and re-configure.
dogfu is not project-scoped (no --domain); access is platform-wide for
staff.
Endpoints
Everything goes through the Berlin backend (https://backend.agentberlin.ai by
default; override with --base-url / DOGFU_BASE_URL):
| Group | Backend route |
|---|---|
linkedin / x / google / chatgpt / seo |
/api/v1/admin/dogfu/* |
crm |
/api/v1/admin/crm/* — allowlisted proxy to Close CRM |
The CRM proxy holds the per-admin Close key server-side (configured from the admin Console), so dogfu never sees a Close credential — it forwards Close sub-paths under the dogfu session token.
Usage
dogfu --help # list groups
dogfu <group> --help # list a group's commands
dogfu <group> <cmd> --help # flags + the Output: data shape
dogfu seo domain-overview --target acme.com
dogfu crm lead create --name "Acme" --url https://acme.com
Output is canonical JSON by default (-f table for humans, -o FILE to write).
Programmatic use
from dogfu import Dogfu
dx = Dogfu() # resolves DOGFU_TOKEN / config file
dx.seo.domain_overview(target="acme.com") # -> DomainOverview
dx.crm.create_lead(name="Acme")
Develop
uv run python tests/smoke.py # offline checks (normalizers, models, SDK wiring)
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 Distribution
Built Distribution
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 dogfu-0.7.0.tar.gz.
File metadata
- Download URL: dogfu-0.7.0.tar.gz
- Upload date:
- Size: 87.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33333040331f6dd5deb93e7e25876f7617069c87429e6c975920aac0be4f709a
|
|
| MD5 |
c649355f8b8f31158f785ee6ecf8b951
|
|
| BLAKE2b-256 |
3645abbdf7e8bc39c849856240bfb208ef65230338c0ce9606342f0d48e70ceb
|
File details
Details for the file dogfu-0.7.0-py3-none-any.whl.
File metadata
- Download URL: dogfu-0.7.0-py3-none-any.whl
- Upload date:
- Size: 62.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee5c9d7a76e1a062f20030bbe9231f5b653081671421a8467399de48e6abe55a
|
|
| MD5 |
027f9269a72bac1e827bd74e8f2e5998
|
|
| BLAKE2b-256 |
37ab09577a2a89b4581dd9ceec8e9dcfca7a5b96c9cb2b11e2d6157fa06f2ab2
|