Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
341 commits
Select commit Hold shift + click to select a range
c783b6f
agentops.start_session: accept **kwargs
teocns Feb 23, 2025
cbc676c
tests: isolate session fixtures
teocns Feb 23, 2025
c8d89d7
tests: session fixture - introduce kwargs marker
teocns Feb 23, 2025
d2a609b
session: add auto_start property
teocns Feb 23, 2025
3ef3b10
move default_config from session->config
teocns Feb 23, 2025
41de71e
session/state
teocns Feb 23, 2025
29e8bb8
session: dict() and json()
teocns Feb 23, 2025
96b0068
session: use slots
teocns Feb 23, 2025
9c0ad23
session: improve fields
teocns Feb 23, 2025
6b1f82e
session: general improvements
teocns Feb 23, 2025
a410e64
telemetry/helpers: dict_to_span_attributes
teocns Feb 23, 2025
38c3ebc
cleanup
teocns Feb 23, 2025
a35c30b
test: add tests for Session serialization and encoding
teocns Feb 23, 2025
afec862
session._tracer -> session.telemetry
teocns Feb 23, 2025
455f805
save
teocns Feb 23, 2025
4405576
session: logger improvements, comments
teocns Feb 25, 2025
a9d37b4
Create auto instrumentation features
teocns Feb 25, 2025
dd82070
Move session_generator under tests/fixtures/session.py
teocns Feb 25, 2025
d89a3c4
++context
teocns Feb 25, 2025
4f98abd
integration tests refactor TOOD move
teocns Feb 25, 2025
a3bd7a6
telemetry: -context
teocns Feb 25, 2025
4238eb2
Move openai instrumentation to third_party/
teocns Feb 25, 2025
ce9b538
cleanup test_session.py
teocns Feb 25, 2025
a0c4772
chore(pyproject): add third_party
teocns Feb 25, 2025
f7af00e
add logging to instrumentation/__init__.py
teocns Feb 25, 2025
dec4fe1
cleanup telemetry/mixin
teocns Feb 25, 2025
9ced223
test client instrumentation
teocns Feb 25, 2025
d540e93
_singleton.py
teocns Feb 25, 2025
206dba0
+exceptions.py
teocns Feb 25, 2025
9707213
+fixtures/config.py
teocns Feb 25, 2025
579c9f5
cleanup tests/fixtures/event,py
teocns Feb 25, 2025
7c2a7ca
cleanup tests/unit/conftest.py
teocns Feb 25, 2025
12172f6
test_config.py: -test_invalid_parent_key
teocns Feb 25, 2025
4ee35bb
config: +auto_init
teocns Feb 25, 2025
6ee1fe2
cleanup __init__.py
teocns Feb 25, 2025
ebf2290
client: improvements, auto start, conditional_singleton
teocns Feb 25, 2025
8ccde38
cleanups
teocns Feb 25, 2025
b5f84be
config / logger setup improvements
teocns Feb 25, 2025
8efdeee
save
teocns Feb 26, 2025
226ce60
Merge branch 'redesign-new-context-management' into redesign
teocns Feb 26, 2025
2d34cb6
Update instrumentation/README.md
teocns Feb 26, 2025
898ca0c
instrumentation: use global tracer_provider
teocns Feb 26, 2025
113d590
instrumentation/openai: add copyrights - NOTICE.md, LICENSE
teocns Feb 26, 2025
0b0b764
tests/unit/test_client.py
teocns Feb 26, 2025
935ab90
tests/unit/test_client.py: add session-related tests
teocns Feb 26, 2025
199c96e
Added Anthropic Provider
Dwij1704 Feb 26, 2025
ef3beb8
Added Cohere Provider
Dwij1704 Feb 26, 2025
3e737a5
Added Groq Provider
Dwij1704 Feb 26, 2025
1f741bd
Added Haystack Provider
Dwij1704 Feb 26, 2025
6361cd5
Added Mistralai Provider
Dwij1704 Feb 26, 2025
ed288a5
Added Ollama Provider
Dwij1704 Feb 26, 2025
2027fbb
Added Crewai Provider
Dwij1704 Feb 26, 2025
875ee2d
Added implementation
Dwij1704 Feb 26, 2025
4615847
Removed third_party
Dwij1704 Feb 26, 2025
190c7fc
use `mistralai<1.0.0` for instrumentation
dot-agi Feb 26, 2025
e054526
chore(pyproject.toml): update mistralai version constraint to >=0.2.0…
teocns Feb 26, 2025
f642688
config: explode kwargs, add processor & exporter
teocns Feb 26, 2025
4e265b5
agentops/telemetry/session: hook up with config params
teocns Feb 26, 2025
1091178
test_client: +exporter, processor args tests
teocns Feb 26, 2025
cff72e4
config: dict() and json() methods
teocns Feb 26, 2025
4a58916
refactor(session): update config serialization method
teocns Feb 26, 2025
5a5f565
Merge branch 'redesign-config' into redesign
teocns Feb 26, 2025
9d92035
tests: isolate reset_instrumentation fixture
teocns Feb 26, 2025
e371763
cleanup tests
teocns Feb 26, 2025
9f05c7d
agentops.init(): add tags to **kwargs, merge with default_tags
teocns Feb 26, 2025
b6ce076
remove parent_key concept
teocns Feb 26, 2025
e01e9c2
config: use slots
teocns Feb 26, 2025
bc01c49
cleanup tests
teocns Feb 26, 2025
9464f06
tests/fixtures/instrumentation: use InMemorySpanExporter
teocns Feb 26, 2025
5a15623
refactor(tests): simplify mock client implementation
teocns Feb 26, 2025
fb18620
Squash merge redesign-client into redesign
teocns Feb 27, 2025
af96a4f
feat(types): add ISOTimeStamp type annotation
teocns Feb 27, 2025
951b99e
refactor(session_tracer): update timestamp type annotations
teocns Feb 27, 2025
377287a
refactor session+telemetry modules structure
teocns Feb 27, 2025
dff8120
refactor(session): rename telemetry to mixin and update code
teocns Feb 27, 2025
bcaed4f
session/tracer: refactor and remove concept of nonrecordingspan
teocns Feb 27, 2025
e6f321d
remove _ession_id fallback
teocns Feb 27, 2025
666bb17
merge Session w/ SessionTelemetryMixin
teocns Feb 27, 2025
8bd9998
add test.py
teocns Feb 27, 2025
3b68e41
save
teocns Feb 27, 2025
6d293ae
Squash merge redesign-session-client-remove-signals into redesign-old
teocns Mar 1, 2025
3a847d9
Client HTTP Module Refactoring and Test Fixes (#714)
teocns Mar 3, 2025
fb4187e
tests_http_client: adapt mock call assertions to client redesign
teocns Mar 3, 2025
505427a
session: remove signals
teocns Mar 3, 2025
e2c046f
remove session complexities
teocns Mar 3, 2025
45793e7
Move session tracer init behavior
teocns Mar 3, 2025
0d41940
SessionTelemetryMixin._span
teocns Mar 3, 2025
81acbb9
move client/exporters to session/exporters
teocns Mar 3, 2025
343aabe
feat(config): add exporter_endpoint to configuration options
teocns Mar 3, 2025
1c2f7cf
feat(tracer): update OTLP exporter endpoint configuration
teocns Mar 3, 2025
3f3e908
feat(config): set default exporter endpoint value
teocns Mar 3, 2025
66655e1
build: update opentelemetry dependencies in pyproject.toml
teocns Mar 3, 2025
94ee5c7
test: replace authentication test with OpenAI test
teocns Mar 3, 2025
a1fe6b7
test_session_config
teocns Mar 3, 2025
b64a6c3
session(config) param
teocns Mar 3, 2025
54fc0af
test
teocns Mar 3, 2025
9495c9b
BatchSpanProcessor
teocns Mar 3, 2025
e81f99b
x-alex
teocns Mar 3, 2025
376710e
Update .cursor/rules
teocns Mar 5, 2025
064819b
Improve agentops_config, introduce root tests
teocns Mar 5, 2025
9eb00fe
Consolidate initialization and kwargs passing for AgentOps client (#729)
devin-ai-integration[bot] Mar 6, 2025
41b92aa
Add CI python-tests from main
teocns Mar 8, 2025
c3606ac
AgentOps Decorators Implementation (#747)
Dwij1704 Mar 8, 2025
7f4547d
test agentops.decorators (#748)
Dwij1704 Mar 8, 2025
1571512
bye entelligence-ai-pr-reviews
teocns Mar 8, 2025
2b562a5
Don't override endpoint URL on config init.
tcdent Mar 8, 2025
41148f2
Don't override endpoint URL on config init. (#756)
tcdent Mar 8, 2025
57612ab
Get tests passing (#750)
tcdent Mar 8, 2025
c09a96c
feat: Session ending via `__del__` method and `LiveSpanProcessor` cla…
dot-agi Mar 8, 2025
aa51ee8
fix minor test warning not passing
teocns Mar 9, 2025
33fc9e7
Redesign session registry mixin (#762)
teocns Mar 9, 2025
be7b65f
Session: migrate telemetry lifecycle into mixin away from session impl
teocns Mar 9, 2025
ec81ec3
StateSessionMixin
teocns Mar 9, 2025
11ad752
SessionBase: remove abstractmethod from start/end (linter)
teocns Mar 9, 2025
ff269e7
save
teocns Mar 9, 2025
f5d2321
SessionStateProperty
teocns Mar 9, 2025
87109d9
SessionStatemixin
teocns Mar 9, 2025
e4212b3
Explicit calls to the super start/end methods is one way to make this…
tcdent Mar 9, 2025
461df75
I think explicitly named methods is actually clearer.
tcdent Mar 9, 2025
2eda84f
Allow passing arbitrary states to Client; parsing happens upstream.
tcdent Mar 9, 2025
5df7436
Mixin doesn't need to inherit from base class.
tcdent Mar 9, 2025
bfed974
Restore abstract decorators.
tcdent Mar 9, 2025
8a2d6f4
Add docstrings
teocns Mar 10, 2025
8212a8e
session/README.md
teocns Mar 10, 2025
5d8c974
proposal
teocns Mar 10, 2025
cb3b53d
todos
teocns Mar 10, 2025
f0d9a56
SDK
teocns Mar 10, 2025
805d2f4
+decorators, + spans
teocns Mar 10, 2025
ed3caf5
tests/unit/sdk
teocns Mar 10, 2025
7134c9e
fix: span kind super call
teocns Mar 10, 2025
b2523dd
Remove LLMSpan
teocns Mar 10, 2025
0a67372
Pass all tests
teocns Mar 10, 2025
7890ebe
New Examples
teocns Mar 10, 2025
83b0955
delete irrelevant test file
teocns Mar 10, 2025
6f7e0eb
Squash merge tracing-dev-instrumentor into tracing
teocns Mar 10, 2025
baf5f02
refactoring tests
teocns Mar 10, 2025
7851863
Squash merge tracing-use-ao-spanattrs into tracing
teocns Mar 10, 2025
6e76e25
add pytest-inline
teocns Mar 10, 2025
c1c88c0
test_instrumentation: use semconv and better evaluation
teocns Mar 10, 2025
0259035
Revert "add pytest-inline" - causes weird deps issue
teocns Mar 10, 2025
5a27f66
test_instrumentation_errors: use agentops.semconv
teocns Mar 10, 2025
3a48915
Remove legacy session, migrate towards new sdk
teocns Mar 10, 2025
0678177
config.auto_start_session = False
teocns Mar 10, 2025
f14e694
simplify config tests
teocns Mar 10, 2025
fd8c8a1
remove init tests
teocns Mar 10, 2025
165a436
Merge agentops/instrumentation/__init__.py from commit 191e057adba8e3…
tcdent Mar 10, 2025
adc32fc
decorators: correctly make use of session span context
teocns Mar 10, 2025
c57b844
test_decorators: +tests for context propagation
teocns Mar 10, 2025
be437d4
delete test_integration
teocns Mar 10, 2025
9069fdb
Merge branch 'dev-context-mgmt' into dev
teocns Mar 10, 2025
5922073
feat: add authenticated exporter support for tracing core
teocns Mar 11, 2025
3c444f4
Make HttpClient store _project_id
teocns Mar 11, 2025
9229d51
agentops.semconv.resource
teocns Mar 11, 2025
e191319
Client init() -> prefetch JWT -> TracingCore.init -> AuthenticatedOTL…
teocns Mar 11, 2025
9de9544
Merge branch 'dev-otel-authenticated-exporter' into dev
teocns Mar 11, 2025
4f741c5
draft
teocns Mar 11, 2025
7e890f7
fix decorators context mgmt
teocns Mar 11, 2025
253bf56
examples
teocns Mar 11, 2025
c431e6a
examples 2
teocns Mar 11, 2025
3260b52
utils
teocns Mar 11, 2025
55e8918
++ utils
teocns Mar 11, 2025
5d34df0
+ test span utils
teocns Mar 11, 2025
22e26f3
Rewrite testing rules
teocns Mar 11, 2025
04e9bc9
+ testing rule
teocns Mar 11, 2025
01f2ba5
refactor span tests
teocns Mar 11, 2025
3136a5e
isolate instrumentation
teocns Mar 11, 2025
ddfa2f0
reuse instrumentation fixture
teocns Mar 11, 2025
09974c0
cleanup span utils
teocns Mar 11, 2025
e38ff1c
Merge branch 'dev-fix-context-management' into dev
teocns Mar 11, 2025
3d60cce
Deprecate immediate span processor
teocns Mar 11, 2025
8e33b5f
agent: use semconv
teocns Mar 11, 2025
87f1dc3
test_spans: update semconv
teocns Mar 11, 2025
e881bbe
cleanup test instrumentation
teocns Mar 11, 2025
44e3823
test decorators: move to pytest
teocns Mar 11, 2025
25343e7
migrate test_factory to pytest
teocns Mar 11, 2025
4a18445
test_core: migrate to pytest
teocns Mar 11, 2025
a9da8a5
test_spanned: migrate to pytest
teocns Mar 11, 2025
ab1d31e
test_spans: migrate to pytest
teocns Mar 11, 2025
1a1d357
Fix "Overriding of current TracerProvider is not allowed"
teocns Mar 11, 2025
78a32ed
update basic_usage with agentops.init()
teocns Mar 11, 2025
fd46703
TracingCore.initialize_from_config: accept **kwargs
teocns Mar 11, 2025
7bace6a
Have AgentOps' Client() initialize TracingCore
teocns Mar 11, 2025
d1ee7c6
Remove grpc client
teocns Mar 11, 2025
6ced945
Consolidate auth manager
teocns Mar 11, 2025
699e475
uv.lock
teocns Mar 11, 2025
0c25e50
cleanup
teocns Mar 11, 2025
451131c
BatchSpanProcessor instead of LiveSpanProcessor
teocns Mar 11, 2025
3ebee73
Change test.py with agentops.init()
teocns Mar 11, 2025
6c26ba7
Improve exporter authentication method
teocns Mar 11, 2025
adcdd86
Configure logging in init
teocns Mar 11, 2025
d0919e1
flowchart
teocns Mar 11, 2025
aa415c2
fix markdown
teocns Mar 11, 2025
d62c514
grouped components better
dot-agi Mar 11, 2025
d51e9d2
semconv
teocns Mar 11, 2025
00653e8
Processor: use basic InFlight
teocns Mar 11, 2025
8df2e91
Spanned: use semconv
teocns Mar 11, 2025
f85126b
processor: accept **kwargs
teocns Mar 11, 2025
36e9985
DEBUG logging in pytest
teocns Mar 11, 2025
c711a8c
LiveSpanProcessor to use CoreAttribute
teocns Mar 11, 2025
70818b1
Merge spanned into traced
teocns Mar 11, 2025
e52cccb
update imports
teocns Mar 11, 2025
5f88dc6
finalize readme and tests
teocns Mar 11, 2025
4297478
merge test spanned -> traced
teocns Mar 11, 2025
deae72c
convert to pytest
teocns Mar 11, 2025
cc902c8
Merge branch 'dev-merge-spanned-traced' into dev
teocns Mar 11, 2025
be13cc0
Squash merge dev-ctx-attach: Improve decorators context management
teocns Mar 11, 2025
89c6b18
test auth flow example
teocns Mar 11, 2025
46ea37b
delete old examples
teocns Mar 11, 2025
c07191e
new examples
teocns Mar 11, 2025
86b1aca
ADD FIXME warning
teocns Mar 11, 2025
be73666
streamline project_id parsing in Client
teocns Mar 11, 2025
45287e0
Squash merge dev-no-reauth into dev
teocns Mar 11, 2025
6f639fd
remove api key param from examples
teocns Mar 11, 2025
8f2616b
converters: uuid <> int converters
teocns Mar 11, 2025
3564bc2
trace_id: keep as int, add trace_uuid
teocns Mar 11, 2025
99e72d2
spans: +logger.debug
teocns Mar 11, 2025
9b30c02
remove import for livespanprocessor
teocns Mar 11, 2025
4e78a4c
remove test spans/traced
teocns Mar 11, 2025
672272a
change default exporter endpoint
teocns Mar 11, 2025
e528063
add load dotenv
teocns Mar 11, 2025
fad934b
Agents SDK (#800)
Dwij1704 Mar 12, 2025
164ba63
update example adding openai trace
teocns Mar 12, 2025
5ea68af
opentelemetry: setup metrics
teocns Mar 12, 2025
7fdd49b
feat(span_kinds): add SESSION span kind to SpanKind class
teocns Mar 12, 2025
441caf1
ye (#803)
teocns Mar 12, 2025
798967e
fix imports
teocns Mar 12, 2025
6f32dc2
spankinds
teocns Mar 12, 2025
1c8e726
Noops for compatibility with older implementations. (#801)
tcdent Mar 12, 2025
5d0c0e0
Cleanup unused functions. (#804)
tcdent Mar 12, 2025
c29ff03
Intercept OTEL log messages and redirect to DEBUG. (#805)
tcdent Mar 12, 2025
ab74ab1
CrewAI example. (#806)
tcdent Mar 12, 2025
2cb8bfb
Rename `compat`. Delete `end_all_sessions`. Default log level. (#808)
tcdent Mar 12, 2025
7dbe990
Add Streaming support for AgentsInstrumentor and update SpanKind defi…
Dwij1704 Mar 12, 2025
6d3f2e1
Added Examples for OpenAI (#811)
Dwij1704 Mar 12, 2025
6531a49
Added Examples for CrewAI (#812)
Dwij1704 Mar 13, 2025
b920589
Remove instrumentor support for Ollama and Haystack (#814)
Dwij1704 Mar 13, 2025
32c1a8b
commands (#813)
teocns Mar 13, 2025
0f30676
refactor: rename uuid_to_hex_int to uuid_to_int16
teocns Mar 13, 2025
a802e96
add InternalSpanProcessor
teocns Mar 13, 2025
ff0141f
Squash merge dev-internal-processor into dev
teocns Mar 13, 2025
9f10111
Added Anthropic examples (#817)
Dwij1704 Mar 13, 2025
d1f27e2
fix: checks for `dev` before release (#818)
dot-agi Mar 13, 2025
a986236
Merge branch 'main' into dev
dot-agi Mar 13, 2025
510b8c8
add missing anthropic example
dot-agi Mar 13, 2025
93f243b
remove test file
dot-agi Mar 13, 2025
50a53a2
update version
dot-agi Mar 13, 2025
f054284
update `vcrpy` dep version
dot-agi Mar 13, 2025
25d45c9
ruff ignore E731
dot-agi Mar 13, 2025
902a432
update `uv.lock`
dot-agi Mar 13, 2025
5e5aa4d
fix video rendering
dot-agi Mar 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,24 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

# VSCode
.vscode/

# Cursor
.cursorrules

# Benchmarks
.benchmarks/

# MacOS
.DS_Store

# Database
.db

# Time travel
agentops_time_travel.json
.agentops_time_travel.yaml

# Node
node_modules
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,12 @@
</a>
</p>



https://github.com/user-attachments/assets/dfb4fa8d-d8c4-4965-9ff6-5b8514c1c22f


<div align="center">
<video src="https://github.com/user-attachments/assets/dfb4fa8d-d8c4-4965-9ff6-5b8514c1c22f" width="650" autoplay loop muted></video>
</div>

<br/>


AgentOps helps developers build, evaluate, and monitor AI agents. From prototype to production.

## Key Integrations πŸ”Œ
Expand Down
Loading
Loading