mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
1 line
6.1 KiB
JSON
1 line
6.1 KiB
JSON
[{"@context": "https://schema.org", "@graph": [{"@type": "Organization", "@id": "https://hanzo.ai/#organization", "name": "Hanzo AI", "legalName": "Hanzo AI, Inc.", "alternateName": "Crowdstart", "url": "https://hanzo.ai", "logo": {"@type": "ImageObject", "url": "https://hanzo.ai/brand/hanzo-logo.png", "width": 696, "height": 696}, "foundingDate": "2014", "funder": {"@type": "Organization", "name": "Techstars", "sameAs": "https://www.techstars.com"}, "founder": [{"@type": "Person", "name": "Antje Worring", "jobTitle": "CEO", "sameAs": ["https://www.linkedin.com/in/antje-worring/", "https://github.com/zooqueen"]}, {"@type": "Person", "name": "Zach Kelling", "jobTitle": "CTO", "sameAs": ["https://www.linkedin.com/in/zeekay/", "https://github.com/zeekay"]}], "subjectOf": [{"@type": "NewsArticle", "headline": "Hanzo Joins Techstars '17", "datePublished": "2017-06-08", "url": "https://hanzo.blog/2017-06-08-techstars-17/"}, {"@type": "NewsArticle", "headline": "Techstars Spotlight: Hanzo’s e-commerce tools designed to make you money", "datePublished": "2017-10-10", "publisher": {"@type": "Organization", "name": "Startland News"}, "url": "https://startlandnews.com/2017/10/techstars-spotlight-hanzos-e-commerce-tools-designed-to-make-you-money/"}], "sameAs": ["https://github.com/hanzoai", "https://x.com/hanzoai", "https://discord.gg/XthHQQj", "https://linkedin.com/company/hanzo-ai", "https://facebook.com/hanzoinc", "https://bsky.app/profile/hanzoai.bsky.social", "https://www.reddit.com/r/HanzoAI/", "https://www.tiktok.com/@hanzoinc", "https://www.instagram.com/hanzoinc", "https://hanzo.help", "https://hanzo.community", "https://docs.hanzo.ai", "https://hanzo.id", "https://platform.hanzo.ai", "https://status.hanzo.ai", "https://hanzoskills.com"], "slogan": "The AI operating system for business", "description": "The AI operating system for business. Building business software since 2014. Techstars '17.", "contactPoint": [{"@type": "ContactPoint", "contactType": "customer support", "email": "[email protected]", "url": "https://hanzo.ai/contact"}, {"@type": "ContactPoint", "contactType": "sales", "email": "[email protected]", "url": "https://hanzo.ai/contact-sales"}, {"@type": "ContactPoint", "contactType": "security", "email": "[email protected]", "url": "https://hanzo.ai/.well-known/security.txt"}, {"@type": "ContactPoint", "contactType": "investor relations", "email": "[email protected]", "url": "https://hanzo.ai/investors"}, {"@type": "ContactPoint", "contactType": "sales", "url": "https://cal.com/hanzo"}]}, {"@type": "WebSite", "@id": "https://hanzo.ai/#website", "url": "https://hanzo.ai", "name": "Hanzo AI", "description": "The AI operating system for business: chat, Dev, Studio, agents and one API on every model. Building business software since 2014. Techstars '17. Start free.", "publisher": {"@id": "https://hanzo.ai/#organization"}}, {"@type": "SoftwareApplication", "@id": "https://hanzo.ai/#platform", "name": "Hanzo", "applicationCategory": "BusinessApplication", "operatingSystem": "Web, macOS, Windows, Linux", "url": "https://hanzo.ai", "publisher": {"@id": "https://hanzo.ai/#organization"}, "offers": {"@type": "Offer", "name": "Free", "price": "0", "priceCurrency": "USD", "url": "https://hanzo.ai/pricing", "description": "Free model requests on Enso Free and Zen Free, plus Kai decisions, per person. No card."}, "description": "The AI operating system for business: Chat, Dev, Studio, Tabs, Bot and one API at api.hanzo.ai for every model, Kai decisions and agents, with one key."}, {"@type": "WebAPI", "@id": "https://hanzo.ai/#api", "name": "Hanzo API", "url": "https://api.hanzo.ai/v1", "documentation": "https://hanzoskills.com/hanzo.md", "provider": {"@id": "https://hanzo.ai/#organization"}, "description": "One API for every model, Kai decisions and agents. An agent with a wallet signs up, mints a key and tops up in USDC with no human."}]}, {"@context": "https://schema.org", "@type": ["HowTo", "SoftwareApplication"], "name": "Use Hanzo AI with Rust", "description": "Use Hanzo AI in Rust via the async-openai crate or raw reqwest HTTP calls. Full async support with Tokio, streaming, and type-safe API access.", "applicationCategory": "DeveloperApplication", "operatingSystem": "Any", "offers": {"@type": "Offer", "price": "0", "priceCurrency": "USD"}, "author": {"@type": "Organization", "name": "Rust Foundation", "url": "https://rust-lang.org"}, "license": "https://github.com/rust-lang/rust", "step": [{"@type": "HowToStep", "position": 1, "name": "Cargo.toml", "text": "[dependencies]\nasync-openai = \"0.26\"\ntokio = { version = \"1\", features = [\"full\"] }"}, {"@type": "HowToStep", "position": 2, "name": "async-openai", "text": "use async_openai::{config::OpenAIConfig, Client, types::*};\n\n#[tokio::main]\nasync fn main() {\n let config = OpenAIConfig::new()\n .with_api_base(\"https://api.hanzo.ai/v1\")\n .with_api_key(std::env::var(\"HANZO_API_KEY\").unwrap());\n\n let client = Client::with_config(config);\n\n let request = CreateChatCompletionRequestArgs::default()\n .model(\"zen4-pro\")\n .messages([ChatCompletionRequestUserMessageArgs::default()\n .content(\"Hello from Rust!\")\n .build()\n .unwrap()\n .into()])\n .build()\n .unwrap();\n\n let response = client.chat().create(request).await.unwrap();\n println!(\"{}\", response.choices[0].message.content.as_ref().unwrap());\n}"}, {"@type": "HowToStep", "position": 3, "name": "reqwest raw HTTP", "text": "use reqwest::Client;\nuse serde_json::json;\n\n#[tokio::main]\nasync fn main() {\n let client = Client::new();\n let resp = client\n .post(\"https://api.hanzo.ai/v1/chat/completions\")\n .bearer_auth(std::env::var(\"HANZO_API_KEY\").unwrap())\n .json(&json!({\n \"model\": \"zen4-pro\",\n \"messages\": [{\"role\": \"user\", \"content\": \"Hello!\"}]\n }))\n .send()\n .await\n .unwrap();\n println!(\"{}\", resp.text().await.unwrap());\n}"}, {"@type": "HowToStep", "position": 4, "name": "Build and run", "text": "export HANZO_API_KEY=\"your-hanzo-api-key\"\ncargo build --release\n./target/release/my-ai-app"}]}] |