
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socketโs new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
bee-observe-connector
Advanced tools
This package allows you to easily join the Bee Agent Framework and Bee Observe with the one exported function.
npm install bee-observe-connector
or
yarn add bee-observe-connector
import { BeeAgent } from "bee-agent-framework/agents/bee/agent";
import { OllamaChatLLM } from "bee-agent-framework/adapters/ollama/chat";
import { TokenMemory } from "bee-agent-framework/memory/tokenMemory";
import { DuckDuckGoSearchTool } from "bee-agent-framework/tools/search/duckDuckGoSearch";
import { OpenMeteoTool } from "bee-agent-framework/tools/weather/openMeteo";
import { createObserveConnector } from "bee-observe-connector";
const llm = new OllamaChatLLM(); // default is llama3.1 (8B), it is recommended to use 70B model
const agent = new BeeAgent({
llm,
memory: new TokenMemory({ llm }),
tools: [new DuckDuckGoSearchTool(), new OpenMeteoTool()],
});
const prompt = "What's the current weather in Las Vegas?";
await agent
.run({ prompt })
.middleware(createObserveConnector({
api: {
baseUrl: 'http://localhost:3001',
apiAuthKey: 'xxx'
},
cb: async (err, data) => {
if (err) {
if (err instanceof ObserveError) {
console.log(err.explain());
} else {
console.error(err);
}
} else {
console.log(data);
}
},
}));
For more information about Agent setting see the Bee Agent Framework README.md file or go to the Run examples section.
Max request time 10s
= The connector sends the trace data to the Observe API. It uses the signal propagated from the Framework and the default signal with a timeout of 10 seconds.nvm
)corepack
)git clone git@github.com:i-am-bee/bee-observe-connector.git
cd bee-observe-connector
nvm use
yarn
observe API
, redis
, mongo
and mlflow
run this command:yarn start:infra
Base example:
yarn start:base
yarn test:unit
yarn test:e2e
For the test coverage:
yarn coverage
This project and everyone participating in it are governed by the Code of Conduct. By participating, you are expected to uphold this code. Please read the full text so that you can read which actions may or may not be tolerated.
All content in these repositories including code has been provided by IBM under the associated open source software license and IBM is under no obligation to provide enhancements, updates, or support. IBM developers produced this code as an open source project (not as an IBM product), and IBM makes no assertions as to the level of quality nor security, and will not be maintaining this code going forward.
Read all related document pages carefully to understand the Observer API architecture and limitations.
Special thanks to our contributors for helping us improve Bee Agent Framework.
FAQs
LLM Agent Framework and Observe connector
The npm package bee-observe-connector receives a total of 15 weekly downloads. As such, bee-observe-connector popularity was classified as not popular.
We found that bee-observe-connector demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socketโs new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.