Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
193 changes: 139 additions & 54 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 11 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ members = ["crates/*", "llm/*", "legacy/*"]
version = "0.0.9"
edition = "2024"
authors = ["clearloop <[email protected]>"]
license = "MIT"
license = "GPL-3.0"
repository = "https://github.com/clearloop/cydonia"
documentation = "https://cydonia.docs.rs"
keywords = ["llm", "agent", "ai"]

[workspace.dependencies]
candle = { path = "crates/candle", package = "cydonia-candle" }
deepseek = { path = "llm/deepseek", package = "ullm-deepseek" }
model = { path = "legacy/model", package = "cydonia-model" }
ullm = { path = "crates/ullm" }
ucore = { path = "crates/core", package = "ullm-core" }
ucli = { path = "crates/cli", package = "ullm-cli" }
candle = { path = "crates/candle", package = "cydonia-candle", version = "0.0.9" }
cli = { path = "crates/cli", package = "cydonia-cli", version = "0.0.9" }
deepseek = { path = "llm/deepseek", package = "cydonia-deepseek", version = "0.0.9" }
model = { path = "legacy/model", package = "cydonia-model", version = "0.0.9" }
cydonia = { path = "crates/cydonia", version = "0.0.9" }
ccore = { path = "crates/core", package = "cydonia-core", version = "0.0.9" }

# crates.io
anyhow = "1"
chrono = "0.4"
async-stream = "0.3"
bytes = "1.11.0"
clap = { version = "4.5", features = ["derive"] }
Expand All @@ -47,3 +47,6 @@ llamac-sys = { version = "0.1.86", package = "llama-cpp-sys-2" }
once_cell = "1.21"
rand = "0.9.2"
tokenizers = "0.21.0"

[workspace.metadata.conta]
packages = ["ccore", "deepseek", "cydonia", "cli"]
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
# Cydonia

The Agent framework.
Unified LLM Interface - A Rust framework for building LLM-powered agents.

## Features

- Unified interface for multiple LLM providers
- Streaming support with thinking mode
- Tool calling with automatic argument accumulation
- Agent framework for building autonomous assistants

## Crates

| Crate | Description |
|-------|-------------|
| `cydonia` | Umbrella crate re-exporting all components |
| `cydonia-core` | Core abstractions (LLM, Agent, Chat, Message) |
| `cydonia-deepseek` | DeepSeek provider implementation |
| `cydonia-cli` | Command line interface |

## Quick Start

```rust
use cydonia::{Chat, DeepSeek, LLM, Message};

let client = reqwest::Client::new();
let provider = DeepSeek::new(client, "your-api-key")?;
let mut chat = provider.chat(config);

let response = chat.send(Message::user("Hello!")).await?;
```

## License

MIT
11 changes: 8 additions & 3 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
[package]
name = "ullm-cli"
name = "cydonia-cli"
description = "Cydonia command line interfaces"
documentation = "https://docs.rs/cydonia-cli"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
documentation.workspace = true
keywords.workspace = true

[dependencies]
ullm.workspace = true
cydonia.workspace = true

# crates-io dependencies
anyhow.workspace = true
chrono.workspace = true
clap.workspace = true
dirs.workspace = true
futures-util.workspace = true
serde.workspace = true
toml.workspace = true
schemars.workspace = true
serde_json.workspace = true
tokio.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
19 changes: 19 additions & 0 deletions crates/cli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# cydonia-cli

Command line interface for cydonia.

## Overview

Provides CLI tools for interacting with LLMs, including:

- Chat interface with streaming support
- Agent framework with tool calling
- Configuration management

## Agents

- `Anto` - Test agent with `get_time` tool for verifying tool calling

## License

MIT
2 changes: 1 addition & 1 deletion crates/cli/bin/ullm.rs → crates/cli/bin/cydonia.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use anyhow::Result;
use clap::Parser;
use ucli::{App, Command, Config};
use cydonia_cli::{App, Command, Config};

#[tokio::main]
async fn main() -> Result<()> {
Expand Down
Loading