agentcogs 0.1.2__tar.gz → 0.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agentcogs-0.1.2 → agentcogs-0.1.3}/PKG-INFO +6 -6
- {agentcogs-0.1.2 → agentcogs-0.1.3}/PYPI.md +3 -3
- {agentcogs-0.1.2 → agentcogs-0.1.3}/pyproject.toml +2 -2
- agentcogs-0.1.3/src/agentcogs/_version.py +1 -0
- agentcogs-0.1.2/src/agentcogs/_version.py +0 -1
- {agentcogs-0.1.2 → agentcogs-0.1.3}/.gitignore +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/LICENSE +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/__init__.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/__main__.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/_shekel_compat.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/budget.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/client.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/config.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/context.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/errors.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/integrations/__init__.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/integrations/fastapi.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/integrations/langgraph.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/integrations/litellm_event.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/outbox.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/ping.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/shutdown.py +0 -0
- {agentcogs-0.1.2 → agentcogs-0.1.3}/src/agentcogs/tokens.py +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: agentcogs
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.1.3
|
|
4
|
+
Summary: Customer-level AI unit economics. Compare each customer's LLM cost with their monthly fee
|
|
5
5
|
Project-URL: Homepage, https://agentcogs.vercel.app
|
|
6
6
|
Project-URL: Repository, https://github.com/vaibhav11123/agentcogs
|
|
7
7
|
Project-URL: Issues, https://github.com/vaibhav11123/agentcogs/issues
|
|
8
8
|
Author-email: AgentCOGS <hello@agentcogs.dev>
|
|
9
9
|
License: MIT
|
|
10
10
|
License-File: LICENSE
|
|
11
|
-
Keywords: anthropic,attribution,billing,cost,langchain,langgraph,llm,margin,openai,tenant
|
|
11
|
+
Keywords: anthropic,attribution,billing,cost,langchain,langgraph,llm,margin,openai,tenant,unit-economics
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
14
14
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -31,9 +31,9 @@ Description-Content-Type: text/markdown
|
|
|
31
31
|
|
|
32
32
|
# AgentCOGS
|
|
33
33
|
|
|
34
|
-
AgentCOGS is an open-source Python SDK
|
|
34
|
+
AgentCOGS is an open-source Python SDK and a self-hosted dashboard for customer-level AI unit economics. It attributes each LLM call to the customer who caused it, compares that cost with the monthly fee, and checks a per-customer budget before the next SDK call.
|
|
35
35
|
|
|
36
|
-
**
|
|
36
|
+
**Know which AI customers make you money, and which ones are eating your margins.** The blended total can look fine while one fee no longer covers the AI cost. Which customer stops making money this month.
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
39
|
pip install agentcogs
|
|
@@ -43,7 +43,7 @@ This package is the SDK. It is on PyPI. The customer list is the dashboard in th
|
|
|
43
43
|
|
|
44
44
|
## What does the number mean?
|
|
45
45
|
|
|
46
|
-
AI margin is `(monthly fee − attributed AI cost) / monthly fee`. It is not accounting gross margin.
|
|
46
|
+
AI margin is `(monthly fee − attributed AI cost) / monthly fee`. It is the contribution of the fee after attributed AI cost. It is not total customer profitability, and it is not accounting gross margin. People, infrastructure, support, payment processing, refunds, discounts, credits, and proration are outside it. Pace is a straight line from the cost so far. It does not forecast a change in behavior. You type the fee, or you pull that customer's Stripe subscription. The SDK does not invent it.
|
|
47
47
|
|
|
48
48
|
## Install, configure, instrument, verify
|
|
49
49
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# AgentCOGS
|
|
2
2
|
|
|
3
|
-
AgentCOGS is an open-source Python SDK
|
|
3
|
+
AgentCOGS is an open-source Python SDK and a self-hosted dashboard for customer-level AI unit economics. It attributes each LLM call to the customer who caused it, compares that cost with the monthly fee, and checks a per-customer budget before the next SDK call.
|
|
4
4
|
|
|
5
|
-
**
|
|
5
|
+
**Know which AI customers make you money, and which ones are eating your margins.** The blended total can look fine while one fee no longer covers the AI cost. Which customer stops making money this month.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
pip install agentcogs
|
|
@@ -12,7 +12,7 @@ This package is the SDK. It is on PyPI. The customer list is the dashboard in th
|
|
|
12
12
|
|
|
13
13
|
## What does the number mean?
|
|
14
14
|
|
|
15
|
-
AI margin is `(monthly fee − attributed AI cost) / monthly fee`. It is not accounting gross margin.
|
|
15
|
+
AI margin is `(monthly fee − attributed AI cost) / monthly fee`. It is the contribution of the fee after attributed AI cost. It is not total customer profitability, and it is not accounting gross margin. People, infrastructure, support, payment processing, refunds, discounts, credits, and proration are outside it. Pace is a straight line from the cost so far. It does not forecast a change in behavior. You type the fee, or you pull that customer's Stripe subscription. The SDK does not invent it.
|
|
16
16
|
|
|
17
17
|
## Install, configure, instrument, verify
|
|
18
18
|
|
|
@@ -5,12 +5,12 @@ build-backend = "hatchling.build"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "agentcogs"
|
|
7
7
|
dynamic = ["version"]
|
|
8
|
-
description = "
|
|
8
|
+
description = "Customer-level AI unit economics. Compare each customer's LLM cost with their monthly fee"
|
|
9
9
|
readme = "PYPI.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
11
11
|
requires-python = ">=3.10"
|
|
12
12
|
authors = [{ name = "AgentCOGS", email = "hello@agentcogs.dev" }]
|
|
13
|
-
keywords = ["llm", "cost", "attribution", "margin", "tenant", "langgraph", "langchain", "openai", "anthropic", "billing"]
|
|
13
|
+
keywords = ["llm", "cost", "attribution", "margin", "unit-economics", "tenant", "langgraph", "langchain", "openai", "anthropic", "billing"]
|
|
14
14
|
classifiers = [
|
|
15
15
|
"Development Status :: 4 - Beta",
|
|
16
16
|
"Intended Audience :: Developers",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.3"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|