circleflake 0.1.3__tar.gz → 0.1.4__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.
- circleflake-0.1.4/.claude/settings.local.json +7 -0
- circleflake-0.1.4/.gitignore +50 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/PKG-INFO +20 -5
- {circleflake-0.1.3 → circleflake-0.1.4}/README.md +19 -4
- circleflake-0.1.4/circleflake_tracing_sdk_implementation_plan.md +266 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/pyproject.toml +1 -1
- circleflake-0.1.3/.gitignore +0 -8
- {circleflake-0.1.3 → circleflake-0.1.4}/LICENSE +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/examples/deep_agent.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/examples/langchain_agent.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/examples/langgraph_agent.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/__init__.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/client.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/config.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/core/__init__.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/core/context.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/core/processor.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/core/provider.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/core/tracer.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/exporters/__init__.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/exporters/exporter.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/exporters/serializer.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/integrations/__init__.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/integrations/_callback_base.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/integrations/deepagents/__init__.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/integrations/deepagents/handler.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/integrations/deepagents/mapper.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/integrations/langchain/__init__.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/integrations/langchain/handler.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/integrations/langchain/mapper.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/integrations/langgraph/__init__.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/integrations/langgraph/handler.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/integrations/langgraph/mapper.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/schemas/__init__.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/src/circleflake/schemas/spans.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/tests/test_callbacks.py +0 -0
- {circleflake-0.1.3 → circleflake-0.1.4}/tests/test_core.py +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
*.egg-info/
|
|
24
|
+
.installed.cfg
|
|
25
|
+
*.egg
|
|
26
|
+
|
|
27
|
+
# PyInstaller
|
|
28
|
+
# > https://github.com/pyinstaller/pyinstaller/wiki/FAQ#how-to-create-a-pyinstaller-exe-that-does-not-require-an-installation-folder
|
|
29
|
+
*.spec
|
|
30
|
+
|
|
31
|
+
# Environments
|
|
32
|
+
.env
|
|
33
|
+
.venv
|
|
34
|
+
env/
|
|
35
|
+
venv/
|
|
36
|
+
ENV/
|
|
37
|
+
|
|
38
|
+
# IDE
|
|
39
|
+
.vscode/
|
|
40
|
+
.idea/
|
|
41
|
+
.pytest_cache/
|
|
42
|
+
|
|
43
|
+
# Test coverage
|
|
44
|
+
.coverage
|
|
45
|
+
.coverage.*
|
|
46
|
+
.coveragerc
|
|
47
|
+
|
|
48
|
+
# MyPy
|
|
49
|
+
.mypy_cache/
|
|
50
|
+
.pylintrc
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: circleflake
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Agent execution tracing SDK for Circle Flake
|
|
5
5
|
Author: Circle Flake
|
|
6
6
|
License: MIT License
|
|
@@ -34,7 +34,18 @@ Requires-Dist: langchain-core>=0.3; extra == 'langgraph'
|
|
|
34
34
|
Requires-Dist: langgraph>=0.2; extra == 'langgraph'
|
|
35
35
|
Description-Content-Type: text/markdown
|
|
36
36
|
|
|
37
|
-
# Circle Flake
|
|
37
|
+
# Circle Flake
|
|
38
|
+
|
|
39
|
+
**The experimentation and measurement platform for AI agents.**
|
|
40
|
+
|
|
41
|
+
Circle Flake helps teams understand how their AI agents perform in production, measure the outcomes that matter, and systematically improve how those agents work.
|
|
42
|
+
|
|
43
|
+
Agents are becoming increasingly capable, but capability alone does not tell us whether an agent is effective. Teams need to understand what agents actually do, how their actions contribute to business outcomes, and whether a new version or strategy performs better than the existing one.
|
|
44
|
+
|
|
45
|
+
Circle Flake provides the measurement and experimentation layer for this evolution.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
38
49
|
|
|
39
50
|
Capture agent execution from LangChain, LangGraph, and Deep Agents using one
|
|
40
51
|
framework-independent trace/span model.
|
|
@@ -42,11 +53,9 @@ framework-independent trace/span model.
|
|
|
42
53
|
## Install
|
|
43
54
|
|
|
44
55
|
```bash
|
|
45
|
-
pip install
|
|
56
|
+
pip install circleflake
|
|
46
57
|
```
|
|
47
58
|
|
|
48
|
-
Install `.[langgraph]` or `.[deepagents]` when using those frameworks.
|
|
49
|
-
|
|
50
59
|
## LangChain
|
|
51
60
|
|
|
52
61
|
Run the included deterministic sample (no provider API key required):
|
|
@@ -112,3 +121,9 @@ will be added against the exact Deep Agents version used by your application.
|
|
|
112
121
|
Inputs and outputs are not captured by default. Set `capture_content=True` only
|
|
113
122
|
if you have reviewed the privacy implications for your prompts, tool arguments,
|
|
114
123
|
and outputs.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## Agent Framework request
|
|
127
|
+
|
|
128
|
+
email project maintainer at dheerajkaim@circleflake.com for feature requests or to add new agent frameworks.
|
|
129
|
+
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
# Circle Flake
|
|
1
|
+
# Circle Flake
|
|
2
|
+
|
|
3
|
+
**The experimentation and measurement platform for AI agents.**
|
|
4
|
+
|
|
5
|
+
Circle Flake helps teams understand how their AI agents perform in production, measure the outcomes that matter, and systematically improve how those agents work.
|
|
6
|
+
|
|
7
|
+
Agents are becoming increasingly capable, but capability alone does not tell us whether an agent is effective. Teams need to understand what agents actually do, how their actions contribute to business outcomes, and whether a new version or strategy performs better than the existing one.
|
|
8
|
+
|
|
9
|
+
Circle Flake provides the measurement and experimentation layer for this evolution.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
2
13
|
|
|
3
14
|
Capture agent execution from LangChain, LangGraph, and Deep Agents using one
|
|
4
15
|
framework-independent trace/span model.
|
|
@@ -6,11 +17,9 @@ framework-independent trace/span model.
|
|
|
6
17
|
## Install
|
|
7
18
|
|
|
8
19
|
```bash
|
|
9
|
-
pip install
|
|
20
|
+
pip install circleflake
|
|
10
21
|
```
|
|
11
22
|
|
|
12
|
-
Install `.[langgraph]` or `.[deepagents]` when using those frameworks.
|
|
13
|
-
|
|
14
23
|
## LangChain
|
|
15
24
|
|
|
16
25
|
Run the included deterministic sample (no provider API key required):
|
|
@@ -76,3 +85,9 @@ will be added against the exact Deep Agents version used by your application.
|
|
|
76
85
|
Inputs and outputs are not captured by default. Set `capture_content=True` only
|
|
77
86
|
if you have reviewed the privacy implications for your prompts, tool arguments,
|
|
78
87
|
and outputs.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## Agent Framework request
|
|
91
|
+
|
|
92
|
+
email project maintainer at dheerajkaim@circleflake.com for feature requests or to add new agent frameworks.
|
|
93
|
+
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
# Circle Flake Python Tracing SDK --- Implementation Plan
|
|
2
|
+
|
|
3
|
+
**Linear project:**
|
|
4
|
+
[Prototype](https://linear.app/circleflake/project/prototype-f5db6ecb0ab7)\
|
|
5
|
+
**Team:** CircleFlake\
|
|
6
|
+
**Scope:** Build and publish a Python SDK that captures
|
|
7
|
+
LangChain/LangGraph execution traces and exports them to Circle Flake.
|
|
8
|
+
|
|
9
|
+
## Objective
|
|
10
|
+
|
|
11
|
+
Create a lightweight, installable Python package that captures agent
|
|
12
|
+
execution inside a customer runtime, normalizes framework callbacks into
|
|
13
|
+
Circle Flake spans, buffers and batches them safely, and delivers them
|
|
14
|
+
to the Circle Flake backend.
|
|
15
|
+
|
|
16
|
+
The SDK should integrate with a LangGraph agent with minimal changes to
|
|
17
|
+
the agent's existing code.
|
|
18
|
+
|
|
19
|
+
## Architecture
|
|
20
|
+
|
|
21
|
+
``` text
|
|
22
|
+
Customer LangGraph / LangChain Agent
|
|
23
|
+
|
|
|
24
|
+
LangChain Callback Handler
|
|
25
|
+
|
|
|
26
|
+
Mapper
|
|
27
|
+
(framework events -> spans)
|
|
28
|
+
|
|
|
29
|
+
Core Recorder
|
|
30
|
+
(trace/span lifecycle + context)
|
|
31
|
+
|
|
|
32
|
+
Span Processor
|
|
33
|
+
|
|
|
34
|
+
Bounded Queue / Batcher
|
|
35
|
+
|
|
|
36
|
+
Circle Flake Exporter
|
|
37
|
+
(serialize + HTTP client)
|
|
38
|
+
|
|
|
39
|
+
Circle Flake Trace API
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Implementation sequence
|
|
43
|
+
|
|
44
|
+
### Phase 1 --- Package foundation and data contract
|
|
45
|
+
|
|
46
|
+
#### CIR-21 --- Initialize circleflake-python package and packaging configuration
|
|
47
|
+
|
|
48
|
+
Create the SDK repository/package skeleton using a `src` layout,
|
|
49
|
+
`pyproject.toml`, README, license and test setup. Configure package
|
|
50
|
+
metadata, dependencies and build tooling for local installation and PyPI
|
|
51
|
+
publishing.
|
|
52
|
+
|
|
53
|
+
**Acceptance criteria** - Package builds using standard Python build
|
|
54
|
+
tooling. - `src/circleflake` package structure is established. - Runtime
|
|
55
|
+
dependencies are kept minimal. - Test tooling is configured.
|
|
56
|
+
|
|
57
|
+
#### CIR-22 --- Define Circle Flake trace and span schemas
|
|
58
|
+
|
|
59
|
+
Implement foundational trace, span and event data structures. Define
|
|
60
|
+
span kinds, status, timestamps, IDs, parent relationships, input/output,
|
|
61
|
+
errors and attributes.
|
|
62
|
+
|
|
63
|
+
**Acceptance criteria** - Schema supports agent, chain, LLM, tool,
|
|
64
|
+
retriever and custom span kinds. - Trace, span and parent-child IDs are
|
|
65
|
+
represented. - Span status and timestamps are represented. - Schema
|
|
66
|
+
tests are added.
|
|
67
|
+
|
|
68
|
+
### Phase 2 --- Core tracing runtime
|
|
69
|
+
|
|
70
|
+
#### CIR-23 --- Implement agent resource and SDK configuration
|
|
71
|
+
|
|
72
|
+
Create resource and configuration models for project, agent name,
|
|
73
|
+
version, environment, API key, backend endpoint and
|
|
74
|
+
privacy/configuration options.
|
|
75
|
+
|
|
76
|
+
**Acceptance criteria** - Resource metadata is consistently attached to
|
|
77
|
+
spans/traces. - Configuration has validation and sensible defaults. -
|
|
78
|
+
API key and endpoint can be configured via SDK arguments or environment
|
|
79
|
+
variables.
|
|
80
|
+
|
|
81
|
+
#### CIR-24 --- Implement trace context propagation
|
|
82
|
+
|
|
83
|
+
Implement current trace/span context management for nested and
|
|
84
|
+
asynchronous executions, using Python `contextvars` where appropriate.
|
|
85
|
+
|
|
86
|
+
**Acceptance criteria** - Current trace and span can be read, set and
|
|
87
|
+
reset. - Parent-child relationships can be established. - Context
|
|
88
|
+
handling is tested for nested and async cases.
|
|
89
|
+
|
|
90
|
+
#### CIR-25 --- Implement core recorder and span lifecycle
|
|
91
|
+
|
|
92
|
+
Build core recorder APIs for starting, recording, updating and ending
|
|
93
|
+
spans; manage lifecycle and exception recording.
|
|
94
|
+
|
|
95
|
+
**Acceptance criteria** - Spans can be created and finished. - Inputs,
|
|
96
|
+
outputs, attributes and events can be recorded. - Errors and statuses
|
|
97
|
+
are captured. - Trace/span IDs and timestamps are generated. - Unit
|
|
98
|
+
tests cover the lifecycle.
|
|
99
|
+
|
|
100
|
+
#### CIR-26 --- Implement span processor pipeline
|
|
101
|
+
|
|
102
|
+
Implement a processor that receives finished spans and invokes the
|
|
103
|
+
configured processing/export pipeline while isolating failures from
|
|
104
|
+
agent execution.
|
|
105
|
+
|
|
106
|
+
**Acceptance criteria** - Completed spans are passed to downstream
|
|
107
|
+
processors. - Processing errors do not break agent execution. -
|
|
108
|
+
Processor lifecycle and shutdown are supported.
|
|
109
|
+
|
|
110
|
+
### Phase 3 --- Reliable transport and export
|
|
111
|
+
|
|
112
|
+
#### CIR-27 --- Implement bounded transport queue
|
|
113
|
+
|
|
114
|
+
Implement in-memory bounded buffering for spans/batches with
|
|
115
|
+
configurable capacity and defined behavior under backpressure.
|
|
116
|
+
|
|
117
|
+
**Acceptance criteria** - Queue is bounded. - Queue behavior under
|
|
118
|
+
saturation is defined. - Queue operations are thread-safe. - Tests cover
|
|
119
|
+
enqueue/dequeue and saturation.
|
|
120
|
+
|
|
121
|
+
#### CIR-28 --- Implement batching and flush lifecycle
|
|
122
|
+
|
|
123
|
+
Batch completed spans based on size and flush interval; support manual
|
|
124
|
+
and shutdown flush.
|
|
125
|
+
|
|
126
|
+
**Acceptance criteria** - Batch size and flush interval are
|
|
127
|
+
configurable. - Flush occurs on threshold, explicit request and
|
|
128
|
+
shutdown. - Buffering is bounded. - Tests cover batching and flush
|
|
129
|
+
behavior.
|
|
130
|
+
|
|
131
|
+
#### CIR-29 --- Implement Circle Flake exporter HTTP client
|
|
132
|
+
|
|
133
|
+
Implement authenticated HTTP delivery to the Circle Flake trace
|
|
134
|
+
ingestion API, including request timeouts, retries, exponential
|
|
135
|
+
backoff/jitter, response handling and shutdown.
|
|
136
|
+
|
|
137
|
+
**Acceptance criteria** - Trace batches are posted to a configurable
|
|
138
|
+
endpoint. - API-key authentication is supported. - Transient failures
|
|
139
|
+
are retried; `Retry-After` is respected where applicable. -
|
|
140
|
+
Non-retryable client errors are not retried. - Delivery errors do not
|
|
141
|
+
interrupt agent execution.
|
|
142
|
+
|
|
143
|
+
#### CIR-30 --- Implement Circle Flake trace serialization
|
|
144
|
+
|
|
145
|
+
Translate internal span objects into the backend wire format and
|
|
146
|
+
implement payload serialization, validation and optional compression.
|
|
147
|
+
|
|
148
|
+
**Acceptance criteria** - A stable, versioned payload schema is
|
|
149
|
+
defined. - Span and resource metadata are serialized. - Payload size is
|
|
150
|
+
handled safely. - Serializer unit tests are added.
|
|
151
|
+
|
|
152
|
+
### Phase 4 --- Framework integration
|
|
153
|
+
|
|
154
|
+
#### CIR-31 --- Implement LangChain callback mapper
|
|
155
|
+
|
|
156
|
+
Map LangChain callback lifecycle events (chain, LLM, tool, retriever and
|
|
157
|
+
errors) to Circle Flake core spans, maintaining `run_id`-to-span mapping
|
|
158
|
+
and parent relationships.
|
|
159
|
+
|
|
160
|
+
**Acceptance criteria** - Supported callback events map to normalized
|
|
161
|
+
spans. - Parent-child relationships are preserved. - Inputs/outputs and
|
|
162
|
+
errors are captured with configurable sanitization. - Mapper tests are
|
|
163
|
+
added.
|
|
164
|
+
|
|
165
|
+
#### CIR-32 --- Implement LangChain callback handler integration
|
|
166
|
+
|
|
167
|
+
Build the callback handler that receives framework callbacks and routes
|
|
168
|
+
them through the mapper/core pipeline. Support attaching the handler to
|
|
169
|
+
LangGraph invocation config.
|
|
170
|
+
|
|
171
|
+
**Acceptance criteria** - Handler captures chain, LLM, tool and error
|
|
172
|
+
callbacks. - Events flow through the core recorder and processor. -
|
|
173
|
+
Handler can be attached to a LangGraph agent without changing graph
|
|
174
|
+
logic. - Integration test covers a one-node, one-LLM graph.
|
|
175
|
+
|
|
176
|
+
### Phase 5 --- Public SDK and validation
|
|
177
|
+
|
|
178
|
+
#### CIR-33 --- Wire SDK provider and public client API
|
|
179
|
+
|
|
180
|
+
Wire config, resource, recorder, processor, queue, batcher and exporter.
|
|
181
|
+
Provide simple public initialization, integration factory, flush and
|
|
182
|
+
shutdown methods.
|
|
183
|
+
|
|
184
|
+
**Acceptance criteria** - Simple public API supports initialization and
|
|
185
|
+
LangChain handler creation. - Configured pipeline works end-to-end. -
|
|
186
|
+
Flush and shutdown are supported. - Duplicate initialization behavior is
|
|
187
|
+
defined and tested.
|
|
188
|
+
|
|
189
|
+
#### CIR-34 --- Create end-to-end tests for tracing and delivery
|
|
190
|
+
|
|
191
|
+
Test a one-call LangGraph agent with the Circle Flake SDK and a mock or
|
|
192
|
+
local ingestion endpoint; verify trace payload and relationships.
|
|
193
|
+
|
|
194
|
+
**Acceptance criteria** - One LLM call generates trace/span data. -
|
|
195
|
+
Export payload is verified. - Error and flush paths are tested. - Tests
|
|
196
|
+
run in CI.
|
|
197
|
+
|
|
198
|
+
### Phase 6 --- Documentation and release
|
|
199
|
+
|
|
200
|
+
#### CIR-35 --- Document SDK usage and prepare PyPI release
|
|
201
|
+
|
|
202
|
+
Write README and usage examples, package metadata and release workflow.
|
|
203
|
+
Publish an initial package to TestPyPI, verify installation, then
|
|
204
|
+
release to PyPI.
|
|
205
|
+
|
|
206
|
+
**Acceptance criteria** - Installation and integration instructions are
|
|
207
|
+
documented. - An example LangGraph one-LLM GTM agent is included. -
|
|
208
|
+
TestPyPI release is verified. - PyPI release checklist is completed.
|
|
209
|
+
|
|
210
|
+
## Suggested repository structure
|
|
211
|
+
|
|
212
|
+
``` text
|
|
213
|
+
circleflake/
|
|
214
|
+
├── __init__.py
|
|
215
|
+
├── client.py
|
|
216
|
+
├── config.py
|
|
217
|
+
├── core/
|
|
218
|
+
│ ├── provider.py
|
|
219
|
+
│ ├── recorder.py
|
|
220
|
+
│ ├── context.py
|
|
221
|
+
│ ├── resource.py
|
|
222
|
+
│ └── processor.py
|
|
223
|
+
├── integrations/
|
|
224
|
+
│ └── langchain/
|
|
225
|
+
│ ├── handler.py
|
|
226
|
+
│ └── mapper.py
|
|
227
|
+
├── exporters/
|
|
228
|
+
│ └── circleflake/
|
|
229
|
+
│ ├── exporter.py
|
|
230
|
+
│ ├── client.py
|
|
231
|
+
│ └── serializer.py
|
|
232
|
+
├── transport/
|
|
233
|
+
│ ├── batch.py
|
|
234
|
+
│ └── queue.py
|
|
235
|
+
└── schemas/
|
|
236
|
+
└── spans.py
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
For the distributable repository, place this package under
|
|
240
|
+
`src/circleflake/` and include `pyproject.toml`, README, license and
|
|
241
|
+
tests at the repository root.
|
|
242
|
+
|
|
243
|
+
## Key design decisions
|
|
244
|
+
|
|
245
|
+
- **Capture in the customer runtime:** the PyPI SDK observes framework
|
|
246
|
+
execution; the Circle Flake backend owns ingestion, storage,
|
|
247
|
+
metrics, dashboards and experimentation.
|
|
248
|
+
- **Keep agent code changes small:** users should be able to attach a
|
|
249
|
+
callback handler through LangGraph's invocation config.
|
|
250
|
+
- **Normalize before export:** framework-specific callback events
|
|
251
|
+
become a stable Circle Flake span model.
|
|
252
|
+
- **Keep tracing non-blocking:** bounded buffering and batching should
|
|
253
|
+
prevent network delivery from slowing or breaking agent execution.
|
|
254
|
+
- **Treat privacy as a first-class setting:** support configurable
|
|
255
|
+
content capture and sanitization for prompts, inputs and outputs.
|
|
256
|
+
- **Version the wire format:** SDK and backend should have an explicit
|
|
257
|
+
payload schema version.
|
|
258
|
+
|
|
259
|
+
## Dependency order
|
|
260
|
+
|
|
261
|
+
`CIR-21 → CIR-22 → CIR-23 → CIR-24 → CIR-25 → CIR-26 → CIR-27 → CIR-28 → CIR-29 → CIR-30 → CIR-31 → CIR-32 → CIR-33 → CIR-34 → CIR-35`
|
|
262
|
+
|
|
263
|
+
Some tasks can overlap once their interfaces are agreed, particularly
|
|
264
|
+
exporter serialization/transport and LangChain mapper/handler work. Keep
|
|
265
|
+
the schema and backend ingestion contract stable before parallelizing
|
|
266
|
+
those tasks.
|
circleflake-0.1.3/.gitignore
DELETED
|
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
|
|
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
|