# Open Intelligence Kit (oi-kit)

> Build agents with the Open Intelligence Kit (oi-kit).

- 网址：https://funcoding.ai/agents/goose/oi-kit/
- 来源：goose 官方文档原文（英文），Apache-2.0 许可，同步于 2026-11-20
- 官方原文：https://goose-docs.ai/docs/oi-kit

---
Build agents that run across native applications, servers, and the browser,
resume from persisted state, and give you control over how they work.

oi-kit is the set of reusable agent-runtime components used to build goose. It
provides model integrations, a composable state machine, tools, context
management, and the interfaces needed to run an agent inside your application.

## Explore oi-kit {#explore-gdk}

### [Getting Started](https://funcoding.ai/agents/goose/oi-kit/hello-world/)

Build a [small Rust agent](https://github.com/jamadeo/ngrc/tree/dc25c579cd40d85f8d90b61e80cbf02b8838564f)
that can run shell commands, stream responses, and save its conversation between
runs. The walkthrough explains how to connect a provider, tools, and a state
machine, and which parts your application owns. Start here to see the pieces
working together before choosing how to adapt them.

### [Demos](https://funcoding.ai/agents/goose/oi-kit/demos/)

Explore working projects that use oi-kit for [personal wikis](https://funcoding.ai/agents/goose/oi-kit/demos/lifewiki/),
[phone calls](https://funcoding.ai/agents/goose/oi-kit/demos/goosebusters/),
[screen understanding](https://funcoding.ai/agents/goose/oi-kit/demos/perception/),
[voice conversations](https://funcoding.ai/agents/goose/oi-kit/demos/huddle/), and
[custom interfaces to goose](https://funcoding.ai/agents/goose/oi-kit/demos/berd/). Each demo links to its source
and explains the architectural idea behind it, along with what you need to run
it. Use them to see how the same components fit very different applications.

### [Concepts](https://funcoding.ai/agents/goose/oi-kit/concepts/)

Understand the [state machine](https://funcoding.ai/agents/goose/oi-kit/concepts/state-machine/),
[operations](https://funcoding.ai/agents/goose/oi-kit/concepts/operations/),
[providers](https://funcoding.ai/agents/goose/oi-kit/concepts/providers/), and
[authentication](https://funcoding.ai/agents/goose/oi-kit/concepts/authentication/), and how they fit together.
These guides explain the problems each component solves, the choices behind its
design, and the implementations available today. Worked examples show how to
compose agent behavior and when to write your own operation or provider.

### [Reference](https://funcoding.ai/agents/goose/oi-kit/reference/)

Look up the generated Rust APIs for the
[agent runtime](https://docs.rs/oi-kit-agent/latest/oi_kit_agent/),
[providers](https://docs.rs/oi-kit-providers/latest/oi_kit_providers/), and
[context management](https://docs.rs/oi-kit-context-management/latest/oi_kit_context_management/).
Explore the shared provider bindings through the
[Python API](https://funcoding.ai/agents/goose/oi-kit/sdk/api-reference/) and
[Kotlin API](https://funcoding.ai/agents/goose/oi-kit/sdk/api-reference/), with runnable examples in
[Python](https://github.com/aaif-goose/goose/blob/main/crates/oi-kit-bindings/examples/uniffi/provider.py)
and [Kotlin](https://github.com/aaif-goose/goose/blob/main/crates/oi-kit-bindings/examples/uniffi/kotlin/src/main/kotlin/Main.kt).
For apps using goose as a backend, consult the [ACP extensions reference](https://goose-docs.ai/docs/oi-kit/acp/reference).
Use the reference when you need exact types, methods, and configuration details
while building.

## oi-kit and goose {#gdk-and-goose}

[goose](https://funcoding.ai/agents/goose/quickstart/) is a complete agent application and the main reference
implementation for oi-kit. Use goose when you want a ready-to-run agent. Use oi-kit
when you want to build agent behavior into your own product.

The pre-built goose binary can also serve as the agent behind any
[ACP application](https://funcoding.ai/agents/goose/oi-kit/acp/) you build. goose Desktop works this way,
connecting to a local goose server over ACP.
