Skip to content

(feat): Add experimental instantsearch-agent module for Agent Studio - #432

Merged
afrencalg merged 5 commits into
masterfrom
agentic-part-1
Jun 25, 2026
Merged

(feat): Add experimental instantsearch-agent module for Agent Studio#432
afrencalg merged 5 commits into
masterfrom
agentic-part-1

Conversation

@afrencalg

@afrencalg afrencalg commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Add instantsearch-agent, a new standalone Kotlin Multiplatform module that provides a minimal native client for Algolia Agent Studio. It ships the transport, SSE streaming parser, and a StateFlow-based chat state container (ChatStore) for building agentic (conversational AI) search experiences, with no bundled UI.

The module is experimental and versioned independently from the main InstantSearch line:

  • Versioned on its own 0.x line (VERSION_NAME=0.1.0 in the module's gradle.properties), decoupled from the 4.x artifacts.
  • All public API is gated behind the @ExperimentalAgentStudioApi opt-in marker, so consumers must explicitly acknowledge instability.
  • Registered in settings.gradle.kts and wired into the root runDebugUnitTest aggregate task.

No existing modules are affected; this is purely additive.

Q A
Bug fix? no
New feature? yes
BC breaks? no
Need Doc update yes

https://algolia.atlassian.net/browse/FX-3827

Add `instantsearch-agent`, a new standalone Kotlin Multiplatform module that
provides a minimal native client for Algolia Agent Studio. It ships the
transport, SSE streaming parser, and a StateFlow-based chat state container
(`ChatStore`) for building agentic (conversational AI) search experiences,
with no bundled UI.

The module is experimental and versioned independently from the main
InstantSearch line:

- Versioned on its own 0.x line (`VERSION_NAME=0.1.0` in the module's
  `gradle.properties`), decoupled from the 4.x artifacts.
- All public API is gated behind the `@ExperimentalAgentStudioApi` opt-in
  marker, so consumers must explicitly acknowledge instability.
- Registered in `settings.gradle.kts` and wired into the root
  `runDebugUnitTest` aggregate task.

No existing modules are affected; this is purely additive.
@afrencalg
afrencalg requested a review from a team as a code owner June 4, 2026 08:52
@afrencalg
afrencalg requested review from FabienMotte and shaejaz and removed request for a team June 4, 2026 08:52
@codacy-production

codacy-production Bot commented Jun 4, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 164 complexity · 6 duplication

Metric Results
Complexity 164
Duplication 6

View in Codacy

TIP This summary will be updated as you push new changes.

@afrencalg afrencalg self-assigned this Jun 4, 2026

@Haroenv Haroenv left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks structured well, and example worked in the demo. I see lint is failing and CI didn't run build, seems like it's just a little formatting that needs to be ran, then CI will pass?

@afrencalg

Copy link
Copy Markdown
Contributor Author

@Haroenv pipline passed.

@afrencalg
afrencalg merged commit fe674e9 into master Jun 25, 2026
3 checks passed
@afrencalg
afrencalg deleted the agentic-part-1 branch June 25, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants