Vineeth Voruganti
6b3ecef601
Telemetry Overhaul ( #333 )
...
* chore: Refactor a top-level telemetry folder
* fix: Add OTEL push based metrics
* chore: cleanup otel to match prometheus implementation
* fix: Remove prometheus
* feat: Scaffold CloudEvent Emitter
* chore: remove dead code
* feat: PoC Cloud Events
* chore: cleanup test
* fix: Event naming conventions and OTEL Settings
* fix: Revamped Dream Event Structure
* fix: Instrument Event Code
* fix: Add Tests for CloudEvent Telemetry
* fix: Code Rabbit Nits
* fix: Dedupe Event IDs
2026-01-21 16:49:14 -05:00
Rajat Ahuja
8c8a8c4103
fix: use separate db tx for create and save summary ( #334 )
2026-01-21 13:22:53 -05:00
Rajat Ahuja
833a89e70a
Turbopuffer and LanceDB Integration ( #287 )
...
* feat: init turbopuffer and lanceDB
* fix: remove destructive embedding migration
* fix: bug fixes
* fix: LanceDB
* fix: turbopuffer
* fix: search and add create_observations
* fix: use Async clients
* fix: search; protect agaainst failed vector create/delete
* fix: coderabbit comments
* fix: set up compose vector store and reconciliation loop
* feat: sync docs without embeddings
* fix: reduce batch size; comments; types; add indexes for reconciliation
* fix: add message embedding resilience
* fix: clean-up and migration test
* fix: cleanup 2
* fix: centralize retry logic; bump reconciliation batch; use tracked db; fix soft-delete race condition
* fix: skip double query when pgvector is primary
* fix: down migration
* fix: remove hard-delete from critical path and make PgVectorStore deletions a no-op
* fix: use soft-delete pattern for duplicate detection
* fix: steps toward deprecating MessageEmbedding table
* fix: remove composite and pgvector store -> make more specific
* fix: migration order
* fix: shorten reconciliation cycle + fix 'IN' equality check
* fix: coderabbit comments
* fix: add test for migration 7c0d9a4e3b1f
* feat: refactor to use ReconcilerScheduler
* fix: CR / opus comments
* fix: work unit key and reserve system workspace
* fix: make workspace_name nullable
* fix: clean up sync vectors
* fix: delete syntax
* fix: hash namespace
* External Vector Store Nits (#332 )
* fix: Migration naming and long held connection
* chore: Comment for potential debt
* chore: update typescript core package
---------
Co-authored-by: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com>
2026-01-16 17:04:01 -05:00
doria
b0dc05c909
feat: message ingestion forced-batching ( #327 )
...
* feat: implement forced batching for representation tasks and adjust max tokens
- Updated `REPRESENTATION_BATCH_MAX_TOKENS` to 1024 in `config.py`.
- Enhanced `get_and_claim_work_units` in `QueueManager` to enforce batching based on token thresholds.
- Added tests to ensure representation work units are only claimed when token counts meet or exceed the threshold.
- Introduced a synthesis prompt for tool execution to improve final response generation.
* chore: update queue-status docs to match new behavior
* fix: make representation work query efficient
* fix: Align alembic models and force dreams on for tests
* fix: clean queue between tests
---------
Co-authored-by: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com>
2026-01-14 14:59:35 -05:00
doria
2ef0589705
fix: keep backwards compatibility for message creation endpoint ( #328 )
2026-01-14 14:26:17 -05:00
doria
26da24c8bf
feat: add tool_choice to dialectic level settings, fix: `extra-high` label to `max` ( #326 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 16:54:17 -05:00
doria
817123de95
fixes: update unified tests, bugs in dream scheduling ( #322 )
...
* fix: swap to reasoning config in unified test files, handle new representation output format
* fix: resolve bugs in dream scheduling -- message from a peer should cancel all dreams observing them, and document counts should be checked at moment of dream, not in enqueue. clean up and test
2026-01-13 12:33:59 -05:00
Vineeth Voruganti
5978c670de
Missing Commits from previous merge ( #321 )
...
* fix: Maintain this binding for pagination
* chore: fix tests to match core sdk
* fix: Upgrade Dockerfile and uv
2026-01-13 12:14:57 -05:00
Vineeth Voruganti
ee12164835
fix: Maintain this binding for pagination ( #289 )
2026-01-13 11:48:18 -05:00
doria
59b203e357
Merge pull request #319 from plastic-labs/ben/renaming-and-api-cleanup-clean
...
feat: API renaming and cleanup
2026-01-13 10:14:38 -05:00
Vineeth Voruganti
be3adf820e
chore: re-add n8n
2026-01-13 10:06:50 -05:00
Benjamin McCormick
5d74818bed
chore: code review, use new stainless releases
2026-01-12 18:41:34 -05:00
Benjamin McCormick
4b01f8754d
feat: make dreamer and dialectic actually respect settings around using peer card
2026-01-12 18:25:35 -05:00
Benjamin McCormick
0eb0d6d427
chore: docstring cleanup
2026-01-12 17:52:05 -05:00
vintro
669b1886d6
README and docs updates ( #308 )
...
* docs: initial updates
* chore: fix broken link
* feat: add honcho-integration SKILL.md
---------
Co-authored-by: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com>
Co-authored-by: Benjamin McCormick <docterformer@protonmail.com>
2026-01-12 17:44:02 -05:00
Benjamin McCormick
2c66813944
fix: use real stainless releases, update to match
2026-01-12 17:27:54 -05:00
Benjamin McCormick
5b7ae0d82c
feat: API renaming and cleanup
...
- Rename API routes for consistency
- Add backwards-compatible conclusion and queue endpoints
- SDK cleanup and representation improvements
- Add reasoning_level param validation
- Fix thinking budget validation for Anthropic
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 16:50:40 -05:00
doria
578ef2c665
feat: agentic dreamer and agentic dialectic ( #309 )
...
* feat: add better params to working representation fetch in SDKs, return messages when added
* fix: working representation routes now accepting all parameters properly, with tests
* feat: add metadata/config fields to SDK objects where viable
* fix: tests
* feat: refactor SDKs to use representation config; [TEMP STAINLESS BUILD] update API
* feat: add representation object to sdks
* fix: use stainless sdk on branch
* fix: update TypeScript SDK tsconfig to use node16 module resolution
* fix: add isolatedModules = true to tsconfig
* fix: lol
* chore: coderabbit review
* feat: make delete session real
* feat: add observations routes with delete endpoints for documents. make session deletion real.
* chore: type cleanup
* fix: tests
* chore: coderabbit review
* fix: namespace by workspace
* feat: add ability to customize messages_per_summary at both workspace and session level
* chore: tests for summary config
* chore: coderabbit cleanup
* feat: make session and workspace config totally customizeable
* feat: add search by peer knowledge (#250 )
* feat: search by peer perspective
* fix: enforce workspace in filters, make messages distinct in join
* fix: batch and merge migration steps
* fix: add refresh, add config to workspace, add refresh function, make fields readonly
* fix: search distinct
* fix: merge migrations
* fix: merge migrations
* fix: batch deletions, improve comments, limit consolidate dream to 100 docs at a time, auth on observations routes
* chore: review
* chore: coderabbit
* chore: review
* chore: broken comment
* feat: add set peer card route to API
* feat: create advanced configuration parameters with message>session>workspace hierarchy
* [wip] build unified testing harness
* chore: lint
* fix: cache invalidation, naming things, etc
* feat: longmem tests
* chore: peer config refactor
* feat: consolidate dream working, refactor representation
* fix: Various CR Comment Fixes
* feat: Allow configurable Redis port for harness instances and update cleanup methods to be asynchronous.
* feat: agentic ingestion task!!!
* feat: agentic deriver
* feat: dialectic agent and dreamer agent
* chore: browbeat tests into passing
* fix: nits
* chore: remove old code, update config files
* fix: simplify deriver
* feat: dialectic agent prompt updates, re-introduce non_agent deriver, eval tweaks
* feat: fast deriver, dreamer, then dialectic
* fix: tweaks across the board
* feat: add baseline tests
* feat: truncation in tools and client, tweaks for evals
* feat: add locomo, fix longmem judge!!!
* fix: locomo f1 is trash, use llm judge
* feat: trace creation
* feat: add first draft of obex benchmark, fix embedding model, fix locomo methodology
* fix: locomo session-optimized, better logging of cache usage and better cache usage
* chore: use openrouter for baselines
* fix: add test for merge migration
* chore: opus-powered cleanup
* fix: add config for vllm, better client
* chore: clean up clients.py a bit
* chore: move magic numbers to config, add tests for agent tools
* fix: wrong mock in dialectic tests, make ToolContext a dataclass
* feat: tweak prompts, make deriver explicit-only
* feat: more prompt & tool tweaks
* chore: more tweaks
* feat: dream with subagents
* fix: make dream trigger override scheduled, play around with dream agents
* chore: cleanup deriver
* chore: cleanup dialectic
* chore: cleanup orchestrator
* chore: comment out dream stuff, WIPing
* fix: inc temp on retry, typechecking
* feat: tweak dreaming
* feat: contradiction obs
* Add dream trees
* chore: preserve reasoning_details from openrouter in client
* fix: get_observation_context correct params
* fix: use correct message id in tool
* chore: cleanup longmem runner
* chore: clean up tests, remove dream tests for now as rearchitecting around trees
* chore: update stainless deps
* Update threholding mechanism
* chore: pre-commit hooks whitespace
* chore: clean up types
* feat: add explicit bench
* fix: address additional basepyright issues
* fix: adding logging as a fixture on honcho_llm_call and supporting dialectic loging. (#305 )
* fix: lock on db for tool calls
* chore: clean up experimental derivers
* chore: coderabbit review cleanup
* feat: add streaming support to agentic dialectic
* feat: prometheus token tracking for deriver and dialectic
* fix: self-loops for isolated nodes
* chore: PascalCase for prometheus parameter typing
* feat: add reasoning levels to dialectic agent
* chore: delete old file, add new fake env vars in unittest.yml
* fix: all fields needed for dialectic reasoning level configs
* feat: track dreaming usage in prometheus
* chore: Create backwards compatabile conclusion and queue endpoints
* fix: remove redundant try-catch, add trace label, move .limit to end of statement
* fix: remove vignettes (for now), review fixes, remove merge migration, config cleanup
* chore: code review / cleanup
* chore: merge fixes
* chore: clean up, remove reasoning_focus, reintroduce peer cards in dreamers
* chore: code rabbit nitpicks
* fix: add unique index for pending dreams in queue
* fix: revert removal of surprisal in dreamer config
---------
Co-authored-by: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com>
Co-authored-by: 3un01a <3un01a@plasticlabs.ai>
Co-authored-by: 3un01a <3un01a.labs@gmail.com>
Co-authored-by: ajspig <46900795+ajspig@users.noreply.github.com>
2026-01-12 15:12:17 -05:00
ajspig
49f6d75991
Adding n8n integration ( #318 )
...
* feat: Adding n8n integration
* fix: minor gramatical and style changes
* fix: matching the markdown with the json
* feat: adding screenshots to n8n
* fix: final modifications
* chore: code rabbit suggestions
* chore: code rabbit suggestions
2026-01-09 17:09:48 -05:00
doria
20e60cb6ba
chore: fix basedpyright warnings ( #317 )
2026-01-08 14:02:25 -05:00
Vineeth Voruganti
77551e70a1
fix: Upgrade Cashews to prevent NoScriptError ( #316 )
2026-01-07 15:02:45 -05:00
Rajat Ahuja
d6e8c2143a
fix: summary creation if start_message_id > end_message_id ( #312 )
...
* fix: summary creation if start_message_id > end_message_id
* fix: change start_id calculation
* fix: use resolved configuration
* fix: use message_seq_in_session
* fix: clean up method
* fix: skip if latest summary on session covers through message_id
2026-01-07 14:28:21 -05:00
Rajat Ahuja
201b5125b3
feat: increase iam role duration. alter s3 file name and add to discord message ( #315 )
2026-01-07 13:04:13 -05:00
Rajat Ahuja
acfade7d4e
feat: run unified tests suite in CI ( #291 )
...
* feat: run unified tests in CI
* fix: attempt use aws secrets manager
* fix: temp add verification workflow
* fix: CodeRabbit comments
* fix: remove debugging step
* fix: only run on main
* fix: add UNIFIED_TEST_LOG_LEVEL env var; default to WARNING
2026-01-06 16:03:29 -05:00
vintro
47776fcbc4
fix: error handling ( #294 )
2026-01-05 11:00:52 -05:00
Vineeth Voruganti
c821eb7fce
Update MCP Worker ( #311 )
...
* fix: Update MCP Server to latest SDK version
* fix: Force primitive creation to avoid race conditions
2026-01-02 13:52:58 -05:00
Rajat Ahuja
b31e9ac4b9
chore: bump redis ( #302 )
2025-12-30 16:45:00 -05:00
ajspig
75d1180ae1
fix: adding additional clarity when updating peercards ( #304 )
2025-12-18 17:34:10 -05:00
Rajat Ahuja
a42252867f
fix message id range validation error ( #300 )
...
* fix: documents message_ids validation error
* feat: version bump to 2.5.1
* chore: bump core dependencies to 1.8.0
2025-12-16 11:13:01 -05:00
Eri Barrett
9c9c37f196
dashboard overview docs updates ( #298 )
...
* fix: update dialectic to chat
* fix: reasoning configuration
* fix: backlink get_context in summarizer
* fix: error handling
* chore: update dashboard overview
* fix: links due to other branches
* fix: proof
* fix: proof
---------
Co-authored-by: vintro <vince@plasticlabs.ai>
2025-12-12 16:19:14 -05:00
Paul Nodet
adee668f37
docs: fix blog link in Dialectic endpoint documentation ( #297 )
...
Updated the blog link for the Dialectic endpoint documentation to the archived version.
2025-12-12 10:12:37 -05:00
doria
8dc324cb2d
Merge pull request #296 from plastic-labs/vince/dev-1307
...
fix: links
2025-12-10 17:20:51 -05:00
vintro
69f823aed1
fix: links
2025-12-10 17:18:32 -05:00
doria
1dc17afdcf
Merge pull request #295 from plastic-labs/ben/fix-docs-homepage
...
fix: force redirect on docs homepage
2025-12-10 16:40:12 -05:00
Benjamin McCormick
b3327daf38
fix: force redirect on docs homepage
2025-12-10 16:39:45 -05:00
doria
971b183f11
Merge pull request #276 from plastic-labs/vince/dev-1259
...
V/C Docs Revamp
2025-12-10 13:06:42 -05:00
Benjamin McCormick
2b25edaf25
chore: move changes to v2.6.0-alpha
2025-12-10 13:03:56 -05:00
Benjamin McCormick
5bcde13d0f
chore: docs TODOs cleanup
2025-12-10 12:13:44 -05:00
Benjamin McCormick
9950a1cfc4
Merge branch 'vince/dev-1259' of github.com:plastic-labs/honcho into vince/dev-1259
2025-12-10 11:19:33 -05:00
Benjamin McCormick
8eb6a1fc52
fix: upgrade to stainless core 1.7.0
2025-12-10 11:18:47 -05:00
Rajat Ahuja
24aa97a8e5
fix: links
2025-12-10 11:17:59 -05:00
Benjamin McCormick
f0d24af827
Merge branch 'main' into vince/dev-1259
2025-12-10 10:57:40 -05:00
vintro
dc297200ff
fix: description
2025-12-10 10:19:36 -05:00
vintro
c53ba8dd6e
feat: draft ready for review
2025-12-09 21:24:00 -05:00
vintro
2cb07e4df4
fix: no local vs global
2025-12-09 15:55:22 -05:00
vintro
ede73b5d2f
fix: another pass, todos
2025-12-08 23:18:27 -05:00
vintro
d4b617f4c1
fix: various tweaks, another plan
2025-12-08 21:42:25 -05:00
vintro
42a8da201b
fix: update reasoning, various other tweaks
2025-12-08 18:21:30 -05:00
ajspig
5d2f4e150e
docs: removing deriver ref in toggle-reasoning
2025-12-08 16:31:12 -05:00
ajspig
0975072b4b
docs: adding clarity to representation and reasoning
2025-12-08 16:21:24 -05:00